Skip to content

Commit 2a62b2d

Browse files
Compile fixes
1 parent d5fbc70 commit 2a62b2d

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

include/network/activation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "fields/queue_provider.h"
66

7+
#include "network/activation_definition.h"
78
#include "network/element.h"
89
#include "network/model_provider.h"
910
#include "network/neuron.h"

include/network/fired.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef NETWORK_FIRED_H
22
#define NETWORK_FIRED_H
33

4-
#include "network/step.h"
4+
#include "fields/step.h"
55
#include "network/activation.h"
66
#include "network/phase.h"
77
#include "network/queue.h"

include/network/link.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ class Link : public Obj, public Element, public ModelProvider, public QueueProvi
3131
bool isCausal();
3232
static bool isCausal(Activation* iAct, Activation* oAct);
3333
Document* getDocument();
34-
Queue* getQueue() override;
34+
Queue* getQueue() const override;
3535
Model* getModel() override;
3636
std::string getInputKeyString();
3737
std::string getOutputKeyString();
38-
std::string toString() override;
39-
std::string toKeyString() override;
38+
std::string toString();
39+
std::string toKeyString();
4040

4141
private:
4242
Synapse* synapse;

include/network/link_definition.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#ifndef NETWORK_LINK_DEFINITION_H
22
#define NETWORK_LINK_DEFINITION_H
33

4+
#include "fields/type.h"
5+
#include "fields/type_registry.h"
6+
47
#include "network/activation.h"
58
#include "network/link.h"
69
#include "network/relation.h"
710
#include "network/relation_one.h"
811
#include "network/relation_self.h"
912
#include "network/synapse.h"
10-
#include "network/type.h"
11-
#include "network/type_registry.h"
1213

1314
#include <string>
1415
#include <vector>

include/network/typedefs.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@
44
#include <functional>
55
#include <string>
66

7-
// Define any necessary type aliases or typedefs here
8-
using Relation = std::string;
9-
using FieldOutput = double;
107

118
#endif // NETWORK_TYPEDEFS_H

src/network/document.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "network/document.h"
2+
#include "network/activation.h"
23
#include "network/model.h"
34

45
Document::Document(Model* m, int length) : model(m), length(length), activationIdCounter(0), isStale(false) {

0 commit comments

Comments
 (0)