57 using namespace CONNECTIVITYLIB;
58 using namespace Eigen;
70 const MatrixXd& matWeight,
74 : m_iStartNodeID(iStartNodeID)
75 , m_iEndNodeID(iEndNodeID)
76 , m_bIsActive(bIsActive)
77 , m_iMinMaxFreqBins(QPair<int,int>(iStartWeightBin,iEndWeightBin))
78 , m_dAveragedWeight(0.0)
80 if(matWeight.rows() == 0 || matWeight.cols() == 0) {
82 qDebug() <<
"NetworkEdge::NetworkEdge - Matrix weights number of rows and/or columns are zero. Setting to 1x1 zero matrix.";
146 if(iEndWeightBin < iStartWeightBin || iStartWeightBin < -1 || iEndWeightBin < -1 ) {
152 if ((iEndWeightBin == -1 && iStartWeightBin == -1) ) {
154 }
else if(iStartWeightBin < rows) {
155 if(iEndWeightBin < rows) {