Class RPCLPlugin

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

public class RPCLPlugin extends AbstractTweetyPlugin
Tweety CLI plugin for relational probabilistic conditional logic.
Author:
Bastian Wolf
  • Constructor Details

    • RPCLPlugin

      public RPCLPlugin()
      Creates a new RPCL plugin.
    • RPCLPlugin

      public RPCLPlugin(String[] args)
      Creates a new RPCL plugin instance from command-line arguments.
      Parameters:
      args - command-line arguments
  • Method Details

    • capabilities

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

      public String getCommand()
      Returns the command identifier used to invoke this plugin.
      Specified by:
      getCommand in interface TweetyPlugin
      Specified by:
      getCommand in class AbstractTweetyPlugin
      Returns:
      the plugin command
    • execute

      public PluginOutput execute(File[] input, CommandParameter[] params)
      Executes this plugin with the given input files and parameters.
      Specified by:
      execute in interface TweetyPlugin
      Specified by:
      execute in class AbstractTweetyPlugin
      Parameters:
      input - files to be parsed; the first entry is treated as the knowledge base
      params - additional parameters such as query, parser, or semantics settings
      Returns:
      the output calculated from the input files and parameters