insert data into state (not finished yet
Description
Description
Details
Details
- Provenance
Maximilian Goetzinger Authored on May 16 2019, 12:28 PM goetzinger Pushed on May 16 2019, 12:28 PM - Parents
- R20:2868d094d859: just a bit
- Branches
- Unknown
- Tags
Event Timeline
Comment Actions
I guess you are planning to implement the match() and noMatch() fuzzy functions in this class, right? So in the State detector you would call them for each known state and then when StateDetector gets a new Sample you would push the new sample to the State that it matches best to, or creating a new State if no State fits?
/include/rosa/agent/State.hpp | ||
---|---|---|
28 | As I explained in my e-mail response, I don't think we need an output here. In my understanding, a State should just contain what's needed to store the samples (Histories) and the capability to compute whether a state belongs to it or not. Return value of the belongs-to-state checks will always be a confidence, so a float (or a double), no need for a template type IMHO. | |
35 |
shared_ptr<PartialFunction<DIN, float>> ConfidenceSimilarToSample; | |
60 | On it! | |
75 | Use DAB.full() here. | |
84 | As you never use the policy HistoryPolicy::SRWF, this will never be false. Place an assert here to make sure of it. |