public class MSTMetric extends AbstractMetric
Constructor and Description |
---|
MSTMetric(java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
java.util.List<PlacementFrame.PlacementNetwork> allNetworks,
SimulatedAnnealing.IncrementalState incState) |
Modifier and Type | Method and Description |
---|---|
double |
compute() |
double |
getCurrentScore()
Get current score.
|
java.lang.String |
getMetricName() |
double |
init(java.util.List<PlacementFrame.PlacementNetwork> allNetworks) |
double |
update(int index) |
toString
public MSTMetric(java.util.List<PlacementFrame.PlacementNode> nodesToPlace, java.util.List<PlacementFrame.PlacementNetwork> allNetworks, SimulatedAnnealing.IncrementalState incState)
public java.lang.String getMetricName()
getMetricName
in class AbstractMetric
public double init(java.util.List<PlacementFrame.PlacementNetwork> allNetworks)
public double getCurrentScore()
public double update(int index)
public double compute()
compute
in class AbstractMetric