All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
NetworKit::RankedEdge Struct Reference

A directed edge with a simmelianness int value. More...

#include <SimmelianScore.h>

Public Member Functions

 RankedEdge (node ego, node alter, count s)
 
 RankedEdge (node ego, node alter, count s, count r)
 
bool operator< (const RankedEdge &other) const
 
bool operator> (const RankedEdge &other) const
 
bool operator== (const RankedEdge &other) const
 

Public Attributes

node ego
 
node alter
 
count simmelianness
 
count rank
 

Detailed Description

A directed edge with a simmelianness int value.

An ordering is defined on these ties: We order first by simmelianness (descending) and then by the id of alter (ascending).

Constructor & Destructor Documentation

NetworKit::RankedEdge::RankedEdge ( node  ego,
node  alter,
count  s 
)
inline
NetworKit::RankedEdge::RankedEdge ( node  ego,
node  alter,
count  s,
count  r 
)
inline

Member Function Documentation

bool NetworKit::RankedEdge::operator< ( const RankedEdge other) const
inline
bool NetworKit::RankedEdge::operator== ( const RankedEdge other) const
inline
bool NetworKit::RankedEdge::operator> ( const RankedEdge other) const
inline

Member Data Documentation

node NetworKit::RankedEdge::alter
node NetworKit::RankedEdge::ego
count NetworKit::RankedEdge::rank
count NetworKit::RankedEdge::simmelianness

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