- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTestCore.py
More file actions
Latest commit
21 lines (13 loc) · 568 Bytes
/
Copy pathTestCore.py
File metadata and controls
21 lines (13 loc) · 568 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
fromGraph.TopicNodeimportTopicNode
fromGraph.TopicimportTopic
fromGraph.GraphManagerimportGraphManager
fromBSHelpers.SourceElementimportSourceElement
importtimeit, sys, codecs, pickle, os, psutil
fromSearch.SearchUtilsimportSearchUtils
fromFileWriters.GraphWriterimportGraphWriter
if__name__=='__main__':
startTime=timeit.default_timer()
graphManager=GraphManager()
graphManager.p_beginSearch(TopicNode(Topic('Mathematics')), 2, True)
elapsedTime=timeit.default_timer() -startTime
val="{0:.2f}".format((elapsedTime/60.0))