Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.machinereassignment.domain
Class MrProcessAssignment

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.machinereassignment.domain.MrProcessAssignment
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>

public class MrProcessAssignment
extends AbstractPersistable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
MrProcessAssignment()
           
 
Method Summary
 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()
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
compareTo, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MrProcessAssignment

public MrProcessAssignment()
Method Detail

getProcess

public MrProcess getProcess()

setProcess

public void setProcess(MrProcess process)

getOriginalMachine

public MrMachine getOriginalMachine()

setOriginalMachine

public void setOriginalMachine(MrMachine originalMachine)

getMachine

public MrMachine getMachine()

setMachine

public void setMachine(MrMachine machine)

getService

public MrService getService()

isMoved

public boolean isMoved()

getProcessMoveCost

public int getProcessMoveCost()

getMachineMoveCost

public int getMachineMoveCost()

getNeighborhood

public MrNeighborhood getNeighborhood()

getLocation

public MrLocation getLocation()

getUsage

public long getUsage(MrResource resource)

getLabel

public String getLabel()

solutionEquals

public 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).

See Also:
solutionHashCode()

solutionHashCode

public 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).

See Also:
solutionEquals(Object)

toString

public String toString()
Overrides:
toString in class AbstractPersistable

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.