public void DoInitialIndexOf(List<string> assemblies)
 {
     var param = from a in assemblies select new BuildFullMapParams(a, a);
     BuildFullMap(param);
     assemblies.ForkAndJoinTo(_numThreads, WriteHistoryFile);
     GC.Collect(2);
 }
 public AffectedGraph GetCouplingGraphFor(string cacheName)
 {
     var affected = new List<ChangeContext>();
     var graph = new AffectedGraph();
     var forwardCutOffPoints = new Dictionary<string, bool>();
     var backCutOffPoints = new Dictionary<string, bool>();
     TypeDefinition scope = null;
     GetEfferentGraph(null, cacheName, forwardCutOffPoints, affected, graph, true, scope);
     WriteWalkerDebug("got " + affected + " nodes for " + cacheName, 0);
     var rets = affected.ForkAndJoinTo(_numthreads, x =>
     {
         FillAfferentGraph(x.Member, backCutOffPoints, graph, null, 0, null, false, new List<string>(), GenericContext.Empty(), false); //gets all tests Ca
         return true;
     });
     return graph;
 }