public class Move2<ModuleInstT extends AbstractModuleInst<?,?,?>,PlacementT,PathT extends AbstractPath<?,ModuleInstT>>
extends Object
BlockPlacer
.Constructor and Description |
---|
Move2(BlockPlacer2<?,ModuleInstT,PlacementT,PathT> placer) |
Modifier and Type | Method and Description |
---|---|
boolean |
addBlock(ModuleInstT block) |
boolean |
addBlock(ModuleInstT block,
PlacementT placement) |
void |
calcDeltaCost() |
void |
clear() |
int |
countBlocks() |
int |
getDeltaCost() |
void |
removeLastBlock() |
String |
toString() |
void |
undoMove() |
public Move2(BlockPlacer2<?,ModuleInstT,PlacementT,PathT> placer)
public void undoMove()
public void clear()
public int getDeltaCost()
public boolean addBlock(ModuleInstT block, PlacementT placement)
public void calcDeltaCost()
public boolean addBlock(ModuleInstT block)
public void removeLastBlock()
public String toString()
toString
in class Object
public int countBlocks()