Interface Node

All Superinterfaces:
Comparable<Object>, Component, Serializable
All Known Implementing Classes:
AbstractNode, LabeledNode

public interface Node extends Component
Root class for representing nodes in it.univr.di.cstnu package.
Version:
$Rev: 804 $
Author:
posenato
  • Method Details

    • isContingent

      default boolean isContingent()
      Returns:
      true if the node is a contingent one.
    • isParameter

      default boolean isParameter()
      Returns:
      true if the node is a parameter one.
    • newInstance

      Node newInstance()
      Factory
      Returns:
      an object of type Edge.
    • newInstance

      Node newInstance(Node node)
      Any super-interfaces/implementing classes should assure that such method has Edge node as argument!
      Parameters:
      node - an object to clone.
      Returns:
      an object of type Edge.
    • newInstance

      Node newInstance(String name)
      Factory
      Parameters:
      name - of the node
      Returns:
      an object of type Edge.
    • takeIn

      void takeIn(Node e)
      A copy by reference of internal structure of node e.
      Parameters:
      e - node to clone. If null, it does nothing.