Closed jcastro-inf closed 8 years ago
The implementation of this feature would make too complicate to implement a listener.
To avodi replicate computation, implement the changes associated to the listener in a separate thread and cancel its execution if a new parameterChanged event happens before finishing the execution.
This should be possible to avoid that a change in two parameters or more on a recommender systems triggers two or more recommendationModel updates in the "--neighborhood-gui" interface.
For each setParameterValue, a parameterChanged event is triggered. If in one metod a bunch of parameters is set, only one parameterChanged event is triggered at the end of the parameter values changes.