Example #1
0
 def test_evolution():
     currentEpoch = Epoch(TEST_STARTING_EPOCH)
     last_epoch = TEST_ENDING_EPOCH
     i = 0
     while currentEpoch.ep < last_epoch:
         print 'Generating crowd evolution for: ', str(currentEpoch)
         Evolution.buildCrowdEvolutionGraph(currentEpoch)
         currentEpoch = currentEpoch.next()
Example #2
0
 def test_mcl():
     currentEpoch = Epoch(TEST_STARTING_EPOCH)
     last_epoch = TEST_ENDING_EPOCH
     while currentEpoch.ep < last_epoch:
         print 'Generating crowds for: ', str(currentEpoch)
         mcl = MCL(currentEpoch, I=[1.4])
         mcl.writeClusters()
         currentEpoch = currentEpoch.next()
Example #3
0
 def test_evolution():
     currentEpoch = Epoch(TEST_STARTING_EPOCH)
     last_epoch = TEST_ENDING_EPOCH
     i = 0
     while currentEpoch.ep < last_epoch:
         print 'Generating crowd evolution for: ', str(currentEpoch)
         Evolution.buildCrowdEvolutionGraph(currentEpoch)
         currentEpoch = currentEpoch.next()
Example #4
0
 def test_mcl():
     currentEpoch = Epoch(TEST_STARTING_EPOCH)
     last_epoch = TEST_ENDING_EPOCH
     while currentEpoch.ep < last_epoch:
         print 'Generating crowds for: ', str(currentEpoch)
         mcl = MCL(currentEpoch, I = [1.4])
         mcl.writeClusters()
         currentEpoch = currentEpoch.next()
Example #5
0
 def test_graphReader():
     currentEpoch = Epoch(TEST_STARTING_EPOCH)
     last_epoch = TEST_ENDING_EPOCH
     while currentEpoch.ep < last_epoch:
         print 'Creating graph for: ', str(currentEpoch)
         gr = GraphReader(currentEpoch, decayCoefficient = 1.0, writeGraph = True)
         gr.buildCurrentGraph()
         currentEpoch = currentEpoch.next()
Example #6
0
 def test_graphReader():
     currentEpoch = Epoch(TEST_STARTING_EPOCH)
     last_epoch = TEST_ENDING_EPOCH
     while currentEpoch.ep < last_epoch:
         print 'Creating graph for: ', str(currentEpoch)
         gr = GraphReader(currentEpoch,
                          decayCoefficient=1.0,
                          writeGraph=True)
         gr.buildCurrentGraph()
         currentEpoch = currentEpoch.next()