Skip to content
Snippets Groups Projects
Commit b1058793 authored by Radek Hušek's avatar Radek Hušek
Browse files

graph_tools.definitions -> graph_tools.base

parent 39f10629
No related branches found
No related tags found
No related merge requests found
from graph_tools.definitions import *
from graph_tools.base import *
from graph_tools.parameters import *
from sage.all import *
from collections import namedtuple
......
......@@ -4,7 +4,7 @@ from sys import argv
to_test = [
"utils",
"definitions",
"base",
"sequences",
"parameters",
"misc",
......
from .definitions import *
from .base import *
from .sequences import *
from .parameters import *
from .misc import *
......
File moved
def _init_():
global sun, count_cdc_naive, graph_to_gadget
from .definitions import Gadget, CUBIC_VERTEX
from .base import Gadget, CUBIC_VERTEX
from .parameters import CircuitDoubleCover
......
......@@ -12,7 +12,7 @@ def _init_():
split_on_none, prod, select, powerset, \
UnionFind
from .definitions import \
from .base import \
Boundary, \
SimpleParameterBase, GraphParameterBase
......@@ -230,7 +230,7 @@ def _init_():
def join_edges(self, b, e1, e2):
"""
>>> from .definitions import Boundary as B
>>> from .base import Boundary as B
>>> def test(*args): return list(CircuitDoubleCover.join_edges(*args))
>>> test(B(((1,2), (2,3), (1,3), None), 1), 1, 2)
[]
......
......@@ -4,7 +4,7 @@ def _init_():
Necklace, Flower, \
GeneralizedPetersen, Petersen
from .definitions import \
from .base import \
Boundary, \
Gadget, FakeGadget, CUBIC_VERTEX, FREE_EDGE, \
GraphSequence, ParametrizedGraphSequence
......
from graph_tools.definitions import *
from graph_tools.base import *
from graph_tools.parameters import CircuitDoubleCover, VertexCount
from graph_tools.misc import sun
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment