2 // Written and (C) by Francois Fleuret
3 // Contact <francois.fleuret@idiap.ch> for comments & bug reports
21 virtual void init(int np);
22 virtual void update_map() = 0;
25 // A MapConcatener groups several maps and make them appear as a
28 class MapConcatener : public Map {
29 int _nb_max_maps, _nb_maps;
32 MapConcatener(int nb_max_maps);
34 void load(istream &is);
35 void save(ostream &os);
36 void add_map(Map *map);
41 // A MapExpander is a map whose parameters are functions of the
42 // parameter of an input map
44 class MapExpander : public Map {
46 scalar_t *_unit_weights, *_state_switch;
49 MapExpander(int nb_units);
51 void load(istream &is);
52 void save(ostream &os);
53 void set_input(Map *input);