MCPcopy Create free account
hub / github.com/dhale/jtk / sampleNodes

Method sampleNodes

core/src/main/java/edu/mines/jtk/mesh/TetMesh.java:6555–6566  ·  view source on GitHub ↗

Randomly samples nodes to facilitate fast searches. Following Mucke et al., 1996, the number of samples is proportional to N^(1/4), where N equals the number of nodes. The factor of 2 below corresponds to Mucke et al.'s scale factor 0.5.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

readObjectMethod · 0.95

Calls 4

sizeMethod · 0.65
addMethod · 0.65
clearMethod · 0.45
powMethod · 0.45

Tested by

no test coverage detected