Class RPCLPlugin
java.lang.Object
org.tweetyproject.plugin.AbstractTweetyPlugin
org.tweetyproject.logics.rpcl.plugin.RPCLPlugin
- All Implemented Interfaces:
net.xeoh.plugins.base.Plugin
,TweetyPlugin
relational probabilistic conditional logic plugin for the tweety cli
skeleton
- Author:
- Bastian Wolf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
Return capabilitiesexecute
(File[] input, CommandParameter[] params) Executes this plugin with given input files and other aggregated parametersreturns the command this plugin is called withMethods inherited from class org.tweetyproject.plugin.AbstractTweetyPlugin
addParameter, getParameters, validateParameter, validateParameter
-
Constructor Details
-
RPCLPlugin
public RPCLPlugin()Constructor -
RPCLPlugin
-
-
Method Details
-
capabilities
-
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
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
-