Classes Of Decision - Gnorion/BizVR GitHub Wiki
Classes Of Decision
Decisions can be grouped generically according to the type of input and output. Inputs and outputs can be simple values (eg color=red, length=3.24), they can be objects with properties(eg toy.color=red, toy.length=3.24
- Value = function of value(s) example: price=getPrice(color,size,shape)
- Value = function of object(s) example: price=getToyPrice(toy)
- Value = function of Collection(s) example: total=getTotalPrice(TOYS)
- Object = function of values(s) example: toy=getToy(color,size,shape)
- Object = function of object(s) example toy=updatePrice(toy)
- Collection = function of collection(s) example: TOYS=updatePrices(TOYS)