Class PlPlugin

  • All Implemented Interfaces:
    TweetyPlugin, net.xeoh.plugins.base.Plugin

    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 Summary

      Constructors 
      Constructor Description
      PlPlugin()
      actually used constructor, initializing start parameters for this plugin
      PlPlugin​(java.lang.String[] args)
      non-empty constructor in case of problems concerning jspf
    • Constructor Detail

      • PlPlugin

        public PlPlugin​(java.lang.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 Detail

      • capabilities

        public java.lang.String[] capabilities()
      • getCommand

        public java.lang.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​(java.io.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