Macros | |
#define | BOND_WRONG 64 |
#define | IS_ALT_OR_DBLBOND(X) |
#define | REPLACE_THE_BOND(X) ( (X) == BOND_SINGLE || (X) == BOND_DOUBLE || (X) == BOND_ALTERN || (X) == BOND_ALT12NS ) |
#define | MAX_DFS_DEPTH 16 |
#define | PATH_LEN 8 |
#define | PATH_LEN 4 |
#define | PATH_LEN 4 |
#define | PATH_LEN 4 |
Typedefs | |
typedef int | CHECK_DFS_RING(struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
typedef int | CHECK_CENTERPOINT(inp_ATOM *atom, int iat) |
typedef int | CHECK_DFS_PATH(struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int jNxtNeigh, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
typedef int | CHECK_DFS_CENTERPOINT(inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int jNxtNeigh, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
Functions | |
int | are_alt_bonds (U_CHAR *bonds, int len) |
int | AddBondsPos (inp_ATOM *atom, T_BONDPOS *BondPosTmp, int nNumBondPosTmp, T_BONDPOS *BondPos, int nMaxNumBondPos, int nNumBondPos) |
int | AddEndPoints (T_ENDPOINT *EndPointTmp, int nNumNewEndPoint, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, int nNumEndPoint) |
int | DFS_FindTautAltPath (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, int nStartAtom, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, int nCycleLen, AT_RANK *nDfsPathPos, DFS_PATH *DfsPath, CHECK_DFS_PATH *CheckDfsPath, CHECK_DFS_CENTERPOINT *CheckCenterPoint, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | DFS_FindTautInARing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, int nStartAtom, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, int nCycleLen, AT_RANK *nDfsPathPos, DFS_PATH *DfsPath, CHECK_DFS_RING *CheckDfsRing, CHECK_CENTERPOINT *CheckCenterPoint, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | bIsCenterPointStrict (inp_ATOM *atom, int iat) |
int | nGet14TautIn7MembAltRing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, int nStartAtom, int nStartAtomNeighbor, int nStartAtomNeighborEndpoint, int nStartAtomNeighborNeighborEndpoint, AT_RANK *nDfsPathPos, DFS_PATH *DfsPath, int nMaxLenDfsPath, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | nGet14TautIn5MembAltRing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, int nStartAtom, int nStartAtomNeighbor, int nStartAtomNeighborEndpoint, int nStartAtomNeighborNeighborEndpoint, AT_RANK *nDfsPathPos, DFS_PATH *DfsPath, int nMaxLenDfsPath, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | nGet12TautIn5MembAltRing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, int nStartAtom, int nStartAtomNeighbor, AT_RANK *nDfsPathPos, DFS_PATH *DfsPath, int nMaxLenDfsPath, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | nGet15TautIn6MembAltRing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, int nStartAtom, AT_RANK *nDfsPathPos, DFS_PATH *DfsPath, int nMaxLenDfsPath, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | nGet15TautInAltPath (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, int nStartAtom, AT_RANK *nDfsPathPos, DFS_PATH *DfsPath, int nMaxLenDfsPath, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | Check7MembTautRing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | Check6MembTautRing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | Check15TautPathCenterpoint (inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int jNxtNeigh, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | Check15TautPath (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int jNxtNeigh, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int | Check5MembTautRing (struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
#define BOND_WRONG 64 |
#define IS_ALT_OR_DBLBOND | ( | X | ) |
#define MAX_DFS_DEPTH 16 |
#define PATH_LEN 8 |
#define PATH_LEN 4 |
#define PATH_LEN 4 |
#define PATH_LEN 4 |
#define REPLACE_THE_BOND | ( | X | ) | ( (X) == BOND_SINGLE || (X) == BOND_DOUBLE || (X) == BOND_ALTERN || (X) == BOND_ALT12NS ) |
typedef int CHECK_CENTERPOINT(inp_ATOM *atom, int iat) |
typedef int CHECK_DFS_CENTERPOINT(inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int jNxtNeigh, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
typedef int CHECK_DFS_PATH(struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int jNxtNeigh, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
typedef int CHECK_DFS_RING(struct tagCANON_GLOBALS *pCG, inp_ATOM *atom, DFS_PATH *DfsPath, int nLenDfsPath, int nStartAtomNeighbor, int nStartAtomNeighbor2, int nStartAtomNeighborNeighbor, T_ENDPOINT *EndPoint, int nMaxNumEndPoint, T_BONDPOS *BondPos, int nMaxNumBondPos, int *pnNumEndPoint, int *pnNumBondPos, struct BalancedNetworkStructure *pBNS, struct BalancedNetworkData *pBD, int num_atoms) |
int AddBondsPos | ( | inp_ATOM * | atom, |
T_BONDPOS * | BondPosTmp, | ||
int | nNumBondPosTmp, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int | nNumBondPos | ||
) |
int AddEndPoints | ( | T_ENDPOINT * | EndPointTmp, |
int | nNumNewEndPoint, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
int | nNumEndPoint | ||
) |
int are_alt_bonds | ( | U_CHAR * | bonds, |
int | len | ||
) |
int bIsCenterPointStrict | ( | inp_ATOM * | atom, |
int | iat | ||
) |
int Check15TautPath | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
DFS_PATH * | DfsPath, | ||
int | nLenDfsPath, | ||
int | jNxtNeigh, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighbor2, | ||
int | nStartAtomNeighborNeighbor, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int Check15TautPathCenterpoint | ( | inp_ATOM * | atom, |
DFS_PATH * | DfsPath, | ||
int | nLenDfsPath, | ||
int | jNxtNeigh, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int Check5MembTautRing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
DFS_PATH * | DfsPath, | ||
int | nLenDfsPath, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighbor2, | ||
int | nStartAtomNeighborNeighbor, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int Check6MembTautRing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
DFS_PATH * | DfsPath, | ||
int | nLenDfsPath, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighbor2, | ||
int | nStartAtomNeighborNeighbor, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int Check7MembTautRing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
DFS_PATH * | DfsPath, | ||
int | nLenDfsPath, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighbor2, | ||
int | nStartAtomNeighborNeighbor, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int DFS_FindTautAltPath | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
int | nStartAtom, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighbor2, | ||
int | nStartAtomNeighborNeighbor, | ||
int | nCycleLen, | ||
AT_RANK * | nDfsPathPos, | ||
DFS_PATH * | DfsPath, | ||
CHECK_DFS_PATH * | CheckDfsPath, | ||
CHECK_DFS_CENTERPOINT * | CheckCenterPoint, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int DFS_FindTautInARing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
int | nStartAtom, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighbor2, | ||
int | nStartAtomNeighborNeighbor, | ||
int | nCycleLen, | ||
AT_RANK * | nDfsPathPos, | ||
DFS_PATH * | DfsPath, | ||
CHECK_DFS_RING * | CheckDfsRing, | ||
CHECK_CENTERPOINT * | CheckCenterPoint, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int nGet12TautIn5MembAltRing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
int | nStartAtom, | ||
int | nStartAtomNeighbor, | ||
AT_RANK * | nDfsPathPos, | ||
DFS_PATH * | DfsPath, | ||
int | nMaxLenDfsPath, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int nGet14TautIn5MembAltRing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
int | nStartAtom, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighborEndpoint, | ||
int | nStartAtomNeighborNeighborEndpoint, | ||
AT_RANK * | nDfsPathPos, | ||
DFS_PATH * | DfsPath, | ||
int | nMaxLenDfsPath, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int nGet14TautIn7MembAltRing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
int | nStartAtom, | ||
int | nStartAtomNeighbor, | ||
int | nStartAtomNeighborEndpoint, | ||
int | nStartAtomNeighborNeighborEndpoint, | ||
AT_RANK * | nDfsPathPos, | ||
DFS_PATH * | DfsPath, | ||
int | nMaxLenDfsPath, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int nGet15TautIn6MembAltRing | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
int | nStartAtom, | ||
AT_RANK * | nDfsPathPos, | ||
DFS_PATH * | DfsPath, | ||
int | nMaxLenDfsPath, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
int nGet15TautInAltPath | ( | struct tagCANON_GLOBALS * | pCG, |
inp_ATOM * | atom, | ||
int | nStartAtom, | ||
AT_RANK * | nDfsPathPos, | ||
DFS_PATH * | DfsPath, | ||
int | nMaxLenDfsPath, | ||
T_ENDPOINT * | EndPoint, | ||
int | nMaxNumEndPoint, | ||
T_BONDPOS * | BondPos, | ||
int | nMaxNumBondPos, | ||
int * | pnNumEndPoint, | ||
int * | pnNumBondPos, | ||
struct BalancedNetworkStructure * | pBNS, | ||
struct BalancedNetworkData * | pBD, | ||
int | num_atoms | ||
) |
CHECK_DFS_PATH Check15TautPath |
CHECK_DFS_CENTERPOINT Check15TautPathCenterpoint |
CHECK_DFS_RING Check5MembTautRing |
CHECK_DFS_RING Check6MembTautRing |
CHECK_DFS_RING Check7MembTautRing |
const int NONE = (AT_RANK) ~0 |