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 boolean
split
-
Constructor Summary
Constructors Constructor Description ActiveSetPlacement(Variable[] vs)
-
Method Summary
Modifier and Type Method Description Constraint
addConstraint(String u, String v, double sep)
placement.Constraints
getConstraints()
Variables
getVariables()
float
solve()
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:
addConstraint
in interfacePlacement
-
solve
public float solve() -
getConstraints
public placement.Constraints getConstraints()- Specified by:
getConstraints
in interfacePlacement
-
getVariables
- Specified by:
getVariables
in interfacePlacement
-