Changeset 359


Ignore:
Timestamp:
04/18/15 16:42:59 (9 years ago)
Author:
Maciej Komosinski
Message:

Display error/warning messages by default

Location:
cpp/frams/_demos
Files:
2 edited

Legend:

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

    r348 r359  
    66#include <frams/util/sstringutils.h>
    77#include <frams/genetics/preconfigured.h>
     8#include <frams/errmgr/stdouterr.h>
    89
    910/**
     
    1718{
    1819PreconfiguredGenetics genetics;
     20StdoutErrorHandler stdouterr; //comment this object out to mute error/warning messages
    1921
    2022if (argc<=1)
  • cpp/frams/_demos/simil_test.cpp

    r352 r359  
    2222
    2323    Parameters:
    24       <genotypesFile> name of a file with genotypes (only f1 format)
     24      <genotypesFile> name of a file with genotypes
    2525      <w_dP> weight of the difference in the number of parts
    2626      <w_dDEG> weight of the difference in degrees of matched parts
    2727      <w_dNEU> weight of the difference in neurons of matched parts
    28       <w_dGEO> weight of the distance of matched parts
     28      <w_dGEO> weight of the distance between matched parts
    2929
    3030    Switches:
     
    4141int main(int argc, char *argv[])
    4242{
    43     //StdoutErrorHandler err; //?TODO
     43    StdoutErrorHandler stdouterr; //comment this object out to mute error/warning messages
    4444    typedef double *pDouble;
    4545    int iCurrParam = 0; // index of the currently processed parameter
Note: See TracChangeset for help on using the changeset viewer.