Class name refactoring¶
Kernel¶
- GModel -> GModel
- GStand -> GScene
- GPlot -> Plot (this is clearly a division in cells, maybe we can find better than plot)
- GTCStand -> TreeList - contains addTree, removeTree... for subclasses of Tree)
- GSimpleStand -> SimpleScene - is the superclass for the fish modules "stand level description")
- GTree -> Tree
- GMaddTree -> SpatializedTree
- GMaidTree -> NumberableTree
- GSettings -> Settings
- GNeighbourhoodMask -> NeighbourhoodMask
- GCell -> Cell
- GIdCard -> IdCard
- Scenario -> Project (Project would maybe be better)
- GRelay -> capsis.kernel.Relay
- GPilot -> capsis.kernel.AbstractPilot
- MaddMethodProvider -> SpatializedMethodProvider
- MaidMethodProvider -> NumberableMethodProvider
Class to move from util to kernel
- Node
- NTree
- Pilotable
- ProjectIdCard
- Runner
- Species
- Starter
Model refactoring¶
- IdCard must not be subclassed in each model (it is only a static instance) however it is used by the project manager
- Method provider is not necessary if persitence is reliable -> model should directly provide the method (seems ok when persistence is not a problem any more, lots of minor changes will result in extensions)
- Clarify relation between plot and stand