forked from gfrd/egfrd
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNetworkRules.hpp
More file actions
27 lines (20 loc) · 821 Bytes
/
NetworkRules.hpp
File metadata and controls
27 lines (20 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef NETWORK_RULES_HPP
#define NETWORK_RULES_HPP
#include <map>
#include "ReactionRule.hpp"
#include "generator.hpp"
class NetworkRules
{
public:
typedef ReactionRule reaction_rule_type;
typedef SpeciesTypeID species_id_type;
typedef abstract_limited_generator<reaction_rule_type> reaction_rule_generator;
typedef reaction_rule_type::identifier_type identifier_type;
public:
virtual identifier_type add_reaction_rule(ReactionRule const&) = 0;
virtual void remove_reaction_rule(ReactionRule const&) = 0;
virtual reaction_rule_generator* query_reaction_rule(species_id_type const& r1) const = 0;
virtual reaction_rule_generator* query_reaction_rule(species_id_type const& r1, species_id_type const& r2) const = 0;
virtual ~NetworkRules() = 0;
};
#endif /* NETWORK_RULES_HPP */