File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
#ifndef NETWORK_DIRECTION_H
2
2
#define NETWORK_DIRECTION_H
3
3
4
- // Use the Direction class from the fields folder
5
- #include "fields/direction.h"
4
+ #include " network/model.h"
5
+ #include " network/activation.h"
6
+ #include " network/link.h"
7
+ #include " network/neuron.h"
8
+ #include " network/synapse.h"
9
+ #include " network/bs_type.h"
10
+ #include " network/transition.h"
6
11
7
- #endif // NETWORK_DIRECTION_H
12
+ class Direction {
13
+ public:
14
+ virtual ~Direction () = default ;
15
+ virtual Direction* invert () = 0;
16
+ virtual Neuron* getNeuron (Model* m, Synapse* s) = 0;
17
+ virtual Activation* getActivation (Link* l) = 0;
18
+ virtual int getOrder () = 0;
19
+ virtual BSType* transition (BSType* s, Transition* t) = 0;
20
+ virtual void write (DataOutput* out) = 0;
21
+
22
+ static Direction* read (DataInput* in);
23
+ };
24
+
25
+ #endif // NETWORK_DIRECTION_H
You can’t perform that action at this time.
0 commit comments