|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmetal.core.SolutionType
public abstract class SolutionType
Abstract class representing solution types, which define the types of the variables constituting a solution
Field Summary | |
---|---|
Problem |
problem_
|
Constructor Summary | |
---|---|
SolutionType(Problem problem)
Constructor |
Method Summary | |
---|---|
Variable[] |
copyVariables(Variable[] vars)
Copies the decision variables |
abstract Variable[] |
createVariables()
Abstract method to create the variables of the solution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Problem problem_
Constructor Detail |
---|
public SolutionType(Problem problem)
problem
- The problem to solveMethod Detail |
---|
public abstract Variable[] createVariables() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public Variable[] copyVariables(Variable[] vars)
vars
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |