RxDock 0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
GPTypes.h
1/***********************************************************************
2 * The rDock program was developed from 1998 - 2006 by the software team
3 * at RiboTargets (subsequently Vernalis (R&D) Ltd).
4 * In 2006, the software was licensed to the University of York for
5 * maintenance and distribution.
6 * In 2012, Vernalis and the University of York agreed to release the
7 * program as Open Source software.
8 * This version is licensed under GNU-LGPL version 3.0 with support from
9 * the University of Barcelona.
10 * http://rdock.sourceforge.net/
11 ***********************************************************************/
12
13#ifndef _RBT_GPTYPES_H_
14#define _RBT_GPTYPES_H_
15
16#include "rxdock/Config.h"
17
18namespace rxdock {
19
20// As the chromosome is a list of integers, I don't think I need a
21// new class to define it. If later I find out it is necessary, I
22// just need to create a class called GPChromosome with the
23// operator[] and size() defined on it
24typedef float ReturnType;
25typedef SmartPtr<ReturnType> ReturnTypePtr; // Smart pointer
26typedef std::vector<ReturnTypePtr> ReturnTypeList; // Vector of smart pointers
27typedef std::vector<ReturnTypeList> ReturnTypeArray; // Vector of smart
28 // pointers
29typedef ReturnTypeList::iterator ReturnTypeListIter;
30typedef ReturnTypeList::const_iterator ReturnTypeListConstIter;
31
32} // namespace rxdock
33
34#endif