public class AstSolutionMap extends Object
Modifier and Type | Method and Description |
---|---|
Analysis |
getAnalysis() |
AstModel |
getModel() |
IrIntVar |
getObjectiveVar(Objective objective)
Returns the variable associated to the objective.
|
IrIntVar[] |
getRefVars(AstRef ref)
Returns the reference variables associated to the reference.
|
IrSetVar[] |
getSiblingVars(AstClafer clafer)
Returns the sibling variables associated with the Clafer.
|
IrBoolVar |
getSoftVar(AstConstraint constraint)
Returns the soft variable associated to the constraint.
|
IrBoolVar[] |
getSoftVars() |
Map<AstConstraint,IrBoolVar> |
getSoftVarsMap() |
IrIntVar |
getSumSoftVar()
Returns the variable equal to the sum of the soft variables.
|
public Analysis getAnalysis()
public IrSetVar[] getSiblingVars(AstClafer clafer)
clafer
- the Claferpublic IrIntVar[] getRefVars(AstRef ref)
ref
- the referencepublic IrBoolVar getSoftVar(AstConstraint constraint)
constraint
- the constraintpublic IrBoolVar[] getSoftVars()
public Map<AstConstraint,IrBoolVar> getSoftVarsMap()
public IrIntVar getSumSoftVar()
public IrIntVar getObjectiveVar(Objective objective)
objective
- the objectiveCopyright © 2013. All Rights Reserved.