Tabnine Logo
ReteNode.putTerminalNode
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: net.sourceforge.jadex/jadex-rules

clone.putTerminalNode((TerminalNode)((TerminalNode)node).clone());
origin: org.activecomponents.jadex/jadex-rules

clone.putTerminalNode((TerminalNode)((TerminalNode)node).clone());
origin: net.sourceforge.jadex/jadex-rules

/**
 *  Add a new terminal node.
 *  @param rule The rule.
 *  @param context The build context.
 */
protected void addTerminalNode(IRule rule, BuildContext context)
{
  // Create and connect the terminal node
  
  Map varinfos = context.getVarInfos();
  Map extractors = new HashMap();
  for(Iterator it=varinfos.keySet().iterator(); it.hasNext(); )
  {
    Variable var = (Variable)it.next();
    if(!var.isTemporary())
      extractors.put(var.getName(), getLeftVariableExtractor(context, var));
  }
  
  TerminalNode tnode = new TerminalNode(context.getRootNode().getNextNodeId(), rule, extractors);
  connectLeft(context.getLastBetaNode(), tnode, context);
  
  // Save the terminal node for later removal
  context.getRootNode().putTerminalNode(tnode);
}
 
origin: org.activecomponents.jadex/jadex-rules

/**
 *  Add a new terminal node.
 *  @param rule The rule.
 *  @param context The build context.
 */
protected void addTerminalNode(IRule rule, BuildContext context)
{
  // Create and connect the terminal node
  
  Map varinfos = context.getVarInfos();
  Map extractors = new HashMap();
  for(Iterator it=varinfos.keySet().iterator(); it.hasNext(); )
  {
    Variable var = (Variable)it.next();
    if(!var.isTemporary())
      extractors.put(var.getName(), getLeftVariableExtractor(context, var));
  }
  
  TerminalNode tnode = new TerminalNode(context.getRootNode().getNextNodeId(), rule, extractors);
  connectLeft(context.getLastBetaNode(), tnode, context);
  
  // Save the terminal node for later removal
  context.getRootNode().putTerminalNode(tnode);
}
 
jadex.rules.rulesystem.rete.nodesReteNodeputTerminalNode

Javadoc

Set the terminal node for a rule.

Popular methods of ReteNode

  • getTerminalNode
    Set the terminal node for a rule.
  • <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.
  • getTypeNode,
  • getTypeNodes,
  • modifyObject,
  • removeObject,
  • removeRule,
  • setInited,
  • getBuilder

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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