Interface AFLearner
- All Known Implementing Classes:
OptimizedParallelAFLearner
,SimpleAFLearner
public interface AFLearner
Interface for the learning algorithm
- Author:
- Lars Bengel
-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
compute an argumentation framework that satisfy the internal acceptance conditionscompute all argumentation frameworks that satisfy the internal acceptance conditionslong
compute the number of argumentation frameworks that satisfy the internal acceptance conditionslong
getNumberOfFrameworks
(boolean shortcut) boolean
learnLabeling
(Input labeling) learn a single input labeling and store in internal acceptance conditionsvoid
print the internal acceptance conditions
-
Method Details
-
learnLabeling
learn a single input labeling and store in internal acceptance conditions- Parameters:
labeling
- some input labeling- Returns:
- true if the labeling has been processed successfully
-
getModels
Collection<DungTheory> getModels()compute all argumentation frameworks that satisfy the internal acceptance conditions- Returns:
- the set of computed argumentation frameworks
-
getModel
DungTheory getModel()compute an argumentation framework that satisfy the internal acceptance conditions- Returns:
- some argumentation framework that satisfies the internal conditions
-
printStatus
void printStatus()print the internal acceptance conditions -
getNumberOfFrameworks
long getNumberOfFrameworks()compute the number of argumentation frameworks that satisfy the internal acceptance conditions- Returns:
- number of afs that produce all processed input labelings
-
getNumberOfFrameworks
long getNumberOfFrameworks(boolean shortcut) - Parameters:
shortcut
- whether shortcut is applied- Returns:
- number of frameworks
-