Implementacja tabu search dla TSP
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Makefile 397B

123456789101112131415161718192021222324
  1. CXXFLAGS = -O3 -Wall -std=c++11
  2. ifeq ($(OS),Windows_NT)
  3. detected_OS := Windows
  4. else
  5. detected_OS := $(shell uname)
  6. endif
  7. ifeq ($(detected_OS),Darwin)
  8. CXXFLAGS += -stdlib=libc++
  9. endif
  10. OBJS = pea2plus.o ArrayGraph.o Graph.o ListGraph.o Stopwatch.o
  11. LIBS = -pthread
  12. TARGET = pea2plus
  13. $(TARGET): $(OBJS)
  14. $(CXX) -o $(TARGET) $(OBJS) $(LIBS)
  15. all: $(TARGET)
  16. clean:
  17. rm -f $(OBJS) $(TARGET)