public class PlacementGenetic extends PlacementFrame
PlacementFrame.PlacementNetwork, PlacementFrame.PlacementNode, PlacementFrame.PlacementParameter, PlacementFrame.PlacementPort
Modifier and Type | Field and Description |
---|---|
PlacementFrame.PlacementParameter |
maxRuntimeParam |
PlacementFrame.PlacementParameter |
maxThreadsParam |
boolean |
printDebugInformation |
numOfThreads, runtime
Constructor and Description |
---|
PlacementGenetic() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithmName()
Method to return the name of the placement algorithm (overridden by
actual Placement algorithms).
|
UnifiedPopulation |
getPopulation() |
void |
runPlacement(java.util.List<PlacementFrame.PlacementNode> nodesToPlace,
java.util.List<PlacementFrame.PlacementNetwork> allNetworks,
java.util.List<PlacementAdapter.PlacementExport> exportsToPlace,
java.lang.String cellName,
Job job)
Method to run the genetic algorithm to find a good placement.
|
getOriginalCell, getParameters, getRedispCell, getStandardCellSize, isFailure, setFailure, setOriginalCell, setParamterValues, setRedispCell
public PlacementFrame.PlacementParameter maxRuntimeParam
public PlacementFrame.PlacementParameter maxThreadsParam
public boolean printDebugInformation
public java.lang.String getAlgorithmName()
PlacementFrame
getAlgorithmName
in class PlacementFrame
public UnifiedPopulation getPopulation()
public void runPlacement(java.util.List<PlacementFrame.PlacementNode> nodesToPlace, java.util.List<PlacementFrame.PlacementNetwork> allNetworks, java.util.List<PlacementAdapter.PlacementExport> exportsToPlace, java.lang.String cellName, Job job)
runPlacement
in class PlacementFrame
nodesToPlace
- a list of all nodes that are to be placed.allNetworks
- a list of all networks that connect the nodes.cellName
- the name of the cell being placed.job
- the Job (for testing abort).