SNAP Library 2.3, Developer Reference
2014-06-16 11:58:46
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <xmath.h>
Public Member Functions | |
TComb () | |
TComb (const int &_Items, const int &_Order) | |
~TComb () | |
TComb (TSIn &) | |
void | Save (TSOut &) |
TComb & | operator= (const TComb &) |
bool | GetNext () |
TIntV & | GetItemV () |
int | GetCombN () const |
int | GetCombs () const |
void | Wr () |
Static Public Member Functions | |
static PComb | New (const int &Items, const int &Order) |
static PComb | Load (TSIn &SIn) |
Public Attributes | |
int | Items |
int | Order |
int | CombN |
TIntV | ItemV |
Private Attributes | |
TCRef | CRef |
Friends | |
class | TPt< TComb > |
|
inline |
|
inline |
|
inline |
bool TComb::GetNext | ( | ) |
Definition at line 735 of file xmath.cpp.
References CombN, TVec< TVal, TSizeTy >::Gen(), Items, ItemV, TVec< TVal, TSizeTy >::Last(), TVec< TVal, TSizeTy >::Len(), and Order.
|
inlinestatic |
|
inline |
void TComb::Wr | ( | ) |
Definition at line 767 of file xmath.cpp.
References GetCombN(), ItemV, and Order.
int TComb::Items |
Definition at line 318 of file xmath.h.
Referenced by GetCombs(), and GetNext().
int TComb::Order |
Definition at line 319 of file xmath.h.
Referenced by GetCombs(), GetNext(), and Wr().