private static string NodeAsString(Node node) { var neuron = node as ActivationNeuron; if (neuron != null) { return neuron.Bias.ToString("0.00"); } else { return "Network"; } }
private static string GetNodeName(Node node) { var gate = node as LogicGate; if (gate != null) { return gate.Type.ToString(); } else { return "Network"; } }