-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (41 loc) · 2.41 KB
/
Makefile
File metadata and controls
46 lines (41 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Makefile
# Define the swift compiler
SWIFTC = swiftc
# Define the output binary name
OUTPUT = run
# Define source files for each model
TUMBLEWEED_SOURCES = Miscellaneous.swift Tumbleweed\ Model/*.swift Tumbleweed\ Model/Genetic\ Algorithm/*.swift
TUMBLEWEEDREDUX_SOURCES = Miscellaneous.swift Tumbleweed\ Model\ Redux/*.swift Tumbleweed\ Model\ Redux/Genetic\ Algorithm/*.swift
TUMBLEWEEDREDUX2_SOURCES = Miscellaneous.swift Tumbleweed\ Model\ Redux\ Dynamic\ Anchor/*.swift Tumbleweed\ Model\ Redux\ Dynamic\ Anchor/Genetic\ Algorithm/*.swift
SELFADAPTATION_SOURCES = Miscellaneous.swift Self\ Adaptation\ Model/*.swift Self\ Adaptation\ Model/Genetic\ Algorithm/*.swift
SELFADAPTATIONLSD_SOURCES = Miscellaneous.swift SelfAdaptationLSD/*.swift SelfAdaptationLSD/Genetic\ Algorithm/*.swift
NOCORRIDOR_SOURCES = Miscellaneous.swift No\ Corridor\ Model/*.swift No\ Corridor\ Model/Genetic\ Algorithm/*.swift
# Default target
.PHONY: help
help:
@echo "Usage: make <TumbleWeedModel | SelfAdaptationModel | SelfAdaptationLSD | NoCorridorModel>"
@echo " TumbleWeedRedux: is a reduced model that searches for optimal strictness, with former pareto fronts exploring and later exploiting."
@echo " TumbleWeedReduxDynamicAnchor: is a reduced model that searches for optimal strictness, with former pareto fronts exploring and later exploiting with dynamic anchor features for Dot Product Calculation."
@echo " TumbleWeedModel: is a model that searches for optimal strictness, with former pareto fronts exploring and later exploiting."
@echo " SelfAdaptationModel: is a model that searches for optimal strictness using normal random number generation."
@echo " SelfAdaptationLSD: is a model that searches for optimal strictness using LSD like random number generator."
@echo " NoCorridorModel: is a traditional complete random mutation model."
# Targets for each model
.PHONY: TumbleWeedModel
TumbleWeedModel:
$(SWIFTC) -o $(OUTPUT) -O $(TUMBLEWEED_SOURCES)
.PHONY: TumbleWeedRedux
TumbleWeedRedux:
$(SWIFTC) -o $(OUTPUT) -O $(TUMBLEWEEDREDUX_SOURCES)
.PHONY: SelfAdaptationModel
TumbleWeedReduxDynamicAnchor:
$(SWIFTC) -o $(OUTPUT) -O $(TUMBLEWEEDREDUX2_SOURCES)
.PHONY: SelfAdaptationModel
SelfAdaptationModel:
$(SWIFTC) -o $(OUTPUT) -O $(SELFADAPTATION_SOURCES)
.PHONY: SelfAdaptationLSD
SelfAdaptationLSD:
$(SWIFTC) -o $(OUTPUT) -O $(SELFADAPTATIONLSD_SOURCES)
.PHONY: NoCorridorModel
NoCorridorModel:
$(SWIFTC) -o $(OUTPUT) -O $(NOCORRIDOR_SOURCES)