Versions in this module Expand all Collapse all v0 v0.5.3 Jan 19, 2023 Changes in this version type Ctr + func (ct *Ctr) Set(cur int) bool + type CurPrvF32 struct + Cur float32 + Prv float32 + func (cv *CurPrvF32) Diff() float32 + func (cv *CurPrvF32) Incr() + func (cv *CurPrvF32) Set(cur float32) + type CurPrvInt struct + Cur int + Prv int + func (cv *CurPrvInt) Diff() int + func (cv *CurPrvInt) Incr() + func (cv *CurPrvInt) Set(cur int) + type CurPrvString struct + Cur string + Prv string + func (cv *CurPrvString) Set(cur string) + type EnvDesc interface + Actions func() Elements + Counters func() []TimeScales + States func() Elements type FixedTable + GroupCol string + GroupName CurPrvString + NameCol string + func (ft *FixedTable) NewOrder() + func (ft *FixedTable) PermuteOrder() + func (ft *FixedTable) SetGroupName() + type FreqTable struct + Dsc string + Epoch Ctr + FreqCol string + GroupCol string + GroupName CurPrvString + NSamples float64 + NameCol string + Nm string + Order []int + RndSamp bool + Run Ctr + Sequential bool + Table *etable.IdxView + Trial Ctr + TrialName CurPrvString + func (ft *FreqTable) Action(element string, input etensor.Tensor) + func (ft *FreqTable) Actions() Elements + func (ft *FreqTable) Counter(scale TimeScales) (cur, prv int, chg bool) + func (ft *FreqTable) Counters() []TimeScales + func (ft *FreqTable) Desc() string + func (ft *FreqTable) Init(run int) + func (ft *FreqTable) Name() string + func (ft *FreqTable) Row() int + func (ft *FreqTable) Sample() + func (ft *FreqTable) SetGroupName() + func (ft *FreqTable) SetTrialName() + func (ft *FreqTable) State(element string) etensor.Tensor + func (ft *FreqTable) States() Elements + func (ft *FreqTable) Step() bool + func (ft *FreqTable) Validate() error type TimeScales + const Condition + const Tick v0.5.0 Jun 12, 2019 Changes in this version + var KiT_TimeScales = kit.Enums.AddEnum(TimeScalesN, false, nil) + func CounterChg(en Env, scale TimeScales) bool + func CounterCur(en Env, scale TimeScales) int + func CounterPrv(en Env, scale TimeScales) int + func SchemaFromScales(ts []TimeScales) etable.Schema + type Ctr struct + Chg bool + Cur int + Max int + Prv int + Scale TimeScales + func (ct *Ctr) Incr() bool + func (ct *Ctr) Init() + func (ct *Ctr) Query() (cur, prv int, chg bool) + func (ct *Ctr) Same() + type Element struct + DimNames []string + Name string + Shape []int + func (ch *Element) FromColumn(sc *etable.Column) + type Elements []Element + func (ch *Elements) FromSchema(sc etable.Schema) + type Env interface + Action func(element string, input etensor.Tensor) + Actions func() Elements + Counter func(scale TimeScales) (cur, prv int, changed bool) + Counters func() []TimeScales + Desc func() string + Init func(run int) + Name func() string + State func(element string) etensor.Tensor + States func() Elements + Step func() bool + Validate func() error + type FixedTable struct + Dsc string + Epoch Ctr + Nm string + Order []int + PrvTrialName string + Run Ctr + Sequential bool + Table *etable.IdxView + Trial Ctr + TrialName string + func (ft *FixedTable) Action(element string, input etensor.Tensor) + func (ft *FixedTable) Actions() Elements + func (ft *FixedTable) Counter(scale TimeScales) (cur, prv int, chg bool) + func (ft *FixedTable) Counters() []TimeScales + func (ft *FixedTable) Desc() string + func (ft *FixedTable) Init(run int) + func (ft *FixedTable) Name() string + func (ft *FixedTable) Row() int + func (ft *FixedTable) SetTrialName() + func (ft *FixedTable) State(element string) etensor.Tensor + func (ft *FixedTable) States() Elements + func (ft *FixedTable) Step() bool + func (ft *FixedTable) Validate() error + type TimeScales int32 + const Block + const Episode + const Epoch + const Event + const Expt + const Run + const Scene + const Sequence + const TimeScalesN + const Trial + func (ev *TimeScales) UnmarshalJSON(b []byte) error + func (ev TimeScales) MarshalJSON() ([]byte, error) + func (i *TimeScales) FromString(s string) error + func (i TimeScales) String() string