| Stig Brautaset 2004-05-25, 10:34 am |
| Hi,
I'm currently writing a couple of modules that I want to release on
CPAN. One is an object oriented generic framework for alternate move
games. I want to to name this Games::AlternateMove unless somebody
tells me otherwise. Naming the other one is giving me problems though.
The second module is extending the first by adding a method that
implements the alphabeta search algorithm. I don't want to implement
this as a part of the first module since alphabeta search is only
applicable in a subset of the first called two-player, zero-sum games
with perfect information.
So, I'm having trouble naming the second module. I've thought of:
Games::AlphaBeta
Games::AlternateMove::AlphaBeta
The latter seems more accurate since it indicates the inheritance
structure, but it's really, really verbose. My reading of the module
list section 2.5 is is backing me up here by advising against more
than two-level names for modules. So, I'm leaning toward the first
option.
However, my naming woes are complicated further by the alphabeta
search algorithm being one of the classical AI algorithms, so it can
be argued that it should be named AI::AlphaBeta instead. What do you
guys think?
Help... :)
Stig
--
brautaset.org
|