Changed the signature of eoMon, eoBin and eoQuadOp to return a bool, without invalidating fitness. Added a set of invalidators to take over that job (see for instance eoSGA and eoSGATransform how this can transparantly used) Derived eoState from eoFunctorStore (for convenience, from a design perspective this may sound wrong) Added a wrap_op function that does the wrapping for you (see eoOpContainer how this made this functor exceedingly less hairy). Checked all the tests removed the eoGeneric*Op family (not needed anymore) and of course changed all the operators to reflect the change (and found a few that didn't invalidate the fitness, thus really pointing out the advantage of the current approach)
24 lines
834 B
Makefile
24 lines
834 B
Makefile
###############################################################################
|
|
#
|
|
# Makefile.am for app/gprop
|
|
#
|
|
###############################################################################
|
|
|
|
DEPS = $(top_builddir)/src/libeo.a $(top_builddir)/src/utils/libeoutils.a
|
|
|
|
###############################################################################
|
|
|
|
INCLUDES = -I$(top_builddir)/src
|
|
LDADDS = $(top_builddir)/src/libeo.a $(top_builddir)/src/utils/libeoutils.a
|
|
CXXFLAGS = -g
|
|
###############################################################################
|
|
|
|
bin_PROGRAMS = gprop
|
|
###############################################################################
|
|
|
|
gprop_SOURCES = gprop.cc
|
|
gprop_DEPENDENCIES = $(DEPS)
|
|
gprop_LDFLAGS = -lm
|
|
gprop_LDADD = $(LDADDS)
|
|
|
|
###############################################################################
|