This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
class Graph: | |
def __init__(self): | |
self.nodes = set() | |
self.edges = defaultdict(list) | |
self.distances = {} | |
def add_node(self, value): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by zeronsix on 7/12/17. | |
// | |
#ifndef GREENHOUSE_GUI_ConfigMgr_H | |
#define GREENHOUSE_GUI_ConfigMgr_H | |
#include <string> | |
namespace gh { | |
enum OperationMode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC = gcc | |
CFLAGS = -Wall -std=c99 | |
LDFLAGS = -lSDL2 | |
SRC = $(wildcard *.c) | |
OBJ = $(notdir $(SRC:.c=.o)) | |
all: raycasting_test | |
raycasting_test: $(OBJ) |
OlderNewer