public class ClientState extends Object
Constructor and Description |
---|
ClientState() |
public ClientState()
public int addQuery(SparqlQuery query)
public SparqlQuery getQuery(int id)
@Deprecated public boolean isAlgorithmRunning()
@Deprecated public void setAlgorithmRunning(boolean isAlgorithmRunning)
isAlgorithmRunning
- the isAlgorithmRunning to setpublic boolean removeKnowledgeSource(String url)
url
- URL of the OWL file or SPARQL Endpoint.public AbstractClassExpressionLearningProblem getLearningProblem()
public int setLearningProblem(AbstractClassExpressionLearningProblem learningProblem)
learningProblem
- the learningProblem to setpublic AbstractReasonerComponent getReasonerComponent()
public int setReasonerComponent(AbstractReasonerComponent reasonerComponent)
ReasonerComponent
instance.reasonerComponent
- the reasonerComponent to setpublic AbstractCELA getLearningAlgorithm()
public int setLearningAlgorithm(AbstractCELA learningAlgorithm)
learningAlgorithm
- the learningAlgorithm to setpublic AbstractComponent getComponent(int id)
id
- A component ID.Map.get(java.lang.Object)
public int addKnowledgeSource(AbstractKnowledgeSource ks)
ks
- The knowledge source to add.public boolean removeKnowledgeSource(int componentID)
public Set<AbstractKnowledgeSource> getKnowledgeSources()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann