Package | Description |
---|---|
com.sun.electric.tool.placement.genetic2 | |
com.sun.electric.tool.placement.genetic2.metrics |
Modifier and Type | Field and Description |
---|---|
java.util.List<Block> |
DeltaIndividual.blocks |
Modifier and Type | Method and Description |
---|---|
Block |
ClassicIndividual.getBlockAt(int i)
Method to get a Block at position i of the genome.
|
Block |
DeltaIndividual.insertBlock(java.util.Random rand,
int nodeNr,
boolean mutation)
Method to fetch a node from the reference and insert a corresponding
block into the list of deltas.
|
Modifier and Type | Method and Description |
---|---|
double |
UniformGrid.collide(Block b,
java.util.List<Block> deltas,
java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
double[] overlaps)
Gets the change in collision area for the delta-position of the delta-block.
|
double |
UniformGrid.collideCell(Block b,
java.util.List<Block> deltas,
java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
double[] overlaps,
int x,
int y,
boolean oldBlock)
Gets the change in collision area for the delta-block in a single grid cell.
|
double |
UniformGrid.collideCell(Block b,
java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
double[] overlaps,
int x,
int y)
Gets the collision area for the Block b with the previous nodes.
|
int |
Block.compareTo(Block other)
Method to compare the number of blocks
|
double |
Block.intersectionArea(Block other)
Method to calculate the intersection area with another Block.
|
boolean |
Block.intersects(Block other)
Method to check this Block for intersection with another.
|
Modifier and Type | Method and Description |
---|---|
double |
UniformGrid.collide(Block b,
java.util.List<Block> deltas,
java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
double[] overlaps)
Gets the change in collision area for the delta-position of the delta-block.
|
double |
UniformGrid.collideCell(Block b,
java.util.List<Block> deltas,
java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
double[] overlaps,
int x,
int y,
boolean oldBlock)
Gets the change in collision area for the delta-block in a single grid cell.
|
Constructor and Description |
---|
Block(Block b) |
Modifier and Type | Method and Description |
---|---|
double |
BBMetric.compute(Block[] blocks)
Method to evaluate a placement given by a blocks array.
|
Modifier and Type | Method and Description |
---|---|
static double |
DeltaBBMetric.compute(java.util.List<Block> blocks,
double[] netLengths)
Method to evaluate a placement given by a blocks array.
|
static double |
DeltaBBMetric.old_compute(java.util.List<Block> blocks,
double[] netLengths) |