A B C D E G H I L M N O P Q R S T U V

A

AbstractSATDecoder<G extends org.opt4j.core.Genotype,P> - Class in org.opt4j.satdecoding
The AbstractSATDecoder can be used for the construction of custom SAT Decoders.
AbstractSATDecoder(SATManager, Rand) - Constructor for class org.opt4j.satdecoding.AbstractSATDecoder
Constructs an AbstractSATDecoder with the given SATManager.
activity - Variable in class org.opt4j.satdecoding.VarOrder
 
add(Literal) - Method in class org.opt4j.satdecoding.Constraint
Add a Literal with the coefficient 1.
add(int, Literal) - Method in class org.opt4j.satdecoding.Constraint
Add a Literal with specified coefficient.
addConstraint(Constraint) - Method in class org.opt4j.satdecoding.PooledSolver
 
addConstraint(Constraint) - Method in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 
addConstraint(Constraint) - Method in interface org.opt4j.satdecoding.Solver
Adds a Constraint to the Solver.
addConstraintToSolver(Constraint) - Method in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 

B

bindSolver(Class<? extends Solver>) - Method in class org.opt4j.satdecoding.SATModule
Binds the specific solver as singleton.
bindSolver(Class<? extends Solver>, int) - Method in class org.opt4j.satdecoding.SATModule
Binds the specific solver as singleton.

C

coeff - Variable in class org.opt4j.satdecoding.Term
 
config() - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
 
Constraint - Class in org.opt4j.satdecoding
A linear pseudo-Boolean Constraint as used in an Integer Linear Program (ILP).
Constraint() - Constructor for class org.opt4j.satdecoding.Constraint
Constructs a linear Constraint with >=1.
Constraint(String, int) - Constructor for class org.opt4j.satdecoding.Constraint
Constructs a linear Constraint.
Constraint(Constraint.Operator, int) - Constructor for class org.opt4j.satdecoding.Constraint
Constructs a linear Constraint.
Constraint.Operator - Enum in org.opt4j.satdecoding
The Constraint.Operators correspond to the Boolean operators <=,=,>=.
constraints - Variable in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 
contains(Literal) - Method in class org.opt4j.satdecoding.Constraint
Returns true if the Constraint contains the Literal.
ContradictionException - Exception in org.opt4j.satdecoding
Thrown if a contradiction is recognized.
ContradictionException() - Constructor for exception org.opt4j.satdecoding.ContradictionException
Constructs a ContradictionException.
ContradictionException(String) - Constructor for exception org.opt4j.satdecoding.ContradictionException
Constructs a ContradictionException with a message.
ContradictionException(String, Throwable) - Constructor for exception org.opt4j.satdecoding.ContradictionException
Constructs a ContradictionException.
ContradictionException(Throwable) - Constructor for exception org.opt4j.satdecoding.ContradictionException
Constructs a ContradictionException.
convertModel(Model) - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Converts a Model into a phenotype.
copy() - Method in class org.opt4j.satdecoding.Constraint
Copies the Constraint.
copy() - Method in class org.opt4j.satdecoding.Term
Constructs a copy to this term.
create() - Method in class org.opt4j.satdecoding.AbstractSATDecoder
 
createConstraints() - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Creates all Constraints.
createSATGenotype() - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Returns a random SAT genotype of the constrained problem.
createSATGenotype(List<Object>, Map<Object, Double>, Map<Object, Double>, Map<Object, Double>, Map<Object, Boolean>) - Method in class org.opt4j.satdecoding.MixedSATManager
 
createSATGenotype(List<Object>, Map<Object, Double>, Map<Object, Double>, Map<Object, Double>, Map<Object, Boolean>) - Method in interface org.opt4j.satdecoding.SATManager
Creates a new Genotype from the variables, priorities, and phases.

D

decode(G) - Method in class org.opt4j.satdecoding.AbstractSATDecoder
 
decodeSATGenotype(Genotype) - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Decodes the Genotype to a phenotype by using a SAT/PB solver.
decodeSATGenotype(List<Object>, Genotype) - Method in class org.opt4j.satdecoding.MixedSATManager
 
decodeSATGenotype(List<Object>, Genotype) - Method in interface org.opt4j.satdecoding.SATManager
Decodes the Genotype into a Model.
DefaultSolver - Class in org.opt4j.satdecoding
The default SAT/PB solver is the SAT4JSolver with timeout 3600 seconds, fixed length learning with learning size 10, and MiniSAT restarts.
DefaultSolver() - Constructor for class org.opt4j.satdecoding.DefaultSolver
Constructs a default solver.

E

equals(Object) - Method in class org.opt4j.satdecoding.Constraint
 
equals(Object) - Method in class org.opt4j.satdecoding.Literal
Compares the specified Object with this for equality.
equals(Object) - Method in class org.opt4j.satdecoding.Term
A Term equals another Term if they have equal Literals and coefficients.

G

get(Object) - Method in class org.opt4j.satdecoding.Model
Returns the value of the variable, or null if this variable is not defined.
getActivity(Object) - Method in class org.opt4j.satdecoding.VarOrder
Returns the activity of a variable.
getActivityEntrySet() - Method in class org.opt4j.satdecoding.VarOrder
Returns the entry set of the activities.
getBooleanVector() - Method in class org.opt4j.satdecoding.SATGenotype
Returns the boolean vector.
getCoefficient() - Method in class org.opt4j.satdecoding.Term
Returns the coefficient.
getCoefficients() - Method in class org.opt4j.satdecoding.Constraint
Returns an iterable of the coefficients.
getConstraints() - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Returns the constraints.
getDoubleVector() - Method in class org.opt4j.satdecoding.SATGenotype
Returns the double vector.
getInstances() - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Returns the number of instances.
getLearning() - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Returns the learning strategy.
getLearnSize() - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Returns the number of learned clauses that are kept.
getLiteral() - Method in class org.opt4j.satdecoding.Term
Returns the literal.
getLiterals() - Method in class org.opt4j.satdecoding.Constraint
Returns an iterable of the Literals.
getLowerBounds(Set<Object>) - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Returns the lower bounds for the variables.
getOperator() - Method in class org.opt4j.satdecoding.Constraint
Returns the Constraint.Operator.
getOperator(String) - Static method in enum org.opt4j.satdecoding.Constraint.Operator
Converts a String to an operator.
getPhase(Object) - Method in class org.opt4j.satdecoding.VarOrder
Returns the prioritized phase of a variable.
getPhaseEntrySet() - Method in class org.opt4j.satdecoding.VarOrder
Returns the entry set of the phases.
getRestarts() - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Returns the restart strategy.
getRhs() - Method in class org.opt4j.satdecoding.Constraint
Return the right hand side value.
getSolver() - Method in class org.opt4j.satdecoding.MixedSATManager
 
getSolver() - Method in interface org.opt4j.satdecoding.SATManager
Returns the Solver.
getTimeout() - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Returns the timeout (in seconds) of the SAT4JSolver.
getUpperBounds(Set<Object>) - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Returns the upper bounds for the variables.
getVarDecay() - Method in class org.opt4j.satdecoding.Order
Returns the scaling factor for the offset value.
getVariables() - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Returns the variables.
getVarInc() - Method in class org.opt4j.satdecoding.Order
Returns the initial offset value.
getVars() - Method in class org.opt4j.satdecoding.Model
Returns all variables of the model.
getViolationCount(Model) - Method in class org.opt4j.satdecoding.Constraint
Specifies if the Constraint is satisfied for a given Model.

H

hashCode() - Method in class org.opt4j.satdecoding.Constraint
 
hashCode() - Method in class org.opt4j.satdecoding.Literal
Returns a hash code value for this Literal.
hashCode() - Method in class org.opt4j.satdecoding.Term
 

I

ignoreVariables(Set<Object>) - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Set the variables to be ignored (not part of the search process and genotype).
init() - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Initializes the Constraints and variables.
init() - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
 
instances - Variable in class org.opt4j.satdecoding.sat4j.SAT4JModule
 
isInit - Variable in class org.opt4j.satdecoding.AbstractSATDecoder
 
isSatisfied(Model) - Method in class org.opt4j.satdecoding.Constraint
Checks, if this constraint is satisfied for a given model.
isTrue(int, int) - Method in enum org.opt4j.satdecoding.Constraint.Operator
Returns true if lhs Constraint.Operator rhs is true.

L

learning - Variable in class org.opt4j.satdecoding.sat4j.SAT4JModule
 
learnSize - Variable in class org.opt4j.satdecoding.sat4j.SAT4JModule
 
lit - Variable in class org.opt4j.satdecoding.Term
 
Literal - Class in org.opt4j.satdecoding
A Literal is a data structure that represents a variable and its phase.
Literal(Object, boolean) - Constructor for class org.opt4j.satdecoding.Literal
Constructs a Literal with a variable and their phase.
lowerBounds - Variable in class org.opt4j.satdecoding.AbstractSATDecoder
 

M

manager - Variable in class org.opt4j.satdecoding.AbstractSATDecoder
 
map - Variable in class org.opt4j.satdecoding.Model
 
MixedSATManager - Class in org.opt4j.satdecoding
The MixedSATManager encodes the decision strategy into two vectors: One binary vector for the phase and one double vector for the priority.
MixedSATManager(Solver) - Constructor for class org.opt4j.satdecoding.MixedSATManager
Constructs a MixedSATManager.
Model - Class in org.opt4j.satdecoding
The Model is a data structure that represents a solution of the given problem, i.e., all Literals are set such that all Constraints specified by the AbstractSATDecoder are feasible.
Model() - Constructor for class org.opt4j.satdecoding.Model
Constructs a Model.

N

negate() - Method in class org.opt4j.satdecoding.Literal
Returns the negated Literal.
nextVariable - Variable in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 

O

operator - Variable in class org.opt4j.satdecoding.Constraint
 
Order - Class in org.opt4j.satdecoding
The abstract Order is the base class for a decision strategy.
Order() - Constructor for class org.opt4j.satdecoding.Order
Constructs an Order.
org.opt4j.satdecoding - package org.opt4j.satdecoding
Provides classes for using a PB solver as Decoder.
org.opt4j.satdecoding.sat4j - package org.opt4j.satdecoding.sat4j
Provides classes for solving (0-1) ILPs using the SAT4J package.

P

pairs() - Method in class org.opt4j.satdecoding.Model
Returns the entry set: The entry pairs of all variables to the boolean values.
phase() - Method in class org.opt4j.satdecoding.Literal
Returns the phase of this Literal.
phase - Variable in class org.opt4j.satdecoding.sat4j.VariableOrder
 
phase - Variable in class org.opt4j.satdecoding.VarOrder
 
PooledSolver - Class in org.opt4j.satdecoding
The PooledSolver is a decorator that enables pooling of Solver instances and, therefore, a parallel execution of the Solvers.
PooledSolver(Provider<Solver>, int) - Constructor for class org.opt4j.satdecoding.PooledSolver
Constructs a PooledSolver.

Q

queue - Variable in class org.opt4j.satdecoding.PooledSolver
 

R

random - Variable in class org.opt4j.satdecoding.AbstractSATDecoder
 
randomize(Collection<Object>, Map<Object, Double>, Map<Object, Double>, Map<Object, Double>, Map<Object, Boolean>) - Method in class org.opt4j.satdecoding.AbstractSATDecoder
Creates a random initialization of the priorities and phases for the variables.
restarts - Variable in class org.opt4j.satdecoding.sat4j.SAT4JModule
 
rhs - Variable in class org.opt4j.satdecoding.Constraint
 

S

SAT4JModule - Class in org.opt4j.satdecoding.sat4j
The SAT4JModule enables and configures the SAT4JSolver.
SAT4JModule() - Constructor for class org.opt4j.satdecoding.sat4j.SAT4JModule
 
SAT4JSolver - Class in org.opt4j.satdecoding.sat4j
The SAT4JSolver implements a Solver.
SAT4JSolver(int, int, SAT4JSolver.Learning, SAT4JSolver.Restarts) - Constructor for class org.opt4j.satdecoding.sat4j.SAT4JSolver
Constructs a new SAT4JSolver with a timeout and the number of kept learning clauses.
SAT4JSolver.Learning - Enum in org.opt4j.satdecoding.sat4j
 
SAT4JSolver.Restarts - Enum in org.opt4j.satdecoding.sat4j
 
SATGenotype - Class in org.opt4j.satdecoding
Specialized Genotype for the AbstractSATDecoder.
SATGenotype() - Constructor for class org.opt4j.satdecoding.SATGenotype
Constructs a SATGenotype with empty vectors.
SATGenotype(BooleanGenotype, DoubleGenotype) - Constructor for class org.opt4j.satdecoding.SATGenotype
Constructs a SATGenotype with the given vectors.
SATManager - Interface in org.opt4j.satdecoding
Classes with this interface manage the creation of Genotypes and the decoding to a Model.
SATModule - Class in org.opt4j.satdecoding
Module class for a SAT-Solver.
SATModule() - Constructor for class org.opt4j.satdecoding.SATModule
 
select() - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
 
set(Object, boolean) - Method in class org.opt4j.satdecoding.Model
Sets the variable to a phase.
setActivity(Object, double) - Method in class org.opt4j.satdecoding.VarOrder
Sets the activity of the specified variable.
setBooleanVector(BooleanGenotype) - Method in class org.opt4j.satdecoding.SATGenotype
Sets the boolean vector.
setDoubleVector(DoubleGenotype) - Method in class org.opt4j.satdecoding.SATGenotype
Sets the double vector.
setInstances(int) - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Sets the number of instances.
setLearning(SAT4JSolver.Learning) - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Sets the learning strategy.
setLearnSize(int) - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Sets the number of learned clauses that are kept.
setLits(ILits) - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
 
setNVars(int) - Method in class org.opt4j.satdecoding.sat4j.SAT4JSolver
Sets the instance to n vars.
setOperator(Constraint.Operator) - Method in class org.opt4j.satdecoding.Constraint
Sets the Constraint.Operator.
setPhase(Object, boolean) - Method in class org.opt4j.satdecoding.VarOrder
Sets the prioritized phase of the specified variable.
setRestarts(SAT4JSolver.Restarts) - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Sets the restart strategy.
setRhs(int) - Method in class org.opt4j.satdecoding.Constraint
Sets the right hand side value.
setTimeout(int) - Method in class org.opt4j.satdecoding.sat4j.SAT4JModule
Sets the timeout (in seconds) for the SAT4JSolver.
setVarActivity(int, double) - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
Sets the activity of a variable var to the specified value.
setVarDecay(double) - Method in class org.opt4j.satdecoding.Order
Sets the scaling factor for the offset value.
setVarInc(double) - Method in class org.opt4j.satdecoding.Order
Sets the initial offset value.
setVarInc(double) - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
Sets the value varInc to increase the activity of the variables.
setVarPhase(int, boolean) - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
Sets the phase of a variable var.
solve(Order) - Method in class org.opt4j.satdecoding.PooledSolver
 
solve(Order) - Method in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 
solve(Order) - Method in interface org.opt4j.satdecoding.Solver
Solve the problem defined by the constraints with a given order (branching strategy).
solver - Variable in class org.opt4j.satdecoding.MixedSATManager
 
solver - Variable in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 
Solver - Interface in org.opt4j.satdecoding
The Solver is an interface for SAT/PB solvers.
solvers - Variable in class org.opt4j.satdecoding.PooledSolver
 

T

Term - Class in org.opt4j.satdecoding
The Term is an element of the linear Constraint.
Term(int, Literal) - Constructor for class org.opt4j.satdecoding.Term
Constructs a Term.
timeout - Variable in class org.opt4j.satdecoding.sat4j.SAT4JModule
 
TimeoutException - Exception in org.opt4j.satdecoding
Thrown if the solver can not solve the problem within a given time bound.
TimeoutException() - Constructor for exception org.opt4j.satdecoding.TimeoutException
Constructs a TimeoutException.
toString() - Method in enum org.opt4j.satdecoding.Constraint.Operator
Returns a String representation of this Constraint.Operator.
toString() - Method in class org.opt4j.satdecoding.Constraint
 
toString() - Method in class org.opt4j.satdecoding.Literal
Returns a String representation of this Literal.
toString() - Method in class org.opt4j.satdecoding.Term
 
toVecInt(Iterable<Literal>) - Method in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 

U

updateActivity(int) - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
 
updateActivity(int, double) - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
Increments the activity of a variable var by the specified value.
updateVar(int) - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
 
upperBounds - Variable in class org.opt4j.satdecoding.AbstractSATDecoder
 

V

valueOf(String) - Static method in enum org.opt4j.satdecoding.Constraint.Operator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opt4j.satdecoding.sat4j.SAT4JSolver.Learning
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.opt4j.satdecoding.sat4j.SAT4JSolver.Restarts
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.opt4j.satdecoding.Constraint.Operator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opt4j.satdecoding.sat4j.SAT4JSolver.Learning
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.opt4j.satdecoding.sat4j.SAT4JSolver.Restarts
Returns an array containing the constants of this enum type, in the order they are declared.
VAR_RESCALE_BOUND - Static variable in class org.opt4j.satdecoding.sat4j.VariableOrder
 
VAR_RESCALE_FACTOR - Static variable in class org.opt4j.satdecoding.sat4j.VariableOrder
 
varDecay - Variable in class org.opt4j.satdecoding.Order
 
variable() - Method in class org.opt4j.satdecoding.Literal
Returns the variable of this Literal.
VariableOrder - Class in org.opt4j.satdecoding.sat4j
A VariableOrder implementation for the SAT4J interface.
VariableOrder() - Constructor for class org.opt4j.satdecoding.sat4j.VariableOrder
Constructs a VariableOrder.
variables - Variable in class org.opt4j.satdecoding.sat4j.SAT4JSolver
 
varInc - Variable in class org.opt4j.satdecoding.Order
 
varInc - Variable in class org.opt4j.satdecoding.sat4j.VariableOrder
 
VarOrder - Class in org.opt4j.satdecoding
The VarOrder implements an Order like it is used in MiniSAT.
VarOrder() - Constructor for class org.opt4j.satdecoding.VarOrder
Constructs a VarOrder.
varRescaleActivity() - Method in class org.opt4j.satdecoding.sat4j.VariableOrder
Rescales the activities of the variables.

A B C D E G H I L M N O P Q R S T U V