pub struct ResettingMetaAgentConfig<TC> {
pub agent_config: TC,
}Expand description
Configuration for a ResettingMetaAgent.
Fields§
§agent_config: TCImplementations§
Source§impl<TC> ResettingMetaAgentConfig<TC>
impl<TC> ResettingMetaAgentConfig<TC>
Trait Implementations§
Source§impl<TC, OS, AS, FS> BuildAgent<MetaObservationSpace<OS, AS, FS>, AS, FS> for ResettingMetaAgentConfig<TC>where
TC: BuildAgent<OS, AS, FS> + Clone,
TC::Agent: BatchUpdate<OS::Element, AS::Element, Feedback = FS::Element>,
OS: Space + Clone,
AS: NonEmptySpace + Clone,
FS: Space + Clone,
impl<TC, OS, AS, FS> BuildAgent<MetaObservationSpace<OS, AS, FS>, AS, FS> for ResettingMetaAgentConfig<TC>where
TC: BuildAgent<OS, AS, FS> + Clone,
TC::Agent: BatchUpdate<OS::Element, AS::Element, Feedback = FS::Element>,
OS: Space + Clone,
AS: NonEmptySpace + Clone,
FS: Space + Clone,
Source§type Agent = Arc<ResettingMetaAgent<TC, OS, AS, FS>>
type Agent = Arc<ResettingMetaAgent<TC, OS, AS, FS>>
Type of agent to build
Source§fn build_agent(
&self,
env: &dyn EnvStructure<ObservationSpace = MetaObservationSpace<OS, AS, FS>, ActionSpace = AS, FeedbackSpace = FS>,
_: &mut Prng,
) -> Result<Self::Agent, BuildAgentError>
fn build_agent( &self, env: &dyn EnvStructure<ObservationSpace = MetaObservationSpace<OS, AS, FS>, ActionSpace = AS, FeedbackSpace = FS>, _: &mut Prng, ) -> Result<Self::Agent, BuildAgentError>
Build an agent for the given environment structure (
EnvStructure). Read moreSource§impl<TC: Clone> Clone for ResettingMetaAgentConfig<TC>
impl<TC: Clone> Clone for ResettingMetaAgentConfig<TC>
Source§fn clone(&self) -> ResettingMetaAgentConfig<TC>
fn clone(&self) -> ResettingMetaAgentConfig<TC>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<TC: Debug> Debug for ResettingMetaAgentConfig<TC>
impl<TC: Debug> Debug for ResettingMetaAgentConfig<TC>
Source§impl<'de, TC> Deserialize<'de> for ResettingMetaAgentConfig<TC>where
TC: Deserialize<'de>,
impl<'de, TC> Deserialize<'de> for ResettingMetaAgentConfig<TC>where
TC: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<TC: Hash> Hash for ResettingMetaAgentConfig<TC>
impl<TC: Hash> Hash for ResettingMetaAgentConfig<TC>
Source§impl<TC: PartialEq> PartialEq for ResettingMetaAgentConfig<TC>
impl<TC: PartialEq> PartialEq for ResettingMetaAgentConfig<TC>
Source§fn eq(&self, other: &ResettingMetaAgentConfig<TC>) -> bool
fn eq(&self, other: &ResettingMetaAgentConfig<TC>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<TC> Serialize for ResettingMetaAgentConfig<TC>where
TC: Serialize,
impl<TC> Serialize for ResettingMetaAgentConfig<TC>where
TC: Serialize,
impl<TC: Copy> Copy for ResettingMetaAgentConfig<TC>
impl<TC: Eq> Eq for ResettingMetaAgentConfig<TC>
impl<TC> StructuralPartialEq for ResettingMetaAgentConfig<TC>
Auto Trait Implementations§
impl<TC> Freeze for ResettingMetaAgentConfig<TC>where
TC: Freeze,
impl<TC> RefUnwindSafe for ResettingMetaAgentConfig<TC>where
TC: RefUnwindSafe,
impl<TC> Send for ResettingMetaAgentConfig<TC>where
TC: Send,
impl<TC> Sync for ResettingMetaAgentConfig<TC>where
TC: Sync,
impl<TC> Unpin for ResettingMetaAgentConfig<TC>where
TC: Unpin,
impl<TC> UnwindSafe for ResettingMetaAgentConfig<TC>where
TC: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.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>
Converts
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>
Converts
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