Open Babel  3.0
canon.h
Go to the documentation of this file.
1 /**********************************************************************
2 canon.h - Canonical labeling.
3 
4  Copyright (C) 2009-2010 by Tim Vandermeersch
5  Copyright (C) 2005-2006, eMolecules, Inc. (www.emolecules.com)
6  Craig A. James
7 
8 This file is part of the Open Babel project.
9 For more information, see <http://openbabel.org/>
10 
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation version 2 of the License.
14 
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19 ***********************************************************************/
20 
21 #include <openbabel/bitvec.h>
22 
23 namespace OpenBabel {
24 
25  class OBMol;
26 
49  void OBAPI CanonicalLabels(OBMol *mol, const std::vector<unsigned int> &symmetry_classes,
50  std::vector<unsigned int> &canonical_labels, const OBBitVec &mask = OBBitVec(),
51  int maxSeconds = 5, bool onlyOne = false);
52 
53 } // namespace OpenBabel
54 
Fast and efficient bitstring class.
void CanonicalLabels(OBMol *mol, const std::vector< unsigned int > &symmetry_classes, std::vector< unsigned int > &canonical_labels, const OBBitVec &mask=OBBitVec(), int maxSeconds=5, bool onlyOne=false)
Definition: canon.cpp:1632
Global namespace for all Open Babel code.
Definition: alias.h:22