levilime / ContextProject-Danshal

Team Danshal's ContextProject Goal Repo
GNU General Public License v3.0
0 stars 0 forks source link

Refactored functions so that only useful ones are inserted #73

Closed NickTUD closed 8 years ago

NickTUD commented 8 years ago

As a GOAL programmer, I don't want to insert beliefs which I don't need to increase efficiency.

On the current master code is used which inserts all functions, but since we only build parks en refugeecenters, we only need those 2 specific functions.

I checked it and only inserts our needed functions but it tries to insert them twice for some reason which I still don't understand. It's not that great of an efficiency loss and I can't seem to fix it, so I hope it's not a problem.

[tygronagent] 'function(azc,650,['SOCIAL'])' has been inserted into the belief base 'this'. [tygronagent] 'function(stadspark,101,['PARK'])' has been inserted into the belief base 'this'. [tygronagent] 'function(azc,650,['SOCIAL'])' has been inserted into the belief base 'this'. [tygronagent] 'function(stadspark,101,['PARK'])' has been inserted into the belief base 'this'.

levilime commented 8 years ago

meaningful refactor:+1:

hmyeh commented 8 years ago

Looks good :+1: