Struct hyparview::NodeOptions[][src]

pub struct NodeOptions {
    pub max_active_view_size: u8,
    pub max_passive_view_size: u8,
    pub shuffle_active_view_size: u8,
    pub shuffle_passive_view_size: u8,
    pub active_random_walk_len: u8,
    pub passive_random_walk_len: u8,
}

Options for HyParView Node.

Fields

Maximum number of nodes in the active view.

Maximum number of nodes in the passive view.

Protocol parameter that is called ka in the paper.

Protocol parameter that is called kp in the paper.

Protocol parameter that is called ARWL in the paper.

This is the initial TTL value for ForwardJoin and Shuffle messages.

Protocol parameter that is called PRWL in the paper.

If TTL is equal to the value,

Methods

impl NodeOptions
[src]

DEFAULT_MAX_ACTIVE_VIEW_SIZE: u8 = 4

The default value of max_active_view_size field.

DEFAULT_MAX_PASSIVE_VIEW_SIZE: u8 = 24

The default value of max_passive_view_size field.

DEFAULT_SHUFFLE_ACTIVE_VIEW_SIZE: u8 = 2

The default value of shuffle_active_view_size field.

DEFAULT_SHUFFLE_PASSIVE_VIEW_SIZE: u8 = 2

The default value of shuffle_passive_view_size field.

DEFAULT_ACTIVE_RANDOM_WALK_LEN: u8 = 5

The default value of active_random_walk_len field.

DEFAULT_PASSIVE_RANDOM_WALK_LEN: u8 = 2

The default value of passive_random_walk_len field.

Trait Implementations

impl Debug for NodeOptions
[src]

Formats the value using the given formatter. Read more

impl Clone for NodeOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for NodeOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for NodeOptions

impl Sync for NodeOptions