A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/hit__clustering_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/hit_matrix/hit_clustering.cpp Source File

66  double

scale_x,

double

scale_y)

70  double

d_x = res.

X

() / scale_x;

71  double

d_y = res.

Y

() / scale_y;

72  return

d_x * d_x + d_y * d_y;

90  double l

= elem.GetLength();

117  double

s = L_x * L_x + L_y * L_y;

118  double

k = -(L_x * v_x + L_y * v_y) / s;

120

norm.

X

() = k * L_x + v_x;

121

norm.

Y

() = k * L_y + v_y;

128  double

scale_x,

double

scale_y)

153

v_L.

m_From

= (min_i & 0x1) ?

a

.m_From :

a

.m_To;

154

v_L.

m_To

= (min_i & 0x2) ?

b

.m_From :

b

.m_To;

159  double

h_1 = norm.

X

() / scale_x + norm.

Y

() / scale_y;

162  double

h_2 = norm.

X

() / scale_x + norm.

Y

() / scale_y;

182

vector<CHitElemGlyph*> gl_acc;

185  for

(

size_t i

= 0;

i

< glyphs.size();

i

++ ) {

188

vector<CHitElemGlyph>& elems = gl.

GetElems

();

193

gl_acc.push_back(&gl_a);

196  for

(

size_t

e_i = 1; e_i < elems.size(); e_i++ ) {

203  if

(gl_acc.size() > 1) {

212

gl_acc.push_back(&gl_b);

215  if

(gl_acc.size() > 1) {

bool x_CanCombine(const TVector &a, const TVector &b, TVector &res, double scale_x, double scale_y)

TClusterVector m_Clusters

void Build(vector< CHitGlyph * > &glyphs, double scale_x, double scale_y)

CHitElemGlyph is a simple graphical object representing a Hit Element.

const IHitElement & GetHitElem() const

CHitGlyph is a simple graphical object representing a Hit as a set of corresponding Hit Elements.

TElemGlyphCont & GetElems()

virtual TSignedSeqPos GetQueryStart() const =0

virtual objects::ENa_strand GetSubjectStrand() const =0

virtual objects::ENa_strand GetQueryStrand() const =0

virtual TSignedSeqPos GetSubjectStart() const =0

void swap(NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair1, NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair2)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

void Start(void)

Start the timer.

void GetVector(const CHitElemGlyph &glyph, TVector &v)

TVect GetNorm(const TVector &L, const TVector &v)

double PixDistanceSquare(const TVect &a, const TVect &b, double scale_x, double scale_y)

double CalcDistanceSquare(const TVector &a, const TVector &b, double scale_x, double scale_y)

static SLJIT_INLINE sljit_ins l(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4