Class FirstOrderLogicPlugin
java.lang.Object
org.tweetyproject.plugin.AbstractTweetyPlugin
org.tweetyproject.logics.fol.plugin.FirstOrderLogicPlugin
- All Implemented Interfaces:
net.xeoh.plugins.base.Plugin
,TweetyPlugin
This class models the plugin for first order logics used in the tweety cli
Note: Currently FOL-files MUST BE named after the pattern "*.fologic"
Very early state, not finished or debugged yet.
- Author:
- Bastian Wolf
-
Constructor Summary
ConstructorDescriptionactually used constructor, initializes start parameters for this pluginFirstOrderLogicPlugin
(String[] args) non-empty constructor in case of problems concerning jspf -
Method Summary
Modifier and TypeMethodDescriptionString[]
Return String representation of capabilitiesexecute
(File[] input, CommandParameter[] params) Executes this plugin with given input files and other aggregated parametersThis class returns the parameter used to call this pluginMethods inherited from class org.tweetyproject.plugin.AbstractTweetyPlugin
addParameter, getParameters, validateParameter, validateParameter
-
Constructor Details
-
FirstOrderLogicPlugin
non-empty constructor in case of problems concerning jspf- Parameters:
args
- never observed
-
FirstOrderLogicPlugin
public FirstOrderLogicPlugin()actually used constructor, initializes start parameters for this plugin
-
-
Method Details
-
capabilities
Return String representation of capabilities- Returns:
- String representation of capabilities
-
getCommand
This class returns the parameter used to call this plugin- Specified by:
getCommand
in interfaceTweetyPlugin
- Specified by:
getCommand
in classAbstractTweetyPlugin
- Returns:
- the parameter used to call this plugin
-
execute
Executes this plugin with given input files and other aggregated parameters- Specified by:
execute
in interfaceTweetyPlugin
- Specified by:
execute
in classAbstractTweetyPlugin
- Parameters:
input
- files to be parsed (e.g. knowledge base)params
- other parameter like queries,- Returns:
- the output calculated from input files and arguments
-