Ignore:
Timestamp:
04/07/15 04:20:14 (7 years ago)
Author:
Maciej Komosinski
Message:

Each thread can use its own simulator's GenMan?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/preconfigured.h

    r286 r346  
    3030};
    3131
     32/** Initialization procedure for applications adding their own validators */
     33class PreconfiguredGenetics_NoValidators
     34{
     35  public:
     36DefaultGenoConvManager gcm;
     37
     38PreconfiguredGenetics_NoValidators()
     39        {
     40        gcm.addDefaultConverters(); //without converters, the application would only handle "format 0" genotypes
     41        Geno::useConverters(gcm);
     42        }
     43};
     44
    3245#endif
    3346
Note: See TracChangeset for help on using the changeset viewer.