Esempio n. 1
0
 public override void InitOperation(Frame f)
 {
     Affinity tempProximity = new Proximity(scalarFactor);
     tempProximity.computeAffinity(f);
     tempProxMatrix = tempProximity.getCopyMatrix();
 }
Esempio n. 2
0
 public static Group createGroup(Frame IdFrame)
 {
     return new Group(IdFrame);
 }
Esempio n. 3
0
 public static Group createGroup(Frame IdFrame, int GN, Dictionary<int, List<Person>> grouping)
 {
     return new Group(IdFrame, GN, grouping);
 }
Esempio n. 4
0
 //calcola la matrice affinità dato un frame (Mara)
 public void computeAffinity(Frame f)
 {
     this.F = f;
     InitOperation(f);
     AdjacencyMatrix = Matrix<double>.Build.Dense(F.N, F.N, HowToCompute);
 }
Esempio n. 5
0
 public virtual void InitOperation(Frame f) {}
Esempio n. 6
0
 public Affinity(Frame f)
 {
     this.F = f;
     AdjacencyMatrix = Matrix<double>.Build.Dense(f.N, f.N);
     //computeAffinity();
 }
Esempio n. 7
0
 public Group(Frame IdFrame) 
 {
     this.IdFrame = IdFrame;
     this.GN = 0;
     this.Grouping = new Dictionary<int, List<Person>>();
 }
Esempio n. 8
0
        public Dictionary<int, List<Person>> Grouping { get; private set; }//

        public Group(Frame IdFrame,int GN,Dictionary<int,List<Person>> grouping) {
            this.IdFrame = IdFrame;
            this.GN = GN;
            this.Grouping = grouping;
        }