using Cursach.Realisations; using ProtoBuf; namespace Cursach.States; [ProtoContract] [Serializable] public class State() { [ProtoMember(1)] public List visited = []; [ProtoMember(2)] public List queue = []; [ProtoMember(3)] public AdjacencyList AdjacencyList = new(); public State(AdjacencyList adjacencyList, List visited, List queue) : this() { this.visited = visited; this.queue = queue; AdjacencyList = adjacencyList; } }