public abstract class AbstractPSLA extends Object implements ProbabilisticStructureLearningAlgorithm, StoppableLearningAlgorithm
Constructor and Description |
---|
AbstractPSLA() |
AbstractPSLA(AbstractCELA cela,
AbstractParameterLearningAlgorithm pla)
Each probabilistic structure learning algorithm gets a class expression
learning algorithm and a parameter learning algorithm
|
Modifier and Type | Method and Description |
---|---|
AbstractCELA |
getClassExpressionLearningAlgorithm() |
ParameterLearningAlgorithm |
getLearningParameterAlgorithm()
Get the underlying learning parameter algorithm.
|
AbstractLearningProblem |
getLearningProblem()
The learning problem variable, which must be used by all learning
algorithm implementations.
|
String |
getOutputFile() |
boolean |
isRunning()
Returns whether the learning algorithm is running.
|
void |
setClassExpressionLearningAlgorithm(AbstractCELA la) |
void |
setLearningParameterAlgorithm(ParameterLearningAlgorithm pla)
Set the parameter learner algorithm.
|
void |
setLearningProblem(LearningProblem learningProblem)
Set the learning problem, which the algorithm should solve.
|
void |
setOutputFile(String outputFile) |
void |
stop()
Stops the algorithm gracefully.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
start
public AbstractPSLA()
public AbstractPSLA(AbstractCELA cela, AbstractParameterLearningAlgorithm pla)
cela
- pla
- public AbstractCELA getClassExpressionLearningAlgorithm()
@Autowired public void setClassExpressionLearningAlgorithm(AbstractCELA la)
public ParameterLearningAlgorithm getLearningParameterAlgorithm()
ProbabilisticStructureLearningAlgorithm
getLearningParameterAlgorithm
in interface ProbabilisticStructureLearningAlgorithm
@Autowired public void setLearningParameterAlgorithm(ParameterLearningAlgorithm pla)
ProbabilisticStructureLearningAlgorithm
setLearningParameterAlgorithm
in interface ProbabilisticStructureLearningAlgorithm
pla
- The parameter learner to be used.public AbstractLearningProblem getLearningProblem()
getLearningProblem
in interface LearningAlgorithm
@Autowired public void setLearningProblem(LearningProblem learningProblem)
LearningAlgorithm
setLearningProblem
in interface LearningAlgorithm
learningProblem
- The learning problem to solve.public boolean isRunning()
StoppableLearningAlgorithm
isRunning
in interface StoppableLearningAlgorithm
public void stop()
StoppableLearningAlgorithm
stop
in interface StoppableLearningAlgorithm
public String getOutputFile()
public void setOutputFile(String outputFile)
outputFile
- the outputFile to set DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann