|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opt4j.satdecoding.MixedSATManager
public class MixedSATManager
The MixedSATManager encodes the decision strategy into two vectors:
One binary vector for the phase and one double vector for the priority.
| Field Summary | |
|---|---|
protected Solver |
solver
|
| Constructor Summary | |
|---|---|
MixedSATManager(Solver solver)
Constructs a MixedSATManager. |
|
| Method Summary | |
|---|---|
org.opt4j.core.Genotype |
createSATGenotype(java.util.List<java.lang.Object> variables,
java.util.Map<java.lang.Object,java.lang.Double> lowerBounds,
java.util.Map<java.lang.Object,java.lang.Double> upperBounds,
java.util.Map<java.lang.Object,java.lang.Double> priorities,
java.util.Map<java.lang.Object,java.lang.Boolean> phases)
Creates a new Genotype from the variables, priorities, and
phases. |
Model |
decodeSATGenotype(java.util.List<java.lang.Object> variables,
org.opt4j.core.Genotype genotype)
Decodes the Genotype into a Model. |
Solver |
getSolver()
Returns the Solver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Solver solver
| Constructor Detail |
|---|
@Inject public MixedSATManager(Solver solver)
MixedSATManager.
solver - the solver| Method Detail |
|---|
public org.opt4j.core.Genotype createSATGenotype(java.util.List<java.lang.Object> variables,
java.util.Map<java.lang.Object,java.lang.Double> lowerBounds,
java.util.Map<java.lang.Object,java.lang.Double> upperBounds,
java.util.Map<java.lang.Object,java.lang.Double> priorities,
java.util.Map<java.lang.Object,java.lang.Boolean> phases)
SATManagerGenotype from the variables, priorities, and
phases.
createSATGenotype in interface SATManagervariables - the variableslowerBounds - the lower bounds for the priority for the variablesupperBounds - the upper bounds for the priority for the variablespriorities - the prioritiesphases - the phases
public Model decodeSATGenotype(java.util.List<java.lang.Object> variables,
org.opt4j.core.Genotype genotype)
SATManagerGenotype into a Model.
decodeSATGenotype in interface SATManagervariables - the variables of the problemgenotype - the genotype
public Solver getSolver()
SATManagerSolver.
getSolver in interface SATManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||