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
relational probabilistic conditional logic plugin for the tweety cli skeleton
Author:
Bastian Wolf
  • Constructor Details

    • RPCLPlugin

      public RPCLPlugin()
    • RPCLPlugin

      public RPCLPlugin(String[] args)
      Constructs a new plugin
      Parameters:
      args - arguments
  • Method Details

    • capabilities

      public String[] capabilities()
    • getCommand

      public String getCommand()
      Description copied from class: AbstractTweetyPlugin
      returns the command this plugin is called with
      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)
      Executes this plugin with given input files and other aggregated parameters
      Specified by:
      execute in interface TweetyPlugin
      Specified by:
      execute in class AbstractTweetyPlugin
      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