choco.cp.solver.constraints.global.scheduling.trees
Class AltDisjTreeTL

java.lang.Object
  extended by choco.kernel.common.opres.graph.ProperBinaryTree
      extended by choco.cp.solver.constraints.global.scheduling.trees.AbstractVilimTree
          extended by choco.cp.solver.constraints.global.scheduling.trees.DisjTreeTL
              extended by choco.cp.solver.constraints.global.scheduling.trees.AltDisjTreeTL
All Implemented Interfaces:
IThetaLambdaTree, IThetaTree, IVilimTree, IDotty, ITree

public final class AltDisjTreeTL
extends DisjTreeTL

Since:
2 mars 2009 version 2.0.3
Version:
2.0.3
Author:
Arnaud Malapert

Nested Class Summary
protected  class AltDisjTreeTL.AltDisjStatusTL
           
 
Nested classes/interfaces inherited from class choco.cp.solver.constraints.global.scheduling.trees.DisjTreeTL
DisjTreeTL.DisjStatusTL
 
Nested classes/interfaces inherited from interface choco.cp.solver.constraints.global.scheduling.trees.IVilimTree
IVilimTree.TreeMode
 
Constructor Summary
AltDisjTreeTL(List<? extends ITask> tasks)
           
 
Method Summary
 int getTaskType(IRTask rtask)
           
 void initializeEdgeFinding(IVilimTree.TreeMode mode, Iterable<IRTask> rtasks)
           
 void insert(ITask task)
           
 boolean insertInTheta(IRTask rtask)
          insert the task into the tree.
 boolean insertInTheta(ITask task)
          insert the task into the tree (optional operation).
 boolean removeFromTheta(ITask task)
           
 
Methods inherited from class choco.cp.solver.constraints.global.scheduling.trees.DisjTreeTL
getGrayTime, getNodeStatus, getResponsibleTask, getRootStatus, getTime, insertInLambda, removeFromLambda, removeFromThetaAndInsertInLambda, removeFromThetaAndInsertInLambda
 
Methods inherited from class choco.cp.solver.constraints.global.scheduling.trees.AbstractVilimTree
applySort, contains, getLeaf, getMode, getTaskComparator, insertTask, remove, reset, setMode, sort, toDotty
 
Methods inherited from class choco.kernel.common.opres.graph.ProperBinaryTree
fireTreeChanged, fireTreeChanged, getDepth, getNbInternalNodes, getNbLeaves, getRoot, insert, isLeftOrRight, remove, removeLast, setRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface choco.cp.solver.constraints.global.scheduling.trees.IThetaTree
insertInTheta, insertInTheta, removeFromTheta
 
Methods inherited from interface choco.cp.solver.constraints.global.scheduling.trees.IVilimTree
contains, getMode, remove, reset, setMode, sort
 
Methods inherited from interface choco.kernel.common.IDotty
toDotty
 
Methods inherited from interface choco.kernel.common.opres.graph.ITree
getDepth, getNbInternalNodes, getNbLeaves
 

Constructor Detail

AltDisjTreeTL

public AltDisjTreeTL(List<? extends ITask> tasks)
Method Detail

getTaskType

public int getTaskType(IRTask rtask)

initializeEdgeFinding

public void initializeEdgeFinding(IVilimTree.TreeMode mode,
                                  Iterable<IRTask> rtasks)

insert

public void insert(ITask task)
Specified by:
insert in interface IVilimTree
Overrides:
insert in class DisjTreeTL

insertInTheta

public boolean insertInTheta(ITask task)
Description copied from interface: IThetaTree
insert the task into the tree (optional operation). If some additional information is needed, it throws an UnsupportedOperationException and you should use IThetaTree.insertInTheta(IRTask)

Specified by:
insertInTheta in interface IThetaTree
Returns:
true if it succeeds

insertInTheta

public final boolean insertInTheta(IRTask rtask)
Description copied from interface: IThetaTree
insert the task into the tree.

Specified by:
insertInTheta in interface IThetaTree
Returns:
true if it succeeds

removeFromTheta

public final boolean removeFromTheta(ITask task)
Specified by:
removeFromTheta in interface IThetaTree


Copyright © 2012. All Rights Reserved.