choco.kernel.model.variables.tree
Class TreeParametersObject
java.lang.Object
choco.kernel.model.VariableArray
choco.kernel.model.ModelObject
choco.kernel.model.variables.AbstractVariable
choco.kernel.model.variables.MultipleVariables
choco.kernel.model.variables.tree.TreeParametersObject
- All Implemented Interfaces:
- IPretty, IIndex, IConstraintList, IFindManager, IOptions, IVariableArray, IHook, Variable, Serializable, Comparable
public class TreeParametersObject
- extends MultipleVariables
- See Also:
- Serialized Form
Fields inherited from interface choco.kernel.model.variables.Variable |
LOGGER |
Fields inherited from interface choco.kernel.model.variables.IHook |
NO_HOOK |
Methods inherited from class choco.kernel.model.variables.AbstractVariable |
_addConstraint, _contains, _removeConstraint, compareTo, getConstraint, getConstraintIterator, getConstraintIterator, getConstraints, getHook, getName, getNbConstraint, getNbConstraint, getVariableType, pretty, removeConstraints, resetHook, setHook, setName, throwConstantException, toString |
Methods inherited from class choco.kernel.model.VariableArray |
cancelExtractVariables, doExtractVariables, extractVariables, forceExtractVariables, getNbVars, getVariable, getVariableIterator, getVariables, replaceBy, replaceByConstantAt, setVariables, setVariables |
TreeParametersObject
public TreeParametersObject(int nbNodes,
IntegerVariable nTree,
IntegerVariable nproper,
IntegerVariable objective,
List<BitSet[]> graphs,
List<int[][]> matrix,
int[][] travel)
getSuccVars
public IntegerVariable[] getSuccVars()
getNTree
public IntegerVariable getNTree()
getNbNodes
public int getNbNodes()
getNodes
public TreeNodeObject[] getNodes()
getNproper
public IntegerVariable getNproper()
getObjective
public IntegerVariable getObjective()
getGraphs
public List<BitSet[]> getGraphs()
getMatrix
public List<int[][]> getMatrix()
getTravel
public int[][] getTravel()
Copyright © 2012. All Rights Reserved.