Ignore:
Timestamp:
04/22/15 04:14:59 (9 years ago)
Author:
sz
Message:

Renamed some classes and functions to make their purpose more obvious:

All MessageHandlers? must now be given the explicit "Enable" argument if you want them to automatically become active. This makes side effects clearly visible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/genetics/f1/conv_f1.cpp

    r348 r372  
    55#include "conv_f1.h"
    66#include <common/nonstd_stl.h>
    7 #include <common/framsg.h>
     7#include <common/hmessage.h>
    88#include <frams/util/multirange.h>
    99#include <frams/util/multimap.h>
     
    6363                if ((n1<0) || (n2<0) || (n1>=neuro_f1_to_f0.size()) || (n2>=neuro_f1_to_f0.size()))
    6464                        {
    65                         if (final) FMprintf("GenoConvF1","addInput",FMLV_WARN,
     65                        if (final) Hprintf("GenoConvF1","addInput",HMLV_WARN,
    6666                                            "illegal neuron connection %d <- %d (ignored)",n1,n2);
    6767                        return 0;
     
    178178                else
    179179                        {
    180                         FramMessage("GenoConv_F1","grow","Illegal neuron position (ignored)",1);
     180                        Hmessage("GenoConv_F1","grow","Illegal neuron position (ignored)",1);
    181181                        g=skipNeuro(g+1);
    182182                        }
Note: See TracChangeset for help on using the changeset viewer.