pub enum TaskTypeKey {
Show 13 variants
Transform,
BatchTransform,
ComputeTransformations,
SharePatterns,
LearnPattern,
OptimizeMemory,
OptimizeNode,
BalanceResources,
ChangeNodeMode,
ProcessAgentProposals,
CoordinateLearning,
EvaluateEnsemble,
EvaluatePerformance,
}Expand description
Auto-generated discriminant enum variants
Variants§
Transform
Apply a transformation to a specific node
BatchTransform
Apply multiple transformations to multiple nodes
ComputeTransformations
Compute all possible transformations between nodes
Share patterns between nodes
LearnPattern
Learn a pattern on a specific node
OptimizeMemory
Optimize memory usage
OptimizeNode
Optimize a specific node
BalanceResources
Balance resources across nodes
ChangeNodeMode
Change node operator mode
ProcessAgentProposals
Process agent proposals
CoordinateLearning
Coordinate learning between nodes
EvaluateEnsemble
Evaluate ensemble performance
EvaluatePerformance
Evaluate performance
Implementations§
Source§impl TaskTypeKey
impl TaskTypeKey
Sourcepub const fn is_transform(&self) -> bool
pub const fn is_transform(&self) -> bool
Returns true if the enum is TaskTypeKey::Transform otherwise false
Sourcepub const fn is_batch_transform(&self) -> bool
pub const fn is_batch_transform(&self) -> bool
Returns true if the enum is TaskTypeKey::BatchTransform otherwise false
Sourcepub const fn is_compute_transformations(&self) -> bool
pub const fn is_compute_transformations(&self) -> bool
Returns true if the enum is TaskTypeKey::ComputeTransformations otherwise false
Returns true if the enum is TaskTypeKey::SharePatterns otherwise false
Sourcepub const fn is_learn_pattern(&self) -> bool
pub const fn is_learn_pattern(&self) -> bool
Returns true if the enum is TaskTypeKey::LearnPattern otherwise false
Sourcepub const fn is_optimize_memory(&self) -> bool
pub const fn is_optimize_memory(&self) -> bool
Returns true if the enum is TaskTypeKey::OptimizeMemory otherwise false
Sourcepub const fn is_optimize_node(&self) -> bool
pub const fn is_optimize_node(&self) -> bool
Returns true if the enum is TaskTypeKey::OptimizeNode otherwise false
Sourcepub const fn is_balance_resources(&self) -> bool
pub const fn is_balance_resources(&self) -> bool
Returns true if the enum is TaskTypeKey::BalanceResources otherwise false
Sourcepub const fn is_change_node_mode(&self) -> bool
pub const fn is_change_node_mode(&self) -> bool
Returns true if the enum is TaskTypeKey::ChangeNodeMode otherwise false
Sourcepub const fn is_process_agent_proposals(&self) -> bool
pub const fn is_process_agent_proposals(&self) -> bool
Returns true if the enum is TaskTypeKey::ProcessAgentProposals otherwise false
Sourcepub const fn is_coordinate_learning(&self) -> bool
pub const fn is_coordinate_learning(&self) -> bool
Returns true if the enum is TaskTypeKey::CoordinateLearning otherwise false
Sourcepub const fn is_evaluate_ensemble(&self) -> bool
pub const fn is_evaluate_ensemble(&self) -> bool
Returns true if the enum is TaskTypeKey::EvaluateEnsemble otherwise false
Sourcepub const fn is_evaluate_performance(&self) -> bool
pub const fn is_evaluate_performance(&self) -> bool
Returns true if the enum is TaskTypeKey::EvaluatePerformance otherwise false
Trait Implementations§
Source§impl AsRef<str> for TaskTypeKey
impl AsRef<str> for TaskTypeKey
Source§impl Clone for TaskTypeKey
impl Clone for TaskTypeKey
Source§fn clone(&self) -> TaskTypeKey
fn clone(&self) -> TaskTypeKey
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TaskTypeKey
impl Debug for TaskTypeKey
Source§impl Display for TaskTypeKey
impl Display for TaskTypeKey
Source§impl<'_enum> From<&'_enum TaskType> for TaskTypeKey
impl<'_enum> From<&'_enum TaskType> for TaskTypeKey
Source§fn from(val: &'_enum TaskType) -> TaskTypeKey
fn from(val: &'_enum TaskType) -> TaskTypeKey
Source§impl From<TaskType> for TaskTypeKey
impl From<TaskType> for TaskTypeKey
Source§fn from(val: TaskType) -> TaskTypeKey
fn from(val: TaskType) -> TaskTypeKey
Source§impl FromStr for TaskTypeKey
impl FromStr for TaskTypeKey
Source§impl Hash for TaskTypeKey
impl Hash for TaskTypeKey
Source§impl IntoEnumIterator for TaskTypeKey
impl IntoEnumIterator for TaskTypeKey
type Iterator = TaskTypeKeyIter
fn iter() -> TaskTypeKeyIter ⓘ
Source§impl Ord for TaskTypeKey
impl Ord for TaskTypeKey
Source§fn cmp(&self, other: &TaskTypeKey) -> Ordering
fn cmp(&self, other: &TaskTypeKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for TaskTypeKey
impl PartialEq for TaskTypeKey
Source§impl PartialOrd for TaskTypeKey
impl PartialOrd for TaskTypeKey
Source§impl TryFrom<&str> for TaskTypeKey
impl TryFrom<&str> for TaskTypeKey
Source§impl VariantArray for TaskTypeKey
impl VariantArray for TaskTypeKey
Source§impl VariantNames for TaskTypeKey
impl VariantNames for TaskTypeKey
impl Copy for TaskTypeKey
impl Eq for TaskTypeKey
impl StructuralPartialEq for TaskTypeKey
Auto Trait Implementations§
impl Freeze for TaskTypeKey
impl RefUnwindSafe for TaskTypeKey
impl Send for TaskTypeKey
impl Sync for TaskTypeKey
impl Unpin for TaskTypeKey
impl UnwindSafe for TaskTypeKey
Blanket Implementations§
Source§impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
impl<T> AsWeight<T> for Twhere
T: Clone + IntoWeight<T>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<K, S> Identity<K> for Swhere
S: Borrow<K>,
K: Identifier,
impl<K, S> Identity<K> for Swhere
S: Borrow<K>,
K: Identifier,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more