agungprasetyosakti / ahastar

Automatically exported from code.google.com/p/ahastar
0 stars 0 forks source link

Templated NodeFactory and EdgeFactory implementations #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Most implementations of INodeFactory and IEdgeFactory are almost
identical -- except for the types they operate on (eg. NodeFactory and
MacroNodeFactory to name a couple)

It would be nicer if, instead of creating a new factory every time a new
node/edge type is introduced, we could simply use a templated implementation.

More specialised factory types can simply extend INodeFactory (or the
proposed templated implementation) as required.

Original issue reported on code.google.com by dhara...@gmail.com on 3 Apr 2010 at 10:45