public GraphAssemblerTests() { coordinateFactory = new TestCoordinateFactory(); vertexFactory = new TestVertexFactory(); costFactory = new TestCostFactory(); graphFactory = new TestGraphFactory(); radarFactory = new CoordinateAroundRadarFactory(); graphAssembler = new GraphAssemble(vertexFactory, coordinateFactory, graphFactory, costFactory, radarFactory); }
public GraphSerializerTests() { formatter = new BinaryFormatter(); graphFactory = new TestGraphFactory(); radarFactory = new CoordinateAroundRadarFactory(); vertexConverter = new TestVertexInfoSerializationConverter(radarFactory); vertexFactory = new TestVertexFactory(); notSerializableCoordinateFactory = new NotSerializableCoordinateFactory(); coordinateFactory = new TestCoordinateFactory(); costFactory = new TestCostFactory(); }
public GraphAssemble( IVertexFactory vertexFactory, ICoordinateFactory coordinateFactory, IGraphFactory graphFactory, IVertexCostFactory costFactory, ICoordinateRadarFactory radarFactory) { this.vertexFactory = vertexFactory; this.coordinateFactory = coordinateFactory; this.graphFactory = graphFactory; this.costFactory = costFactory; this.radarFactory = radarFactory; percentRange = new ValueRange(100, 0); }
public AlgorithmTest() { radarFactory = new CoordinateAroundRadarFactory(); graphFactory = new TestGraphFactory(); vertexFactory = new TestVertexFactory(); costFactory = new TestVertexCostFactory(); coordinateFactory = new TestCoordinateFactory(); graphAssemble = new GraphAssemble(vertexFactory, coordinateFactory, graphFactory, costFactory, radarFactory); testAssemble = new TestGraphAssemble(graphAssemble); }
public VertexSerializationInfoConverter(ICoordinateRadarFactory factory) { radarFactory = factory; }
public Vertex3DSerializationInfoConverter(ICoordinateRadarFactory factory, IModel3DFactory model3DFactory) { this.factory = factory; this.model3DFactory = model3DFactory; }
public TestVertexInfoSerializationConverter(ICoordinateRadarFactory factory) { this.factory = factory; }