| … | … | @@ -22,6 +22,8 @@ |
| 22 | 22 | #ifndef _OPENCOG_SIMPLE_CALLBACK_H |
| 23 | 23 | #define _OPENCOG_SIMPLE_CALLBACK_H |
| 24 | 24 | |
| 25 | #include <opencog/util/Counter.h> |
| 26 | |
| 25 | 27 | #include <opencog/generate/CollectStyle.h> |
| 26 | 28 | #include <opencog/generate/Dictionary.h> |
| 27 | 29 | #include <opencog/generate/GenerateCallback.h> |
| … | … | @@ -33,6 +35,9 @@ namespace opencog |
| 33 | 35 | * @{ |
| 34 | 36 | */ |
| 35 | 37 | |
| 38 | //! a map from handle to unsigned |
| 39 | typedef Counter<Handle, unsigned> HandleUCounter; |
| 40 | |
| 36 | 41 | /// Callback to provide sections (aka "puzzle pieces") to extend the |
| 37 | 42 | /// current assembly. The current implementation here is deterministic, |
| 38 | 43 | /// although otherwise arbitrary, when more than one choice is possible. |