Struct discrete::PowerSet [] [src]

pub struct PowerSet<T>(_);

Dimension is natural number, position is a list of numbers.

Trait Implementations

impl<T> Construct for PowerSet<T>
[src]

Constructs a new Self.

impl Count<usize> for PowerSet<Data>
[src]

Counts the size of space given the dimensions.

impl<T, U> Count<U> for PowerSet<Of<T>> where T: Construct + Count<U>
[src]

Counts the size of space given the dimensions.

impl<'a> ToIndex<usize&'a [usize]> for PowerSet<Data>
[src]

Converts position to index.

impl<'a, T, U: Copy, V: Copy> ToIndex<U, &'a [V]> for PowerSet<Of<T>> where T: Construct + ToIndex<U, V>
[src]

Converts position to index.

impl ToPos<usizeVec<usize>> for PowerSet<Data>
[src]

Converts index to position.

impl<T, U, V> ToPos<U, Vec<V>> for PowerSet<Of<T>> where T: Construct + Count<U> + ToPos<U, V>, U: Copy
[src]

Converts index to position.