Fix #148: Add State(Enum) to social_graph_snippets.py (#167)

pull/162/merge
cclauss 2018-07-15 02:01:57 +02:00 committed by Donne Martin
parent 9069993cc0
commit e116bd75fc
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,11 @@
# -*- coding: utf-8 -*-
from collections import deque
from enum import Enum
class State(Enum):
unvisited = 0
visited = 1
class Graph(object):