#include <string.h>
#include "mode.h"
#include "ichitime.h"
#include "ichicant.h"
#include "ichirvrs.h"
#include "bcf_s.h"
Macros | |
#define | INC_ADD_EDGE 64 |
#define | CHG_SET_WRONG_TAUT_N 0 |
#define | CHG_SET_WRONG_TAUT_O 1 |
#define | CHG_SET_WRONG_TAUT_ALL 2 |
#define | CHG_LAST_SET 2 /* the last index in trying */ |
#define | CHG_SET_O_FIXED 3 |
#define | CHG_SET_NUM 4 |
Functions | |
int | GetPlusMinusVertex (BN_STRUCT *pBNS, ALL_TC_GROUPS *pTCGroups, int bCheckForbiddenPlus, int bCheckForbiddenMinus) |
int | bIsUnsatCarbonInASmallRing (inp_ATOM *at2, VAL_AT *pVA, int iat, BFS_Q *pbfsq, int min_ring_size) |
int | FixMobileHRestoredStructure (CANON_GLOBALS *pCG, INCHI_CLOCK *ic, ICHICONST INPUT_PARMS *ip, STRUCT_DATA *sd, BN_STRUCT *pBNS, BN_DATA *pBD, StrFromINChI *pStruct, inp_ATOM *at, inp_ATOM *at2, inp_ATOM *at3, VAL_AT *pVA, ALL_TC_GROUPS *pTCGroups, T_GROUP_INFO **ppt_group_info, inp_ATOM **ppat_norm, inp_ATOM **ppat_prep, INChI *pInChI[], long num_inp, int bHasSomeFixedH, int *pnNumRunBNS, int *pnTotalDelta, int forbidden_edge_mask, int forbidden_stereo_edge_mask) |
#define CHG_LAST_SET 2 /* the last index in trying */ |
#define CHG_SET_NUM 4 |
#define CHG_SET_O_FIXED 3 |
#define CHG_SET_WRONG_TAUT_ALL 2 |
#define CHG_SET_WRONG_TAUT_N 0 |
#define CHG_SET_WRONG_TAUT_O 1 |
#define INC_ADD_EDGE 64 |
int bIsUnsatCarbonInASmallRing | ( | inp_ATOM * | at2, |
VAL_AT * | pVA, | ||
int | iat, | ||
BFS_Q * | pbfsq, | ||
int | min_ring_size | ||
) |
int FixMobileHRestoredStructure | ( | CANON_GLOBALS * | pCG, |
INCHI_CLOCK * | ic, | ||
ICHICONST INPUT_PARMS * | ip, | ||
STRUCT_DATA * | sd, | ||
BN_STRUCT * | pBNS, | ||
BN_DATA * | pBD, | ||
StrFromINChI * | pStruct, | ||
inp_ATOM * | at, | ||
inp_ATOM * | at2, | ||
inp_ATOM * | at3, | ||
VAL_AT * | pVA, | ||
ALL_TC_GROUPS * | pTCGroups, | ||
T_GROUP_INFO ** | ppt_group_info, | ||
inp_ATOM ** | ppat_norm, | ||
inp_ATOM ** | ppat_prep, | ||
INChI * | pInChI[], | ||
long | num_inp, | ||
int | bHasSomeFixedH, | ||
int * | pnNumRunBNS, | ||
int * | pnTotalDelta, | ||
int | forbidden_edge_mask, | ||
int | forbidden_stereo_edge_mask | ||
) |
int GetPlusMinusVertex | ( | BN_STRUCT * | pBNS, |
ALL_TC_GROUPS * | pTCGroups, | ||
int | bCheckForbiddenPlus, | ||
int | bCheckForbiddenMinus | ||
) |