Struct spaces::dimensions::Binary [] [src]

pub struct Binary;

A binary dimension.

Methods

impl Binary
[src]

[src]

Trait Implementations

impl Debug for Binary
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Binary
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Binary
[src]

impl Clone for Binary
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Binary
[src]

impl Space for Binary
[src]

The data representation of the space.

[src]

Return the number of dimensions in the space.

[src]

Return the number of linear combinations of values in the space.

[src]

Generate a random sample from the space.

impl BoundedSpace for Binary
[src]

The upper/lower bound type; not necessarily equal to Space::Value.

[src]

Returns a reference to the dimension's lower value bound (inclusive).

[src]

Returns a reference to the dimension's upper value bound (exclusive).

[src]

Returns true iff val is within the dimension's bounds.

impl FiniteSpace for Binary
[src]

[src]

Returns the finite range of values in this dimension.

impl Surjection<bool, bool> for Binary
[src]

[src]

Map value from domain onto codomain.

impl Surjection<f64, bool> for Binary
[src]

[src]

Map value from domain onto codomain.

Auto Trait Implementations

impl Send for Binary

impl Sync for Binary