There are two different implementations of the boundary constraint handling
mechanisms for pso.
One of them defines an enforce(...) interface and can be found in the
pso.iterationstrategies package while the other defines a
constrainLower(...) and constrainUpper(...) interafce and can be found in
pso.positionupdatestrategies.boundaryconstraintstrategies...
The former is built into the iteration strategy and provides a more
"elegant" solution (this is my opinion). I, thus, suggest that the
implementation of the latter be merged into it...
Regards,
Arnith
Gary Pampara
None
None
Public
|
Date: 2008-09-15 08:33 We'll need to investigate more. I'll paste some discussion on the devel |
|
Date: 2008-09-15 08:29 One of the "special cases" I can think about has to do with some strategies |
|
Date: 2008-09-15 08:17 2. A small change will allow the BoundedPositionUpdateStrategy to |
|
Date: 2008-09-15 07:39 I can understand the concern with the pre / post constraint argument to a |
|
Date: 2008-09-15 06:20 Some clarification: |
| Field | Old Value | Date | By |
|---|---|---|---|
| assigned_to | nobody | 2008-09-14 20:11 | gpampara |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use