You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Graph generation: how many/which users have clinched each segment #196
This could be a high-priority project for me in the next week or so if it's not any harder than I'm thinking. I'd like my students to be able to use it very soon.
I'd like to enable more algorithms and variations on algorithms to use the graphs. One additional bit of data that could be very interesting to work with could be the number of users or better yet a set of users who have clinched the highway segment(s) represented by each edge. This could allow all kinds of new problems to be solved interesting academically, to TM project users, or hopefully both.
From a first quick look at this, it looks like it's not hard to remember the user list for each edge, as the edges are initially created from segments, segments have a list of who clinched them, and in almost all cases, a collapsed edge should have the same list of users who have clinched each original edge. So then when the graphs are being written, the extra information could be written with each edge entry. The simplest way would be to list, maybe comma-separated, the users, but that's a lot of extra text in the files. A better way might be to assign each user a number 0 to n-1. Then the clinched info in the graphs is anonymous unless you have the mapping of users to numbers. But then each number really just represents if the user with that number has clinched the segment/edge in question. One bit of information. This means that same info could be stored in a much more compact form: a hex number with n bits, so ceiling(n/4) hex digits, where each bit corresponds to whether a specific user has clinched that segment.
Not a big deal, AIUI now. A hidden vertex can become a visible one, as already done with VISIBLE_HIDDEN_COLOC or HIDDEN_JUNCTION cases.
Thankfully, cases of this happening in the real world should be relatively rare, and we won't be saddled with bloated & ugly graphs.
How do we do this efficiently? Spitballing...
Store a canonical HighwaySegment for each HighwayGraphEdgeInfo, the same one passed to its constructor. Simple Simon.
When first constructed, collapsed edges are simply a copy of the corresponding simple edges. For each HighwayGraphCollapsedEdgeInfo, we can store a canonical HighwaySegment, or a clinched_by set, whatever's clever. So far so good.
Compressing edges: When we find a hidden vertex with 2 incident collapsed edges, compare the edges' respective clinched_by sets. Sets of different size/length -> mismatch. If same size, we have a mismatch as soon we find a traveler in one set who's not in the other.
If mismatch, mark vertex as visible and continue without collapsing.
One bit of information. This means that same info could be stored in a much more compact form: a hex number with n bits, so ceiling(n/4) hex digits, where each bit corresponds to whether a specific user has clinched that segment.
0-9 + A-F = 16 bits. Ceiling(238/4) = 60 chars.
0-9 + A-V = 32 bits. Ceiling(238/5) = 48 chars. 12 B saved * 838089 lines = 10057068 B saved in tm-master.tmg.
0-9 + A-V + a-v + )-( etc. = 64 bits. Ceiling(238/6) = 40 chars. 20 B saved * 838089 lines = 16761780 B saved in tm-master.tmg.
On the downside:
The 2nd & even more so the 3rd options are less human readable, for anyone looking at the TMG code & trying to decipher it. Hex is simply more intuitive.
The 3rd option, depending on how it's implemented, could start to make things a little more computationally intensive.
A better way might be to assign each user a number 0 to n-1. Then the clinched info in the graphs is anonymous unless you have the mapping of users to numbers.
Should be easy to include. In a traditional TMG file, our number of lines is known, 2+v+e. Add one more line after all this simply listing the corresponding user IDs in order.
It makes sense to me to include the hex string before the shaping points' coords, as there are an indeterminate number of shaping points before end of line.
For example: 383842 383839 SH43 1596dee5feeef29cb1e4220eeb77425e791cf180b2d0445faeb5972236fb -39.322691 174.412524 -39.31532 174.455826 -39.294067 174.482262
Each character stores info for traveler n thru traveler n+3.
The first character stores traveler 0 thru traveler 3,
The second character stores traveler 4 thru traveler 7, etc.
For each character, the low-order bit stores traveler n, and the high bit traveler n+3.
We only have 238 travelers, so the final character stores travelers 236 & 237 in the lower bits, with the higher two bits set to zero.
Parsing the first one above, for example:
The first segment has more non-0 characters, and more travelers clinching it. This segment, connecting vertex 0 & vertex 2, represents MEX-QROO MEX180D YUC/QROO MEX180.
There's a 1 in the position storing travelers 68 - 71. Ones bit on, stores traveler 68, epzik8.
There's a 4 in the position storing travelers 80 - 83. Fours bit on, stores traveler 82, griffith.
There's a 2 in the position storing travelers 144 - 147. Twos bit on, stores traveler 145, ngrier.
There's a 2 in the position storing travelers 196 - 199. Twos bit on, stores traveler 197, sneezy.
There's a 1 in the position storing travelers 220 - 223. Ones bit on, stores traveler 220, ua747sp.
There's a diff in the character representing travelers 208-211. Twos bit stores traveler 209: terescoj.
Notes:
This involved changing HighwaySegment::clinched_by from a forward_list to an unordered_set, which resulted in a significant performance hit while Augmenting travelers for detected concurrent segments. Going back to a list would mean slightly more involved coding, and a potential performance hit when compressing edges. How much of a potential performance hit is an as-yet unanswered question.
The compression portion of graph setup still takes only 1.4s on BiggaTomato. Not sure what it took before, but... Not bad.
Subgraph generation still goes by blazingly fast. This when computing the clinchedby_code for each edge as it's written. I haven't checked on how fast it's going now, or how fast it was going before, but a possible speed enhancement would be to compute & store a clinchedby_code once for each HighwaySegment after Augmenting travelers for detected concurrent segments. This code can be retrieved (rather than recalculated) and written when its corresponding edge is written.
The bad news: I'm experiencing occasional crashes during multithreaded subgraph writing. I'll have to go back & see if this was a problem in the existing code, or newly introduced, and then see what needs fixing.
Worse news: Upon closer inspection, I see I'm getting non-deterministic hex codes. There's a bug... somewhere. Maybe in edge compression, maybe in calculating the codes themselves, maybe somewhere else...
Grumble. Hex codes are looking more deterministic, but I can tell the final character frequently gets mangled. With 238 list files, we should only have the ones bit or twos bit set here, and thus have nothing > 3. But I'm seeing lots of 6s
I'm not credited for NH NH121A HamRd FreRd, but I am credited for NH NH121A OdeRd HamRd...
Mumble. Edge compression, calculating codes, assigning traveler numbers... there's a lot of moving parts here...
std::string HighwaySegment::clinchedby_code(std::list<TravelerList*> *traveler_lists)
{ std::string code;
std::vector<unsignedchar> clinch_vector(ceil(traveler_lists->size()/4)*4, 0);
for (TravelerList* t : clinched_by)
clinch_vector[t->traveler_num] = 1;
for (unsignedshort t = 0; t < traveler_lists->size(); t += 4)
{ unsignedchar nibble = 0;
nibble |= clinch_vector[t];
nibble |= clinch_vector[t+1]*2;
nibble |= clinch_vector[t+2]*4;
nibble |= clinch_vector[t+3]*8;
if (nibble < 10) nibble += '0';
else nibble += 55;
code.push_back(nibble);
}
return code;
}
->
std::string HighwaySegment::clinchedby_code(std::list<TravelerList*> *traveler_lists)
{ std::string code;
std::vector<unsignedchar> clinch_vector(ceil(traveler_lists->size()/4)*4, 0);
for (TravelerList* t : clinched_by)
clinch_vector.at(t->traveler_num) = 1;
for (unsignedshort t = 0; t < traveler_lists->size(); t += 4)
{ unsignedchar nibble = 0;
nibble |= clinch_vector.at(t);
nibble |= clinch_vector.at(t+1)*2;
nibble |= clinch_vector.at(t+2)*4;
nibble |= clinch_vector.at(t+3)*8;
if (nibble < 10) nibble += '0';
else nibble += 55;
code.push_back(nibble);
}
return code;
}
...and now I can see stuff breaking:
[83.2] Writing master TM collapsed graph file, tm-master.tmg.
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 236) >= this->size() (which is 236)
OK, now I'm getting somewhere...
Oddly, in the same session, we have processed 238 traveler list files....
Wow, thanks @yakra for jumping on this! It would be really great to get a preliminary set of graphs, even if not perfect, generated this week so I could share the files and file format with my students who might want to work with this data for an upcoming project.
{ // build by collapsing two existing edges around a common
// hidden vertex waypoint, whose information is given in
// vertex
written = 0;
// we know there are exactly 2 incident edges, as we
// checked for that, and we will replace these two
// with the single edge we are constructing here
HGEdge *edge1 = vertex->incident_c_edges.front();
HGEdge *edge2 = vertex->incident_c_edges.back();
Cue the "One cannot simply" meme.
We'll need separate construction processes for collapsed and traveled edges. When creating a new traveled edge, we need to look at vertex->incident_t_edges instead, because incident collapsed edges & incident traveled edges can differ.
I don't believe this bug is responsible for the full set of symptoms I was seeing; I think it should only result in garbage graph data. Still needs to be fixed though.
How to most efficiently do this will require a bit of thought, for C++ and Python alike.
Meanwhile, I've been working on the Python implementation.
Taking a more staged, step-by-step approach.
Several class & variable names changed, in preparation for the eventual full implementation.
Simple & collapsed edges combined into a single HGEdge class.
The simple edge constructor (with a few modifications) replaces the initial collapsed edge constructor that copied over the data from the corresponding simple edge.
Nothing is broken so far... TMK ;)
All graphs have the correct number of vertices and edges in the header.
I have yet to inspect graphs in the HDX.
Implementation of the traveled graphs has not begun yet. Gotta make sure the changes leading up to it don't break anything first.
These have exactly two incident edges, whose sets of clinched_by travelers are not identical.
(HighwayData @ a113955992c373c22e7d5e053b4c26912fe0ee97)
(UserData @ bab03f1477df35fcbe6c2684423b0cf967a3e6e6)
route @ waypoint
segment 1
cl. by
only on segment 1
segment 2
cl. by
only on segment 2
ak.ak002 @ +SuzAve
AK AK2 HagAve +SuzAve
6
bhemphill
AK AK2 +SuzAve +X235384
5
ca.i605 @ +10A
CA I-605 10 +10A
37
johninkingwood
CA I-605 +10A 11
36
co.co145 @ +X05
CO CO145 ManAve +X05
10
CO CO145 +X05 CR578
11
oscar
ct.ct012 @ +GunRd
CT CT12 CT184 +GunRd
17
froggie
CT CT12 +GunRd CryLakRd
16
eng.a0057 @ +X07
ENG A57 +X06 +X07
0
ENG A57 +X07 +X08
1
si404
eng.a0551 @ +X02
ENG A551 A554_E +X02
0
ENG A551 +X02 A553
1
si404
eng.a3051 @ +X01
ENG A3051 A334 +X01
2
si404
ENG A3051 +X01 SwaLn
1
ky.ky2373 @ +End
KY KY2373 RigRd +End
2
KY KY2373 +End KY3076
3
ohroadscholar
mi.us023 @ +MI108
MI US23 HisMillCrkSP +MI108
14
MI US23 +MI108 I-75(338)
16
afarina bhemphill
nh.nh120 @ +x4plex
NH US4 NH120_N +NH120
16
terescoj
NH US4 +NH120 NH120_S
15
nj.i080 @ +47
NJ I-80 47A +47
83
jayhawkco mr_matt_k
NJ I-80 +47 47B
81
nj.i676 @ +5A
NJ I-676 5 +5A
69
NJ I-676 +5A 5B
71
justjake rlee
nl.nl510 @ +X442854
NL NL510 +X797607 +X442854
1
oscar
NL NL510 +X442854 +X721066
0
nl.nl510 @ +X721066
NL NL510 +X442854 +X721066
0
NL NL510 +X721066 +X614767
1
oscar
sc.i077 @ +9
SC I-77 9A +9
67
rlee
SC I-77 +9 9B
66
svk.d001 @ +1A
SVK E58 1(D1) +1A(D1)
10
cinx
SVK E58 +1A(D1) 4(D1)
9
tn.us011 @ +I-40(380)
TN US11 MonRd +I-40(380)
13
Ugnaught2
TN US11 +I-40(380) BucDr
13
jonfmorse
wa.wa020 @ +x05
WA WA20 MainSt_Cou +x05
15
chaddean
WA WA20 +x05 LibRd
15
mapcat
wa.wa542 @ +x110
WA WA542 +x108 +x110
8
terescoj
WA WA542 +x110 +x114
7
yt.yt010 @ +DolVarCrk
YT YT10 +X195719 +DolVarCrk
1
oscar
YT YT10 +DolVarCrk +X553466
0
I'll give these a look over, and for the ones in my regions, see about either unhiding them or collapsing into visible points.
Successfully (I think) split up the creation of the 3 (simple/collapsed/traveled) vertex/edge sets.
tm-master-traveled.tmg has 20 more vertices & edges than tm-master-collapsed.tmg.
The 20 extra vertices are the ones listed in the previous comment, per a DIFF of just the vertex TMG lines.
I didn't check the differences in the edges, as that's not so quickly & easily inspected. But the fact that we have 20 more checks out. Presuming this is OK.
traveler_num and hex codes are not yet implemented.
Hex codes are in place. The first couple I checked out look OK, but doing a little more QA is still a good idea.
Afterwards...
a bit of code cleanup
time trials
potential speed improvements
Once the Python changes get merged into master (or I suppose even before), I'll start the C++ implementation over, mirroring the changes commit-by-commit.
Time trials on BiggaTomato:
Graph generation altogether takes ~ 48-50% more time.
Subgraph generation takes ~ 54-57% more time.
Area graphs, already fairly slow on Python, take ~5% more time.
Other subgraphs take between 111% more (continents) & 180% more (system graphs).
Writing tm-master-traveled.tmg takes ~7.6% more time than writing tm-master-simple.tmg & tm-master.tmg combined.
Some of this is due to the simple fact of writing a new file for each trio of graphs. Some of this is due to generating all the hex codes.
Creating edges started out at 17.9s in a7a3b3d. Getting rid of the separate simple edge class & simplifying initial edge construction (15c7bd6) got us down to 11.1s. With the introduction of the new set of traveled edges, we're back up to 16.0s.
Compressing collapsed edges: 2.1s -> 3.4s.
Potential speed improvements:
Subgraph generation still goes by blazingly fast. This when computing the clinchedby_code for each edge as it's written. I haven't checked on how fast it's going now, or how fast it was going before, but a possible speed enhancement would be to compute & store a clinchedby_code once for each HighwaySegment ... This code can be retrieved (rather than recalculated) and written when its corresponding edge is written.
This conflicts with #199. We can have one enhancement or the other, but not both.
I'll still code this anyway, in a separate branch, because I'm curious to see the results.
Storing & retrieving clinchedby_codes yields roughly 10% time savings, or 18.2s on noreaster.
Another way of looking at it is that full TMG 2.0 traveled implementation added 66s of processing time vice 15c7bd6, so we've managed to trim back > 27% of that. But still... outside this context, 18.2s savings altogether is a bit underwhelming.
Edit: Add in > 28 MB of RAM for the strings, and I'm less than wild about this.
Permanent links, for when I delete the branch: 4728328 yakra@769b7eb
I'll have a crack at #199, and see what filesize savings and processing time penalty it yields. Edit:#199 takes only 4.7s (3%) more on BiggaTomato. Let's go that route...
The C++ redo is going well.
Just squished an obscure bug that resulted in traveled edges with missing intermediate points.
Same stage of development as siteupdate.py was in #196 (comment):
* Raw collapsed or traveled TMGs are not directly DIFFable, because vertices, edges and intermediate points are not ordered deterministically. This required an intermediate step, a separate program to sort & reorder TMGs into a "canonical" file before DIFFing.
But about maybe 6% of the time, the program will crash while writing tm-master-traveled.tmg, with nothing output to the shell to tell me what's happening. This will require some marathon debugging.
Edit: In multi-threaded operation, The traveler_lists container could get corrupted, due to being written without a mutex. Fixed.
Right now, running a shell script that keeps executing siteupdate in a loop until it crashes. SFSG with 2 successful runs. I'll leave it running while at work; if all goes well I'll get ~50 runs out of it.
After that, a bunch of extra debug output will need to be removed or commented out.
Oh, yes. Home from work to find the shell script still chugging away, with >56 complete runs, > 11:20:49.5 wall time, with no crashes.
Dead-end branch, to be deleted.
Temporary log file used to make sure I was on the right track during Python development.
It can be automatically merged back to into yakra/tmg2_Python, but won't work without small modifications, as the is_hidden variable no longer exists.
tmg2_ Python
HidCl PtsLog
commit
fbd4d60 Merge pull request #71 from yakra/tmg2_Python
Activity
jteresco commentedon Mar 12, 2019
I should bring in @yakra's recent site update changes first and go from that code.
jteresco commentedon Mar 12, 2019
This would be a new version number in the header of TMG files, and a new graph type.
I'd only do this for collapsed graphs. I am rarely using the simple format graphs anymore.
yakra commentedon Mar 12, 2019
#67 (comment)
@yakra wrote:
@jteresco wrote:
@yakra wrote:
Thankfully, cases of this happening in the real world should be relatively rare, and we won't be saddled with bloated & ugly graphs.
How do we do this efficiently? Spitballing...
HighwaySegmentfor eachHighwayGraphEdgeInfo, the same one passed to its constructor. Simple Simon.HighwayGraphCollapsedEdgeInfo, we can store a canonicalHighwaySegment, or aclinched_byset, whatever's clever. So far so good.clinched_bysets. Sets of different size/length -> mismatch. If same size, we have a mismatch as soon we find a traveler in one set who's not in the other.yakra commentedon Mar 12, 2019
)-(etc. = 64 bits. Ceiling(238/6) = 40 chars. 20 B saved * 838089 lines = 16761780 B saved in tm-master.tmg.On the downside:
Should be easy to include. In a traditional TMG file, our number of lines is known, 2+v+e. Add one more line after all this simply listing the corresponding user IDs in order.
It makes sense to me to include the hex string before the shaping points' coords, as there are an indeterminate number of shaping points before end of line.
For example:
383842 383839 SH43 1596dee5feeef29cb1e4220eeb77425e791cf180b2d0445faeb5972236fb -39.322691 174.412524 -39.31532 174.455826 -39.294067 174.482262yakra commentedon Mar 12, 2019
OK, I've got a draft implemented in C++.
MEX-QROO-region.tmg:
To break down the hex string:
Parsing the first one above, for example:
0characters, and more travelers clinching it. This segment, connecting vertex 0 & vertex 2, representsMEX-QROO MEX180D YUC/QROO MEX180.1in the position storing travelers 68 - 71. Ones bit on, stores traveler 68, epzik8.4in the position storing travelers 80 - 83. Fours bit on, stores traveler 82, griffith.2in the position storing travelers 144 - 147. Twos bit on, stores traveler 145, ngrier.2in the position storing travelers 196 - 199. Twos bit on, stores traveler 197, sneezy.1in the position storing travelers 220 - 223. Ones bit on, stores traveler 220, ua747sp.NH-region.tmg:
There's a diff in the character representing travelers 208-211. Twos bit stores traveler 209: terescoj.
Notes:
HighwaySegment::clinched_byfrom a forward_list to an unordered_set, which resulted in a significant performance hit while Augmenting travelers for detected concurrent segments. Going back to a list would mean slightly more involved coding, and a potential performance hit when compressing edges. How much of a potential performance hit is an as-yet unanswered question.clinchedby_codefor each edge as it's written. I haven't checked on how fast it's going now, or how fast it was going before, but a possible speed enhancement would be to compute & store aclinchedby_codeonce for eachHighwaySegmentafter Augmenting travelers for detected concurrent segments. This code can be retrieved (rather than recalculated) and written when its corresponding edge is written.yakra commentedon Mar 12, 2019
This was due to a bug in the reworked
HighwaySegment::add_clinched_by. Fixed.yakra commentedon Mar 13, 2019
Grumble. Hex codes are looking more deterministic, but I can tell the final character frequently gets mangled. With 238 list files, we should only have the ones bit or twos bit set here, and thus have nothing > 3. But I'm seeing lots of
6sI'm not credited for
NH NH121A HamRd FreRd, but I am credited forNH NH121A OdeRd HamRd...Mumble. Edge compression, calculating codes, assigning traveler numbers... there's a lot of moving parts here...
Buggy code at: https://github.com/yakra/DataProcessing/tree/tmg2_cpp
Diffs from the current master C++: https://github.com/yakra/DataProcessing/compare/tmg2_cpp
yakra commentedon Mar 13, 2019
->
...and now I can see stuff breaking:
OK, now I'm getting somewhere...
Oddly, in the same session, we have
processed 238 traveler list files....yakra commentedon Mar 13, 2019
traveler_lists->size()->double(traveler_lists->size())jteresco commentedon Mar 13, 2019
Wow, thanks @yakra for jumping on this! It would be really great to get a preliminary set of graphs, even if not perfect, generated this week so I could share the files and file format with my students who might want to work with this data for an upcoming project.
yakra commentedon Mar 13, 2019
Just committed that last bugfix; graphs are looking good so far.
Next up, uploading the latest code to noreaster, compiling, and producing some graphs there.
yakra commentedon Mar 13, 2019
preliminary graphs: http://yakra.teresco.org/tmtools_demos/tmg_2.0a/
source code: https://github.com/yakra/DataProcessing/tree/tmg2_cpp/siteupdate/cplusplus
16 remaining items
yakra commentedon Mar 24, 2019
DataProcessing/siteupdate/cplusplus/classes/GraphGeneration/HGCollapsedEdge.cpp
Lines 38 to 47 in 727c000
Cue the "One cannot simply" meme.
We'll need separate construction processes for collapsed and traveled edges. When creating a new traveled edge, we need to look at
vertex->incident_t_edgesinstead, because incident collapsed edges & incident traveled edges can differ.I don't believe this bug is responsible for the full set of symptoms I was seeing; I think it should only result in garbage graph data. Still needs to be fixed though.
How to most efficiently do this will require a bit of thought, for C++ and Python alike.
Meanwhile, I've been working on the Python implementation.
Taking a more staged, step-by-step approach.
HGEdgeclass.yakra commentedon Mar 25, 2019
Hidden vertices not collapsed in traveled graphs
These have exactly two incident edges, whose sets of
clinched_bytravelers are not identical.(HighwayData @ a113955992c373c22e7d5e053b4c26912fe0ee97)
(UserData @ bab03f1477df35fcbe6c2684423b0cf967a3e6e6)
@
waypoint
by
segment 1
by
segment 2
@
+SuzAve
@
+10A
@
+X05
@
+GunRd
@
+X07
@
+X02
@
+X01
@
+End
@
+MI108
@
+x4plex
@
+47
@
+5A
@
+X442854
@
+X721066
@
+9
@
+1A
@
+I-40(380)
@
+x05
@
+x110
@
+DolVarCrk
I'll give these a look over, and for the ones in my regions, see about either unhiding them or collapsing into visible points.
yakra commentedon Mar 27, 2019
Python progress report:
traveler_numand hex codes are not yet implemented.yakra commentedon Mar 27, 2019
subgraphs &
traveler_numimplemented.I'm finding creating the hex codes a bit more awkward in Python. Giving my latest attempt a try.
yakra commentedon Mar 27, 2019
Hex codes are in place. The first couple I checked out look OK, but doing a little more QA is still a good idea.
Afterwards...
Once the Python changes get merged into master (or I suppose even before), I'll start the C++ implementation over, mirroring the changes commit-by-commit.
yakra commentedon Mar 29, 2019
Did more QA. Looks good.
Time trials on BiggaTomato:
Graph generation altogether takes ~ 48-50% more time.
Potential speed improvements:
This conflicts with #199. We can have one enhancement or the other, but not both.
I'll still code this anyway, in a separate branch, because I'm curious to see the results.
yakra commentedon Mar 29, 2019
Storing & retrieving
clinchedby_codes yields roughly 10% time savings, or 18.2s on noreaster.Another way of looking at it is that full TMG 2.0 traveled implementation added 66s of processing time vice 15c7bd6, so we've managed to trim back > 27% of that. But still... outside this context, 18.2s savings altogether is a bit underwhelming.
Edit: Add in > 28 MB of RAM for the strings, and I'm less than wild about this.
Permanent links, for when I delete the branch:
4728328
yakra@769b7eb
I'll have a crack at #199, and see what filesize savings and processing time penalty it yields.
Edit: #199 takes only 4.7s (3%) more on BiggaTomato. Let's go that route...
yakra commentedon Apr 3, 2019
The C++ redo is going well.
Just squished an obscure bug that resulted in traveled edges with missing intermediate points.
Same stage of development as siteupdate.py was in #196 (comment):
traveler_num, hex codes or subgraphs yet.* Raw collapsed or traveled TMGs are not directly DIFFable, because vertices, edges and intermediate points are not ordered deterministically. This required an intermediate step, a separate program to sort & reorder TMGs into a "canonical" file before DIFFing.
yakra commentedon Apr 4, 2019
C++:
traveler_num& hex codes implemented.traveler_listscontainer could get corrupted, due to being written without a mutex. Fixed.yakra commentedon Apr 24, 2019
HidClPtsLog
Dead-end branch, to be deleted.
Temporary log file used to make sure I was on the right track during Python development.
It can be automatically merged back to into
yakra/tmg2_Python, but won't work without small modifications, as theis_hiddenvariable no longer exists.Python
PtsLog
Rather than have this as its own discrete loop, it could be integrated into edge compression.
How much extra time does it take up?
Added traveler counts to graph info. #196
C++: Added traveler counts to graph info. #196
yakra commentedon Jun 20, 2019
I might have left this open till both #201 & #209 got merged, IIRC.
@jteresco, OK to close this?
jteresco commentedon Jun 20, 2019
Yes, I think so. Closing.