Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Bringing Logic Programming to Perl

by hv (Parson)
on Jan 23, 2005 at 03:01 UTC ( #424324=note: print w/replies, xml ) Need Help??

in reply to Re^2: Bringing Logic Programming to Perl
in thread Bringing Logic Programming to Perl

Oops, I meant XPath rather than Expat.


  • Comment on Re^3: Bringing Logic Programming to Perl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://424324]
[Discipulus]: what i want is to compute them
[oiskuu]: You want to draw the path? $iter = combinations( $TOP_HEIGHT .. $NODE_HEIGHT, $pos); then get the path from the iter, level change at depth x, for(..) $pos += $level_change; something like that
[oiskuu]: yergh, <code> tags... [$top_height .. $node_height]
[Eily]: Discipulus by demonstrate I suppose you mean simulate with perl?
[Eily]: the demonstration itself is fairly easy. The number of paths on a node is the sum of the numbers of paths to the two nodes above (or one node above on the edges of the triangle)

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2018-03-19 11:11 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (239 votes). Check out past polls.