Ejemplo n.º 1
0
 public static void SaveGraphToMl(ContactGraph graph, string fileName)
 {
     graph.SerializeToGraphML <int, ContactEdge, ContactGraph>(fileName, HumanIdentity,
                                                               EdgeIdentities);
 }
Ejemplo n.º 2
0
 public CovidPopulation(int capacity)
 {
     _contactGraph = new ContactGraph(capacity);
     OnAgentAdded += AggAgentToGraphs;
 }