|
| TModeNet () |
|
| TModeNet (const int &TypeId) |
|
| TModeNet (const int &Nodes, const int &Edges) |
| Constructor that reserves enough memory for a graph of nodes and edges. More...
|
|
| TModeNet (const int &Nodes, const int &Edges, const int &TypeId) |
|
| TModeNet (const TModeNet &Graph) |
|
| TModeNet (TSIn &SIn) |
| Constructor for loading the graph from a (binary) stream SIn. More...
|
|
void | Save (TSOut &SOut) const |
| Saves the graph to a (binary) stream SOut. More...
|
|
void | DelNode (const int &NId) |
| Deletes the given node from this mode. More...
|
|
void | GetCrossNetNames (TStrV &Names) const |
| Gets a list of CrossNets that have this Mode as either a source or destination type. More...
|
|
void | GetNeighborsByCrossNet (const int &NId, TStr &Name, TIntV &Neighbors, const bool isOutEId=false) const |
| For the given node, gets all the neighbors for the crossnet type. If this mode is both the source and dest type, use isOutEId to specify direction. More...
|
|
TNodeI | BegMMNI () const |
| Returns an iterator referring to the first node in the graph. More...
|
|
TNodeI | EndMMNI () const |
| Returns an iterator referring to the past-the-end node in the graph. More...
|
|
TNodeI | GetMMNI (const int &NId) const |
| Returns an iterator referring to the node of ID NId in the graph. More...
|
|
void | Clr () |
| Deletes all nodes from this mode and edges from associated crossnets. More...
|
|
TModeNet & | operator= (const TModeNet &Graph) |
|
| TNEANet () |
|
| TNEANet (const int &Nodes, const int &Edges) |
| Constructor that reserves enough memory for a graph of nodes and edges. More...
|
|
| TNEANet (const TNEANet &Graph) |
|
| TNEANet (TSIn &SIn) |
| Constructor for loading the graph from a (binary) stream SIn. More...
|
|
void | Save (TSOut &SOut) const |
| Saves the graph to a (binary) stream SOut. Expects data structures for sparse attributes. More...
|
|
void | Save_V1 (TSOut &SOut) const |
| Saves the graph to a (binary) stream SOut. Available for backwards compatibility. More...
|
|
bool | HasFlag (const TGraphFlag &Flag) const |
| Allows for run-time checking the type of the graph (see the TGraphFlag for flags). More...
|
|
TNEANet & | operator= (const TNEANet &Graph) |
|
int | GetNodes () const |
| Returns the number of nodes in the graph. More...
|
|
int | AddNode (int NId=-1) |
| Adds a node of ID NId to the graph. More...
|
|
int | AddNode (const TNodeI &NodeI) |
| Adds a node of ID NodeI.GetId() to the graph. More...
|
|
void | DelNode (const TNode &NodeI) |
| Deletes node of ID NodeI.GetId() from the graph. 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 graph. More...
|
|
TNodeI | EndNI () const |
| Returns an iterator referring to the past-the-end node in the graph. More...
|
|
TNodeI | GetNI (const int &NId) const |
| Returns an iterator referring to the node of ID NId in the graph. More...
|
|
TAIntI | BegNAIntI (const TStr &attr) const |
| Returns an iterator referring to the first node's int attribute. More...
|
|
TAIntI | EndNAIntI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end node's attribute. More...
|
|
TAIntI | GetNAIntI (const TStr &attr, const int &NId) const |
| Returns an iterator referring to the node of ID NId in the graph. More...
|
|
TAIntVI | BegNAIntVI (const TStr &attr) const |
| Returns an iterator referring to the first node's int attribute. More...
|
|
TAIntVI | EndNAIntVI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end node's attribute. More...
|
|
TAIntVI | GetNAIntVI (const TStr &attr, const int &NId) const |
| Returns an iterator referring to the node of ID NId in the graph. More...
|
|
TAStrI | BegNAStrI (const TStr &attr) const |
| Returns an iterator referring to the first node's str attribute. More...
|
|
TAStrI | EndNAStrI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end node's attribute. More...
|
|
TAStrI | GetNAStrI (const TStr &attr, const int &NId) const |
| Returns an iterator referring to the node of ID NId in the graph. More...
|
|
TAFltI | BegNAFltI (const TStr &attr) const |
| Returns an iterator referring to the first node's flt attribute. More...
|
|
TAFltI | EndNAFltI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end node's attribute. More...
|
|
TAFltI | GetNAFltI (const TStr &attr, const int &NId) const |
| Returns an iterator referring to the node of ID NId in the graph. More...
|
|
void | AttrNameNI (const TInt &NId, TStrV &Names) const |
| Returns a vector of attr names for node NId. More...
|
|
void | AttrNameNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TStrV &Names) const |
|
void | AttrValueNI (const TInt &NId, TStrV &Values) const |
| Returns a vector of attr values for node NId. More...
|
|
void | AttrValueNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TStrV &Values) const |
|
void | IntAttrNameNI (const TInt &NId, TStrV &Names) const |
| Returns a vector of int attr names for node NId. More...
|
|
void | IntAttrNameNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TStrV &Names) const |
|
void | IntAttrValueNI (const TInt &NId, TIntV &Values) const |
| Returns a vector of attr values for node NId. More...
|
|
void | IntAttrValueNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TIntV &Values) const |
|
void | IntVAttrNameNI (const TInt &NId, TStrV &Names) const |
| Returns a vector of int attr names for node NId. More...
|
|
void | IntVAttrNameNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TStrV &Names) const |
|
void | IntVAttrValueNI (const TInt &NId, TVec< TIntV > &Values) const |
| Returns a vector of attr values for node NId. More...
|
|
void | IntVAttrValueNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TVec< TIntV > &Values) const |
|
void | StrAttrNameNI (const TInt &NId, TStrV &Names) const |
| Returns a vector of str attr names for node NId. More...
|
|
void | StrAttrNameNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TStrV &Names) const |
|
void | StrAttrValueNI (const TInt &NId, TStrV &Values) const |
| Returns a vector of attr values for node NId. More...
|
|
void | StrAttrValueNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TStrV &Values) const |
|
void | FltAttrNameNI (const TInt &NId, TStrV &Names) const |
| Returns a vector of int attr names for node NId. More...
|
|
void | FltAttrNameNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TStrV &Names) const |
|
void | FltAttrValueNI (const TInt &NId, TFltV &Values) const |
| Returns a vector of attr values for node NId. More...
|
|
void | FltAttrValueNI (const TInt &NId, TStrIntPrH::TIter NodeHI, TFltV &Values) const |
|
void | AttrNameEI (const TInt &EId, TStrV &Names) const |
| Returns a vector of attr names for edge EId. More...
|
|
void | AttrNameEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TStrV &Names) const |
|
void | AttrValueEI (const TInt &EId, TStrV &Values) const |
| Returns a vector of attr values for edge EId. More...
|
|
void | AttrValueEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TStrV &Values) const |
|
void | IntAttrNameEI (const TInt &EId, TStrV &Names) const |
| Returns a vector of int attr names for edge EId. More...
|
|
void | IntAttrNameEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TStrV &Names) const |
|
void | IntAttrValueEI (const TInt &EId, TIntV &Values) const |
| Returns a vector of attr values for edge EId. More...
|
|
void | IntAttrValueEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TIntV &Values) const |
|
void | IntVAttrNameEI (const TInt &EId, TStrV &Names) const |
| Returns a vector of int attr names for edge EId. More...
|
|
void | IntVAttrNameEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TStrV &Names) const |
|
void | IntVAttrValueEI (const TInt &EId, TVec< TIntV > &Values) const |
| Returns a vector of attr values for edge EId. More...
|
|
void | IntVAttrValueEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TVec< TIntV > &Values) const |
|
void | StrAttrNameEI (const TInt &EId, TStrV &Names) const |
| Returns a vector of str attr names for node NId. More...
|
|
void | StrAttrNameEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TStrV &Names) const |
|
void | StrAttrValueEI (const TInt &EId, TStrV &Values) const |
| Returns a vector of attr values for node NId. More...
|
|
void | StrAttrValueEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TStrV &Values) const |
|
void | FltAttrNameEI (const TInt &EId, TStrV &Names) const |
| Returns a vector of int attr names for node NId. More...
|
|
void | FltAttrNameEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TStrV &Names) const |
|
void | FltAttrValueEI (const TInt &EId, TFltV &Values) const |
| Returns a vector of attr values for node NId. More...
|
|
void | FltAttrValueEI (const TInt &EId, TStrIntPrH::TIter EdgeHI, TFltV &Values) const |
|
TAIntI | BegEAIntI (const TStr &attr) const |
| Returns an iterator referring to the first edge's int attribute. More...
|
|
TAIntI | EndEAIntI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end edge's attribute. More...
|
|
TAIntI | GetEAIntI (const TStr &attr, const int &EId) const |
| Returns an iterator referring to the edge of ID EId in the graph. More...
|
|
TAIntVI | BegEAIntVI (const TStr &attr) const |
| Returns an iterator referring to the first edge's int attribute. More...
|
|
TAIntVI | EndEAIntVI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end edge's attribute. More...
|
|
TAIntVI | GetEAIntVI (const TStr &attr, const int &EId) const |
| Returns an iterator referring to the edge of ID EId in the graph. More...
|
|
TAStrI | BegEAStrI (const TStr &attr) const |
| Returns an iterator referring to the first edge's str attribute. More...
|
|
TAStrI | EndEAStrI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end edge's attribute. More...
|
|
TAStrI | GetEAStrI (const TStr &attr, const int &EId) const |
| Returns an iterator referring to the edge of ID EId in the graph. More...
|
|
TAFltI | BegEAFltI (const TStr &attr) const |
| Returns an iterator referring to the first edge's flt attribute. More...
|
|
TAFltI | EndEAFltI (const TStr &attr) const |
| Returns an iterator referring to the past-the-end edge's attribute. More...
|
|
TAFltI | GetEAFltI (const TStr &attr, const int &EId) const |
| Returns an iterator referring to the edge of ID EId in the graph. More...
|
|
int | GetMxNId () const |
| Returns an ID that is larger than any node ID in the network. More...
|
|
int | GetMxEId () const |
| Returns an ID that is larger than any edge ID in the network. More...
|
|
int | GetEdges () const |
| Returns the number of edges in the graph. More...
|
|
int | AddEdge (const int &SrcNId, const int &DstNId, int EId=-1) |
| Adds an edge with ID EId between node IDs SrcNId and DstNId to the graph. More...
|
|
int | AddEdge (const TEdgeI &EdgeI) |
| Adds an edge between EdgeI.GetSrcNId() and EdgeI.GetDstNId() to the graph. More...
|
|
void | DelEdge (const int &EId) |
| Deletes an edge with edge ID EId from the graph. More...
|
|
void | DelEdge (const int &SrcNId, const int &DstNId, const bool &IsDir=true) |
| Deletes all edges between node IDs SrcNId and DstNId from the graph. More...
|
|
bool | IsEdge (const int &EId) const |
| Tests whether an edge with edge ID EId exists in the graph. More...
|
|
bool | IsEdge (const int &SrcNId, const int &DstNId, const bool &IsDir=true) const |
| Tests whether an edge between node IDs SrcNId and DstNId exists in the graph. More...
|
|
bool | IsEdge (const int &SrcNId, const int &DstNId, int &EId, const bool &IsDir=true) const |
| Tests whether an edge between node IDs SrcNId and DstNId exists in the graph. if an edge exists, return its edge ID in EId. More...
|
|
int | GetEId (const int &SrcNId, const int &DstNId) const |
| Returns an edge ID between node IDs SrcNId and DstNId, if such an edge exists. Otherwise, return -1. More...
|
|
TEdgeI | BegEI () const |
| Returns an iterator referring to the first edge in the graph. More...
|
|
TEdgeI | EndEI () const |
| Returns an iterator referring to the past-the-end edge in the graph. More...
|
|
TEdgeI | GetEI (const int &EId) const |
| Returns an iterator referring to edge with edge ID EId. More...
|
|
TEdgeI | GetEI (const int &SrcNId, const int &DstNId) const |
| Returns an iterator referring to edge (SrcNId, DstNId) in the graph. More...
|
|
int | GetRndNId (TRnd &Rnd=TInt::Rnd) |
| Returns an ID of a random node in the graph. More...
|
|
TNodeI | GetRndNI (TRnd &Rnd=TInt::Rnd) |
| Returns an interator referring to a random node in the graph. More...
|
|
int | GetRndEId (TRnd &Rnd=TInt::Rnd) |
| Returns an ID of a random edge in the graph. More...
|
|
TEdgeI | GetRndEI (TRnd &Rnd=TInt::Rnd) |
| Returns an interator referring to a random edge in the graph. More...
|
|
void | GetNIdV (TIntV &NIdV) const |
| Gets a vector IDs of all nodes in the graph. More...
|
|
void | GetEIdV (TIntV &EIdV) const |
| Gets a vector IDs of all edges in the graph. More...
|
|
bool | Empty () const |
| Tests whether the graph is empty (has zero nodes). More...
|
|
void | Clr () |
| Deletes all nodes and edges from the graph. More...
|
|
void | Reserve (const int &Nodes, const int &Edges) |
| Reserves memory for a graph of Nodes nodes and Edges edges. More...
|
|
void | Defrag (const bool &OnlyNodeLinks=false) |
| Defragments the graph. More...
|
|
bool | IsOk (const bool &ThrowExcept=true) const |
| Checks the graph data structure for internal consistency. More...
|
|
void | Dump (FILE *OutF=stdout) const |
| Print the graph in a human readable form to an output stream OutF. More...
|
|
int | AddIntAttrDatN (const TNodeI &NodeI, const TInt &value, const TStr &attr) |
| Attribute based add function for attr to Int value. More...
|
|
int | AddIntAttrDatN (const int &NId, const TInt &value, const TStr &attr) |
|
int | AddStrAttrDatN (const TNodeI &NodeI, const TStr &value, const TStr &attr) |
| Attribute based add function for attr to Str value. More...
|
|
int | AddStrAttrDatN (const int &NId, const TStr &value, const TStr &attr) |
|
int | AddFltAttrDatN (const TNodeI &NodeI, const TFlt &value, const TStr &attr) |
| Attribute based add function for attr to Flt value. More...
|
|
int | AddFltAttrDatN (const int &NId, const TFlt &value, const TStr &attr) |
|
int | AddIntVAttrDatN (const TNodeI &NodeI, const TIntV &value, const TStr &attr) |
| Attribute based add function for attr to IntV value. More...
|
|
int | AddIntVAttrDatN (const int &NId, const TIntV &value, const TStr &attr) |
|
int | AppendIntVAttrDatN (const TNodeI &NodeI, const TInt &value, const TStr &attr) |
| Appends value onto the TIntV attribute for the given node. More...
|
|
int | AppendIntVAttrDatN (const int &NId, const TInt &value, const TStr &attr) |
|
int | DelFromIntVAttrDatN (const TNodeI &NodeI, const TInt &value, const TStr &attr) |
| Deletes value from the TIntV attribute for the given node. More...
|
|
int | DelFromIntVAttrDatN (const int &NId, const TInt &value, const TStr &attr) |
|
int | AddIntAttrDatE (const TEdgeI &EdgeI, const TInt &value, const TStr &attr) |
| Attribute based add function for attr to Int value. More...
|
|
int | AddIntAttrDatE (const int &EId, const TInt &value, const TStr &attr) |
|
int | AddStrAttrDatE (const TEdgeI &EdgeI, const TStr &value, const TStr &attr) |
| Attribute based add function for attr to Str value. More...
|
|
int | AddStrAttrDatE (const int &EId, const TStr &value, const TStr &attr) |
|
int | AddFltAttrDatE (const TEdgeI &EdgeI, const TFlt &value, const TStr &attr) |
| Attribute based add function for attr to Flt value. More...
|
|
int | AddFltAttrDatE (const int &EId, const TFlt &value, const TStr &attr) |
|
int | AddIntVAttrDatE (const TEdgeI &EdgeI, const TIntV &value, const TStr &attr) |
| Attribute based add function for attr to IntV value. More...
|
|
int | AddIntVAttrDatE (const int &EId, const TIntV &value, const TStr &attr) |
|
int | AppendIntVAttrDatE (const TEdgeI &EdgeI, const TInt &value, const TStr &attr) |
| Appends value onto the TIntV attribute for the given node. More...
|
|
int | AppendIntVAttrDatE (const int &EId, const TInt &value, const TStr &attr) |
|
TInt | GetIntAttrDatN (const TNodeI &NodeI, const TStr &attr) |
| Gets the value of int attr from the node attr value vector. More...
|
|
TInt | GetIntAttrDatN (const int &NId, const TStr &attr) |
|
TStr | GetStrAttrDatN (const TNodeI &NodeI, const TStr &attr) |
| Gets the value of str attr from the node attr value vector. More...
|
|
TStr | GetStrAttrDatN (const int &NId, const TStr &attr) |
|
TFlt | GetFltAttrDatN (const TNodeI &NodeI, const TStr &attr) |
| Gets the value of flt attr from the node attr value vector. More...
|
|
TFlt | GetFltAttrDatN (const int &NId, const TStr &attr) |
|
TIntV | GetIntVAttrDatN (const TNodeI &NodeI, const TStr &attr) const |
| Gets the value of the intv attr from the node attr value vector. More...
|
|
TIntV | GetIntVAttrDatN (const int &NId, const TStr &attr) const |
|
int | GetIntAttrIndN (const TStr &attr) |
| Gets the index of the node attr value vector specified by attr (same as GetAttrIndN for compatibility reasons). More...
|
|
int | GetAttrIndN (const TStr &attr) |
| Gets the index of the node attr value vector specified by attr . More...
|
|
TInt | GetIntAttrIndDatN (const TNodeI &NodeI, const int &index) |
| Gets the value of an int node attr specified by node iterator NodeI and the attr index . More...
|
|
TInt | GetIntAttrIndDatN (const int &NId, const int &index) |
| Gets the value of an int node attr specified by node ID NId and the attr index . More...
|
|
TStr | GetStrAttrIndDatN (const TNodeI &NodeI, const int &index) |
| Gets the value of a string node attr specified by node iterator NodeI and the attr index . More...
|
|
TStr | GetStrAttrIndDatN (const int &NId, const int &index) |
| Gets the value of a string node attr specified by node ID NId and the attr index . More...
|
|
TFlt | GetFltAttrIndDatN (const TNodeI &NodeI, const int &index) |
| Gets the value of a float node attr specified by node iterator NodeI and the attr index . More...
|
|
TFlt | GetFltAttrIndDatN (const int &NId, const int &index) |
| Gets the value of a float node attr specified by node ID NId and the attr index . More...
|
|
TInt | GetIntAttrDatE (const TEdgeI &EdgeI, const TStr &attr) |
| Gets the value of int attr from the edge attr value vector. More...
|
|
TInt | GetIntAttrDatE (const int &EId, const TStr &attr) |
|
TStr | GetStrAttrDatE (const TEdgeI &EdgeI, const TStr &attr) |
| Gets the value of str attr from the edge attr value vector. More...
|
|
TStr | GetStrAttrDatE (const int &EId, const TStr &attr) |
|
TFlt | GetFltAttrDatE (const TEdgeI &EdgeI, const TStr &attr) |
| Gets the value of flt attr from the edge attr value vector. More...
|
|
TFlt | GetFltAttrDatE (const int &EId, const TStr &attr) |
|
TIntV | GetIntVAttrDatE (const TEdgeI &EdgeI, const TStr &attr) |
| Gets the value of the intv attr from the edge attr value vector. More...
|
|
TIntV | GetIntVAttrDatE (const int &EId, const TStr &attr) |
|
int | GetIntAttrIndE (const TStr &attr) |
| Gets the index of the edge attr value vector specified by attr (same as GetAttrIndE for compatibility reasons). More...
|
|
int | GetAttrIndE (const TStr &attr) |
| Gets the index of the edge attr value vector specified by attr . More...
|
|
TInt | GetIntAttrIndDatE (const TEdgeI &EdgeI, const int &index) |
| Gets the value of an int edge attr specified by edge iterator EdgeI and the attr index . More...
|
|
TInt | GetIntAttrIndDatE (const int &EId, const int &index) |
| Gets the value of an int edge attr specified by edge ID EId and the attr index . More...
|
|
TFlt | GetFltAttrIndDatE (const TEdgeI &EdgeI, const int &index) |
| Gets the value of a float edge attr specified by edge iterator EdgeI and the attr index . More...
|
|
TFlt | GetFltAttrIndDatE (const int &EId, const int &index) |
| Gets the value of an int edge attr specified by edge ID EId and the attr index . More...
|
|
TStr | GetStrAttrIndDatE (const TEdgeI &EdgeI, const int &index) |
| Gets the value of a string edge attr specified by edge iterator EdgeI and the attr index . More...
|
|
TStr | GetStrAttrIndDatE (const int &EId, const int &index) |
| Gets the value of an int edge attr specified by edge ID EId and the attr index . More...
|
|
int | DelAttrDatN (const TNodeI &NodeI, const TStr &attr) |
| Deletes the node attribute for NodeI. More...
|
|
int | DelAttrDatN (const int &NId, const TStr &attr) |
|
int | DelAttrDatE (const TEdgeI &EdgeI, const TStr &attr) |
| Deletes the edge attribute for NodeI. More...
|
|
int | DelAttrDatE (const int &EId, const TStr &attr) |
|
int | AddIntAttrN (const TStr &attr, TInt defaultValue=TInt::Mn) |
| Adds a new Int node attribute to the hashmap. More...
|
|
int | AddStrAttrN (const TStr &attr, TStr defaultValue=TStr::GetNullStr()) |
| Adds a new Str node attribute to the hashmap. More...
|
|
int | AddFltAttrN (const TStr &attr, TFlt defaultValue=TFlt::Mn) |
| Adds a new Flt node attribute to the hashmap. More...
|
|
int | AddIntVAttrN (const TStr &attr) |
| Adds a new IntV node attribute to the hashmap. More...
|
|
int | AddIntAttrE (const TStr &attr, TInt defaultValue=TInt::Mn) |
| Adds a new Int edge attribute to the hashmap. More...
|
|
int | AddStrAttrE (const TStr &attr, TStr defaultValue=TStr::GetNullStr()) |
| Adds a new Str edge attribute to the hashmap. More...
|
|
int | AddFltAttrE (const TStr &attr, TFlt defaultValue=TFlt::Mn) |
| Adds a new Flt edge attribute to the hashmap. More...
|
|
int | AddIntVAttrE (const TStr &attr) |
| Adds a new IntV edge attribute to the hashmap. More...
|
|
int | DelAttrN (const TStr &attr) |
| Removes all the values for node attr. More...
|
|
int | DelAttrE (const TStr &attr) |
| Removes all the values for edge attr. More...
|
|
bool | IsAttrDeletedN (const int &NId, const TStr &attr) const |
| Returns true if attr exists for node NId and has default value. More...
|
|
bool | IsIntAttrDeletedN (const int &NId, const TStr &attr) const |
| Returns true if Int attr exists for node NId and has default value. More...
|
|
bool | IsIntVAttrDeletedN (const int &NId, const TStr &attr) const |
| Returns true if IntV attr exists for node NId and is an empty vector. More...
|
|
bool | IsStrAttrDeletedN (const int &NId, const TStr &attr) const |
| Returns true if Str attr exists for node NId and has default value. More...
|
|
bool | IsFltAttrDeletedN (const int &NId, const TStr &attr) const |
| Returns true if Flt attr exists for node NId and has default value. More...
|
|
bool | NodeAttrIsDeleted (const int &NId, const TStrIntPrH::TIter &NodeHI) const |
| Returns true if NId attr deleted for current node attr iterator. More...
|
|
bool | NodeAttrIsIntDeleted (const int &NId, const TStrIntPrH::TIter &NodeHI) const |
| Returns true if NId attr deleted value for current node int attr iterator. More...
|
|
bool | NodeAttrIsIntVDeleted (const int &NId, const TStrIntPrH::TIter &NodeHI) const |
| Returns true if NId attr deleted value for current node int vector attr iterator. More...
|
|
bool | NodeAttrIsStrDeleted (const int &NId, const TStrIntPrH::TIter &NodeHI) const |
| Returns true if NId attr deleted value for current node str attr iterator. More...
|
|
bool | NodeAttrIsFltDeleted (const int &NId, const TStrIntPrH::TIter &NodeHI) const |
| Returns true if NId attr deleted value for current node flt attr iterator. More...
|
|
bool | IsAttrDeletedE (const int &EId, const TStr &attr) const |
| Returns true if attr exists for edge EId and has default value. More...
|
|
bool | IsIntAttrDeletedE (const int &EId, const TStr &attr) const |
| Returns true if Int attr exists for edge EId and has default value. More...
|
|
bool | IsIntVAttrDeletedE (const int &EId, const TStr &attr) const |
| Returns true if IntV attr exists for edge EId and is an empty vector. More...
|
|
bool | IsStrAttrDeletedE (const int &EId, const TStr &attr) const |
| Returns true if Str attr exists for edge NId and has default value. More...
|
|
bool | IsFltAttrDeletedE (const int &EId, const TStr &attr) const |
| Returns true if Flt attr exists for edge NId and has default value. More...
|
|
bool | EdgeAttrIsDeleted (const int &EId, const TStrIntPrH::TIter &EdgeHI) const |
| Returns true if EId attr deleted for current edge attr iterator. More...
|
|
bool | EdgeAttrIsIntDeleted (const int &EId, const TStrIntPrH::TIter &EdgeHI) const |
| Returns true if EId attr deleted for current edge int attr iterator. More...
|
|
bool | EdgeAttrIsIntVDeleted (const int &EId, const TStrIntPrH::TIter &EdgeHI) const |
| Returns true if EId attr deleted for current edge int vector attr iterator. More...
|
|
bool | EdgeAttrIsStrDeleted (const int &EId, const TStrIntPrH::TIter &EdgeHI) const |
| Returns true if EId attr deleted for current edge str attr iterator. More...
|
|
bool | EdgeAttrIsFltDeleted (const int &EId, const TStrIntPrH::TIter &EdgeHI) const |
| Returns true if EId attr deleted for current edge flt attr iterator. More...
|
|
TStr | GetNodeAttrValue (const int &NId, const TStrIntPrH::TIter &NodeHI) const |
| Returns node attribute value, converted to Str type. More...
|
|
TStr | GetEdgeAttrValue (const int &EId, const TStrIntPrH::TIter &EdgeHI) const |
| Returns edge attribute value, converted to Str type. More...
|
|
TFlt | GetWeightOutEdges (const TNodeI &NI, const TStr &attr) |
| Gets the sum of the weights of all the outgoing edges of the node. More...
|
|
bool | IsFltAttrE (const TStr &attr) |
| Checks if there is an edge attribute with name attr. More...
|
|
bool | IsIntAttrE (const TStr &attr) |
| Checks if there is an edge attribute with name attr. More...
|
|
bool | IsStrAttrE (const TStr &attr) |
| Checks if there is an edge attribute with name attr. More...
|
|
TVec< TFlt > & | GetFltAttrVecE (const TStr &attr) |
| Gets Vector for the Flt Attribute attr. More...
|
|
int | GetFltKeyIdE (const int &EId) |
| Gets keyid for edge with id EId. More...
|
|
void | GetWeightOutEdgesV (TFltV &OutWeights, const TFltV &AttrVal) |
| Fills OutWeights with the outgoing weight from each node. More...
|
|
void | GetAttrNNames (TStrV &IntAttrNames, TStrV &FltAttrNames, TStrV &StrAttrNames) const |
| Fills each of the vectors with the names of node attributes of the given type. More...
|
|
void | GetAttrENames (TStrV &IntAttrNames, TStrV &FltAttrNames, TStrV &StrAttrNames) const |
| Fills each of the vectors with the names of edge attributes of the given type. More...
|
|
int | AddSAttrDatN (const TInt &NId, const TStr &AttrName, const TInt &Val) |
| Adds Int sparse attribute with name AttrName to the given node with id NId . More...
|
|
int | AddSAttrDatN (const TInt &NId, const TInt &AttrId, const TInt &Val) |
| Adds Int sparse attribute with id AttrId to the given node with id NId . More...
|
|
int | AddSAttrDatN (const TNodeI &NodeI, const TStr &AttrName, const TInt &Val) |
| Adds Int sparse attribute with name AttrName to NodeI . More...
|
|
int | AddSAttrDatN (const TNodeI &NodeI, const TInt &AttrId, const TInt &Val) |
| Adds Int sparse attribute with id AttrId to NodeI . More...
|
|
int | AddSAttrDatN (const TInt &NId, const TStr &AttrName, const TFlt &Val) |
| Adds Flt sparse attribute with name AttrName to the given node with id NId . More...
|
|
int | AddSAttrDatN (const TInt &NId, const TInt &AttrId, const TFlt &Val) |
| Adds Flt sparse attribute with id AttrId to the given node with id NId . More...
|
|
int | AddSAttrDatN (const TNodeI &NodeI, const TStr &AttrName, const TFlt &Val) |
| Adds Flt sparse attribute with name AttrName to NodeI . More...
|
|
int | AddSAttrDatN (const TNodeI &NodeI, const TInt &AttrId, const TFlt &Val) |
| Adds Flt sparse attribute with id AttrId to NodeI . More...
|
|
int | AddSAttrDatN (const TInt &NId, const TStr &AttrName, const TStr &Val) |
| Adds Str sparse attribute with name AttrName to the given node with id NId . More...
|
|
int | AddSAttrDatN (const TInt &NId, const TInt &AttrId, const TStr &Val) |
| Adds Str sparse attribute with id AttrId to the given node with id NId . More...
|
|
int | AddSAttrDatN (const TNodeI &NodeI, const TStr &AttrName, const TStr &Val) |
| Adds Str sparse attribute with name AttrName to NodeI . More...
|
|
int | AddSAttrDatN (const TNodeI &NodeI, const TInt &AttrId, const TStr &Val) |
| Adds Str sparse attribute with id AttrId to NodeI . More...
|
|
int | GetSAttrDatN (const TInt &NId, const TStr &AttrName, TInt &ValX) const |
| Gets Int sparse attribute with name AttrName from node with id NId . More...
|
|
int | GetSAttrDatN (const TInt &NId, const TInt &AttrId, TInt &ValX) const |
| Gets Int sparse attribute with id AttrId from node with id NId . More...
|
|
int | GetSAttrDatN (const TNodeI &NodeI, const TStr &AttrName, TInt &ValX) const |
| Gets Int sparse attribute with name AttrName from NodeI . More...
|
|
int | GetSAttrDatN (const TNodeI &NodeI, const TInt &AttrId, TInt &ValX) const |
| Gets Int sparse attribute with id AttrId from NodeI . More...
|
|
int | GetSAttrDatN (const TInt &NId, const TStr &AttrName, TFlt &ValX) const |
| Gets Flt sparse attribute with name AttrName from node with id NId . More...
|
|
int | GetSAttrDatN (const TInt &NId, const TInt &AttrId, TFlt &ValX) const |
| Gets Flt sparse attribute with id AttrId from node with id NId . More...
|
|
int | GetSAttrDatN (const TNodeI &NodeI, const TStr &AttrName, TFlt &ValX) const |
| Gets Flt sparse attribute with name AttrName from NodeI . More...
|
|
int | GetSAttrDatN (const TNodeI &NodeI, const TInt &AttrId, TFlt &ValX) const |
| Gets Flt sparse attribute with id AttrId from NodeI . More...
|
|
int | GetSAttrDatN (const TInt &NId, const TStr &AttrName, TStr &ValX) const |
| Gets Str sparse attribute with name AttrName from node with id NId . More...
|
|
int | GetSAttrDatN (const TInt &NId, const TInt &AttrId, TStr &ValX) const |
| Gets Str sparse attribute with id AttrId from node with id NId . More...
|
|
int | GetSAttrDatN (const TNodeI &NodeI, const TStr &AttrName, TStr &ValX) const |
| Gets Str sparse attribute with name AttrName from NodeI . More...
|
|
int | GetSAttrDatN (const TNodeI &NodeI, const TInt &AttrId, TStr &ValX) const |
| Gets Str sparse attribute with id AttrId from NodeI . More...
|
|
int | DelSAttrDatN (const TInt &NId, const TStr &AttrName) |
| Deletes sparse attribute with name AttrName from node with id NId . More...
|
|
int | DelSAttrDatN (const TInt &NId, const TInt &AttrId) |
| Deletes sparse attribute with id AttrId from node with id NId . More...
|
|
int | DelSAttrDatN (const TNodeI &NodeI, const TStr &AttrName) |
| Deletes sparse attribute with name AttrName from NodeI . More...
|
|
int | DelSAttrDatN (const TNodeI &NodeI, const TInt &AttrId) |
| Deletes sparse attribute with id AttrId from NodeI . More...
|
|
int | GetSAttrVN (const TInt &NId, const TAttrType AttrType, TAttrPrV &AttrV) const |
| Gets a list of all sparse attributes of type AttrType for node with id NId . More...
|
|
int | GetSAttrVN (const TNodeI &NodeI, const TAttrType AttrType, TAttrPrV &AttrV) const |
| Gets a list of all sparse attributes of type AttrType for NodeI . More...
|
|
int | GetIdVSAttrN (const TStr &AttrName, TIntV &IdV) const |
| Gets a list of all nodes that have a sparse attribute with name AttrName . More...
|
|
int | GetIdVSAttrN (const TInt &AttrId, TIntV &IdV) const |
| Gets a list of all nodes that have a sparse attribute with id AttrId . More...
|
|
int | AddSAttrN (const TStr &Name, const TAttrType &AttrType, TInt &AttrId) |
| Adds mapping for sparse attribute with name Name and type AttrType . More...
|
|
int | GetSAttrIdN (const TStr &Name, TInt &AttrIdX, TAttrType &AttrTypeX) const |
| Gets id and type for attribute with name Name . More...
|
|
int | GetSAttrNameN (const TInt &AttrId, TStr &NameX, TAttrType &AttrTypeX) const |
| Gets name and type for attribute with id AttrId . More...
|
|
int | AddSAttrDatE (const TInt &EId, const TStr &AttrName, const TInt &Val) |
| Adds Int sparse attribute with name AttrName to the given edge with id EId . More...
|
|
int | AddSAttrDatE (const TInt &EId, const TInt &AttrId, const TInt &Val) |
| Adds Int sparse attribute with id AttrId to the given edge with id EId . More...
|
|
int | AddSAttrDatE (const TEdgeI &EdgeI, const TStr &AttrName, const TInt &Val) |
| Adds Int sparse attribute with name AttrName to EdgeI . More...
|
|
int | AddSAttrDatE (const TEdgeI &EdgeI, const TInt &AttrId, const TInt &Val) |
| Adds Int sparse attribute with id AttrId to EdgeI . More...
|
|
int | AddSAttrDatE (const TInt &EId, const TStr &AttrName, const TFlt &Val) |
| Adds Flt sparse attribute with name AttrName to the given edge with id EId . More...
|
|
int | AddSAttrDatE (const TInt &EId, const TInt &AttrId, const TFlt &Val) |
| Adds Flt sparse attribute with id AttrId to the given edge with id EId . More...
|
|
int | AddSAttrDatE (const TEdgeI &EdgeI, const TStr &AttrName, const TFlt &Val) |
| Adds Flt sparse attribute with name AttrName to EdgeI . More...
|
|
int | AddSAttrDatE (const TEdgeI &EdgeI, const TInt &AttrId, const TFlt &Val) |
| Adds Flt sparse attribute with id AttrId to EdgeI . More...
|
|
int | AddSAttrDatE (const TInt &EId, const TStr &AttrName, const TStr &Val) |
| Adds Str sparse attribute with name AttrName to the given edge with id EId . More...
|
|
int | AddSAttrDatE (const TInt &EId, const TInt &AttrId, const TStr &Val) |
| Adds Str sparse attribute with id AttrId to the given edge with id EId . More...
|
|
int | AddSAttrDatE (const TEdgeI &EdgeI, const TStr &AttrName, const TStr &Val) |
| Adds Str sparse attribute with name AttrName to EdgeI . More...
|
|
int | AddSAttrDatE (const TEdgeI &EdgeI, const TInt &AttrId, const TStr &Val) |
| Adds Str sparse attribute with id AttrId to EdgeI . More...
|
|
int | GetSAttrDatE (const TInt &EId, const TStr &AttrName, TInt &ValX) const |
| Gets Int sparse attribute with name AttrName from edge with id EId . More...
|
|
int | GetSAttrDatE (const TInt &EId, const TInt &AttrId, TInt &ValX) const |
| Gets Int sparse attribute with id AttrId from edge with id EId . More...
|
|
int | GetSAttrDatE (const TEdgeI &EdgeI, const TStr &AttrName, TInt &ValX) const |
| Gets Int sparse attribute with name AttrName from EdgeI . More...
|
|
int | GetSAttrDatE (const TEdgeI &EdgeI, const TInt &AttrId, TInt &ValX) const |
| Gets Int sparse attribute with id AttrId from EdgeI . More...
|
|
int | GetSAttrDatE (const TInt &EId, const TStr &AttrName, TFlt &ValX) const |
| Gets Flt sparse attribute with name AttrName from edge with id EId . More...
|
|
int | GetSAttrDatE (const TInt &EId, const TInt &AttrId, TFlt &ValX) const |
| Gets Flt sparse attribute with id AttrId from edge with id EId . More...
|
|
int | GetSAttrDatE (const TEdgeI &EdgeI, const TStr &AttrName, TFlt &ValX) const |
| Gets Flt sparse attribute with name AttrName from EdgeI . More...
|
|
int | GetSAttrDatE (const TEdgeI &EdgeI, const TInt &AttrId, TFlt &ValX) const |
| Gets Flt sparse attribute with id AttrId from EdgeI . More...
|
|
int | GetSAttrDatE (const TInt &EId, const TStr &AttrName, TStr &ValX) const |
| Gets Str sparse attribute with name AttrName from edge with id EId . More...
|
|
int | GetSAttrDatE (const TInt &EId, const TInt &AttrId, TStr &ValX) const |
| Gets Str sparse attribute with id AttrId from edge with id EId . More...
|
|
int | GetSAttrDatE (const TEdgeI &EdgeI, const TStr &AttrName, TStr &ValX) const |
| Gets Str sparse attribute with name AttrName from EdgeI . More...
|
|
int | GetSAttrDatE (const TEdgeI &EdgeI, const TInt &AttrId, TStr &ValX) const |
| Gets Str sparse attribute with id AttrId from EdgeI . More...
|
|
int | DelSAttrDatE (const TInt &EId, const TStr &AttrName) |
| Deletes sparse attribute with name AttrName from edge with id EId . More...
|
|
int | DelSAttrDatE (const TInt &EId, const TInt &AttrId) |
| Deletes sparse attribute with id AttrId from edge with id EId . More...
|
|
int | DelSAttrDatE (const TEdgeI &EdgeI, const TStr &AttrName) |
| Deletes sparse attribute with name AttrName from EdgeI . More...
|
|
int | DelSAttrDatE (const TEdgeI &EdgeI, const TInt &AttrId) |
| Deletes sparse attribute with id AttrId from EdgeI . More...
|
|
int | GetSAttrVE (const TInt &EId, const TAttrType AttrType, TAttrPrV &AttrV) const |
| Gets a list of all sparse attributes of type AttrType for edge with id EId . More...
|
|
int | GetSAttrVE (const TEdgeI &EdgeI, const TAttrType AttrType, TAttrPrV &AttrV) const |
| Gets a list of all sparse attributes of type AttrType for EdgeI . More...
|
|
int | GetIdVSAttrE (const TStr &AttrName, TIntV &IdV) const |
| Gets a list of all edges that have a sparse attribute with name AttrName . More...
|
|
int | GetIdVSAttrE (const TInt &AttrId, TIntV &IdV) const |
| Gets a list of all edges that have a sparse attribute with id AttrId . More...
|
|
int | AddSAttrE (const TStr &Name, const TAttrType &AttrType, TInt &AttrId) |
| Adds mapping for sparse attribute with name Name and type AttrType . More...
|
|
int | GetSAttrIdE (const TStr &Name, TInt &AttrIdX, TAttrType &AttrTypeX) const |
| Gets id and type for attribute with name Name . More...
|
|
int | GetSAttrNameE (const TInt &AttrId, TStr &NameX, TAttrType &AttrTypeX) const |
| Gets name and type for attribute with id AttrId . More...
|
|