Class PlPlugin

java.lang.Object
org.tweetyproject.plugin.AbstractTweetyPlugin
org.tweetyproject.logics.pl.plugin.PlPlugin
All Implemented Interfaces:
net.xeoh.plugins.base.Plugin, TweetyPlugin

public class PlPlugin extends AbstractTweetyPlugin
This class provides the JSPF-Plugin for the propositional logic library Currently plugin is loadable but not executed
Author:
Bastian Wolf
  • Constructor Details

    • PlPlugin

      public PlPlugin(String[] args)
      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

      public String[] capabilities()
      Returns:
      capabilities representation
    • getCommand

      public String getCommand()
      returns the parameter used to call this plugin from the tweety cli
      Specified by:
      getCommand in interface TweetyPlugin
      Specified by:
      getCommand in class AbstractTweetyPlugin
      Returns:
      the keyword used in the cli to call this plugin
    • execute

      public PluginOutput execute(File[] input, CommandParameter[] params)
      Method to be executed with input files and parameters from tweety cli
      Specified by:
      execute in interface TweetyPlugin
      Specified by:
      execute in class AbstractTweetyPlugin
      Parameters:
      input - files to be used within the plugin
      params - parameter handled in the plugin (e.g. desired output file, iterations...)
      Returns:
      an output written into a file or the console