|
| | TTimeNENet () |
| |
| | TTimeNENet (const int &Nodes, const int &Edges) |
| |
| | TTimeNENet (TSIn &SIn) |
| |
| | TTimeNENet (const TTimeNENet &TimeNet) |
| |
| void | Save (TSOut &SOut) const |
| | Saves the network to a (binary) stream SOut. More...
|
| |
| TTimeNENet & | operator= (const TTimeNENet &TimeNet) |
| |
| PTimeNet | GetTimeNet () const |
| |
| PTimeNENet | Get1stEdgeNet () const |
| |
| PTimeNENet | GetSubGraph (const TIntV &NIdV) const |
| |
| PTimeNENet | GetESubGraph (const TIntV &EIdV) const |
| |
| PTimeNENet | GetGraphUpToTm (const TSecTm &MaxEdgeTm) const |
| |
| void | SortNodeEdgeTimes () |
| |
| void | UpdateNodeTimes () |
| |
| void | SetNodeTmToFirstEdgeTm () |
| |
| void | SetRndEdgeTimes (const int &MinTmEdge=0) |
| |
| void | DumpTimeStat () const |
| |
| void | GetNIdByTm (TIntV &NIdV) const |
| |
| void | GetEIdByTm (TIntV &EIdV) const |
| |
| void | GetTmBuckets (const TTmUnit &GroupBy, TTimeNet::TTmBucketV &TmBucketV) const |
| |
| void | GetEdgeTmBuckets (const TTmUnit &GroupBy, TTimeNet::TTmBucketV &TmBucketV) const |
| |
| void | GetNodeBuckets (const int NodesPerBucket, TTimeNet::TTmBucketV &TmBucketV) const |
| |
| void | GetEdgeBuckets (const int EdgesPerBucket, TTimeNet::TTmBucketV &TmBucketV) const |
| |
| int | GetTriadEdges (TIntV &TriadEIdV) const |
| |
| PGStatVec | TimeGrowth (const TTmUnit &TimeStep, const TFSet &TakeStat, const TSecTm &StartTm=TSecTm(1)) const |
| |
| PGStatVec | TimeGrowth (const TStr &FNmPref, const TStr &Desc, const TFSet &TakeStat, const int &NDiamRuns, const TTmUnit &TmUnit, const int &TakeNTmUnits, const bool &LinkBWays) const |
| |
| void | PlotEffDiam (const TStr &FNmPref, const TStr &Desc, const TTmUnit &GroupBy, const TSecTm &StartTm, const int &NDiamRuns=10, const bool &OnlyWcc=false) const |
| |
| void | PlotMissingPast (const TStr &FNmPref, const TStr &Desc, const TTmUnit &TmUnit, const TSecTm &DelPreTmEdges, const TSecTm &PostTmDiam, const bool &LinkBWays) |
| |
| void | SaveEdgeTm (const TStr &EdgeFNm, const bool &RenumberNId=false, const bool &RelativeTm=false) const |
| |
| | TNodeEdgeNet () |
| |
| | TNodeEdgeNet (const int &Nodes, const int &Edges) |
| | Constructor that reserves enough memory for a network of Nodes nodes and Edges edges. More...
|
| |
| | TNodeEdgeNet (const TNodeEdgeNet &Net) |
| |
| | TNodeEdgeNet (TSIn &SIn) |
| | Constructor that loads the network from a (binary) stream SIn. More...
|
| |
| virtual | ~TNodeEdgeNet () |
| |
| bool | HasFlag (const TGraphFlag &Flag) const |
| | Allows for run-time checking the type of the network (see the TGraphFlag for flags). More...
|
| |
| TNodeEdgeNet & | operator= (const TNodeEdgeNet &Net) |
| |
| int | GetNodes () const |
| | Returns the number of nodes in the network. More...
|
| |
| int | AddNode (int NId=-1) |
| | Adds a node of ID NId to the network. More...
|
| |
| int | AddNode (int NId, const TSecTm &NodeDat) |
| | Adds node data to node with ID NId. More...
|
| |
| int | AddNode (const TNodeI &NodeI) |
| |
| void | DelNode (const int &NId) |
| | Deletes node of ID NId from the network. More...
|
| |
| void | DelNode (const TNode &NodeI) |
| | Deletes node of ID NodeI.GetId() from the network. More...
|
| |
| bool | IsNode (const int &NId) const |
| | Tests whether ID NId is a node. More...
|
| |
| TNodeI | BegNI () const |
| | Returns an iterator referring to the first node in the network. More...
|
| |
| TNodeI | EndNI () const |
| | Returns an iterator referring to the past-the-end node in the network. More...
|
| |
| TNodeI | GetNI (const int &NId) const |
| | Returns an iterator referring to the node of ID NId in the network. More...
|
| |
| void | SetNDat (const int &NId, const TSecTm &NodeDat) |
| | Sets node data for the node of ID NId in the network. More...
|
| |
| TSecTm & | GetNDat (const int &NId) |
| | Returns node data for the node of ID NId in the network. More...
|
| |
| const TSecTm & | GetNDat (const int &NId) const |
| | Returns node data for the node of ID NId in the network. More...
|
| |
| int | GetMxNId () const |
| | Returns an ID that is larger than any node ID in the network. More...
|
| |
| int | GetEdges () const |
| | Returns the number of edges in the network. More...
|
| |
| int | GetUniqEdges (const bool &IsDir=true) const |
| | Returns the number of edges in the network with a unique pair of nodes. More...
|
| |
| int | AddEdge (const int &SrcNId, const int &DstNId, int EId=-1) |
| | Adds an edge between node IDs SrcNId and DstNId to the graph. More...
|
| |
| int | AddEdge (const int &SrcNId, const int &DstNId, int EId, const TSecTm &EdgeDat) |
| | Adds an edge and edge data from node IDs SrcNId to node DstNId. More...
|
| |
| int | AddEdge (const TEdgeI &EdgeI) |
| | Adds an edge from EdgeI.GetSrcNId() to EdgeI.GetDstNId() and its edge data to the network. More...
|
| |
| void | DelEdge (const int &EId) |
| | Deletes an edge with ID EId from the network. More...
|
| |
| void | DelEdge (const int &SrcNId, const int &DstNId, const bool &IsDir=true) |
| | Deletes an edge from node IDs SrcNId to DstNId from the network. More...
|
| |
| bool | IsEdge (const int &EId) const |
| | Tests whether an edge with ID EId exists in the network. More...
|
| |
| bool | IsEdge (const int &SrcNId, const int &DstNId, const bool &IsDir=true) const |
| | Tests whether an edge from node IDs SrcNId to DstNId exists in the network. More...
|
| |
| bool | IsEdge (const int &SrcNId, const int &DstNId, int &EId, const bool &IsDir=true) const |
| | Tests whether an edge from node IDs SrcNId to DstNId with edge ID EId exists in the network. More...
|
| |
| int | GetEId (const int &SrcNId, const int &DstNId) const |
| |
| TEdgeI | BegEI () const |
| | Returns an iterator referring to the first edge in the network. More...
|
| |
| TEdgeI | EndEI () const |
| | Returns an iterator referring to the past-the-end edge in the network. More...
|
| |
| TEdgeI | GetEI (const int &EId) const |
| | Not supported/implemented! More...
|
| |
| TEdgeI | GetEI (const int &SrcNId, const int &DstNId) const |
| | Returns an iterator referring to edge (SrcNId, DstNId) in the graph. More...
|
| |
| void | SetEDat (const int &EId, const TSecTm &EdgeDat) |
| | Sets edge data for the edge of ID NId in the network. More...
|
| |
| TSecTm & | GetEDat (const int &EId) |
| | Returns edge data for the edge with ID EId. More...
|
| |
| const TSecTm & | GetEDat (const int &EId) const |
| | Returns edge data for the edge with ID EId. More...
|
| |
| void | SetAllEDat (const TSecTm &EdgeDat) |
| | Sets edge data for all the edges in the network to EDat. More...
|
| |
| int | GetRndNId (TRnd &Rnd=TInt::Rnd) |
| | Returns an ID of a random node in the network. More...
|
| |
| TNodeI | GetRndNI (TRnd &Rnd=TInt::Rnd) |
| | Returns an interator referring to a random node in the network. More...
|
| |
| int | GetRndEId (TRnd &Rnd=TInt::Rnd) |
| | Returns an ID of a random edge in the network. More...
|
| |
| TEdgeI | GetRndEI (TRnd &Rnd=TInt::Rnd) |
| | Returns an interator referring to a random edge in the network. More...
|
| |
| void | GetNIdV (TIntV &NIdV) const |
| | Returns a vector of all node IDs in the network. More...
|
| |
| void | GetEIdV (TIntV &EIdV) const |
| | Returns a vector of all edge IDs in the network. More...
|
| |
| bool | Empty () const |
| | Tests whether the network is empty (has zero nodes). More...
|
| |
| void | Clr () |
| | Deletes all nodes and edges from the network. More...
|
| |
| void | Reserve (const int &Nodes, const int &Edges) |
| | Reserves memory for a network of Nodes nodes and Edges edges. More...
|
| |
| void | SortNIdById (const bool &Asc=true) |
| | Sorts nodes by node IDs. More...
|
| |
| void | SortNIdByDat (const bool &Asc=true) |
| | Sorts nodes by node data. More...
|
| |
| void | SortEIdById (const bool &Asc=true) |
| | Sorts edges by edge IDs. More...
|
| |
| void | SortEIdByDat (const bool &Asc=true) |
| | Sorts edges by edge data. More...
|
| |
| void | Defrag (const bool &OnlyNodeLinks=false) |
| | Defragments the network. More...
|
| |
| bool | IsOk (const bool &ThrowExcept=true) const |
| | Checks the network data structure for internal consistency. More...
|
| |