org.genepi
Class Pipeline
java.lang.Object
org.blackbox.model.KnowledgeSource
org.genepi.Pipeline
- All Implemented Interfaces:
- ObservableEntity, org.framboise_22.rete.Rule
public final class Pipeline
- extends KnowledgeSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
listofMeans
protected java.util.List listofMeans
shell
protected BlackboardShell shell
curEvent
protected Event curEvent
Pipeline
public Pipeline(BlackboardShell s)
getPipelineAsList
public java.util.List getPipelineAsList()
getBlackboardShell
public BlackboardShell getBlackboardShell()
setDestination
public void setDestination(java.lang.String dest)
addMean
public void addMean(Task m)
- Ajoute un moyen (une methode ) au pipline.
- Parameters:
m
- Le moyen a ajouter.
eval
public java.util.List eval(Context _data)
- Provoque l'evaluation(execution) de cette source de connaissances. (en
provoque le chainage des moyens).
- Specified by:
eval
in class KnowledgeSource
- Returns:
- Liste des hypotheses formulees par cette KS.
userLog
public void userLog()
addObserver
public void addObserver(ModelObserver o)
- Description copied from interface:
ObservableEntity
- Add a new observer.
- Parameters:
o
- the observer to be added.
removeObserver
public void removeObserver(ModelObserver o)
- Description copied from interface:
ObservableEntity
- Remove an observer.
- Parameters:
o
- the observer to be removed.
notifyObservers
protected void notifyObservers()
getShell
public BlackboardShell getShell()
- Returns:
- Returns the shell.
setShell
public void setShell(BlackboardShell shell)
- Parameters:
shell
- The shell to set.