#include <graphvertex.h>

+ Inheritance diagram for GraphVertex:
+ Collaboration diagram for GraphVertex:

Signals

void setEdgeVisibility (const int &relation, const int &name, const int &target, const bool &visible)
 

Public Member Functions

 GraphVertex (Graph *parentGraph, const int &name, const int &val, const int &relation, const int &size, const QString &color, const QString &numColor, const int &numSize, const QString &label, const QString &labelColor, const int &labelSize, const QPointF &p, const QString &shape, const QString &iconPath)
 
 GraphVertex (const int &name)
 constructor with default values More...
 
 ~GraphVertex ()
 
int name () const
 
void setName (const int &name)
 
void setEnabled (const bool &flag)
 
bool isEnabled () const
 
void relationSet (int newRel)
 Changes the current relation of this vertex to newRel. More...
 
void edgeAddTo (const int &v2, const qreal &weight, const QString &color=QString(), const QString &label=QString())
 Adds an outbound edge to vertex v2 with weight w. More...
 
void edgeAddFrom (const int &v1, const qreal &weight)
 Adds an inbound edge from vertex v1. More...
 
void changeOutEdgeWeight (const int &target, const qreal &weight)
 
void setOutEdgeEnabled (const int, bool)
 GraphVertex::setOutEdgeEnabled. More...
 
void edgeRemoveTo (const int target)
 Removes outbound edge to vertex v2. More...
 
void edgeRemoveFrom (const int source)
 Removes the inbound edge from vertex v2. More...
 
QHash< int, qreal > outEdgesEnabledHash (const bool &allRelations=false)
 Returns a qhash of all enabled outEdges in the active relation. More...
 
QHash< int, qreal > * outEdgesAllRelationsUniqueHash ()
 Returns a qhash of all edges to neighbors in all relations. More...
 
QHash< int, qreal > * inEdgesEnabledHash ()
 Returns a qhash of all enabled inEdges in the active relation. More...
 
QHash< int, qreal > reciprocalEdgesHash ()
 Returns a qhash of all reciprocal edges to neighbors in the active relation. More...
 
QList< int > neighborhoodList ()
 Returns a list of all neighbors mutually connected to this vertex in the active relation. The returned list does not include the vertex itself, even if it self-connected. Same as calling GraphVertex::reciprocalEdgesHash().keys() which returns a QList of int keys, where each key is a vertex reciprocally connected to this one. More...
 
int outEdges ()
 Returns the number of active outbound arcs, aka the number of outEdges, from this vertex for the current relation. More...
 
int outEdgesConst () const
 Returns the number of active outbound arcs Needs to have outEdges called before the call to this method. More...
 
int inEdges ()
 Returns the number of active inbound arcs, aka the number of inEdges, to this vertex for the current relation. More...
 
int inEdgesConst () const
 Returns the number of active inbound arcs Needs to have inEdges called before the call to this method. More...
 
int degreeOut ()
 Returns the degreeOut (the sum of all enabled outEdges weights) of this vertex. More...
 
int outDegreeConst ()
 
int degreeIn ()
 Returns the degreeIn (the sum of all enabled inEdges weights) of this vertex. More...
 
int inDegreeConst ()
 
int localDegree ()
 
qreal distance (const int &v1)
 Returns geodesic distance to vertex v1 If d to v1 has not been set previously, then return RAND_MAX. More...
 
void setDistance (const int &v1, const qreal &d)
 Sets distance to vertex v1 to dist. More...
 
void reserveDistance (const int &N)
 Reserves N items for the distance hash. See QHash Algorithmic Complexity. More...
 
void clearDistance ()
 Removes all items from m_distance hash dictionary. More...
 
int shortestPaths (const int &v1)
 Returns number of shortest paths to vertex v1 If it has not been set previously, then return 0. More...
 
void setShortestPaths (const int &v1, const int &sp)
 Sets shortest paths to vertex v1 to sp. More...
 
void reserveShortestPaths (const int &N)
 Reserves N items for the ShortestPaths hash. See QHash Algorithmic Complexity Not to be used on large nets, atm. More...
 
void clearShortestPaths ()
 Removes all items from m_shortestPaths hash dictionary. More...
 
void setEccentricity (const qreal &c)
 
qreal eccentricity ()
 
bool isOutLinked ()
 
qreal hasEdgeTo (const int &v, const bool &allRelations=false)
 GraphVertex::hasEdgeTo Checks if this vertex is outlinked to v2 and returns the weight of the edge only if the outbound edge is enabled. More...
 
bool isInLinked ()
 
qreal hasEdgeFrom (const int &v, const bool &allRelations=false)
 GraphVertex::hasEdgeFrom Checks if this vertex is inLinked from v2 and returns the weight of the link only if the inLink is enabled. More...
 
bool isIsolated ()
 
void setIsolated (bool isolated)
 
void edgeFilterByWeight (qreal m_threshold, bool overThreshold)
 Filters out edges over or under a specified weight (m_threshold) More...
 
void edgeFilterByRelation (int relation, bool status)
 Filters out all edges of a given relation. More...
 
void edgeFilterUnilateral (const bool &toggle=false)
 Filters out unilateral (non-reciprocal) edges If allRelations is true, then all relations are checked. More...
 
void setSize (const int &size)
 
int size () const
 
void setShape (const QString &shape, const QString &iconPath=QString())
 
QString shape () const
 
QString shapeIconPath ()
 
void setColor (const QString &color)
 
QString color () const
 
QString colorToPajek ()
 returns the vertex color to pajek format More...
 
void setNumberColor (const QString &color)
 
QString numberColor () const
 
void setNumberSize (const int &size)
 
int numberSize () const
 
void setNumberDistance (const int &distance)
 
int numberDistance () const
 
void setLabel (const QString &label)
 
QString label () const
 
void setLabelColor (const QString &labelColor)
 
QString labelColor () const
 
void setLabelSize (const int &size)
 
int labelSize () const
 
void setLabelDistance (const int &distance)
 
int labelDistance () const
 
void setX (const qreal &x)
 
qreal x () const
 
void setY (const qreal &y)
 
qreal y () const
 
QPointF pos () const
 
void setPos (QPointF &p)
 
QPointF & disp ()
 
void set_dispX (qreal x)
 
void set_dispY (qreal y)
 
void setOutLinkColor (const int &v2, const QString &color)
 
QString outLinkColor (const int &v2)
 
void setOutEdgeLabel (const int &v2, const QString &label)
 
QString outEdgeLabel (const int &v2) const
 
void setDelta (const qreal &c)
 
qreal delta ()
 
void clearPs ()
 GraphVertex::clearPs. More...
 
void appendToPs (const int &vertex)
 
L_int Ps (void)
 
void setOutEdgesReciprocated (int outEdgesSym=-1)
 
int outEdgesReciprocated ()
 
void setOutEdgesNonSym (int outEdgesNonSym=-1)
 
int outEdgesNonSym ()
 
void setInEdgesNonSym (int inEdgesNonSym=-1)
 
int inEdgesNonSym ()
 
void setDC (const qreal &c)
 
void setSDC (const qreal &c)
 
qreal DC ()
 
qreal SDC ()
 
void setDistanceSum (const qreal &c)
 
qreal distanceSum ()
 
void setCC (const qreal &c)
 
void setSCC (const qreal &c)
 
qreal CC ()
 
qreal SCC ()
 
void setIRCC (const qreal &c)
 
void setSIRCC (const qreal &c)
 
qreal IRCC ()
 
qreal SIRCC ()
 
void setBC (const qreal &c)
 
void setSBC (const qreal &c)
 
qreal BC ()
 
qreal SBC ()
 
void setSC (const qreal &c)
 
void setSSC (const qreal &c)
 
qreal SC ()
 
qreal SSC ()
 
void setEC (const qreal &dist)
 
void setSEC (const qreal &c)
 
qreal EC ()
 
qreal SEC ()
 
void setPC (const qreal &c)
 
void setSPC (const qreal &c)
 
qreal PC ()
 
qreal SPC ()
 
void setIC (const qreal &c)
 
void setSIC (const qreal &c)
 
qreal IC ()
 
qreal SIC ()
 
void setDP (const qreal &c)
 
void setSDP (const qreal &c)
 
qreal DP ()
 
qreal SDP ()
 
void setPRP (const qreal &c)
 
void setSPRP (const qreal &c)
 
qreal PRP ()
 
qreal SPRP ()
 
void setPP (const qreal &c)
 
void setSPP (const qreal &c)
 
qreal PP ()
 
qreal SPP ()
 
qreal CLC ()
 
void setCLC (const qreal &clucof)
 
bool hasCLC ()
 
void setEVC (const qreal &c)
 
void setSEVC (const qreal &c)
 
qreal EVC ()
 
qreal SEVC ()
 
int cliques (const int &ofSize)
 GraphVertex::cliques Returns the number of cliques sized size this vertex belongs to. More...
 
void cliqueAdd (const QList< int > &clique)
 GraphVertex::cliqueAdd. More...
 
void clearCliques ()
 

Public Attributes

H_edges m_outEdges
 
H_edges m_inEdges
 
H_distance m_distance
 
H_shortestPaths m_shortestPaths
 

Private Attributes

Graphm_graph
 
int m_name
 
int m_outEdgesCounter
 
int m_inEdgesCounter
 
int m_outDegree
 
int m_inDegree
 
int m_localDegree
 
int m_outEdgesNonSym
 
int m_inEdgesNonSym
 
int m_outEdgesSym
 
int m_value
 
int m_size
 
int m_labelSize
 
int m_numberSize
 
int m_numberDistance
 
int m_labelDistance
 
int m_curRelation
 
bool m_reciprocalLinked
 
bool m_enabled
 
bool m_hasCLC
 
bool m_isolated
 
double m_x
 
double m_y
 
qreal m_Eccentricity
 
qreal m_CLC
 
qreal m_delta
 
qreal m_EC
 
qreal m_SEC
 
qreal m_DC
 
qreal m_SDC
 
qreal m_DP
 
qreal m_SDP
 
qreal m_CC
 
qreal m_SCC
 
qreal m_BC
 
qreal m_SBC
 
qreal m_IRCC
 
qreal m_SIRCC
 
qreal m_SC
 
qreal m_SSC
 
qreal m_PC
 
qreal m_SPC
 
qreal m_SIC
 
qreal m_IC
 
qreal m_SPRC
 
qreal m_PRC
 
qreal m_PP
 
qreal m_SPP
 
qreal m_EVC
 
qreal m_SEVC
 
qreal m_distanceSum
 
QString m_color
 
QString m_numberColor
 
QString m_label
 
QString m_labelColor
 
QString m_shape
 
QString m_iconPath
 
QPointF m_disp
 
QMultiHash< int, qreal > m_reciprocalEdges
 
L_int myPs
 
QMultiHash< int, L_intm_cliques
 
L_int m_neighborhoodList
 
H_IntToStr m_outLinkColors
 
H_IntToStr m_outEdgeLabels
 

Constructor & Destructor Documentation

◆ GraphVertex() [1/2]

GraphVertex::GraphVertex ( Graph parentGraph,
const int &  name,
const int &  val,
const int &  relation,
const int &  size,
const QString &  color,
const QString &  numColor,
const int &  numSize,
const QString &  label,
const QString &  labelColor,
const int &  labelSize,
const QPointF &  p,
const QString &  shape,
const QString &  iconPath 
)

◆ GraphVertex() [2/2]

GraphVertex::GraphVertex ( const int &  name)

constructor with default values

Parameters
name

◆ ~GraphVertex()

GraphVertex::~GraphVertex ( )

Member Function Documentation

◆ appendToPs()

void GraphVertex::appendToPs ( const int &  vertex)

◆ BC()

qreal GraphVertex::BC ( )
inline

◆ CC()

qreal GraphVertex::CC ( )
inline

◆ changeOutEdgeWeight()

void GraphVertex::changeOutEdgeWeight ( const int &  target,
const qreal &  weight 
)

◆ CLC()

qreal GraphVertex::CLC ( )
inline

◆ clearCliques()

void GraphVertex::clearCliques ( )
inline

◆ clearDistance()

void GraphVertex::clearDistance ( )

Removes all items from m_distance hash dictionary.

◆ clearPs()

void GraphVertex::clearPs ( )

◆ clearShortestPaths()

void GraphVertex::clearShortestPaths ( )

Removes all items from m_shortestPaths hash dictionary.

◆ cliqueAdd()

void GraphVertex::cliqueAdd ( const QList< int > &  clique)

GraphVertex::cliqueAdd.

Parameters
clique

◆ cliques()

int GraphVertex::cliques ( const int &  ofSize)

GraphVertex::cliques Returns the number of cliques sized size this vertex belongs to.

Parameters
size
Returns

◆ color()

QString GraphVertex::color ( ) const
inline

◆ colorToPajek()

QString GraphVertex::colorToPajek ( )

returns the vertex color to pajek format

Returns

◆ DC()

qreal GraphVertex::DC ( )
inline

◆ degreeIn()

int GraphVertex::degreeIn ( )

Returns the degreeIn (the sum of all enabled inEdges weights) of this vertex.

Returns
int

◆ degreeOut()

int GraphVertex::degreeOut ( )

Returns the degreeOut (the sum of all enabled outEdges weights) of this vertex.

Returns
int

◆ delta()

qreal GraphVertex::delta ( )
inline

◆ disp()

QPointF& GraphVertex::disp ( )
inline

◆ distance()

qreal GraphVertex::distance ( const int &  v1)

Returns geodesic distance to vertex v1 If d to v1 has not been set previously, then return RAND_MAX.

Parameters
v1

◆ distanceSum()

qreal GraphVertex::distanceSum ( )
inline

◆ DP()

qreal GraphVertex::DP ( )
inline

◆ EC()

qreal GraphVertex::EC ( )
inline

◆ eccentricity()

qreal GraphVertex::eccentricity ( )
inline

◆ edgeAddFrom()

void GraphVertex::edgeAddFrom ( const int &  v1,
const qreal &  weight 
)

Adds an inbound edge from vertex v1.

Parameters
source
weight

◆ edgeAddTo()

void GraphVertex::edgeAddTo ( const int &  v2,
const qreal &  weight,
const QString &  color = QString(),
const QString &  label = QString() 
)

Adds an outbound edge to vertex v2 with weight w.

Parameters
target
weight

◆ edgeFilterByRelation()

void GraphVertex::edgeFilterByRelation ( int  relation,
bool  status 
)

Filters out all edges of a given relation.

Parameters
relation

◆ edgeFilterByWeight()

void GraphVertex::edgeFilterByWeight ( qreal  m_threshold,
bool  overThreshold 
)

Filters out edges over or under a specified weight (m_threshold)

Parameters
m_threshold
overThreshold

◆ edgeFilterUnilateral()

void GraphVertex::edgeFilterUnilateral ( const bool &  toggle = false)

Filters out unilateral (non-reciprocal) edges If allRelations is true, then all relations are checked.

Parameters
toggle

◆ edgeRemoveFrom()

void GraphVertex::edgeRemoveFrom ( const int  v2)

Removes the inbound edge from vertex v2.

Parameters
v2

◆ edgeRemoveTo()

void GraphVertex::edgeRemoveTo ( const int  v2)

Removes outbound edge to vertex v2.

Parameters
v2

◆ EVC()

qreal GraphVertex::EVC ( )
inline

◆ hasCLC()

bool GraphVertex::hasCLC ( )
inline

◆ hasEdgeFrom()

qreal GraphVertex::hasEdgeFrom ( const int &  v2,
const bool &  allRelations = false 
)

GraphVertex::hasEdgeFrom Checks if this vertex is inLinked from v2 and returns the weight of the link only if the inLink is enabled.

Parameters
v2
Returns

◆ hasEdgeTo()

qreal GraphVertex::hasEdgeTo ( const int &  v2,
const bool &  allRelations = false 
)

GraphVertex::hasEdgeTo Checks if this vertex is outlinked to v2 and returns the weight of the edge only if the outbound edge is enabled.

Parameters
v2
Returns

◆ IC()

qreal GraphVertex::IC ( )
inline

◆ inDegreeConst()

int GraphVertex::inDegreeConst ( )

◆ inEdges()

int GraphVertex::inEdges ( )

Returns the number of active inbound arcs, aka the number of inEdges, to this vertex for the current relation.

Returns
int

◆ inEdgesConst()

int GraphVertex::inEdgesConst ( ) const

Returns the number of active inbound arcs Needs to have inEdges called before the call to this method.

Returns
int

◆ inEdgesEnabledHash()

QHash< int, qreal > * GraphVertex::inEdgesEnabledHash ( )

Returns a qhash of all enabled inEdges in the active relation.

Returns
QHash<int,qreal>*

◆ inEdgesNonSym()

int GraphVertex::inEdgesNonSym ( )
inline

◆ IRCC()

qreal GraphVertex::IRCC ( )
inline

◆ isEnabled()

bool GraphVertex::isEnabled ( ) const
inline

◆ isInLinked()

bool GraphVertex::isInLinked ( )
inline

◆ isIsolated()

bool GraphVertex::isIsolated ( )
inline

◆ isOutLinked()

bool GraphVertex::isOutLinked ( )
inline

◆ label()

QString GraphVertex::label ( ) const
inline

◆ labelColor()

QString GraphVertex::labelColor ( ) const
inline

◆ labelDistance()

int GraphVertex::labelDistance ( ) const
inline

◆ labelSize()

int GraphVertex::labelSize ( ) const
inline

◆ localDegree()

int GraphVertex::localDegree ( )

localDegree is the degreeOut + degreeIn minus the edges counted twice.

◆ name()

int GraphVertex::name ( ) const
inline

◆ neighborhoodList()

QList< int > GraphVertex::neighborhoodList ( )

Returns a list of all neighbors mutually connected to this vertex in the active relation. The returned list does not include the vertex itself, even if it self-connected. Same as calling GraphVertex::reciprocalEdgesHash().keys() which returns a QList of int keys, where each key is a vertex reciprocally connected to this one.

Returns
QList<int>

◆ numberColor()

QString GraphVertex::numberColor ( ) const
inline

◆ numberDistance()

int GraphVertex::numberDistance ( ) const
inline

◆ numberSize()

int GraphVertex::numberSize ( ) const
inline

◆ outDegreeConst()

int GraphVertex::outDegreeConst ( )

◆ outEdgeLabel()

QString GraphVertex::outEdgeLabel ( const int &  v2) const
inline

◆ outEdges()

int GraphVertex::outEdges ( )

Returns the number of active outbound arcs, aka the number of outEdges, from this vertex for the current relation.

Returns
int

◆ outEdgesAllRelationsUniqueHash()

QHash< int, qreal > * GraphVertex::outEdgesAllRelationsUniqueHash ( )

Returns a qhash of all edges to neighbors in all relations.

Returns

◆ outEdgesConst()

int GraphVertex::outEdgesConst ( ) const

Returns the number of active outbound arcs Needs to have outEdges called before the call to this method.

Returns
int

◆ outEdgesEnabledHash()

QHash< int, qreal > GraphVertex::outEdgesEnabledHash ( const bool &  allRelations = false)

Returns a qhash of all enabled outEdges in the active relation.

Returns
QHash<int,qreal>*

◆ outEdgesNonSym()

int GraphVertex::outEdgesNonSym ( )
inline

◆ outEdgesReciprocated()

int GraphVertex::outEdgesReciprocated ( )
inline

◆ outLinkColor()

QString GraphVertex::outLinkColor ( const int &  v2)
inline

◆ PC()

qreal GraphVertex::PC ( )
inline

◆ pos()

QPointF GraphVertex::pos ( ) const
inline

◆ PP()

qreal GraphVertex::PP ( )
inline

◆ PRP()

qreal GraphVertex::PRP ( )
inline

◆ Ps()

L_int GraphVertex::Ps ( void  )

◆ reciprocalEdgesHash()

QHash< int, qreal > GraphVertex::reciprocalEdgesHash ( )

Returns a qhash of all reciprocal edges to neighbors in the active relation.

Returns
QHash<int,qreal>*

◆ relationSet()

void GraphVertex::relationSet ( int  newRel)

Changes the current relation of this vertex to newRel.

Parameters
newRel

◆ reserveDistance()

void GraphVertex::reserveDistance ( const int &  N)

Reserves N items for the distance hash. See QHash Algorithmic Complexity.

  • Not to be used on large nets, atm.
    Parameters
    N

◆ reserveShortestPaths()

void GraphVertex::reserveShortestPaths ( const int &  N)

Reserves N items for the ShortestPaths hash. See QHash Algorithmic Complexity Not to be used on large nets, atm.

Parameters
N

◆ SBC()

qreal GraphVertex::SBC ( )
inline

◆ SC()

qreal GraphVertex::SC ( )
inline

◆ SCC()

qreal GraphVertex::SCC ( )
inline

◆ SDC()

qreal GraphVertex::SDC ( )
inline

◆ SDP()

qreal GraphVertex::SDP ( )
inline

◆ SEC()

qreal GraphVertex::SEC ( )
inline

◆ set_dispX()

void GraphVertex::set_dispX ( qreal  x)
inline

◆ set_dispY()

void GraphVertex::set_dispY ( qreal  y)
inline

◆ setBC()

void GraphVertex::setBC ( const qreal &  c)
inline

◆ setCC()

void GraphVertex::setCC ( const qreal &  c)
inline

◆ setCLC()

void GraphVertex::setCLC ( const qreal &  clucof)
inline

◆ setColor()

void GraphVertex::setColor ( const QString &  color)
inline

◆ setDC()

void GraphVertex::setDC ( const qreal &  c)
inline

◆ setDelta()

void GraphVertex::setDelta ( const qreal &  c)
inline

◆ setDistance()

void GraphVertex::setDistance ( const int &  v1,
const qreal &  d 
)

Sets distance to vertex v1 to dist.

Parameters
v1
dist

◆ setDistanceSum()

void GraphVertex::setDistanceSum ( const qreal &  c)
inline

◆ setDP()

void GraphVertex::setDP ( const qreal &  c)
inline

◆ setEC()

void GraphVertex::setEC ( const qreal &  dist)
inline

◆ setEccentricity()

void GraphVertex::setEccentricity ( const qreal &  c)
inline

◆ setEdgeVisibility

void GraphVertex::setEdgeVisibility ( const int &  relation,
const int &  name,
const int &  target,
const bool &  visible 
)
signal

◆ setEnabled()

void GraphVertex::setEnabled ( const bool &  flag)
inline

◆ setEVC()

void GraphVertex::setEVC ( const qreal &  c)
inline

◆ setIC()

void GraphVertex::setIC ( const qreal &  c)
inline

◆ setInEdgesNonSym()

void GraphVertex::setInEdgesNonSym ( int  inEdgesNonSym = -1)
inline

◆ setIRCC()

void GraphVertex::setIRCC ( const qreal &  c)
inline

◆ setIsolated()

void GraphVertex::setIsolated ( bool  isolated)
inline

◆ setLabel()

void GraphVertex::setLabel ( const QString &  label)
inline

◆ setLabelColor()

void GraphVertex::setLabelColor ( const QString &  labelColor)
inline

◆ setLabelDistance()

void GraphVertex::setLabelDistance ( const int &  distance)
inline

◆ setLabelSize()

void GraphVertex::setLabelSize ( const int &  size)
inline

◆ setName()

void GraphVertex::setName ( const int &  name)
inline

◆ setNumberColor()

void GraphVertex::setNumberColor ( const QString &  color)
inline

◆ setNumberDistance()

void GraphVertex::setNumberDistance ( const int &  distance)
inline

◆ setNumberSize()

void GraphVertex::setNumberSize ( const int &  size)
inline

◆ setOutEdgeEnabled()

void GraphVertex::setOutEdgeEnabled ( const int  target,
bool  status 
)

GraphVertex::setOutEdgeEnabled.

Parameters
target
status

◆ setOutEdgeLabel()

void GraphVertex::setOutEdgeLabel ( const int &  v2,
const QString &  label 
)
inline

◆ setOutEdgesNonSym()

void GraphVertex::setOutEdgesNonSym ( int  outEdgesNonSym = -1)
inline

◆ setOutEdgesReciprocated()

void GraphVertex::setOutEdgesReciprocated ( int  outEdgesSym = -1)
inline

◆ setOutLinkColor()

void GraphVertex::setOutLinkColor ( const int &  v2,
const QString &  color 
)
inline

◆ setPC()

void GraphVertex::setPC ( const qreal &  c)
inline

◆ setPos()

void GraphVertex::setPos ( QPointF &  p)
inline

◆ setPP()

void GraphVertex::setPP ( const qreal &  c)
inline

◆ setPRP()

void GraphVertex::setPRP ( const qreal &  c)
inline

◆ setSBC()

void GraphVertex::setSBC ( const qreal &  c)
inline

◆ setSC()

void GraphVertex::setSC ( const qreal &  c)
inline

◆ setSCC()

void GraphVertex::setSCC ( const qreal &  c)
inline

◆ setSDC()

void GraphVertex::setSDC ( const qreal &  c)
inline

◆ setSDP()

void GraphVertex::setSDP ( const qreal &  c)
inline

◆ setSEC()

void GraphVertex::setSEC ( const qreal &  c)
inline

◆ setSEVC()

void GraphVertex::setSEVC ( const qreal &  c)
inline

◆ setShape()

void GraphVertex::setShape ( const QString &  shape,
const QString &  iconPath = QString() 
)
inline

◆ setShortestPaths()

void GraphVertex::setShortestPaths ( const int &  v1,
const int &  sp 
)

Sets shortest paths to vertex v1 to sp.

Parameters
v1
sp

◆ setSIC()

void GraphVertex::setSIC ( const qreal &  c)
inline

◆ setSIRCC()

void GraphVertex::setSIRCC ( const qreal &  c)
inline

◆ setSize()

void GraphVertex::setSize ( const int &  size)
inline

◆ setSPC()

void GraphVertex::setSPC ( const qreal &  c)
inline

◆ setSPP()

void GraphVertex::setSPP ( const qreal &  c)
inline

◆ setSPRP()

void GraphVertex::setSPRP ( const qreal &  c)
inline

◆ setSSC()

void GraphVertex::setSSC ( const qreal &  c)
inline

◆ setX()

void GraphVertex::setX ( const qreal &  x)
inline

◆ setY()

void GraphVertex::setY ( const qreal &  y)
inline

◆ SEVC()

qreal GraphVertex::SEVC ( )
inline

◆ shape()

QString GraphVertex::shape ( ) const
inline

◆ shapeIconPath()

QString GraphVertex::shapeIconPath ( )
inline

◆ shortestPaths()

int GraphVertex::shortestPaths ( const int &  v1)

Returns number of shortest paths to vertex v1 If it has not been set previously, then return 0.

Parameters
v1

◆ SIC()

qreal GraphVertex::SIC ( )
inline

◆ SIRCC()

qreal GraphVertex::SIRCC ( )
inline

◆ size()

int GraphVertex::size ( ) const
inline

◆ SPC()

qreal GraphVertex::SPC ( )
inline

◆ SPP()

qreal GraphVertex::SPP ( )
inline

◆ SPRP()

qreal GraphVertex::SPRP ( )
inline

◆ SSC()

qreal GraphVertex::SSC ( )
inline

◆ x()

qreal GraphVertex::x ( ) const
inline

◆ y()

qreal GraphVertex::y ( ) const
inline

Member Data Documentation

◆ m_BC

qreal GraphVertex::m_BC
private

◆ m_CC

qreal GraphVertex::m_CC
private

◆ m_CLC

qreal GraphVertex::m_CLC
private

◆ m_cliques

QMultiHash<int, L_int> GraphVertex::m_cliques
private

◆ m_color

QString GraphVertex::m_color
private

◆ m_curRelation

int GraphVertex::m_curRelation
private

◆ m_DC

qreal GraphVertex::m_DC
private

◆ m_delta

qreal GraphVertex::m_delta
private

◆ m_disp

QPointF GraphVertex::m_disp
private

◆ m_distance

H_distance GraphVertex::m_distance

◆ m_distanceSum

qreal GraphVertex::m_distanceSum
private

◆ m_DP

qreal GraphVertex::m_DP
private

◆ m_EC

qreal GraphVertex::m_EC
private

◆ m_Eccentricity

qreal GraphVertex::m_Eccentricity
private

◆ m_enabled

bool GraphVertex::m_enabled
private

◆ m_EVC

qreal GraphVertex::m_EVC
private

◆ m_graph

Graph* GraphVertex::m_graph
private

◆ m_hasCLC

bool GraphVertex::m_hasCLC
private

◆ m_IC

qreal GraphVertex::m_IC
private

◆ m_iconPath

QString GraphVertex::m_iconPath
private

◆ m_inDegree

int GraphVertex::m_inDegree
private

◆ m_inEdges

H_edges GraphVertex::m_inEdges

◆ m_inEdgesCounter

int GraphVertex::m_inEdgesCounter
private

◆ m_inEdgesNonSym

int GraphVertex::m_inEdgesNonSym
private

◆ m_IRCC

qreal GraphVertex::m_IRCC
private

◆ m_isolated

bool GraphVertex::m_isolated
private

◆ m_label

QString GraphVertex::m_label
private

◆ m_labelColor

QString GraphVertex::m_labelColor
private

◆ m_labelDistance

int GraphVertex::m_labelDistance
private

◆ m_labelSize

int GraphVertex::m_labelSize
private

◆ m_localDegree

int GraphVertex::m_localDegree
private

◆ m_name

int GraphVertex::m_name
private

◆ m_neighborhoodList

L_int GraphVertex::m_neighborhoodList
private

◆ m_numberColor

QString GraphVertex::m_numberColor
private

◆ m_numberDistance

int GraphVertex::m_numberDistance
private

◆ m_numberSize

int GraphVertex::m_numberSize
private

◆ m_outDegree

int GraphVertex::m_outDegree
private

◆ m_outEdgeLabels

H_IntToStr GraphVertex::m_outEdgeLabels
private

◆ m_outEdges

H_edges GraphVertex::m_outEdges

◆ m_outEdgesCounter

int GraphVertex::m_outEdgesCounter
private

◆ m_outEdgesNonSym

int GraphVertex::m_outEdgesNonSym
private

◆ m_outEdgesSym

int GraphVertex::m_outEdgesSym
private

◆ m_outLinkColors

H_IntToStr GraphVertex::m_outLinkColors
private

◆ m_PC

qreal GraphVertex::m_PC
private

◆ m_PP

qreal GraphVertex::m_PP
private

◆ m_PRC

qreal GraphVertex::m_PRC
private

◆ m_reciprocalEdges

QMultiHash<int,qreal> GraphVertex::m_reciprocalEdges
private

◆ m_reciprocalLinked

bool GraphVertex::m_reciprocalLinked
private

◆ m_SBC

qreal GraphVertex::m_SBC
private

◆ m_SC

qreal GraphVertex::m_SC
private

◆ m_SCC

qreal GraphVertex::m_SCC
private

◆ m_SDC

qreal GraphVertex::m_SDC
private

◆ m_SDP

qreal GraphVertex::m_SDP
private

◆ m_SEC

qreal GraphVertex::m_SEC
private

◆ m_SEVC

qreal GraphVertex::m_SEVC
private

◆ m_shape

QString GraphVertex::m_shape
private

◆ m_shortestPaths

H_shortestPaths GraphVertex::m_shortestPaths

◆ m_SIC

qreal GraphVertex::m_SIC
private

◆ m_SIRCC

qreal GraphVertex::m_SIRCC
private

◆ m_size

int GraphVertex::m_size
private

◆ m_SPC

qreal GraphVertex::m_SPC
private

◆ m_SPP

qreal GraphVertex::m_SPP
private

◆ m_SPRC

qreal GraphVertex::m_SPRC
private

◆ m_SSC

qreal GraphVertex::m_SSC
private

◆ m_value

int GraphVertex::m_value
private

◆ m_x

double GraphVertex::m_x
private

◆ m_y

double GraphVertex::m_y
private

◆ myPs

L_int GraphVertex::myPs
private

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