Package net.sf.tweety.logics.rpcl.plugin
Class RPCLPlugin
- java.lang.Object
-
- net.sf.tweety.plugin.AbstractTweetyPlugin
-
- net.sf.tweety.logics.rpcl.plugin.RPCLPlugin
-
- All Implemented Interfaces:
TweetyPlugin
,net.xeoh.plugins.base.Plugin
public class RPCLPlugin extends AbstractTweetyPlugin
relational probabilistic conditional logic plugin for the tweety cli skeleton- Author:
- Bastian Wolf
-
-
Constructor Summary
Constructors Constructor Description RPCLPlugin()
RPCLPlugin(java.lang.String[] args)
Constructs a new plugin
-
Method Summary
Modifier and Type Method Description java.lang.String[]
capabilities()
PluginOutput
execute(java.io.File[] input, CommandParameter[] params)
Executes this plugin with given input files and other aggregated parametersjava.lang.String
getCommand()
returns the command this plugin is called with-
Methods inherited from class net.sf.tweety.plugin.AbstractTweetyPlugin
addParameter, getParameters, validateParameter, validateParameter
-
-
-
-
Method Detail
-
capabilities
public java.lang.String[] capabilities()
-
getCommand
public java.lang.String getCommand()
Description copied from class:AbstractTweetyPlugin
returns the command this plugin is called with- Specified by:
getCommand
in interfaceTweetyPlugin
- Specified by:
getCommand
in classAbstractTweetyPlugin
- Returns:
- the keyword used in the cli to call this plugin
-
execute
public PluginOutput execute(java.io.File[] input, CommandParameter[] params)
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). Input is assumed to contain only one file at the first position (input[0]).params
- other parameter like queries, parser or reasoner- Returns:
- the output calculated from input files and arguments
-
-