Example #1
0
 public virtual void Initialize(Affinity a)
 {
     this.a  = a;
     matrix  = a.getCopyMatrix();
     indexes = a.F.getCopyIndexes();
     ResetVector();
 }
Example #2
0
 public virtual void Initialize(Affinity a)
 {
     this.a = a;
     matrix = a.getCopyMatrix();
     indexes = a.F.getCopyIndexes();
     ResetVector();
 }
Example #3
0
        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
        }
Example #4
0
 public void Initialize(Affinity a)
 {
     this.a  = a;
     matrix  = a.getCopyMatrix();
     indexes = a.F.getCopyIndexes();
 }
Example #5
0
 public void Initialize(Affinity a)
 {
     this.a = a;
     matrix = a.getCopyMatrix();
     indexes = a.F.getCopyIndexes();
 }