OptaPlanner distribution 6.0.1-SNAPSHOT

org.optaplanner.examples.projectjobscheduling.solver.score.capacity
Class ResourceCapacityTracker

java.lang.Object
  extended by org.optaplanner.examples.projectjobscheduling.solver.score.capacity.ResourceCapacityTracker
Direct Known Subclasses:
NonrenewableResourceCapacityTracker, RenewableResourceCapacityTracker

public abstract class ResourceCapacityTracker
extends Object


Field Summary
protected  Resource resource
           
 
Constructor Summary
ResourceCapacityTracker(Resource resource)
           
 
Method Summary
abstract  int getHardScore()
           
abstract  void insert(ResourceRequirement resourceRequirement, Allocation allocation)
           
abstract  void retract(ResourceRequirement resourceRequirement, Allocation allocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resource

protected Resource resource
Constructor Detail

ResourceCapacityTracker

public ResourceCapacityTracker(Resource resource)
Method Detail

insert

public abstract void insert(ResourceRequirement resourceRequirement,
                            Allocation allocation)

retract

public abstract void retract(ResourceRequirement resourceRequirement,
                             Allocation allocation)

getHardScore

public abstract int getHardScore()

OptaPlanner distribution 6.0.1-SNAPSHOT

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.