org.genepi
Class BlackboardShell

java.lang.Object
  extended by org.genepi.BlackboardShell

public class BlackboardShell
extends java.lang.Object

Blackboard architecture.

Author:
Stˇphane Descorps-Declere

Constructor Summary
BlackboardShell(java.io.File file)
           
BlackboardShell(java.lang.String filename)
           
 
Method Summary
 Agenda getAgenda()
           
 Blackboard getBlackboard()
           
 Configuration getConfig()
           
 Controller getEngine()
           
 KsFarm getKsFarm()
           
 PatternMatcher getPatternMatcher()
           
 Messager getTextOutput()
           
 void initBlackboard()
           
 void initEngine()
           
 void initKsFarm()
           
 void parseAndAlloc()
           
 void setBlackboard(Blackboard blackboard)
           
 void setConfig(Configuration config)
           
 void setEngine(Controller engine)
           
 void setKsFarm(KsFarm ksFarm)
           
 void setTextOutput(Messager textOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlackboardShell

public BlackboardShell(java.lang.String filename)

BlackboardShell

public BlackboardShell(java.io.File file)
Method Detail

parseAndAlloc

public void parseAndAlloc()

initBlackboard

public void initBlackboard()

initKsFarm

public void initKsFarm()

initEngine

public void initEngine()

getBlackboard

public Blackboard getBlackboard()
Returns:
Returns the blackboard.

setBlackboard

public void setBlackboard(Blackboard blackboard)
Parameters:
blackboard - The blackboard to set.

getConfig

public Configuration getConfig()
Returns:
Returns the config.

setConfig

public void setConfig(Configuration config)
Parameters:
config - The config to set.

getEngine

public Controller getEngine()
Returns:
Returns the engine.

setEngine

public void setEngine(Controller engine)
Parameters:
engine - The engine to set.

getKsFarm

public KsFarm getKsFarm()
Returns:
Returns the ksFarm.

setKsFarm

public void setKsFarm(KsFarm ksFarm)
Parameters:
ksFarm - The ksFarm to set.

getAgenda

public Agenda getAgenda()

getTextOutput

public Messager getTextOutput()
Returns:
Returns the textOutput.

setTextOutput

public void setTextOutput(Messager textOutput)
Parameters:
textOutput - The textOutput to set.

getPatternMatcher

public PatternMatcher getPatternMatcher()
Returns:
Returns the patternMatcher.