Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since a4b917 was             5a479d, checked in by Frederik Heber <frederik.heber@…>, 22 months ago           | 
        
        
          | 
             
Added python actions to generate all graph6 strings. 
 
- graph6 strings don't take permutations in the adjacency matrix
into account. Hence, we are going through every permutation of
non-hydrogens and generate the respective graph6 string.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.1 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * modules.hpp
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Created on: Sep 28, 2013
 | 
|---|
| 5 |  *      Author: heber
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #ifndef MODULES_HPP_
 | 
|---|
| 9 | #define MODULES_HPP_
 | 
|---|
| 10 | 
 | 
|---|
| 11 | // include config.h
 | 
|---|
| 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
| 13 | #include <config.h>
 | 
|---|
| 14 | #endif
 | 
|---|
| 15 | 
 | 
|---|
| 16 | #include <string>
 | 
|---|
| 17 | #include <vector>
 | 
|---|
| 18 | 
 | 
|---|
| 19 | #include "types.hpp"
 | 
|---|
| 20 | 
 | 
|---|
| 21 | namespace MoleCuilder {
 | 
|---|
| 22 | 
 | 
|---|
| 23 | namespace detail {
 | 
|---|
| 24 | 
 | 
|---|
| 25 | void module_exit();
 | 
|---|
| 26 | void module_reinit();
 | 
|---|
| 27 | bool module_wait();
 | 
|---|
| 28 | 
 | 
|---|
| 29 | typedef std::vector<atomId_t> atomIdVec;
 | 
|---|
| 30 | typedef std::vector<atomicNumber_t> elementVec;
 | 
|---|
| 31 | typedef std::vector<double> doubleVec;
 | 
|---|
| 32 | typedef std::vector< std::vector<double> > atomPositionsVec;
 | 
|---|
| 33 | typedef std::vector< std::string > stringVec;
 | 
|---|
| 34 | 
 | 
|---|
| 35 | doubleVec module_getBoundingBox();
 | 
|---|
| 36 | double module_getDomainVolume();
 | 
|---|
| 37 | atomIdVec module_getSelectedAtomIds();
 | 
|---|
| 38 | atomPositionsVec module_getSelectedAtomPositions();
 | 
|---|
| 39 | elementVec module_getSelectedAtomElements();
 | 
|---|
| 40 | double module_getSelectedMolarMass();
 | 
|---|
| 41 | 
 | 
|---|
| 42 | std::string module_getGraph6String();
 | 
|---|
| 43 | std::string module_getElementListAsString();
 | 
|---|
| 44 | MoleCuilder::detail::stringVec module_getAllGraph6Strings();
 | 
|---|
| 45 | MoleCuilder::detail::stringVec module_getAllElementListAsStrings();
 | 
|---|
| 46 | 
 | 
|---|
| 47 | } /* namespace detail */
 | 
|---|
| 48 | 
 | 
|---|
| 49 | } /* namespace MoleCuilder */
 | 
|---|
| 50 | 
 | 
|---|
| 51 | #endif /* MODULES_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.