public virtual void Initialize(Affinity a) { this.a = a; matrix = a.getCopyMatrix(); indexes = a.F.getCopyIndexes(); ResetVector(); }
public virtual void Initialize(Affinity a) { this.a = a; matrix = a.getCopyMatrix(); indexes = a.F.getCopyIndexes(); ResetVector(); }
public void Initialize(Affinity a) { affinity = a; A = affinity.getCopyMatrix(); //affinity matrix N = affinity.getDimensionAM(); // List<int> elementsID = new List<int>(); //contains all helplabels int[] labels = new int[N]; for (int i = 0; i < N; i++) { labels[i] = a.F.Persons[i].HelpLabel; } // elementsID.Add(a.F.Persons[i].HelpLabel); computeNormTerm(); computeModularityMatrix(); firstSplit = new Split(labels, this, B); //the first split contains all elements }
public void Initialize(Affinity a) { this.a = a; matrix = a.getCopyMatrix(); indexes = a.F.getCopyIndexes(); }
public void Initialize(Affinity a) { this.a = a; matrix = a.getCopyMatrix(); indexes = a.F.getCopyIndexes(); }