Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3995453
graphs_trees_depth.lp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 7, 9:37 AM
Size
226 B
Mime Type
text/plain
Expires
Thu, Jul 9, 9:37 AM (16 h, 3 m)
Engine
blob
Format
Raw Data
Handle
271605
Attached To
rXR Xreate
graphs_trees_depth.lp
View Options
graphs_tree_depth(X, 0) :- not graphs_tree_depends(X, _); graphs_node(X).
graphs_tree_depth(X, LEVEL):- LEVEL = #max{L+1, graphs_tree_depth(Y, L): graphs_tree_depth(Y, L), graphs_tree_depends(X, Y)}; graphs_node(X); LEVEL > 0.
Event Timeline
Log In to Comment