2
* International Chemical Identifier (InChI)
4
* Software version 1.02-beta
8
* The InChI library and programs are free software developed under the
9
* auspices of the International Union of Pure and Applied Chemistry (IUPAC);
10
* you can redistribute this software and/or modify it under the terms of
11
* the GNU Lesser General Public License as published by the Free Software
13
* http://www.opensource.org/licenses/lgpl-license.php
17
#ifndef __INCHICANO_H__
18
#define __INCHICANO_H__
27
int GetCanonLengths( int num_at, sp_ATOM* at, ATOM_SIZES *s, T_GROUP_INFO *t_group_info );
29
int AllocateCS( CANON_STAT *pCS, int num_at, int num_at_tg, int nLenCT, int nLenCTAtOnly,
30
int nLenLinearCTStereoDble, int nLenLinearCTIsotopicStereoDble,
31
int nLenLinearCTStereoCarb, int nLenLinearCTIsotopicStereoCarb,
32
int nLenLinearCTTautomer, int nLenLinearCTIsotopicTautomer,
33
int nLenIsotopic, INCHI_MODE nMode, BCN *pBCN );
35
int DeAllocateCS( CANON_STAT *pCS );
37
void DeAllocBCN( BCN *pBCN );
39
int Canon_INChI( int num_atoms, int num_at_tg, sp_ATOM* at, CANON_STAT* pCS, INCHI_MODE nMode, int bTautFtcn);
40
int GetBaseCanonRanking( int num_atoms, int num_at_tg, sp_ATOM* at[],
41
T_GROUP_INFO *t_group_info, ATOM_SIZES s[], BCN *pBCN, struct tagInchiTime *ulTimeOutTime );
42
int bCanonIsFinerThanEquitablePartition( int num_atoms, sp_ATOM* at, AT_RANK *nSymmRank );
43
int UpdateFullLinearCT( int num_atoms, int num_at_tg, sp_ATOM* at, AT_RANK *nRank, AT_RANK *nAtomNumber,
44
CANON_STAT* pCS, int bFirstTime );
46
int FixCanonEquivalenceInfo( int num_at_tg, AT_RANK *nSymmRank, AT_RANK *nCurrRank,
47
AT_RANK *nTempRank, AT_NUMB *nAtomNumber, int *bChanged);
56
#endif /* __INCHICANO_H__ */