Struct libbgs::markoff::OrbitTester
source · pub struct OrbitTester<const P: u128> { /* private fields */ }
Expand description
Configures tests to be run on orbits of the Markoff graph modulo P
.
Implementations§
source§impl<const P: u128> OrbitTester<P>
impl<const P: u128> OrbitTester<P>
sourcepub fn run(self) -> OrbitTesterResults
pub fn run(self) -> OrbitTesterResults
Consume and run this OrbitTester
, blocking until completion, and returning the results.
This method may spawn multiple worker threads, which are guarenteed to be joined before
run
returns.
sourcepub fn new() -> OrbitTester<P>
pub fn new() -> OrbitTester<P>
Creates a new OrbetTester
with default settings and no targets.
sourcepub fn add_target(&mut self, t: u128)
pub fn add_target(&mut self, t: u128)
Adds a target order to the list of orders to be tested.
Auto Trait Implementations§
impl<const P: u128> RefUnwindSafe for OrbitTester<P>
impl<const P: u128> Send for OrbitTester<P>
impl<const P: u128> Sync for OrbitTester<P>
impl<const P: u128> Unpin for OrbitTester<P>
impl<const P: u128> UnwindSafe for OrbitTester<P>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more