Class SATSolveSingle

    • Field Detail

      • solver

        protected org.sat4j.pb.IPBSolver solver
      • node2var

        protected java.util.Map<org.deckfour.xes.classification.XEventClass,​SATSolveSingle.Node> node2var
      • nodes

        protected org.deckfour.xes.classification.XEventClass[] nodes
      • countNodes

        protected int countNodes
    • Method Detail

      • solveSingle

        public abstract SATResult solveSingle​(int cutSize,
                                              double bestAverageTillNow)
      • compute

        protected Pair<java.util.Set<org.deckfour.xes.classification.XEventClass>,​java.util.Set<org.deckfour.xes.classification.XEventClass>> compute()
                                                                                                                                                     throws org.sat4j.specs.TimeoutException
        Throws:
        org.sat4j.specs.TimeoutException
      • newEdgeVar

        protected SATSolveSingle.Edge newEdgeVar​(org.deckfour.xes.classification.XEventClass a,
                                                 org.deckfour.xes.classification.XEventClass b)
      • newNodeVar

        protected SATSolveSingle.Node newNodeVar​(org.deckfour.xes.classification.XEventClass a)
      • debug

        protected void debug​(java.lang.String x)
      • addClause

        protected void addClause​(int... ints)
                          throws org.sat4j.specs.ContradictionException
        Throws:
        org.sat4j.specs.ContradictionException