| 1 |
#ifndef BALL_STRUCTURE_BONDORDERS_BONDORDERASSIGNMENTSTRATEGY_H |
| 2 |
#define BALL_STRUCTURE_BONDORDERS_BONDORDERASSIGNMENTSTRATEGY_H |
| 3 |
|
| 4 |
#ifndef BALL_STRUCTURE_BONDORDERS_BONDORDERASSIGNMENT_H |
| 5 |
# include <BALL/STRUCTURE/BONDORDERS/bondOrderAssignment.h> |
| 6 |
#endif |
| 7 |
|
| 8 |
#ifndef BALL_DATATYPE_OPTIONS_H |
| 9 |
# include <BALL/DATATYPE/options.h> |
| 10 |
#endif |
| 11 |
|
| 12 |
#include <boost/shared_ptr.hpp> |
| 13 |
|
| 14 |
namespace BALL |
| 15 |
{ |
| 16 |
class AssignBondOrderProcessor; |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
class BALL_EXPORT BondOrderAssignmentStrategy |
| 27 |
{ |
| 28 |
public: |
| 29 |
BondOrderAssignmentStrategy(AssignBondOrderProcessor* parent); |
| 30 |
|
| 31 |
virtual boost::shared_ptr<BondOrderAssignment> computeNextSolution() = 0; |
| 32 |
virtual bool readOptions(const Options& options); |
| 33 |
virtual void setDefaultOptions(); |
| 34 |
virtual void clear(); |
| 35 |
virtual void init() = 0; |
| 36 |
|
| 37 |
|
| 38 |
AssignBondOrderProcessor* abop; |
| 39 |
|
| 40 |
}; |
| 41 |
} |
| 42 |
#endif |