@@ -20,7 +20,7 @@ class AllVertices;
2020class AllEdges {
2121public:
2222 AllEdges ();
23- AllEdges (const int numVertices, const int maxEdges);
23+ AllEdges (int numVertices, int maxEdges);
2424 virtual ~AllEdges () = default ;
2525
2626 // / Setup the internal structure of the class (allocate memories and initialize them).
@@ -41,8 +41,7 @@ class AllEdges {
4141 // / @param destVertex The Vertex that receives from the Edge.
4242 // / @param deltaT Inner simulation step duration
4343 // / @return iEdg Index of the edge to be added.
44- virtual BGSIZE addEdge (edgeType type, const int srcVertex, const int destVertex,
45- const BGFLOAT deltaT);
44+ virtual BGSIZE addEdge (edgeType type, int srcVertex, int destVertex, BGFLOAT deltaT);
4645
4746 // / Create a Edge and connect it to the model.
4847 // /
@@ -51,7 +50,7 @@ class AllEdges {
5150 // / @param destVertex Coordinates of the destination Vertex.
5251 // / @param deltaT Inner simulation step duration.
5352 // / @param type Type of the Edge to create.
54- virtual void createEdge (const BGSIZE iEdg, int srcVertex, int destVertex, const BGFLOAT deltaT,
53+ virtual void createEdge (BGSIZE iEdg, int srcVertex, int destVertex, BGFLOAT deltaT,
5554 edgeType type)
5655 = 0;
5756
@@ -71,25 +70,25 @@ class AllEdges {
7170 // /
7271 // / @param numVertices Total number of vertices in the network.
7372 // / @param maxEdges Maximum number of edges per vertex.
74- virtual void setupEdges (const int numVertices, const int maxEdges);
73+ virtual void setupEdges (int numVertices, int maxEdges);
7574
7675 // / Sets the data for Edge to input's data.
7776 // /
7877 // / @param input istream to read from.
7978 // / @param iEdg Index of the edge to set.
80- virtual void readEdge (istream &input, const BGSIZE iEdg);
79+ virtual void readEdge (istream &input, BGSIZE iEdg);
8180
8281 // / Write the edge data to the stream.
8382 // /
8483 // / @param output stream to print out to.
8584 // / @param iEdg Index of the edge to print out.
86- virtual void writeEdge (ostream &output, const BGSIZE iEdg) const ;
85+ virtual void writeEdge (ostream &output, BGSIZE iEdg) const ;
8786
8887 // / Returns an appropriate edgeType object for the given integer.
8988 // /
9089 // / @param typeOrdinal Integer that correspond with a edgeType.
9190 // / @return the SynapseType that corresponds with the given integer.
92- edgeType edgeOrdinalToType (const int typeOrdinal);
91+ edgeType edgeOrdinalToType (int typeOrdinal);
9392
9493 // / Loggers used to print to using log4cplus logging macros, prints to Results/Debug/logging.txt
9594 log4cplus::Logger fileLogger_;
@@ -186,13 +185,13 @@ class AllEdges {
186185 // /
187186 // / @param iEdg Index of the Edge to connect to.
188187 // / @param vertices The Vertex list to search from.
189- virtual void advanceEdge (const BGSIZE iEdg, AllVertices &vertices) = 0;
188+ virtual void advanceEdge (BGSIZE iEdg, AllVertices &vertices) = 0;
190189
191190 // / Remove a edge from the network.
192191 // /
193192 // / @param neuronIndex Index of a vertex to remove from.
194193 // / @param iEdg Index of a edge to remove.
195- virtual void eraseEdge (const int neuronIndex, const BGSIZE iEdg);
194+ virtual void eraseEdge (int neuronIndex, BGSIZE iEdg);
196195#endif // defined(USE_GPU)
197196
198197 // / The location of the edge.
0 commit comments