Polymerization of skills. the binding of several skills into one skill!
this enables:
1 auto learnability: the object learns to optimize which skill will be active
2 usage of same triggers for a bundle of skills, engaging only with the active skill
3 bundling skills in categories
IO:
recommend a smoothie
melons and peaches
lame
melons and grapefruits
lame
recommend a smoothie
use oranges as a base than add strawberry and pineapple
lame
use pears as a base than add strawberry and pineapple
lame
carrot and grapefruits
lame
peaches and pears
lame
use melons as a base than add pineapple and strawberry
lame
use peaches as a base than add pineapple and strawberry
lame
apples and grapefruits
lame
apples and carrot
lame
use melons as a base than add dates and bananas
ok
this enables:
1 auto learnability: the object learns to optimize which skill will be active
2 usage of same triggers for a bundle of skills, engaging only with the active skill
3 bundling skills in categories
Code:
t:SkillBranch = SkillBranch(3)
t.addDefcon("lame")
t.addGoal("thanks")
t.addSkill(DiSmoothie0())
t.addSkill(DiSmoothie1())
app.chobit.addSkill(t)
IO:
recommend a smoothie
melons and peaches
lame
melons and grapefruits
lame
recommend a smoothie
use oranges as a base than add strawberry and pineapple
lame
use pears as a base than add strawberry and pineapple
lame
carrot and grapefruits
lame
peaches and pears
lame
use melons as a base than add pineapple and strawberry
lame
use peaches as a base than add pineapple and strawberry
lame
apples and grapefruits
lame
apples and carrot
lame
use melons as a base than add dates and bananas
ok