MCPcopy Create free account
hub / github.com/EbTech/rust-algorithms / evaluate

Method evaluate

src/li_chao.rs:78–80  ·  view source on GitHub ↗

Finds the maximum mx+b among all lines in the structure. O(log N) complexity.

(&self, x: i64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_li_chao_treeFunction · 0.45

Calls 1

evaluate_implMethod · 0.80

Tested by 1

test_li_chao_treeFunction · 0.36