choco.cp.solver.search.task.profile
Class ProbabilisticProfile
java.lang.Object
choco.cp.solver.search.task.profile.ProbabilisticProfile
public class ProbabilisticProfile
- extends Object
Probabilistic profile of an unary resource.
- Author:
- Arnaud Malapert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
involved
protected final BitSet involved
disjSModel
public final DisjunctiveSModel disjSModel
ProbabilisticProfile
public ProbabilisticProfile(ITask[] tasks,
DisjunctiveSModel disjSModel)
ProbabilisticProfile
public ProbabilisticProfile(List<? extends ITask> tasks,
DisjunctiveSModel disjSModel)
ProbabilisticProfile
public ProbabilisticProfile(Solver solver,
DisjunctiveSModel disjSModel)
getIndividualContribution
public final double getIndividualContribution(ITask task,
int coordinate)
getEDS
protected ProbabilisticProfile.EventDataStructure getEDS(ITask task)
generateEventsList
public final void generateEventsList(IResource<? extends ITask> rsc)
resetSweepData
protected void resetSweepData()
handleEvents
protected void handleEvents(choco.cp.solver.search.task.profile.ProbabilisticProfile.EventRProf e,
ListIterator<choco.cp.solver.search.task.profile.ProbabilisticProfile.EventRProf> iter)
handleEvent
protected void handleEvent(choco.cp.solver.search.task.profile.ProbabilisticProfile.EventRProf e)
initializeEvents
public void initializeEvents()
sweep
protected final void sweep()
computeMaximum
public final void computeMaximum(IResource<?>... resources)
- compute a maximum using the specified set checker
isValidMaximum
protected boolean isValidMaximum()
getMaxProfileValue
public double getMaxProfileValue()
getMaxProfileCoord
public int getMaxProfileCoord()
getInvolvedInMaxProf
public BitSet getInvolvedInMaxProf()
compute
public double compute(int x)
update
protected void update(int x)
draw
public StringBuilder draw()
Copyright © 2012. All Rights Reserved.