Class SerialisationNode
java.lang.Object
org.tweetyproject.arg.dung.serialisability.semantics.SerialisationNode
- All Implemented Interfaces:
Node
Representation of a 'state' in the serialisation process, consisting of the current
DungTheory
and a (partial) Extension
.- Author:
- Lars Bengel
- See Also:
-
Constructor Summary
ConstructorDescriptionSerialisationNode
(DungTheory theory, Extension<DungTheory> extension) Initializes a serialisation state for the given theory and extension withterminal
set tofalse
SerialisationNode
(DungTheory theory, Extension<DungTheory> extension, boolean terminal) Initializes a new serialisation state for the given theory and extension and terminal value -
Method Summary
-
Constructor Details
-
SerialisationNode
Initializes a new serialisation state for the given theory and extension and terminal value- Parameters:
theory
- a dung theoryextension
- an extensionterminal
- if the corresponding extension is valid
-
SerialisationNode
Initializes a serialisation state for the given theory and extension withterminal
set tofalse
- Parameters:
theory
- a dung theoryextension
- an extension
-
-
Method Details
-
getTheory
-
getExtension
Return the extension corresponding to this state- Returns:
- the associated serialisation sequence
-
isTerminal
public boolean isTerminal()Return whether this state is considered terminal- Returns:
- true, if the set of arguments of this node is an extension
-
equals
-
hashCode
-
toString
-