예제 #1
0
 public MCA_Characteristics(MatrixComputations.TransitivityType TT)
 {
     labelSettings = new Dictionary <string, bool>(labels.Length);
     foreach (string s in labels)
     {
         labelSettings[s] = true;
     }
     transitivitytype = TT;
 }
예제 #2
0
        public string selMeth; //Selection method specified in options form

        public NetworkCharacteristics(NetworkIO n, int i, string _inputType, string _externalFile, string _svcFile, MatrixComputations.TransitivityType _transitivityType,
                                      double _cutoff, double _density, bool _zeroDiagonal, int _reachMatrixCount, string _erpolType, double _alpha, int _kCliqueValue, bool _kCliqueDiag)
        {
            net           = n;
            netID         = i;
            labelSettings = new Dictionary <string, bool>(labels.Length);
            foreach (string s in labels)
            {
                labelSettings[s] = true;
            }
            inputType        = _inputType;
            externalFile     = _externalFile;
            svcFile          = _svcFile;
            transitivityType = _transitivityType;
            cutoff           = _cutoff;
            density          = _density;
            zeroDiagonal     = _zeroDiagonal;
            reachMatrixCount = _reachMatrixCount;
            erpolType        = _erpolType;
            alpha            = _alpha;
            kCliqueDiag      = _kCliqueDiag;
            kCliqueValue     = _kCliqueValue;
        }
예제 #3
0
 public NetworkCharacteristics(NetworkIO n, int i, string _inputType, string _externalFile, string _svcFile, MatrixComputations.TransitivityType _transitivityType,
     double _cutoff, double _density, bool _zeroDiagonal, int _reachMatrixCount, string _erpolType, double _alpha, int _kCliqueValue, bool _kCliqueDiag)
 {
     net = n;
     netID = i;
     labelSettings = new Dictionary<string, bool>(labels.Length);
     foreach (string s in labels)
     {
         labelSettings[s] = true;
     }
     inputType = _inputType;
     externalFile = _externalFile;
     svcFile = _svcFile;
     transitivityType = _transitivityType;
     cutoff = _cutoff;
     density = _density;
     zeroDiagonal = _zeroDiagonal;
     reachMatrixCount = _reachMatrixCount;
     erpolType = _erpolType;
     alpha = _alpha;
     kCliqueDiag = _kCliqueDiag;
     kCliqueValue = _kCliqueValue;
 }