GrammarScope  4.0.0
Public Member Functions | Protected Attributes | Package Attributes | Static Private Attributes | List of all members
grammarscope.artifacts.ASemanticGraph Class Reference
Inheritance diagram for grammarscope.artifacts.ASemanticGraph:
Inheritance graph
[legend]
Collaboration diagram for grammarscope.artifacts.ASemanticGraph:
Collaboration graph
[legend]

Public Member Functions

 ASemanticGraph (final TypedDependencyProvider provider, final TypedDependencyMode mode)
 
 ASemanticGraph (final TypedDependencyProvider provider, final TypedDependencyMode mode, final List< GraphNode > nodes, final HashSet< GraphEdge > edges, final List< GraphNode > roots)
 
TypedDependencyProvider getProvider ()
 
TypedDependencyMode getMode ()
 
List< GraphNodegetRoots ()
 
String toForm (final Comparator< GraphEdge > comparator)
 
ATypedDependencies typedDependencies ()
 
String toString ()
 
- Public Member Functions inherited from grammarscope.artifacts.Graph< GraphNode, GraphEdge >
 Graph ()
 
List< N > getNodes ()
 
HashSet< E > getEdges ()
 
getNode (final int i)
 
String toString ()
 
String toLongString ()
 

Protected Attributes

List< GraphNoderoots
 
- Protected Attributes inherited from grammarscope.artifacts.Graph< GraphNode, GraphEdge >
final List< N > nodes
 
final HashSet< E > edges
 

Package Attributes

final TypedDependencyProvider provider
 
final TypedDependencyMode mode
 

Static Private Attributes

static final long serialVersionUID = 4236850070106340481L
 

Additional Inherited Members

- Protected Member Functions inherited from grammarscope.artifacts.Graph< GraphNode, GraphEdge >
 Graph (final List< N > nodes, final HashSet< E > edges)
 

Detailed Description

Artifact representing semantic graph

Author
Bernard Bou

Constructor & Destructor Documentation

◆ ASemanticGraph() [1/2]

grammarscope.artifacts.ASemanticGraph.ASemanticGraph ( final TypedDependencyProvider  provider,
final TypedDependencyMode  mode 
)

Constructor

Parameters
providertyped dependency provider
modetyped dependency mode

◆ ASemanticGraph() [2/2]

grammarscope.artifacts.ASemanticGraph.ASemanticGraph ( final TypedDependencyProvider  provider,
final TypedDependencyMode  mode,
final List< GraphNode nodes,
final HashSet< GraphEdge edges,
final List< GraphNode roots 
)

Constructor

Parameters
providertyped dependency provider
modetyped dependency mode
nodesnodes
edgesedges
rootsroots

Member Function Documentation

◆ getMode()

TypedDependencyMode grammarscope.artifacts.ASemanticGraph.getMode ( )

Get mode

Returns
typed dependency mode

◆ getProvider()

TypedDependencyProvider grammarscope.artifacts.ASemanticGraph.getProvider ( )

Get provider

Returns
typed dependency provider

◆ getRoots()

List<GraphNode> grammarscope.artifacts.ASemanticGraph.getRoots ( )

Get roots

Returns
list of roots

◆ toForm()

String grammarscope.artifacts.ASemanticGraph.toForm ( final Comparator< GraphEdge comparator)

Logical form

Parameters
comparatorcomparator
Returns
logical form

◆ toString()

String grammarscope.artifacts.ASemanticGraph.toString ( )

◆ typedDependencies()

ATypedDependencies grammarscope.artifacts.ASemanticGraph.typedDependencies ( )

Retrieve typed dependencies

Returns
typed dependencies

Member Data Documentation

◆ mode

final TypedDependencyMode grammarscope.artifacts.ASemanticGraph.mode
package

Mode

◆ provider

final TypedDependencyProvider grammarscope.artifacts.ASemanticGraph.provider
package

Provider

◆ roots

List<GraphNode> grammarscope.artifacts.ASemanticGraph.roots
protected

Roots

◆ serialVersionUID

final long grammarscope.artifacts.ASemanticGraph.serialVersionUID = 4236850070106340481L
staticprivate

The documentation for this class was generated from the following file: