https://github.com/ialhashim/topo-blend
Revision 39b13612ebd645a65eda854771b517371f2f858a authored by ennetws on 13 March 2015, 18:17:18 UTC, committed by ennetws on 13 March 2015, 18:17:18 UTC
1 parent c702819
Raw File
Tip revision: 39b13612ebd645a65eda854771b517371f2f858a authored by ennetws on 13 March 2015, 18:17:18 UTC
Create README.md
Tip revision: 39b1361
ConnectivityScorer.h
#pragma once
#include "RelationDetector.h"

class ConnectivityScorer :	public RelationDetector
{
public:
	ConnectivityScorer(Structure::Graph* g, int ith, double normalizeCoef, bool isUseLink = true, int logLevel=0):RelationDetector(g, "ConnectivityScorer-", ith, normalizeCoef, 1, logLevel)
    {
		isUseLink_ = isUseLink;
    }
	double evaluate(QVector<QVector<PairRelation> > &connectPairs, QVector<PART_LANDMARK> &corres);
private:
	double computeDeviationByDistance(Eigen::MatrixXd& m1, Structure::Node *n2);

	bool isUseLink_;
};

back to top