Class PlPlugin
java.lang.Object
org.tweetyproject.plugin.AbstractTweetyPlugin
org.tweetyproject.logics.pl.plugin.PlPlugin
- All Implemented Interfaces:
net.xeoh.plugins.base.Plugin
,TweetyPlugin
This class provides the JSPF-Plugin for the propositional logic library
Currently plugin is loadable but not executed
- Author:
- Bastian Wolf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
execute
(File[] input, CommandParameter[] params) Method to be executed with input files and parameters from tweety clireturns the parameter used to call this plugin from the tweety cliMethods inherited from class org.tweetyproject.plugin.AbstractTweetyPlugin
addParameter, getParameters, validateParameter, validateParameter
-
Constructor Details
-
PlPlugin
non-empty constructor in case of problems concerning jspf- Parameters:
args
- never observed
-
PlPlugin
public PlPlugin()actually used constructor, initializing start parameters for this plugin
-
-
Method Details
-
capabilities
- Returns:
- capabilities representation
-
getCommand
returns the parameter used to call this plugin from the tweety cli- Specified by:
getCommand
in interfaceTweetyPlugin
- Specified by:
getCommand
in classAbstractTweetyPlugin
- Returns:
- the keyword used in the cli to call this plugin
-
execute
Method to be executed with input files and parameters from tweety cli- Specified by:
execute
in interfaceTweetyPlugin
- Specified by:
execute
in classAbstractTweetyPlugin
- Parameters:
input
- files to be used within the pluginparams
- parameter handled in the plugin (e.g. desired output file, iterations...)- Returns:
- an output written into a file or the console
-