GrammarScope  4.0.0
Classes | Static Public Member Functions | Private Member Functions | List of all members
grammarscope.common.utils.EdgeSort< T > Class Template Reference

Classes

class  EdgeSpanComparator
 
class  RelationComparator
 

Static Public Member Functions

static List< GraphEdgesort (final Graph< GraphNode, GraphEdge > graph, final RelationFilter relationFilter)
 
static List< GraphEdgesortPerNode (final Graph< GraphNode, GraphEdge > graph, final RelationFilter relationFilter)
 
static List< GraphEdgesortPerRelation (final Graph< GraphNode, GraphEdge > graph, final RelationFilter relationFilter)
 

Private Member Functions

 EdgeSort ()
 

Detailed Description

Order nodes

Constructor & Destructor Documentation

◆ EdgeSort()

Member Function Documentation

◆ sort()

static List<GraphEdge> grammarscope.common.utils.EdgeSort< T >.sort ( final Graph< GraphNode, GraphEdge graph,
final RelationFilter  relationFilter 
)
static

Sort edges per span

Parameters
graphgraph
relationFilterrelation filter
Returns
sorted edges

◆ sortPerNode()

static List<GraphEdge> grammarscope.common.utils.EdgeSort< T >.sortPerNode ( final Graph< GraphNode, GraphEdge graph,
final RelationFilter  relationFilter 
)
static

Order edges per node

Parameters
graphgraph
relationFilterrelation filter
Returns
sorted edges

◆ sortPerRelation()

static List<GraphEdge> grammarscope.common.utils.EdgeSort< T >.sortPerRelation ( final Graph< GraphNode, GraphEdge graph,
final RelationFilter  relationFilter 
)
static

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