You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Three possible values-ranges and their meanings are
the method Event.probability() returns a number which may have 3 different meanings - making this longish documentation necessary in the first place...
A two-part return value is needed indicating with the first part if
the event is currently not possible,
may occur with a given probability, or
has to occur with a given priority.
and with the second part the probability or priority.
This is probably not correct TS, but might illustrate the idea:
As documented here:
ich-kann-klima/src/events/EventsTypes.ts
Line 13 in 833ef85
Event.probability()
returns a number which may have 3 different meanings - making this longish documentation necessary in the first place...A two-part return value is needed indicating with the first part if
and with the second part the probability or priority.
This is probably not correct TS, but might illustrate the idea:
Some nice generator functions for easy usage in the events would be helpful.
While doing this, the probability shall be changed from
Ratio
(i.e. value between 0 and 1) toPercent
(0%..100%).The text was updated successfully, but these errors were encountered: