Class RPCLPlugin
java.lang.Object
org.tweetyproject.plugin.AbstractTweetyPlugin
org.tweetyproject.logics.rpcl.plugin.RPCLPlugin
- All Implemented Interfaces:
net.xeoh.plugins.base.Plugin,TweetyPlugin
Tweety CLI plugin for relational probabilistic conditional logic.
- Author:
- Bastian Wolf
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new RPCL plugin.RPCLPlugin(String[] args) Creates a new RPCL plugin instance from command-line arguments. -
Method Summary
Modifier and TypeMethodDescriptionString[]Return capabilitiesexecute(File[] input, CommandParameter[] params) Executes this plugin with the given input files and parameters.Returns the command identifier used to invoke this plugin.Methods inherited from class org.tweetyproject.plugin.AbstractTweetyPlugin
addParameter, getParameters, validateParameter, validateParameter
-
Constructor Details
-
RPCLPlugin
public RPCLPlugin()Creates a new RPCL plugin. -
RPCLPlugin
Creates a new RPCL plugin instance from command-line arguments.- Parameters:
args- command-line arguments
-
-
Method Details
-
capabilities
Return capabilities- Returns:
- capabilities
-
getCommand
Returns the command identifier used to invoke this plugin.- Specified by:
getCommandin interfaceTweetyPlugin- Specified by:
getCommandin classAbstractTweetyPlugin- Returns:
- the plugin command
-
execute
Executes this plugin with the given input files and parameters.- Specified by:
executein interfaceTweetyPlugin- Specified by:
executein classAbstractTweetyPlugin- Parameters:
input- files to be parsed; the first entry is treated as the knowledge baseparams- additional parameters such as query, parser, or semantics settings- Returns:
- the output calculated from the input files and parameters
-