public class SimulatedAnnealing extends PlacementFrame
Modifier and Type | Class and Description |
---|---|
class |
SimulatedAnnealing.IncrementalState
A representation of a state of the nodes on the chip.
|
class |
SimulatedAnnealing.PlacementNodePosition
A class for storing node positions and rotations
|
class |
SimulatedAnnealing.PlacementThread
An implementation of a worker thread that does the moving and swapping of
the placement nodes in parallel.
|
class |
SimulatedAnnealing.Temperature
A representation of temperature
|
PlacementFrame.PlacementNetwork, PlacementFrame.PlacementNode, PlacementFrame.PlacementParameter, PlacementFrame.PlacementPort
Modifier and Type | Field and Description |
---|---|
int |
INNER_LOOP_TOTAL
Total number of iterations for the inner loop.
|
PlacementFrame.PlacementParameter |
maxRuntimeParam |
PlacementFrame.PlacementParameter |
maxThreadsParam |
int |
STEP_THREAD
Number of iteration for each thread to do per temperature change.
|
numOfThreads, runtime
Constructor and Description |
---|
SimulatedAnnealing() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithmName()
Method to return the name of the placement algorithm (overridden by
actual Placement algorithms).
|
PlacementFrame.PlacementNode |
getHighestConnectedNode(PlacementFrame.PlacementNode node)
Returns the highest connected node to the given node
|
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 do Placement (overridden by actual Placement algorithms).
|
getOriginalCell, getParameters, getRedispCell, getStandardCellSize, isFailure, setFailure, setOriginalCell, setParamterValues, setRedispCell
public final int STEP_THREAD
public final int INNER_LOOP_TOTAL
public PlacementFrame.PlacementParameter maxThreadsParam
public PlacementFrame.PlacementParameter maxRuntimeParam
public java.lang.String getAlgorithmName()
PlacementFrame
getAlgorithmName
in class PlacementFrame
PlacementFrame.getAlgorithmName()
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)
PlacementFrame
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).PlacementFrame#runPlacement(List, List, String);
public PlacementFrame.PlacementNode getHighestConnectedNode(PlacementFrame.PlacementNode node)
node
- the node for which the highest connected to be found