trans.h
来自「A C++ library which finds associations w」· C头文件 代码 · 共 30 行
H
30 行
#ifndef TRANS_Htypedef signed long long int bmap; // up to 63 items OKclass Trans {private: int const *t; int size; bmap mask;int binsearch( int x, int l ) const;int nxt( int & i ) const;public:Trans( int const *p, int nn ) ;int nitems() const;int nxtsub() ;int nxtsub( Trans const &t2 ) ;void prt( bool ) const;friend int operator < ( Trans const &t1, Trans const &t2 );friend int operator ==( Trans const &t1, Trans const &t2 );friend int operator <=( Trans const &t1, Trans const &t2 );friend int cmp( Trans const &t1, Trans const &t2 );};#define TRANS_H#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?