Ignore:
Timestamp:
02/26/14 20:21:22 (10 years ago)
Author:
sz
Message:

Genetics reorganization (affects ALL applications!):

  • Converters/Validators? are now configured/initialized in a more verbose but also less confusing way
  • At the same time, the PreconfiguredGenetics? object will help you avoid the increased complexity by creating the ready-to-use environment that is sufficient in 99% of cases (see the demos)
  • Format F genetics updated (work in progress)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/full_props.cpp

    r121 r145  
    99
    1010#include <frams/model/model.h>
    11 #include <frams/genetics/defgenoconv.h>
    1211#include <frams/errmgr/stdouterr.h>
     12#include <frams/genetics/preconfigured.h>
    1313
    1414/**
     
    4747*/
    4848
    49 //optional:
    50 DefaultGenoConvManager gcm; //without this object the application would only handle "format 0" genotypes
    51 
    5249int main(int argc,char*argv[])
    5350{
    5451StdioFILE::setStdio();//setup VirtFILE::Vstdin/out/err
    5552StdoutErrorHandler err(ErrorHandlerBase::DontBlock,VirtFILE::Vstderr); //errors -> stderr, don't interfere with stdout
     53
     54PreconfiguredGenetics genetics;
    5655
    5756bool reverse=false;
Note: See TracChangeset for help on using the changeset viewer.