Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Issue 1908273003: Mojom frontend: An algorithm for detecting ill-founded nodes in a graph. (Closed)

Created:
4 years, 8 months ago by rudominer
Modified:
4 years, 7 months ago
Reviewers:
azani
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Mojom frontend: An algorithm for detecting ill-founded nodes in a graph. We add a utility containing an algorithm for detecting ill-founded nodes in a two-sorted directed graph. See the paper "Well-Founded Two-Sorted Directed Graphs" (https://goo.gl/ipxFKu) for background and detailed definitions. The proofs still need to be added. The intended use of this is to detect unavoidable cycles in the Mojom type graph for as described in https://github.com/domokit/mojo/issues/694 BUG=#694 R=azani@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/4b3447da56085b53e0c928da30268f5ad8d93262

Patch Set 1 #

Total comments: 10

Patch Set 2 : Responding to code review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1965 lines, -0 lines) Patch
M mojo/tools/data/gotests View 1 chunk +1 line, -0 lines 0 comments Download
M mojom/mojom_parser/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A mojom/mojom_parser/utils/wellfounded_graphs.go View 1 1 chunk +614 lines, -0 lines 0 comments Download
A mojom/mojom_parser/utils/wellfounded_graphs_test.go View 1 chunk +1349 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
rudominer
Hi alex, ptal.
4 years, 8 months ago (2016-04-22 16:07:58 UTC) #3
azani
https://codereview.chromium.org/1908273003/diff/1/mojom/mojom_parser/utils/wellfounded_graphs.go File mojom/mojom_parser/utils/wellfounded_graphs.go (right): https://codereview.chromium.org/1908273003/diff/1/mojom/mojom_parser/utils/wellfounded_graphs.go#newcode322 mojom/mojom_parser/utils/wellfounded_graphs.go:322: nextFoundationSet := MakeNodeSet() Alternatively, you could add a Pop() ...
4 years, 8 months ago (2016-04-22 18:37:15 UTC) #4
rudominer
ptal https://codereview.chromium.org/1908273003/diff/1/mojom/mojom_parser/utils/wellfounded_graphs.go File mojom/mojom_parser/utils/wellfounded_graphs.go (right): https://codereview.chromium.org/1908273003/diff/1/mojom/mojom_parser/utils/wellfounded_graphs.go#newcode322 mojom/mojom_parser/utils/wellfounded_graphs.go:322: nextFoundationSet := MakeNodeSet() On 2016/04/22 18:37:14, azani wrote: ...
4 years, 8 months ago (2016-04-23 01:22:30 UTC) #5
azani
lgtm
4 years, 7 months ago (2016-04-25 16:40:29 UTC) #6
rudominer
4 years, 7 months ago (2016-04-25 17:06:48 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4b3447da56085b53e0c928da30268f5ad8d93262 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698