Interface Node
- All Superinterfaces:
Comparable<Object>
,Component
,Serializable
- All Known Implementing Classes:
AbstractNode
,LabeledNode
Root class for representing nodes in it.univr.di.cstnu package.
- Version:
- $Rev: 804 $
- Author:
- posenato
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default boolean
FactorynewInstance
(Node node) Any super-interfaces/implementing classes should assure that such method has Edge node as argument!newInstance
(String name) Factoryvoid
A copy by reference of internal structure of node e.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface it.univr.di.cstnu.graph.Component
clear, equals, equalsByName, getName, hashCode, inNegativeCycle, setInNegativeCycle, setName, toString
-
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
-
newInstance
-
newInstance
-
takeIn
A copy by reference of internal structure of node e.- Parameters:
e
- node to clone. If null, it does nothing.
-