Skip to content

Instantly share code, notes, and snippets.

@roundrobin
Created June 24, 2012 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roundrobin/2982723 to your computer and use it in GitHub Desktop.
Save roundrobin/2982723 to your computer and use it in GitHub Desktop.
just another inlet to tributary
var p1 = {x:0, y:0, b1:100, b2:100};
var p2 = {x:100, y:0};
var p3 = {x:0, y:100};
var p4 = {x:100, y:100};
var graph = [p1,p2,p3,p4];
var adjacentList =[
[0,1,0,0],
[0,0,1,0],
[0,0,0,1],
[0,0,0,0]
];
var topList = [1,0,0,0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment