Uses of Interface
org.chocosolver.solver.constraints.nary.cnf.ILogical
-
Packages that use ILogical Package Description org.chocosolver.solver.constraints.nary.cnf org.chocosolver.solver.variables org.chocosolver.solver.variables.impl org.chocosolver.solver.variables.view -
-
Uses of ILogical in org.chocosolver.solver.constraints.nary.cnf
Classes in org.chocosolver.solver.constraints.nary.cnf that implement ILogical Modifier and Type Class Description classLogOpLogical Operator, to ease clause definition.Fields in org.chocosolver.solver.constraints.nary.cnf declared as ILogical Modifier and Type Field Description protected ILogical[]LogOp. childrenMethods in org.chocosolver.solver.constraints.nary.cnf that return ILogical Modifier and Type Method Description ILogicalLogOp. getAndChild()Returns the first AND logic tree within the list of children.ILogicalLogOp. getChildBut(ILogical child)Returns the first child within the list of children, different fromchild.ILogical[]LogOp. getChildren()Returns the array of children ofthis.static ILogicalLogicTreeToolBox. simplify(ILogical t, Model model)Detects tautologies and contradictions fromtstatic ILogicalLogicTreeToolBox. simplifySingleton(ILogical l, Model model)Remove tautologies fromlstatic ILogicalLogicTreeToolBox. toCNF(LogOp logOp, Model model)Warning: if there is a bug, please check the CNF build is like: - lit OR lit ...Methods in org.chocosolver.solver.constraints.nary.cnf with parameters of type ILogical Modifier and Type Method Description voidLogOp. addChild(ILogical child)Addschildto the current list of children ofthisstatic LogOpLogOp. and(ILogical... op)Create a conjunction, results in true if all of its operands are trueILogicalLogOp. getChildBut(ILogical child)Returns the first child within the list of children, different fromchild.static LogOpLogOp. ifOnlyIf(ILogical a, ILogical b)Create a biconditional, results in true if and only if both operands are false or both operands are truestatic LogOpLogOp. ifThenElse(ILogical a, ILogical b, ILogical c)Create an implication, results in true if a is true` and b is true or a is false and c is true.static LogOpLogOp. implies(ILogical a, ILogical b)Create an implication, results in true if a is false or b is true.static LogOpLogOp. nand(ILogical... op)Create an alternative denial, results in if at least one of its operands is false.static LogOpLogOp. nor(ILogical... op)Create a joint denial, results in `true` if all of its operands are false.static LogOpLogOp. or(ILogical... op)Create a disjunction, results in true whenever one or more of its operands are truestatic LogOpLogOp. reified(BoolVar b, ILogical tree)create a logical connection between ``b`` and ``tree``.voidLogOp. removeChild(ILogical child)Removeschildfrom the current list of children ofthisstatic ILogicalLogicTreeToolBox. simplify(ILogical t, Model model)Detects tautologies and contradictions fromtstatic ILogicalLogicTreeToolBox. simplifySingleton(ILogical l, Model model)Remove tautologies fromlstatic LogOpLogOp. xor(ILogical a, ILogical b)Create an exclusive disjunction, results in true whenever both operands differ.Constructors in org.chocosolver.solver.constraints.nary.cnf with parameters of type ILogical Constructor Description LogOp(LogOp.Operator operator, LogOp.Type type, ILogical... children) -
Uses of ILogical in org.chocosolver.solver.variables
Subinterfaces of ILogical in org.chocosolver.solver.variables Modifier and Type Interface Description interfaceBoolVar
CPRU r544: remove default implementation -
Uses of ILogical in org.chocosolver.solver.variables.impl
Classes in org.chocosolver.solver.variables.impl that implement ILogical Modifier and Type Class Description classBoolVarImplclassFixedBoolVarImplA constant view specific to boolean variable -
Uses of ILogical in org.chocosolver.solver.variables.view
Classes in org.chocosolver.solver.variables.view that implement ILogical Modifier and Type Class Description classBoolNotViewA view for boolean variable, that enforce not(b).
-