Skip to content

Commit

Permalink
Executable for generating an initial population of neural nets
Browse files Browse the repository at this point in the history
  • Loading branch information
ujh committed Dec 25, 2023
1 parent 33e268e commit aacd594
Show file tree
Hide file tree
Showing 5 changed files with 608 additions and 0 deletions.
2 changes: 2 additions & 0 deletions initial-population/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.ann
initial-population
21 changes: 21 additions & 0 deletions initial-population/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
CFLAGS = -Wall -Wshadow -O3 -g -march=native
LDLIBS = -lm

OBJS = genann.o

default: initial-population

%.dep : %.c
$(CC) -M $< > $@
include $(OBJS:.o=.dep)

initial-population: $(OBJS) main.o
$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)

%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<

clean:
$(RM) *.o *.ann
$(RM) initial-population

Loading

0 comments on commit aacd594

Please sign in to comment.