org.dllearner.cli
Class Start

java.lang.Object
  extended by org.dllearner.cli.Start

public class Start
extends Object

Startup file for Command Line Interface.

Author:
Jens Lehmann

Constructor Summary
Start(File file)
          Initialise all components based on conf file.
 
Method Summary
static Map<URL,Class<? extends KnowledgeSource>> getImportedFiles(ConfParser parser, String baseDir)
          detects all imported files and their format
 LearningAlgorithm getLearningAlgorithm()
           
 LearningProblem getLearningProblem()
           
 ReasonerComponent getReasonerComponent()
           
 Set<KnowledgeSource> getSources()
           
static void handleError(String message)
          error handling over the logger
static void main(String[] args)
          Entry point for CLI interface.
 void start(boolean inQueryMode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Start

public Start(File file)
      throws ComponentInitException,
             FileNotFoundException,
             ParseException
Initialise all components based on conf file.

Parameters:
file - Conf file to read.
Throws:
ComponentInitException
ParseException
FileNotFoundException
Method Detail

main

public static void main(String[] args)
Entry point for CLI interface.

Parameters:
args - Command line arguments.

start

public void start(boolean inQueryMode)

getImportedFiles

public static Map<URL,Class<? extends KnowledgeSource>> getImportedFiles(ConfParser parser,
                                                                         String baseDir)
detects all imported files and their format


handleError

public static void handleError(String message)
error handling over the logger

Parameters:
message - is a string and you message for problem

getSources

public Set<KnowledgeSource> getSources()
Returns:
the sources

getLearningAlgorithm

public LearningAlgorithm getLearningAlgorithm()

getLearningProblem

public LearningProblem getLearningProblem()

getReasonerComponent

public ReasonerComponent getReasonerComponent()


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann