Last change
on this file since 97dff0 was 4e6a60, checked in by Frederik Heber <heber@…>, 11 years ago |
Added CoordinatorFactory that returns the correct Coordinator for a given graph.
- extended HomologyGraph interface by getter for nodes and edges.
- CoordinatorFactory::create() decides by number of nodes and connected_edges
which coordinator to return.
|
-
Property mode
set to
100644
|
File size:
451 bytes
|
Rev | Line | |
---|
[4e6a60] | 1 | /*
|
---|
| 2 | * CoordinatorFactory.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: 03.09.2013
|
---|
| 5 | * Author: heber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef COORDINATORFACTORY_HPP_
|
---|
| 9 | #define COORDINATORFACTORY_HPP_
|
---|
| 10 |
|
---|
| 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 | #include "Coordinator.hpp"
|
---|
| 17 |
|
---|
| 18 | class HomologyGraph;
|
---|
| 19 |
|
---|
| 20 | class CoordinatorFactory
|
---|
| 21 | {
|
---|
| 22 | public:
|
---|
| 23 | CoordinatorFactory();
|
---|
| 24 | ~CoordinatorFactory();
|
---|
| 25 |
|
---|
| 26 | Coordinator::ptr create(HomologyGraph &graph) const;
|
---|
| 27 | };
|
---|
| 28 |
|
---|
| 29 | #endif /* COORDINATORFACTORY_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.