public class MrProcessAssignment extends AbstractPersistable
id
Constructor and Description |
---|
MrProcessAssignment() |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
MrLocation |
getLocation() |
MrMachine |
getMachine() |
int |
getMachineMoveCost() |
MrNeighborhood |
getNeighborhood() |
MrMachine |
getOriginalMachine() |
MrProcess |
getProcess() |
int |
getProcessMoveCost() |
MrService |
getService() |
long |
getUsage(MrResource resource) |
boolean |
isMoved() |
void |
setMachine(MrMachine machine) |
void |
setOriginalMachine(MrMachine originalMachine) |
void |
setProcess(MrProcess process) |
boolean |
solutionEquals(Object o)
The normal methods
Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already
requires them (for performance in their original state). |
int |
solutionHashCode()
The normal methods
Object.equals(Object) and Object.hashCode() cannot be used because the rule engine already
requires them (for performance in their original state). |
String |
toString() |
compareTo, getId, setId
public MrProcess getProcess()
public void setProcess(MrProcess process)
public MrMachine getOriginalMachine()
public void setOriginalMachine(MrMachine originalMachine)
public MrMachine getMachine()
public void setMachine(MrMachine machine)
public MrService getService()
public boolean isMoved()
public int getProcessMoveCost()
public int getMachineMoveCost()
public MrNeighborhood getNeighborhood()
public MrLocation getLocation()
public long getUsage(MrResource resource)
public String getLabel()
public boolean solutionEquals(Object o)
Object.equals(Object)
and Object.hashCode()
cannot be used because the rule engine already
requires them (for performance in their original state).solutionHashCode()
public int solutionHashCode()
Object.equals(Object)
and Object.hashCode()
cannot be used because the rule engine already
requires them (for performance in their original state).solutionEquals(Object)
public String toString()
toString
in class AbstractPersistable
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.