public class DeltaBBMetric
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<PlacementFrame.PlacementNode,java.lang.Integer> |
nodeBlocks |
Constructor and Description |
---|
DeltaBBMetric() |
Modifier and Type | Method and Description |
---|---|
static double |
compute()
Method to evaluate a placement given by the nodesToPlace.
|
static double |
compute(java.util.List<Block> blocks,
double[] netLengths)
Method to evaluate a placement given by a blocks array.
|
static void |
init(java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
java.util.List<PlacementFrame.PlacementNetwork> allNetworks) |
static double |
old_compute(java.util.List<Block> blocks,
double[] netLengths) |
static void |
setRef(Reference ref) |
public static java.util.Map<PlacementFrame.PlacementNode,java.lang.Integer> nodeBlocks
public static void init(java.util.List<PlacementFrame.PlacementNode> nodesToPlace, java.util.List<PlacementFrame.PlacementNetwork> allNetworks)
public static void setRef(Reference ref)
public static double compute(java.util.List<Block> blocks, double[] netLengths)
blocks
- the genome of an individual.public static double old_compute(java.util.List<Block> blocks, double[] netLengths)
public static double compute()