In [1]:
%pylab inline
import numpy as np
from conway99 import *
import pickle
import random
Populating the interactive namespace from numpy and matplotlib
In [2]:
num_samples = 50
In [4]:
seed_set = pickle.load( open( "fullsearch-31.p", "rb" ) )
In [5]:
reps = [seed_set[randint(0, len(seed_set))] for k in range(num_samples)]
In [6]:
while len(reps[0]) < 99:
    print('\n\n****************************{}****************************'.format(len(reps[0])))
    sample = [reps[randint(0, len(reps) )] for k in range(min(num_samples,len(reps)))]
    reps = find_valid_supergraphs_greedy(sample, verbose=False)
    if len(reps) == 0:
        break
****************************31****************************
2020-05-07 16:50:57.270325: Starting with 50 seeds
2020-05-07 16:51:06.898584: 1183 valid graphs from templates
2020-05-07 16:51:07.137942: Reduced to 664 representatives


****************************32****************************
2020-05-07 16:51:07.138946: Starting with 50 seeds
2020-05-07 16:51:18.438705: 1141 valid graphs from templates
2020-05-07 16:51:18.691070: Reduced to 1081 representatives


****************************33****************************
2020-05-07 16:51:18.691070: Starting with 50 seeds
2020-05-07 16:51:30.729450: 1098 valid graphs from templates
2020-05-07 16:51:30.971804: Reduced to 1064 representatives


****************************34****************************
2020-05-07 16:51:30.971804: Starting with 50 seeds
2020-05-07 16:51:42.236228: 797 valid graphs from templates
2020-05-07 16:51:42.442427: Reduced to 765 representatives


****************************35****************************
2020-05-07 16:51:42.443424: Starting with 50 seeds
2020-05-07 16:51:53.833076: 628 valid graphs from templates
2020-05-07 16:51:53.988330: Reduced to 588 representatives


****************************36****************************
2020-05-07 16:51:53.989322: Starting with 50 seeds
2020-05-07 16:52:04.379378: 480 valid graphs from templates
2020-05-07 16:52:04.505080: Reduced to 469 representatives


****************************37****************************
2020-05-07 16:52:04.506085: Starting with 50 seeds
2020-05-07 16:52:13.429119: 330 valid graphs from templates
2020-05-07 16:52:13.518075: Reduced to 316 representatives


****************************38****************************
2020-05-07 16:52:13.544035: Starting with 50 seeds
2020-05-07 16:52:21.370105: 16 valid graphs from templates
2020-05-07 16:52:21.377081: Reduced to 16 representatives


****************************39****************************
2020-05-07 16:52:21.377081: Starting with 16 seeds
2020-05-07 17:00:23.742516: 29288 valid graphs from templates
2020-05-07 17:00:32.133882: Reduced to 14841 representatives


****************************40****************************
2020-05-07 17:00:32.148846: Starting with 50 seeds
2020-05-07 18:30:19.660841: 211005 valid graphs from templates
2020-05-07 18:31:30.043717: Reduced to 211005 representatives


****************************41****************************
2020-05-07 18:31:30.190324: Starting with 50 seeds
2020-05-07 20:04:30.506772: 149193 valid graphs from templates
2020-05-07 20:05:18.520412: Reduced to 149193 representatives


****************************42****************************
2020-05-07 20:05:20.642838: Starting with 50 seeds
2020-05-07 21:26:42.777524: 95416 valid graphs from templates
2020-05-07 21:27:14.829513: Reduced to 95416 representatives


****************************43****************************
2020-05-07 21:27:15.096745: Starting with 50 seeds
2020-05-07 22:18:39.627335: 39455 valid graphs from templates
2020-05-07 22:18:54.472270: Reduced to 39453 representatives


****************************44****************************
2020-05-07 22:18:54.641310: Starting with 50 seeds
2020-05-07 22:55:56.989055: 16436 valid graphs from templates
2020-05-07 22:56:02.854010: Reduced to 16434 representatives


****************************45****************************
2020-05-07 22:56:02.919052: Starting with 50 seeds
2020-05-07 23:11:40.843164: 3959 valid graphs from templates
2020-05-07 23:11:42.305031: Reduced to 3958 representatives


****************************46****************************
2020-05-07 23:11:42.336507: Starting with 50 seeds
2020-05-07 23:17:05.624428: 440 valid graphs from templates
2020-05-07 23:17:05.785505: Reduced to 428 representatives


****************************47****************************
2020-05-07 23:17:05.794802: Starting with 50 seeds
2020-05-07 23:18:06.342869: 0 valid graphs from templates
2020-05-07 23:18:06.342869: Reduced to 0 representatives
In [ ]: