-
Notifications
You must be signed in to change notification settings - Fork 0
/
Edge.cs
29 lines (28 loc) · 829 Bytes
/
Edge.cs
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
28
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
namespace xorc
{
public class Edge{
public int inNeuron;
public double weight;
public int outNeuron;
public bool isEnabled;
public int innovation;
public Edge(int tInNeuron, int tOutNeuron, double tWeight, bool tIsEnabled, int tInnovation){
inNeuron = tInNeuron;
outNeuron = tOutNeuron;
weight = tWeight;
isEnabled = tIsEnabled;
innovation = tInnovation;
}
}
}