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:
net.sf.tweety.plugin.TweetyPlugin,net.xeoh.plugins.base.Plugin
public class RPCLPlugin extends net.sf.tweety.plugin.AbstractTweetyPluginrelational probabilistic conditional logic plugin for the tweety cli skeleton- Author:
- Bastian Wolf
-
-
Constructor Summary
Constructors Constructor Description RPCLPlugin()RPCLPlugin(String[] args)Constructs a new plugin
-
Method Summary
Modifier and Type Method Description String[]capabilities()net.sf.tweety.plugin.PluginOutputexecute(File[] input, net.sf.tweety.plugin.parameter.CommandParameter[] params)Executes this plugin with given input files and other aggregated parametersStringgetCommand()
-
-
-
Constructor Detail
-
RPCLPlugin
public RPCLPlugin()
-
RPCLPlugin
public RPCLPlugin(String[] args)
Constructs a new plugin- Parameters:
args- arguments
-
-
Method Detail
-
capabilities
public String[] capabilities()
-
getCommand
public String getCommand()
- Specified by:
getCommandin interfacenet.sf.tweety.plugin.TweetyPlugin- Specified by:
getCommandin classnet.sf.tweety.plugin.AbstractTweetyPlugin
-
execute
public net.sf.tweety.plugin.PluginOutput execute(File[] input, net.sf.tweety.plugin.parameter.CommandParameter[] params)
Executes this plugin with given input files and other aggregated parameters- Specified by:
executein interfacenet.sf.tweety.plugin.TweetyPlugin- Specified by:
executein classnet.sf.tweety.plugin.AbstractTweetyPlugin- 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
-
-