Package placement
Class ActiveSetPlacement
java.lang.Object
java.util.Observable
placement.ActiveSetPlacement
- All Implemented Interfaces:
Placement
public class ActiveSetPlacement extends Observable implements Placement
-
Field Summary
Fields Modifier and Type Field Description booleansplit -
Constructor Summary
Constructors Constructor Description ActiveSetPlacement(Variable[] vs) -
Method Summary
Modifier and Type Method Description ConstraintaddConstraint(String u, String v, double sep)placement.ConstraintsgetConstraints()VariablesgetVariables()floatsolve()Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
-
Field Details
-
split
public boolean split
-
-
Constructor Details
-
ActiveSetPlacement
-
-
Method Details
-
addConstraint
- Specified by:
addConstraintin interfacePlacement
-
solve
public float solve() -
getConstraints
public placement.Constraints getConstraints()- Specified by:
getConstraintsin interfacePlacement
-
getVariables
- Specified by:
getVariablesin interfacePlacement
-