public class MrMachine extends AbstractPersistable implements Labeled
id
Constructor and Description |
---|
MrMachine() |
MrMachine(long id) |
MrMachine(long id,
MrLocation location) |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
MrLocation |
getLocation() |
MrMachineCapacity |
getMachineCapacity(MrResource resource) |
List<MrMachineCapacity> |
getMachineCapacityList() |
Map<MrMachine,Integer> |
getMachineMoveCostMap() |
int |
getMoveCostTo(MrMachine toMachine) |
MrNeighborhood |
getNeighborhood() |
void |
setLocation(MrLocation location) |
void |
setMachineCapacityList(List<MrMachineCapacity> machineCapacityList) |
void |
setMachineMoveCostMap(Map<MrMachine,Integer> machineMoveCostMap) |
void |
setNeighborhood(MrNeighborhood neighborhood) |
getId, setId, toString
public MrMachine()
public MrMachine(long id)
public MrMachine(long id, MrLocation location)
public MrNeighborhood getNeighborhood()
public void setNeighborhood(MrNeighborhood neighborhood)
public MrLocation getLocation()
public void setLocation(MrLocation location)
public List<MrMachineCapacity> getMachineCapacityList()
public void setMachineCapacityList(List<MrMachineCapacity> machineCapacityList)
public MrMachineCapacity getMachineCapacity(MrResource resource)
public int getMoveCostTo(MrMachine toMachine)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.