congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ReteNode.getTerminalNode
Code IndexAdd Tabnine to your IDE (free)

How to use
getTerminalNode
method
in
jadex.rules.rulesystem.rete.nodes.ReteNode

Best Java code snippets using jadex.rules.rulesystem.rete.nodes.ReteNode.getTerminalNode (Showing top 3 results out of 315)

origin: net.sourceforge.jadex/jadex-rules

/**
 *  Remove a rule from a rete network.
 *  @param root The root node.
 *  @param rule The rule to remove.
 */
public void removeRule(ReteNode root, IRule rule)
{
  // Find terminal node that is associated with the rule
  // and call node usage removal.
  TerminalNode tnode = root.getTerminalNode(rule);
  
  removeNodeUsage(tnode);
}
 
origin: org.activecomponents.jadex/jadex-rules

/**
 *  Remove a rule from a rete network.
 *  @param root The root node.
 *  @param rule The rule to remove.
 */
public void removeRule(ReteNode root, IRule rule)
{
  // Find terminal node that is associated with the rule
  // and call node usage removal.
  TerminalNode tnode = root.getTerminalNode(rule);
  
  removeNodeUsage(tnode);
}
 
origin: net.sourceforge.jadex/jadex-rules-tools

for(int i=0; i<rules.length; i++)
  INode node = root.getTerminalNode(system.getRulebase().getRule(rules[i]));
  subgraph.add(node);
  np.setNode(root.getTerminalNode(system.getRulebase().getRule(rules[0])));
jadex.rules.rulesystem.rete.nodesReteNodegetTerminalNode

Javadoc

Set the terminal node for a rule.

Popular methods of ReteNode

  • <init>
    Create a new rete system.
  • addObject
    Tell the condition system about a new object in the state.
  • addRule
    Add a rule to the network.
  • checkConsistency
    Check consistency of Rete network/memory. For debugging. Only performs some simple checks and does n
  • clone
  • getIndirectNodes
    Get the set of indirectly affected nodes for an attribute type.
  • getInitialFactNode
    Get the initial fact node (if any).
  • getNextNodeId
    Get the next nodecounter.
  • getRelevantAttributes
    Get the set of relevant attribute types.
  • getTypeNode
    Get the node for a type.
  • getTypeNodes
    Get the set of matching type nodes for a (sub)type.
  • modifyObject
    Tell the condition system about a modified object in the state.
  • getTypeNodes,
  • modifyObject,
  • putTerminalNode,
  • removeObject,
  • removeRule,
  • setInited,
  • getBuilder

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now