RiSE4fun Code for HeapDbgAll the programs analyzed on RiSE4fun for HeapDbgen-USrise4fun &copy; 2013 Microsoft CorporationSat, 18 May 2013 17:03:41 -0700http://rise4fun.com//Images/Rise.gifRiSE4fun Code for HeapDbgXSLLhttp://rise4fun.com/HeapDbg/XSLLHeapDbg/XSLL<pre>NB7bVq &#60;a href&#61;&#34;http&#58;&#47;&#47;etslbxtdhwgo.com&#47;&#34;&#62;etslbxtdhwgo&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;bimrnptmskqe.com&#47;&#93;bimrnptmskqe&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;uztozlqulfbb.com&#47;&#93;uztozlqulfbb&#91;&#47;link&#93;, http&#58;&#47;&#47;dhmypbnqwlqj.com&#47;</pre>2013-05-18T17:03:41-07:00VQhttp://rise4fun.com/HeapDbg/VQHeapDbg/VQ<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Data&#91;&#93; res &#61; new Data&#91;10&#93;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;if&#40;i &#37; 2 &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;res&#91;i&#93; &#61; res&#91;i - 1&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return res&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;</pre>2013-05-18T17:03:41-07:00a4http://rise4fun.com/HeapDbg/a4HeapDbg/a4<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class Y&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next, Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new X&#40;&#41; &#125;&#59;&#10; res.Next.Prev &#61; null&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00K3http://rise4fun.com/HeapDbg/K3HeapDbg/K3<pre>&#47;&#47; Create an tree containing nested arrays of speheres&#10;&#47;&#47; Everything is nested&#47;unaliased but they all share a special color object&#10;using System&#59;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#10; var rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#10; return new &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#10; &#125;&#10;&#125;&#10;class STreeNode &#123;&#10; public STreeNode left&#59; &#10; public STreeNode right&#59; &#10; public Sphere&#91;&#93; data&#59;&#10;&#10; public static STreeNode MakeTree&#40;int k, Color c&#41; &#123;&#10; if &#40;k &#61;&#61; 0&#41;&#10; return null&#59;&#10; else &#123;&#10; var sph &#61; new Sphere&#91;5&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; sph.Length&#59; &#43;&#43;i&#41; &#123;&#10; var cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#10; sph&#91;i&#93; &#61; new Sphere &#123; center &#61; cp, color &#61; c, radius &#61; 1F &#125;&#59;&#10; &#125;&#10; return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#10; &#125;&#10; &#125;&#10;&#125;&#10;class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#10;</pre>2013-05-18T17:03:41-07:00Xshttp://rise4fun.com/HeapDbg/XsHeapDbg/Xs<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10;int j&#61;10&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Xr9http://rise4fun.com/HeapDbg/Xr9HeapDbg/Xr9<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public ListNode Tail&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode tail &#61; new ListNode &#123; Next&#61;null, Tail&#61;null, Data&#61;new Data&#40;&#41; &#125;&#59;&#10; tail.Tail&#61;tail&#59;&#10; ListNode res &#61; tail&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res &#61; new ListNode &#123; Next &#61; res, Tail &#61; tail, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00XRhttp://rise4fun.com/HeapDbg/XRHeapDbg/XR<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new object&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; i &#37; 2 &#61;&#61; 0 &#63; null &#58; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:000http://rise4fun.com/HeapDbg/0HeapDbg/0<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; Center &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;, Color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00LNzhttp://rise4fun.com/HeapDbg/LNzHeapDbg/LNz<pre>&#47;&#47; Creates a Tree of Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#60;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; return new &#123; root &#61; TreeNode.MakeTree&#40;3&#41; &#125;&#59;&#13;&#10; &#125;time&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00Z6http://rise4fun.com/HeapDbg/Z6HeapDbg/Z6<pre>public class maxarray&#10;&#123;&#10; int LENGTH &#61; 100&#59;&#10; int max&#59;&#10; int&#91;&#93; vec &#61; new int&#91;LENGTH&#93;&#59;&#10;&#10; &#47;&#42;&#64; &#10; &#64; ensures 0 &#60;&#61; max &#60; LENGTH &#38;&#38;&#10; &#64; &#40;&#92;forall int a&#59; 0 &#60;&#61; a &#60; LENGTH &#61;&#61;&#62; vec&#91;a&#93; &#60;&#61; vec&#91;max&#93;&#41;&#59;&#10; &#64;&#42;&#47;&#10; private void maxarray1&#40;&#41; &#123;&#10; int i &#61; 1&#59;&#10; max &#61; 0&#59;&#10; &#10; &#47;&#42;&#64; loop_invariant &#10; &#64; 1 &#60;&#61; i &#60;&#61; LENGTH &#38;&#38; 0 &#60;&#61; max &#60; i &#38;&#38; &#10; &#64; &#40;&#92;forall int a&#59; 0 &#60;&#61; a &#60; i &#61;&#61;&#62; vec&#91;a&#93; &#60;&#61; vec&#91;max&#93;&#41;&#59;&#10; &#64;&#42;&#47;&#10; while &#40;i &#60; LENGTH&#41; &#123;&#10; if &#40;vec&#91;i&#93; &#62; vec&#91;max&#93;&#41; &#123; max &#61; i&#59; &#125;&#10; i &#61; i &#43;1&#59;&#10; &#125;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00xpYhttp://rise4fun.com/HeapDbg/xpYHeapDbg/xpY<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class Y&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new X&#40;&#41; &#125;&#59;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Y&#40;&#41; &#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00X5http://rise4fun.com/HeapDbg/X5HeapDbg/X5<pre>&#47;&#47; Creates a Tree of Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#60;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; return new &#123; root &#61; TreeNode.MakeTree&#40;3&#41; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00j8http://rise4fun.com/HeapDbg/j8HeapDbg/j8<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;int, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;int, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;i, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00bGThttp://rise4fun.com/HeapDbg/bGTHeapDbg/bGT<pre>&#10;&#47;&#42; -&#42;- Last-Edit&#58; Fri Jan 29 11&#58;13&#58;27 2006 by Tarak S. Goradia&#59; -&#42;- &#42;&#47;&#10;&#47;&#42; &#36;Log&#58; tcas_v23_523.c,v &#36;&#10; &#42; Revision 1.2 2006&#47;03&#47;12 19&#58;29&#58;50 foster&#10; &#42; Correct logic bug which didn&#39;t allow output of 2 - hf&#10; &#42; &#42;&#47;&#10;&#47;&#47;&#35;include &#60;assert.h&#62;&#10;&#10;&#35;define OLEV 600&#9;&#9;&#47;&#42; in feet&#47;minute &#42;&#47;&#10;&#35;define MAXALTDIFF 600&#9;&#9;&#47;&#42; max altitude difference in feet &#42;&#47;&#10;&#35;define MINSEP 300 &#47;&#42; min separation in feet &#42;&#47;&#10;&#35;define NOZCROSS 100&#9;&#9;&#47;&#42; in feet &#42;&#47;&#10;&#9;&#9;&#9;&#9;&#47;&#42; variables &#42;&#47;&#10;&#10;typedef int bool&#59;&#10;&#10;int Cur_Vertical_Sep&#59;&#10;bool High_Confidence&#59;&#10;bool Two_of_Three_Reports_Valid&#59;&#10;&#10;int Own_Tracked_Alt&#59;&#10;int Own_Tracked_Alt_Rate&#59;&#10;int Other_Tracked_Alt&#59;&#10;&#10;int Alt_Layer_Value&#59;&#9;&#9;&#47;&#42; 0, 1, 2, 3 &#42;&#47;&#10;int Positive_RA_Alt_Thresh&#91;4&#93;&#59;&#10;&#10;int Up_Separation&#59;&#10;int Down_Separation&#59;&#10;&#10;&#9;&#9;&#9;&#9;&#47;&#42; state variables &#42;&#47;&#10;int Other_RAC&#59;&#9;&#9;&#9;&#47;&#42; NO_INTENT, DO_NOT_CLIMB, DO_NOT_DESCEND &#42;&#47;&#10;&#35;define NO_INTENT 0&#10;&#35;define DO_NOT_CLIMB 1&#10;&#35;define DO_NOT_DESCEND 2&#10;&#10;int Other_Capability&#59;&#9;&#9;&#47;&#42; TCAS_TA, OTHER &#42;&#47;&#10;&#35;define TCAS_TA 1&#10;&#35;define OTHER 2&#10;&#10;int Climb_Inhibit&#59;&#9;&#9;&#47;&#42; true&#47;false &#42;&#47;&#10;&#10;&#35;define UNRESOLVED 0&#10;&#35;define UPWARD_RA 1&#10;&#35;define DOWNWARD_RA 2&#10;&#10;int ALIM&#40;&#41;&#59;&#10;int Inhibit_Biased_Climb&#40;&#41;&#59;&#10;bool Non_Crossing_Biased_Climb&#40;&#41;&#59;&#10;bool Non_Crossing_Biased_Descend&#40;&#41;&#59;&#10;bool Own_Below_Threat&#40;&#41;&#59;&#10;bool Own_Above_Threat&#40;&#41;&#59;&#10;int alt_sep_test&#40;&#41;&#59;&#10;void initialize&#40;&#41;&#10;&#123;&#10; Positive_RA_Alt_Thresh&#91;0&#93; &#61; 400&#59;&#10; Positive_RA_Alt_Thresh&#91;1&#93; &#61; 500&#59;&#10; Positive_RA_Alt_Thresh&#91;2&#93; &#61; 640&#59;&#10; Positive_RA_Alt_Thresh&#91;3&#93; &#61; 740&#59;&#10;&#125;&#10;&#10;int ALIM &#40;&#41;&#10;&#123;&#10; return Positive_RA_Alt_Thresh&#91;Alt_Layer_Value&#93;&#59;&#10;&#125;&#10;&#10;int Inhibit_Biased_Climb &#40;&#41;&#10;&#123;&#10; return &#40;Climb_Inhibit &#63; Up_Separation &#43; NOZCROSS &#58; Up_Separation&#41;&#59;&#10;&#125;&#10;&#10;bool Non_Crossing_Biased_Climb&#40;&#41;&#10;&#123;&#10; int upward_preferred&#59;&#10; int upward_crossing_situation&#59;&#10; bool result&#59;&#10;&#10; upward_preferred &#61; Inhibit_Biased_Climb&#40;&#41; &#62; Down_Separation&#59;&#10; if &#40;upward_preferred&#41;&#10; &#123;&#10;&#9;result &#61; &#33;&#40;Own_Below_Threat&#40;&#41;&#41; &#124;&#124; &#40;&#40;Own_Below_Threat&#40;&#41;&#41; &#38;&#38; &#40;&#33;&#40;Down_Separation &#62;&#61; ALIM&#40;&#41;&#41;&#41;&#41;&#59;&#10; &#125;&#10; else&#10; &#123;&#9;&#10;&#9;result &#61; Own_Above_Threat&#40;&#41; &#38;&#38; &#40;Cur_Vertical_Sep &#62;&#61; MINSEP&#41; &#38;&#38; &#40;Up_Separation &#62;&#61; ALIM&#40;&#41;&#41;&#59;&#10; &#125;&#10; return result&#59;&#10;&#125;&#10;&#10;bool Non_Crossing_Biased_Descend&#40;&#41;&#10;&#123;&#10; int upward_preferred&#59;&#10; int upward_crossing_situation&#59;&#10; bool result&#59;&#10;&#10; upward_preferred &#61; &#40;Up_Separation &#43; NOZCROSS&#41; &#62; Down_Separation&#59;&#10; if &#40;upward_preferred&#41;&#10; &#123;&#10;&#9;result &#61; Own_Below_Threat&#40;&#41; &#38;&#38; &#40;Cur_Vertical_Sep &#62;&#61; MINSEP&#41; &#38;&#38; &#40;Down_Separation &#62;&#61; ALIM&#40;&#41;&#41;&#59;&#10; &#125;&#10; else&#10; &#123;&#10;&#9;result &#61; &#33;&#40;Own_Above_Threat&#40;&#41;&#41; &#124;&#124; &#40;&#40;Own_Above_Threat&#40;&#41;&#41; &#38;&#38; &#40;Up_Separation &#62;&#61; ALIM&#40;&#41;&#41;&#41;&#59;&#10; &#125;&#10; return result&#59;&#10;&#125;&#10;&#10;bool Own_Below_Threat&#40;&#41;&#10;&#123;&#10; return &#40;Own_Tracked_Alt &#60; Other_Tracked_Alt&#41;&#59;&#10;&#125;&#10;&#10;bool Own_Above_Threat&#40;&#41;&#10;&#123;&#10; return &#40;Other_Tracked_Alt &#60; Own_Tracked_Alt&#41;&#59;&#10;&#125;&#10;&#10;int alt_sep_test&#40;&#41;&#10;&#123;&#10; bool enabled, tcas_equipped, intent_not_known&#59;&#10; bool need_upward_RA, need_downward_RA&#59;&#10; int alt_sep&#59;&#10;&#10; enabled &#61; High_Confidence &#38;&#38; &#40;Own_Tracked_Alt_Rate &#60;&#61; OLEV&#41; &#38;&#38; &#40;Cur_Vertical_Sep &#62; MAXALTDIFF&#41;&#59;&#10; tcas_equipped &#61; Other_Capability &#61;&#61; TCAS_TA&#59;&#10; intent_not_known &#61; Two_of_Three_Reports_Valid &#38;&#38; Other_RAC &#61;&#61; NO_INTENT&#59;&#10; &#10; alt_sep &#61; UNRESOLVED&#59;&#10; &#10; if &#40;enabled &#38;&#38; &#40;&#40;tcas_equipped &#38;&#38; intent_not_known&#41; &#124;&#124; &#33;tcas_equipped&#41;&#41;&#10; &#123;&#10;&#9;need_upward_RA &#61; Non_Crossing_Biased_Climb&#40;&#41; &#38;&#38; Own_Below_Threat&#40;&#41;&#59;&#10;&#9;need_downward_RA &#61; Non_Crossing_Biased_Descend&#40;&#41; &#38;&#38; Own_Above_Threat&#40;&#41;&#59;&#10;&#9;if &#40;need_upward_RA &#38;&#38; need_downward_RA&#41; &#123;&#10; &#47;&#42; unreachable&#58; requires Own_Below_Threat and Own_Above_Threat&#10; to both be true - that requires Own_Tracked_Alt &#60; Other_Tracked_Alt&#10; and Other_Tracked_Alt &#60; Own_Tracked_Alt, which isn&#39;t possible &#42;&#47;&#10;&#9; alt_sep &#61; UNRESOLVED&#59;&#10;&#9;&#125; else if &#40;need_upward_RA&#41;&#10;&#9; alt_sep &#61; UPWARD_RA&#59;&#10;&#9;else if &#40;need_downward_RA&#41;&#10;&#9; alt_sep &#61; DOWNWARD_RA&#59;&#10;&#9;else&#10;&#9; alt_sep &#61; UNRESOLVED&#59;&#10; &#125;&#10; &#10; return alt_sep&#59;&#10;&#125;&#10;&#10;main&#40;int argc, char&#42;argv&#91;&#93;&#41;&#10;&#123;&#10;&#10; initialize&#40;&#41;&#59;&#10; Cur_Vertical_Sep &#61; 860&#59; &#10; High_Confidence &#61; 1&#59; &#10; Two_of_Three_Reports_Valid &#61; 1&#59; &#10; Own_Tracked_Alt &#61; 618&#59; &#10; Own_Tracked_Alt_Rate &#61; 329&#59; &#10; Other_Tracked_Alt &#61; 574&#59; &#10; Alt_Layer_Value &#61; 4&#59; &#10; Up_Separation &#61; 893&#59; &#10; Down_Separation &#61; 914&#59; &#10; Other_RAC &#61; 0&#59; &#10; Other_Capability &#61; 2&#59; &#10; Climb_Inhibit &#61; 0&#59; &#10; assert&#40;alt_sep_test&#40;&#41;&#61;&#61;0&#41;&#59;&#10;&#125;&#10;&#10;</pre>2013-05-18T17:03:41-07:00xPbhttp://rise4fun.com/HeapDbg/xPbHeapDbg/xPb<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c &#61; new Const&#40;&#41;&#59;&#10; c.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c&#59;&#10; &#10; &#47;&#47;Add exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; ad1 , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ghttp://rise4fun.com/HeapDbg/gHeapDbg/g<pre>using System&#59;&#13;&#10;&#13;&#10;class ListNode &#123; public ListNode next&#59; public Data data&#59;&#125;&#13;&#10;class Data &#123;public int val&#59;&#125;&#13;&#10;public class Program&#13;&#10;&#123;&#13;&#10; public static object Run&#40;&#41;&#13;&#10; &#123;&#13;&#10;ListNode res &#61; null&#59;&#13;&#10;&#13;&#10;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;res &#61; new ListNode &#123;next &#61; res, data &#61; new Data&#40;&#41;&#125;&#59;&#13;&#10;&#13;&#10;return res&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00jrhttp://rise4fun.com/HeapDbg/jrHeapDbg/jr<pre>using System&#59;&#10;using System.Collections.Generic&#59;&#10;using System.Linq&#59;&#10;using System.Text&#59;&#10;using System.Threading&#59;&#10;namespace ThreadTest1&#10;&#123;&#10; &#10; class Program&#10; &#123;&#10; &#10; static void Main&#40;string&#91;&#93; args&#41;&#10; &#123;&#10; &#47;&#47; Console.WriteLine&#40;&#34;&#91;&#123;0&#125;&#93; Main Start....&#34;, Thread.CurrentThread.ManagedThreadId&#41;&#59;&#10; &#47;&#47;for &#40;int n &#61; 0&#59; n &#60;&#61; 10&#59; n&#43;&#43;&#41;&#10; &#47;&#47;&#123;&#10; &#47;&#47; Thread t &#61; new Thread&#40;add1&#41;&#59;&#10; &#47;&#47; Thread.Sleep&#40;1000&#41;&#59;&#10; &#47;&#47; t.Start&#40;&#41;&#59;&#10; &#10; &#10; &#47;&#47;&#125;&#10; &#47;&#47; ThreadPool.QueueUserWorkItem&#40;add1&#41;&#59;&#10; &#47;&#47; add&#40;10, 20&#41;&#59;&#10; test obj &#61; new test&#40;&#41;&#59;&#10; obj.mul&#40;&#41;&#59;&#10; &#47;&#47;Console.WriteLine&#40;&#34;&#91;&#123;0&#125;&#93; Main Done....&#34;, Thread.CurrentThread.ManagedThreadId&#41;&#59;&#10; &#10; Console.ReadLine&#40;&#41;&#59;&#10; &#125;&#10;&#10; static void add&#40;int a, int b&#41;&#10; &#123;&#10; &#10; int val &#61; a &#43; b&#59; &#10; Console.WriteLine&#40;&#34;&#91;&#123;0&#125;&#93; Main Done....&#34;, Thread.CurrentThread.ManagedThreadId&#41;&#59;&#10; Thread t &#61; new Thread&#40;add1&#41;&#59;&#10; t.Start&#40;&#41;&#59;&#10; &#125;&#10; &#10; static void add1&#40;object i&#41;&#10; &#123;&#10;&#10; Thread.Sleep&#40;1000&#41;&#59; &#10; Console.WriteLine&#40;&#34;&#91;&#123;0&#125;&#93; Add1 Done....&#34;, Thread.CurrentThread.ManagedThreadId&#41;&#59;&#10; Console.WriteLine&#40;&#34;&#91;&#123;0&#125;&#93; Add1 Done....&#34;, Thread.CurrentThread.IsThreadPoolThread&#41;&#59;&#10; &#125;&#10;&#10;&#10; &#125;&#10; &#10; public class test&#10; &#123;&#10;&#10; static Random rand &#61; new Random&#40;&#41;&#59;&#10; public void mul&#40;&#41;&#10; &#123;&#10; &#10; Thread t &#61; new Thread &#40;WriteY&#41;&#59; &#47;&#47; Kick off a new thread&#10; &#10; t.Start&#40;&#41;&#59; &#47;&#47; running WriteY&#40;&#41;&#10; Thread.Sleep&#40;rand.Next&#40;2000, 3000&#41;&#41;&#59;&#10; &#47;&#47; Simultaneously, do something on the main thread.&#10; for &#40;int i &#61; 0&#59; i &#60; 1000&#59; i&#43;&#43;&#41; Console.Write &#40;&#34;x&#34;&#41;&#59;&#10; Console.WriteLine&#40;&#34;&#91;&#123;0&#125;&#93; mul Done....&#34;, Thread.CurrentThread.ManagedThreadId&#41;&#59;&#10; &#125;&#10; &#10; static void WriteY&#40;&#41;&#10; &#123;&#10; &#47;&#47;Thread.Sleep&#40;rand.Next&#40;2000, 3000&#41;&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 1000&#59; i&#43;&#43;&#41; Console.Write &#40;&#34;y&#34;&#41;&#59;&#10; Console.WriteLine&#40;&#34;&#91;&#123;0&#125;&#93; write Done....&#34;, Thread.CurrentThread.ManagedThreadId&#41;&#59;&#10; &#125;&#10;&#10; &#125;&#10;&#10;&#10;&#10; &#10; &#125;&#10; &#10;&#10;&#10;&#10;</pre>2013-05-18T17:03:41-07:00O1http://rise4fun.com/HeapDbg/O1HeapDbg/O1<pre> &#47;&#42;&#10; &#42; Fichero&#58; EnviarMail.java&#10; &#42; Autor&#58; Chuidiang&#10; &#42; Fecha&#58; 5&#47;04&#47;07 18&#58;14&#10; &#42;&#47;&#10;package mail&#59;&#10;&#10;import java.io.ObjectInputStream.GetField&#59;&#10;import java.util.ArrayList&#59;&#10;import java.util.Collection&#59;&#10;import java.util.HashMap&#59;&#10;import java.util.Iterator&#59;&#10;import java.util.Properties&#59;&#10;&#10;import javax.mail.Message&#59;&#10;import javax.mail.Session&#59;&#10;import javax.mail.Transport&#59;&#10;import javax.mail.internet.InternetAddress&#59;&#10;import javax.mail.internet.MimeMessage&#59;&#10;&#10;&#10;&#47;&#42;&#42;&#10; &#42; Ejemplo de envio de correo simple con JavaMail&#10; &#42;&#10; &#42; &#64;author Chuidiang&#10; &#42;&#10; &#42;&#47;&#10;public class EnviarMail&#10;&#123;&#10; &#47;&#42;&#42;&#10; &#42; main de prueba&#10; &#42; &#64;param args Se ignoran.&#10; &#42;&#47;&#10; &#64;SuppressWarnings&#40;&#34;unchecked&#34;&#41;&#10;&#9;public static void main&#40;String&#91;&#93; args&#41;&#10; &#123;&#10; &#9;ArrayList elements &#61; new ArrayList&#40;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;rodrigo&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;joaquin&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;cristobal&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;agustin&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;micaela&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;gabriel&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ana_julia&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ricardo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ireneo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;pablo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid&#34;,&#34;fire&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid_rain&#34;,&#34;acid&#34;,&#34;rain&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ai&#34;,&#34;computer&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alcohol&#34;,&#34;water&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alien&#34;,&#34;space&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aluminum&#34;,&#34;metal&#34;,&#34;electricity&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ape&#34;,&#34;human&#34;,&#34;wool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquaman&#34;,&#34;fish&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquarium&#34;,&#34;glass&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;arable_land&#34;,&#34;soil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ash&#34;,&#34;fire&#34;,&#34;dust&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ashtray&#34;,&#34;ash&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;baby&#34;,&#34;human&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bacterium&#34;,&#34;swamp&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bank&#34;,&#34;money&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beach&#34;,&#34;water&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beast&#34;,&#34;soil&#34;,&#34;lizard&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beer&#34;,&#34;alcohol&#34;,&#34;wheat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bird&#34;,&#34;air&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;blood&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boat&#34;,&#34;water&#34;,&#34;wood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boiler&#34;,&#34;metal&#34;,&#34;steam&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomb&#34;,&#34;metal&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomber&#34;,&#34;plane&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;book&#34;,&#34;paper&#34;,&#34;feather&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bread&#34;,&#34;fire&#34;,&#34;dough&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick&#34;,&#34;clay&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick_house&#34;,&#34;concrete&#34;,&#34;brick&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bug&#34;,&#34;soil&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bulb&#34;,&#34;electricity&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bungalow&#34;,&#34;hut&#34;,&#34;beach&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;business&#34;,&#34;money&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;butterfly&#34;,&#34;air&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cart&#34;,&#34;wood&#34;,&#34;wheel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;caviar&#34;,&#34;fish&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cd&#34;,&#34;laser&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cellphone&#34;,&#34;computer&#34;,&#34;radiowave&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cement&#34;,&#34;clay&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ceramics&#34;,&#34;clay&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cigarette&#34;,&#34;paper&#34;,&#34;tobacco&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clay&#34;,&#34;swamp&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cleaner&#34;,&#34;clobber&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clobber&#34;,&#34;fabric&#34;,&#34;patient&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clone&#34;,&#34;scientist&#34;,&#34;livestock&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clothing&#34;,&#34;fabric&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cloud&#34;,&#34;steam&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coal&#34;,&#34;tree&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cockleshell&#34;,&#34;stone&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coffee&#34;,&#34;seeds&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;columbus&#34;,&#34;sailing_vessel&#34;,&#34;hero&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;computer&#34;,&#34;book&#34;,&#34;tv&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;concrete&#34;,&#34;water&#34;,&#34;cement&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;corpse&#34;,&#34;poison&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cyborg&#34;,&#34;human&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;developer&#34;,&#34;sex&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dinosaur&#34;,&#34;soil&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;doctor&#34;,&#34;human&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dough&#34;,&#34;water&#34;,&#34;flour&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dragon&#34;,&#34;flying_dinosaur&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;drinker&#34;,&#34;alcohol&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dust&#34;,&#34;air&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;egg&#34;,&#34;stone&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;electricity&#34;,&#34;scientist&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;elixer&#34;,&#34;stone&#34;,&#34;philosopher&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;energy&#34;,&#34;air&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fabric&#34;,&#34;wool&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fart&#34;,&#34;peas&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;feather&#34;,&#34;bird&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fern&#34;,&#34;swamp&#34;,&#34;moss&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire_golem&#34;,&#34;fire&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;firearms&#34;,&#34;weapon&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fish&#34;,&#34;bacterium&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flour&#34;,&#34;wheat&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flying_dinosaur&#34;,&#34;dinosaur&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_egg&#34;,&#34;fire&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_meat&#34;,&#34;fire&#34;,&#34;meat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;frog&#34;,&#34;fish&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ghoul&#34;,&#34;zombie&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;glass&#34;,&#34;sand&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gold&#34;,&#34;elixer&#34;,&#34;any_other_element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;golem&#34;,&#34;clay&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;grass&#34;,&#34;moss&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gunpowder&#34;,&#34;saltpeter&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hacker&#34;,&#34;pirate&#34;,&#34;internet&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hero&#34;,&#34;warrior&#34;,&#34;dragon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hospital&#34;,&#34;brick_house&#34;,&#34;doctor&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;housemd&#34;,&#34;doctor&#34;,&#34;vicodin&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;human&#34;,&#34;golem&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hunter&#34;,&#34;weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hut&#34;,&#34;stone&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;internet&#34;,&#34;computer&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;japanese&#34;,&#34;human&#34;,&#34;rice&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;kamasutra&#34;,&#34;book&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;katana&#34;,&#34;japanese&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lake&#34;,&#34;water&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lamp&#34;,&#34;glass&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;laser&#34;,&#34;radiowave&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava&#34;,&#34;soil&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava_golem&#34;,&#34;life&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;life&#34;,&#34;energy&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lighthouse&#34;,&#34;brick_house&#34;,&#34;lamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;limestone&#34;,&#34;stone&#34;,&#34;cockleshell&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;livestock&#34;,&#34;human&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lizard&#34;,&#34;snake&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manga&#34;,&#34;book&#34;,&#34;japanese&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manure&#34;,&#34;livestock&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meat&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;medicine&#34;,&#34;shaman&#34;,&#34;poison&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mercury&#34;,&#34;fire&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal&#34;,&#34;stone&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal_golem&#34;,&#34;life&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meteorite&#34;,&#34;space&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;milk&#34;,&#34;livestock&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;money&#34;,&#34;gold&#34;,&#34;paper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;moss&#34;,&#34;swamp&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;murderer&#34;,&#34;poison_weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mushroom&#34;,&#34;soil&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;new_york&#34;,&#34;usa&#34;,&#34;skyscraper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ninja&#34;,&#34;samuri&#34;,&#34;poison_weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;nuclearbomb&#34;,&#34;scientist&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ocean&#34;,&#34;sea&#34;,&#34;sea&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;oil&#34;,&#34;water&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;paper&#34;,&#34;tool&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;patient&#34;,&#34;bacterium&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;peas&#34;,&#34;arable_land&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;petrol&#34;,&#34;oil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phantom&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;philosopher&#34;,&#34;grass&#34;,&#34;scientist&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phoenix&#34;,&#34;fire&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pig-iron&#34;,&#34;metal&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pilot&#34;,&#34;plane&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pirate&#34;,&#34;murderer&#34;,&#34;sailing_vessel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plane&#34;,&#34;bird&#34;,&#34;aluminum&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plankton&#34;,&#34;water&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison&#34;,&#34;tool&#34;,&#34;scorpion&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison_weapon&#34;,&#34;poison&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pub&#34;,&#34;beer&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiation&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiowave&#34;,&#34;metal&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rain&#34;,&#34;cloud&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;reed&#34;,&#34;swamp&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rice&#34;,&#34;arable_land&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;robot&#34;,&#34;japanese&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rocket&#34;,&#34;plane&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rust&#34;,&#34;water&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_boat&#34;,&#34;boat&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_vessel&#34;,&#34;wooden_ship&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;salt&#34;,&#34;metal&#34;,&#34;acid&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;saltpeter&#34;,&#34;manure&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;samurai&#34;,&#34;japanese&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sand&#34;,&#34;water&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scientist&#34;,&#34;doctor&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scorpion&#34;,&#34;bug&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sea&#34;,&#34;lake&#34;,&#34;salt&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seaweed&#34;,&#34;life&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seeds&#34;,&#34;life&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sex&#34;,&#34;human&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shaman&#34;,&#34;mushroom&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shop&#34;,&#34;clothing&#34;,&#34;brickhouse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skydiver&#34;,&#34;clobber&#34;,&#34;pilot&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skyscraper&#34;,&#34;brickhouse&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;snake&#34;,&#34;sand&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sniper&#34;,&#34;firearms&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;space&#34;,&#34;ocean&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;speedboat&#34;,&#34;boat&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;starwars&#34;,&#34;laser&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam&#34;,&#34;water&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_engine&#34;,&#34;boiler&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_locomotive&#34;,&#34;steam_engine&#34;,&#34;cart&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steamship&#34;,&#34;wooden_ship&#34;,&#34;steam_engine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;stone&#34;,&#34;water&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;storm&#34;,&#34;energy&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submarine&#34;,&#34;whale&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submariner&#34;,&#34;submarine&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sulfur&#34;,&#34;swamp&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sun&#34;,&#34;lava&#34;,&#34;space&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;swamp&#34;,&#34;water&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;team&#34;,&#34;cart&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;terrorist&#34;,&#34;bomb&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;thunderbird&#34;,&#34;storm&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tobacco&#34;,&#34;fire&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tool&#34;,&#34;human&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;torpedo&#34;,&#34;rocket&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;toy&#34;,&#34;baby&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tree&#34;,&#34;soil&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;turtle&#34;,&#34;egg&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tv&#34;,&#34;radiowave&#34;,&#34;bulb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ufo&#34;,&#34;alien&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;usa&#34;,&#34;columbus&#34;,&#34;ocean&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vampire&#34;,&#34;human&#34;,&#34;blood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vicodin&#34;,&#34;medicine&#34;,&#34;medicine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vodka&#34;,&#34;water&#34;,&#34;alcohol&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;walking_tree&#34;,&#34;life&#34;,&#34;tree&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;war&#34;,&#34;warrior&#34;,&#34;warrior&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;werewolf&#34;,&#34;vampire&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warrior&#34;,&#34;weapon&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warship&#34;,&#34;wooden_ship&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;weapon&#34;,&#34;tool&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;whale&#34;,&#34;fish&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheat&#34;,&#34;arable_land&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheel&#34;,&#34;wood&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wood&#34;,&#34;tree&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wooden_ship&#34;,&#34;wood&#34;,&#34;boat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wool&#34;,&#34;beast&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;worm&#34;,&#34;bacterium&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;yogurt&#34;,&#34;milk&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;zombie&#34;,&#34;life&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;soil&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;air&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;water&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#10; &#9;HashMap parents &#61; new HashMap&#40;&#41;&#59;&#10; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10; &#9;&#9;Element element &#61; &#40;Element&#41; elements.get&#40;i&#41;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getFather&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getFather&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getFather&#40;&#41;, new Parent&#40; element.getFather&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getMother&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getMother&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getMother&#40;&#41;, new Parent&#40; element.getMother&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#125;&#10; &#9;&#10; &#9;Collection parentsSimple &#61; parents.values&#40;&#41;&#59;&#10; &#9;Iterator iterParent &#61; parentsSimple.iterator&#40;&#41;&#59;&#10;&#47;&#47; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#47;&#47;&#47;&#47; &#9;&#9;if &#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;.equals&#40;&#34;housemd&#34;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;if &#40;&#33;&#40; parents.containsKey&#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;&#41;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;digraph &#34; &#43; i &#43; &#34; &#123;&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;drawAscendenceForElements&#40;&#40;Element&#41; elements.get&#40;i&#41;, &#40;ArrayList&#41; elements.clone&#40;&#41;&#41;&#59;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;&#125;&#10;&#47;&#47; &#9;&#125;&#10; &#9;&#47;&#47; drawing complete&#10; &#9;System.out.println&#40;&#34;digraph g &#123;&#34;&#41;&#59;&#10; &#9;while &#40;iterParent.hasNext&#40;&#41;&#41;&#123;&#10; &#9;&#9;Parent parent &#61; &#40;Parent&#41; &#40;iterParent.next&#40;&#41;&#41;&#59;&#10; &#9;&#9;Object&#91;&#93; childs &#61; parent.getChilds&#40;&#41;&#59;&#10;&#9;&#9;&#9;for &#40;int j &#61; 0&#59; j &#60; childs.length&#59; j&#43;&#43;&#41; &#123;&#10;&#9;&#9;&#9;&#9;System.out.println&#40;parent.getName&#40;&#41; &#43; &#34; -&#62; &#34; &#43; &#40;String&#41; childs&#91;j&#93;&#41;&#59;&#10;&#9;&#9;&#9;&#125;&#10; &#9;&#125;&#10; &#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10; &#9;&#10; &#9;&#47;&#42;&#42;&#10; try&#10; &#123;&#10; &#47;&#47; Propiedades de la conexi&#243;n&#10; Properties props &#61; new Properties&#40;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.host&#34;, &#34;smtp.gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.starttls.enable&#34;, &#34;true&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.port&#34;, &#34;587&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.user&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.auth&#34;, &#34;true&#34;&#41;&#59;&#10; &#47;&#47; Preparamos la sesion&#10; Session session &#61; Session.getDefaultInstance&#40;props&#41;&#59;&#10;&#10; &#47;&#47; Construimos el mensaje&#10; MimeMessage message &#61; new MimeMessage&#40;session&#41;&#59;&#10; message.setFrom&#40;new InternetAddress&#40;&#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#41;&#59;&#10; message.addRecipient&#40;&#10; Message.RecipientType.TO,&#10; new InternetAddress&#40;&#34;rmolina&#64;intelap.com&#34;&#41;&#41;&#59;&#10; message.setText&#40;&#10; &#34;Mensajito con Java Mail&#34; &#43; &#34; de los buenos.&#34; &#43; &#34;poque si&#34; &#43; &#34; funciona papa&#33; &#34;&#41;&#59;&#10;&#10; &#47;&#47; Lo enviamos.&#10; Transport t &#61; session.getTransport&#40;&#34;smtp&#34;&#41;&#59;&#10; t.connect&#40;&#34;smtp.gmail.com&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10;&#47;&#47; t.connect&#40;&#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10; t.sendMessage&#40;message, message.getAllRecipients&#40;&#41;&#41;&#59;&#10;&#10; &#47;&#47; Cierre.&#10; t.close&#40;&#41;&#59;&#10; &#125;&#10; catch &#40;Exception e&#41;&#10; &#123;&#10; e.printStackTrace&#40;&#41;&#59;&#10; &#125;&#10; &#42;&#47;&#10; &#125;&#10;&#10;&#9;private static void drawAscendenceForElements&#40;Element element,&#10;&#9;&#9;&#9;ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;if &#40;element&#33;&#61;null&#41;&#123;&#10;&#9;&#9;&#9;Element father &#61; getElement&#40; element.getFather&#40;&#41;, anotherElements&#41;&#59; &#10;&#9;&#9;&#9;anotherElements.remove&#40;father&#41;&#59;&#10;&#9;&#9;&#9;Element mother &#61; getElement&#40; element.getMother&#40;&#41;, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;anotherElements.remove&#40;mother&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;father, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;mother, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getFather&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getMother&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#125;&#10;&#9;&#9;&#10;&#9;&#125;&#10;&#10;&#9;private static Element getElement&#40;String parent, ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;for &#40;int i &#61; 0&#59; i &#60; anotherElements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#9;&#9;&#9;Element element &#61; &#40;Element&#41; anotherElements.get&#40;i&#41;&#59;&#10;&#9;&#9;&#9;if &#40;element.getName&#40;&#41;.equals&#40;parent&#41;&#41;&#123;&#10;&#9;&#9;&#9;&#9;return element&#59;&#10;&#9;&#9;&#9;&#125;&#10;&#9;&#9;&#125;&#10;&#9;&#9;return null&#59;&#10;&#9;&#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00IThttp://rise4fun.com/HeapDbg/ITHeapDbg/IT<pre>&#10;&#47;&#42;&#42;&#10; &#42; Ejemplo de envio de correo simple con JavaMail&#10; &#42;&#10; &#42; &#64;author Chuidiang&#10; &#42;&#10; &#42;&#47;&#10;public class EnviarMail&#10;&#123;&#10; &#47;&#42;&#42;&#10; &#42; main de prueba&#10; &#42; &#64;param args Se ignoran.&#10; &#42;&#47;&#10; &#64;SuppressWarnings&#40;&#34;unchecked&#34;&#41;&#10;&#9;public static void main&#40;String&#91;&#93; args&#41;&#10; &#123;&#10; &#9;ArrayList elements &#61; new ArrayList&#40;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;rodrigo&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;joaquin&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;cristobal&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;agustin&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;micaela&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;gabriel&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ana_julia&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ricardo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ireneo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;pablo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid&#34;,&#34;fire&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid_rain&#34;,&#34;acid&#34;,&#34;rain&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ai&#34;,&#34;computer&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alcohol&#34;,&#34;water&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alien&#34;,&#34;space&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aluminum&#34;,&#34;metal&#34;,&#34;electricity&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ape&#34;,&#34;human&#34;,&#34;wool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquaman&#34;,&#34;fish&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquarium&#34;,&#34;glass&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;arable_land&#34;,&#34;soil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ash&#34;,&#34;fire&#34;,&#34;dust&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ashtray&#34;,&#34;ash&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;baby&#34;,&#34;human&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bacterium&#34;,&#34;swamp&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bank&#34;,&#34;money&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beach&#34;,&#34;water&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beast&#34;,&#34;soil&#34;,&#34;lizard&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beer&#34;,&#34;alcohol&#34;,&#34;wheat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bird&#34;,&#34;air&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;blood&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boat&#34;,&#34;water&#34;,&#34;wood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boiler&#34;,&#34;metal&#34;,&#34;steam&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomb&#34;,&#34;metal&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomber&#34;,&#34;plane&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;book&#34;,&#34;paper&#34;,&#34;feather&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bread&#34;,&#34;fire&#34;,&#34;dough&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick&#34;,&#34;clay&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick_house&#34;,&#34;concrete&#34;,&#34;brick&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bug&#34;,&#34;soil&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bulb&#34;,&#34;electricity&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bungalow&#34;,&#34;hut&#34;,&#34;beach&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;business&#34;,&#34;money&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;butterfly&#34;,&#34;air&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cart&#34;,&#34;wood&#34;,&#34;wheel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;caviar&#34;,&#34;fish&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cd&#34;,&#34;laser&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cellphone&#34;,&#34;computer&#34;,&#34;radiowave&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cement&#34;,&#34;clay&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ceramics&#34;,&#34;clay&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cigarette&#34;,&#34;paper&#34;,&#34;tobacco&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clay&#34;,&#34;swamp&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cleaner&#34;,&#34;clobber&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clobber&#34;,&#34;fabric&#34;,&#34;patient&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clone&#34;,&#34;scientist&#34;,&#34;livestock&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clothing&#34;,&#34;fabric&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cloud&#34;,&#34;steam&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coal&#34;,&#34;tree&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cockleshell&#34;,&#34;stone&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coffee&#34;,&#34;seeds&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;columbus&#34;,&#34;sailing_vessel&#34;,&#34;hero&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;computer&#34;,&#34;book&#34;,&#34;tv&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;concrete&#34;,&#34;water&#34;,&#34;cement&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;corpse&#34;,&#34;poison&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cyborg&#34;,&#34;human&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;developer&#34;,&#34;sex&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dinosaur&#34;,&#34;soil&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;doctor&#34;,&#34;human&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dough&#34;,&#34;water&#34;,&#34;flour&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dragon&#34;,&#34;flying_dinosaur&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;drinker&#34;,&#34;alcohol&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dust&#34;,&#34;air&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;egg&#34;,&#34;stone&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;electricity&#34;,&#34;scientist&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;elixer&#34;,&#34;stone&#34;,&#34;philosopher&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;energy&#34;,&#34;air&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fabric&#34;,&#34;wool&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fart&#34;,&#34;peas&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;feather&#34;,&#34;bird&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fern&#34;,&#34;swamp&#34;,&#34;moss&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire_golem&#34;,&#34;fire&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;firearms&#34;,&#34;weapon&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fish&#34;,&#34;bacterium&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flour&#34;,&#34;wheat&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flying_dinosaur&#34;,&#34;dinosaur&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_egg&#34;,&#34;fire&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_meat&#34;,&#34;fire&#34;,&#34;meat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;frog&#34;,&#34;fish&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ghoul&#34;,&#34;zombie&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;glass&#34;,&#34;sand&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gold&#34;,&#34;elixer&#34;,&#34;any_other_element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;golem&#34;,&#34;clay&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;grass&#34;,&#34;moss&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gunpowder&#34;,&#34;saltpeter&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hacker&#34;,&#34;pirate&#34;,&#34;internet&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hero&#34;,&#34;warrior&#34;,&#34;dragon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hospital&#34;,&#34;brick_house&#34;,&#34;doctor&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;housemd&#34;,&#34;doctor&#34;,&#34;vicodin&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;human&#34;,&#34;golem&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hunter&#34;,&#34;weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hut&#34;,&#34;stone&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;internet&#34;,&#34;computer&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;japanese&#34;,&#34;human&#34;,&#34;rice&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;kamasutra&#34;,&#34;book&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;katana&#34;,&#34;japanese&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lake&#34;,&#34;water&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lamp&#34;,&#34;glass&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;laser&#34;,&#34;radiowave&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava&#34;,&#34;soil&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava_golem&#34;,&#34;life&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;life&#34;,&#34;energy&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lighthouse&#34;,&#34;brick_house&#34;,&#34;lamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;limestone&#34;,&#34;stone&#34;,&#34;cockleshell&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;livestock&#34;,&#34;human&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lizard&#34;,&#34;snake&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manga&#34;,&#34;book&#34;,&#34;japanese&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manure&#34;,&#34;livestock&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meat&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;medicine&#34;,&#34;shaman&#34;,&#34;poison&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mercury&#34;,&#34;fire&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal&#34;,&#34;stone&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal_golem&#34;,&#34;life&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meteorite&#34;,&#34;space&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;milk&#34;,&#34;livestock&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;money&#34;,&#34;gold&#34;,&#34;paper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;moss&#34;,&#34;swamp&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;murderer&#34;,&#34;poison_weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mushroom&#34;,&#34;soil&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;new_york&#34;,&#34;usa&#34;,&#34;skyscraper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ninja&#34;,&#34;samuri&#34;,&#34;poison_weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;nuclearbomb&#34;,&#34;scientist&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ocean&#34;,&#34;sea&#34;,&#34;sea&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;oil&#34;,&#34;water&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;paper&#34;,&#34;tool&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;patient&#34;,&#34;bacterium&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;peas&#34;,&#34;arable_land&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;petrol&#34;,&#34;oil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phantom&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;philosopher&#34;,&#34;grass&#34;,&#34;scientist&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phoenix&#34;,&#34;fire&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pig-iron&#34;,&#34;metal&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pilot&#34;,&#34;plane&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pirate&#34;,&#34;murderer&#34;,&#34;sailing_vessel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plane&#34;,&#34;bird&#34;,&#34;aluminum&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plankton&#34;,&#34;water&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison&#34;,&#34;tool&#34;,&#34;scorpion&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison_weapon&#34;,&#34;poison&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pub&#34;,&#34;beer&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiation&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiowave&#34;,&#34;metal&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rain&#34;,&#34;cloud&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;reed&#34;,&#34;swamp&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rice&#34;,&#34;arable_land&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;robot&#34;,&#34;japanese&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rocket&#34;,&#34;plane&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rust&#34;,&#34;water&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_boat&#34;,&#34;boat&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_vessel&#34;,&#34;wooden_ship&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;salt&#34;,&#34;metal&#34;,&#34;acid&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;saltpeter&#34;,&#34;manure&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;samurai&#34;,&#34;japanese&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sand&#34;,&#34;water&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scientist&#34;,&#34;doctor&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scorpion&#34;,&#34;bug&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sea&#34;,&#34;lake&#34;,&#34;salt&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seaweed&#34;,&#34;life&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seeds&#34;,&#34;life&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sex&#34;,&#34;human&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shaman&#34;,&#34;mushroom&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shop&#34;,&#34;clothing&#34;,&#34;brickhouse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skydiver&#34;,&#34;clobber&#34;,&#34;pilot&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skyscraper&#34;,&#34;brickhouse&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;snake&#34;,&#34;sand&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sniper&#34;,&#34;firearms&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;space&#34;,&#34;ocean&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;speedboat&#34;,&#34;boat&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;starwars&#34;,&#34;laser&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam&#34;,&#34;water&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_engine&#34;,&#34;boiler&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_locomotive&#34;,&#34;steam_engine&#34;,&#34;cart&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steamship&#34;,&#34;wooden_ship&#34;,&#34;steam_engine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;stone&#34;,&#34;water&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;storm&#34;,&#34;energy&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submarine&#34;,&#34;whale&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submariner&#34;,&#34;submarine&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sulfur&#34;,&#34;swamp&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sun&#34;,&#34;lava&#34;,&#34;space&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;swamp&#34;,&#34;water&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;team&#34;,&#34;cart&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;terrorist&#34;,&#34;bomb&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;thunderbird&#34;,&#34;storm&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tobacco&#34;,&#34;fire&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tool&#34;,&#34;human&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;torpedo&#34;,&#34;rocket&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;toy&#34;,&#34;baby&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tree&#34;,&#34;soil&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;turtle&#34;,&#34;egg&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tv&#34;,&#34;radiowave&#34;,&#34;bulb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ufo&#34;,&#34;alien&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;usa&#34;,&#34;columbus&#34;,&#34;ocean&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vampire&#34;,&#34;human&#34;,&#34;blood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vicodin&#34;,&#34;medicine&#34;,&#34;medicine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vodka&#34;,&#34;water&#34;,&#34;alcohol&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;walking_tree&#34;,&#34;life&#34;,&#34;tree&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;war&#34;,&#34;warrior&#34;,&#34;warrior&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;werewolf&#34;,&#34;vampire&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warrior&#34;,&#34;weapon&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warship&#34;,&#34;wooden_ship&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;weapon&#34;,&#34;tool&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;whale&#34;,&#34;fish&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheat&#34;,&#34;arable_land&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheel&#34;,&#34;wood&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wood&#34;,&#34;tree&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wooden_ship&#34;,&#34;wood&#34;,&#34;boat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wool&#34;,&#34;beast&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;worm&#34;,&#34;bacterium&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;yogurt&#34;,&#34;milk&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;zombie&#34;,&#34;life&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;soil&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;air&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;water&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#10; &#9;HashMap parents &#61; new HashMap&#40;&#41;&#59;&#10; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10; &#9;&#9;Element element &#61; &#40;Element&#41; elements.get&#40;i&#41;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getFather&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getFather&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getFather&#40;&#41;, new Parent&#40; element.getFather&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getMother&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getMother&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getMother&#40;&#41;, new Parent&#40; element.getMother&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#125;&#10; &#9;&#10; &#9;Collection parentsSimple &#61; parents.values&#40;&#41;&#59;&#10; &#9;Iterator iterParent &#61; parentsSimple.iterator&#40;&#41;&#59;&#10;&#47;&#47; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#47;&#47;&#47;&#47; &#9;&#9;if &#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;.equals&#40;&#34;housemd&#34;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;if &#40;&#33;&#40; parents.containsKey&#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;&#41;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;digraph &#34; &#43; i &#43; &#34; &#123;&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;drawAscendenceForElements&#40;&#40;Element&#41; elements.get&#40;i&#41;, &#40;ArrayList&#41; elements.clone&#40;&#41;&#41;&#59;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;&#125;&#10;&#47;&#47; &#9;&#125;&#10; &#9;&#47;&#47; drawing complete&#10; &#9;System.out.println&#40;&#34;digraph g &#123;&#34;&#41;&#59;&#10; &#9;while &#40;iterParent.hasNext&#40;&#41;&#41;&#123;&#10; &#9;&#9;Parent parent &#61; &#40;Parent&#41; &#40;iterParent.next&#40;&#41;&#41;&#59;&#10; &#9;&#9;Object&#91;&#93; childs &#61; parent.getChilds&#40;&#41;&#59;&#10;&#9;&#9;&#9;for &#40;int j &#61; 0&#59; j &#60; childs.length&#59; j&#43;&#43;&#41; &#123;&#10;&#9;&#9;&#9;&#9;System.out.println&#40;parent.getName&#40;&#41; &#43; &#34; -&#62; &#34; &#43; &#40;String&#41; childs&#91;j&#93;&#41;&#59;&#10;&#9;&#9;&#9;&#125;&#10; &#9;&#125;&#10; &#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10; &#9;&#10; &#9;&#47;&#42;&#42;&#10; try&#10; &#123;&#10; &#47;&#47; Propiedades de la conexi&#243;n&#10; Properties props &#61; new Properties&#40;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.host&#34;, &#34;smtp.gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.starttls.enable&#34;, &#34;true&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.port&#34;, &#34;587&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.user&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.auth&#34;, &#34;true&#34;&#41;&#59;&#10; &#47;&#47; Preparamos la sesion&#10; Session session &#61; Session.getDefaultInstance&#40;props&#41;&#59;&#10;&#10; &#47;&#47; Construimos el mensaje&#10; MimeMessage message &#61; new MimeMessage&#40;session&#41;&#59;&#10; message.setFrom&#40;new InternetAddress&#40;&#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#41;&#59;&#10; message.addRecipient&#40;&#10; Message.RecipientType.TO,&#10; new InternetAddress&#40;&#34;rmolina&#64;intelap.com&#34;&#41;&#41;&#59;&#10; message.setText&#40;&#10; &#34;Mensajito con Java Mail&#34; &#43; &#34; de los buenos.&#34; &#43; &#34;poque si&#34; &#43; &#34; funciona papa&#33; &#34;&#41;&#59;&#10;&#10; &#47;&#47; Lo enviamos.&#10; Transport t &#61; session.getTransport&#40;&#34;smtp&#34;&#41;&#59;&#10; t.connect&#40;&#34;smtp.gmail.com&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10;&#47;&#47; t.connect&#40;&#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10; t.sendMessage&#40;message, message.getAllRecipients&#40;&#41;&#41;&#59;&#10;&#10; &#47;&#47; Cierre.&#10; t.close&#40;&#41;&#59;&#10; &#125;&#10; catch &#40;Exception e&#41;&#10; &#123;&#10; e.printStackTrace&#40;&#41;&#59;&#10; &#125;&#10; &#42;&#47;&#10; &#125;&#10;&#10;&#9;private static void drawAscendenceForElements&#40;Element element,&#10;&#9;&#9;&#9;ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;if &#40;element&#33;&#61;null&#41;&#123;&#10;&#9;&#9;&#9;Element father &#61; getElement&#40; element.getFather&#40;&#41;, anotherElements&#41;&#59; &#10;&#9;&#9;&#9;anotherElements.remove&#40;father&#41;&#59;&#10;&#9;&#9;&#9;Element mother &#61; getElement&#40; element.getMother&#40;&#41;, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;anotherElements.remove&#40;mother&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;father, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;mother, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getFather&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getMother&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#125;&#10;&#9;&#9;&#10;&#9;&#125;&#10;&#10;&#9;private static Element getElement&#40;String parent, ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;for &#40;int i &#61; 0&#59; i &#60; anotherElements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#9;&#9;&#9;Element element &#61; &#40;Element&#41; anotherElements.get&#40;i&#41;&#59;&#10;&#9;&#9;&#9;if &#40;element.getName&#40;&#41;.equals&#40;parent&#41;&#41;&#123;&#10;&#9;&#9;&#9;&#9;return element&#59;&#10;&#9;&#9;&#9;&#125;&#10;&#9;&#9;&#125;&#10;&#9;&#9;return null&#59;&#10;&#9;&#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00XNPhttp://rise4fun.com/HeapDbg/XNPHeapDbg/XNP<pre>&#47;&#47; Create an array of un-aliased Data objects and one special object&#13;&#10;class Data &#123; public int val&#59;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var resa &#61; new Data&#91;10&#93;&#59;&#13;&#10; var dspecial &#61; new Data&#40;&#41;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; resa.Length&#59; &#43;&#43;i&#41; &#123;&#13;&#10; if &#40;i &#61;&#61; 5&#41;&#13;&#10; resa&#91;i&#93; &#61; dspecial&#59;&#13;&#10; else&#13;&#10; resa&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; &#125;&#13;&#10; return new &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00plhttp://rise4fun.com/HeapDbg/plHeapDbg/pl<pre>&#10;&#47;&#42;&#42;&#10; &#42; Ejemplo de envio de correo simple con JavaMail&#10; &#42;&#10; &#42; &#64;author Chuidiang&#10; &#42;&#10; &#42;&#47;&#10;class EnviarMail&#10;&#123;&#10; &#47;&#42;&#42;&#10; &#42; main de prueba&#10; &#42; &#64;param args Se ignoran.&#10; &#42;&#47;&#10; &#64;SuppressWarnings&#40;&#34;unchecked&#34;&#41;&#10;&#9;public static void main&#40;String&#91;&#93; args&#41;&#10; &#123;&#10; &#9;ArrayList elements &#61; new ArrayList&#40;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;rodrigo&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;joaquin&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;cristobal&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;agustin&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;micaela&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;gabriel&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ana_julia&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ricardo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ireneo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;pablo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid&#34;,&#34;fire&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid_rain&#34;,&#34;acid&#34;,&#34;rain&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ai&#34;,&#34;computer&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alcohol&#34;,&#34;water&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alien&#34;,&#34;space&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aluminum&#34;,&#34;metal&#34;,&#34;electricity&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ape&#34;,&#34;human&#34;,&#34;wool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquaman&#34;,&#34;fish&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquarium&#34;,&#34;glass&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;arable_land&#34;,&#34;soil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ash&#34;,&#34;fire&#34;,&#34;dust&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ashtray&#34;,&#34;ash&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;baby&#34;,&#34;human&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bacterium&#34;,&#34;swamp&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bank&#34;,&#34;money&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beach&#34;,&#34;water&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beast&#34;,&#34;soil&#34;,&#34;lizard&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beer&#34;,&#34;alcohol&#34;,&#34;wheat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bird&#34;,&#34;air&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;blood&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boat&#34;,&#34;water&#34;,&#34;wood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boiler&#34;,&#34;metal&#34;,&#34;steam&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomb&#34;,&#34;metal&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomber&#34;,&#34;plane&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;book&#34;,&#34;paper&#34;,&#34;feather&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bread&#34;,&#34;fire&#34;,&#34;dough&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick&#34;,&#34;clay&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick_house&#34;,&#34;concrete&#34;,&#34;brick&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bug&#34;,&#34;soil&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bulb&#34;,&#34;electricity&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bungalow&#34;,&#34;hut&#34;,&#34;beach&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;business&#34;,&#34;money&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;butterfly&#34;,&#34;air&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cart&#34;,&#34;wood&#34;,&#34;wheel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;caviar&#34;,&#34;fish&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cd&#34;,&#34;laser&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cellphone&#34;,&#34;computer&#34;,&#34;radiowave&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cement&#34;,&#34;clay&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ceramics&#34;,&#34;clay&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cigarette&#34;,&#34;paper&#34;,&#34;tobacco&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clay&#34;,&#34;swamp&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cleaner&#34;,&#34;clobber&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clobber&#34;,&#34;fabric&#34;,&#34;patient&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clone&#34;,&#34;scientist&#34;,&#34;livestock&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clothing&#34;,&#34;fabric&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cloud&#34;,&#34;steam&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coal&#34;,&#34;tree&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cockleshell&#34;,&#34;stone&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coffee&#34;,&#34;seeds&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;columbus&#34;,&#34;sailing_vessel&#34;,&#34;hero&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;computer&#34;,&#34;book&#34;,&#34;tv&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;concrete&#34;,&#34;water&#34;,&#34;cement&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;corpse&#34;,&#34;poison&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cyborg&#34;,&#34;human&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;developer&#34;,&#34;sex&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dinosaur&#34;,&#34;soil&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;doctor&#34;,&#34;human&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dough&#34;,&#34;water&#34;,&#34;flour&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dragon&#34;,&#34;flying_dinosaur&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;drinker&#34;,&#34;alcohol&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dust&#34;,&#34;air&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;egg&#34;,&#34;stone&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;electricity&#34;,&#34;scientist&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;elixer&#34;,&#34;stone&#34;,&#34;philosopher&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;energy&#34;,&#34;air&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fabric&#34;,&#34;wool&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fart&#34;,&#34;peas&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;feather&#34;,&#34;bird&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fern&#34;,&#34;swamp&#34;,&#34;moss&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire_golem&#34;,&#34;fire&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;firearms&#34;,&#34;weapon&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fish&#34;,&#34;bacterium&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flour&#34;,&#34;wheat&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flying_dinosaur&#34;,&#34;dinosaur&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_egg&#34;,&#34;fire&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_meat&#34;,&#34;fire&#34;,&#34;meat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;frog&#34;,&#34;fish&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ghoul&#34;,&#34;zombie&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;glass&#34;,&#34;sand&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gold&#34;,&#34;elixer&#34;,&#34;any_other_element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;golem&#34;,&#34;clay&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;grass&#34;,&#34;moss&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gunpowder&#34;,&#34;saltpeter&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hacker&#34;,&#34;pirate&#34;,&#34;internet&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hero&#34;,&#34;warrior&#34;,&#34;dragon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hospital&#34;,&#34;brick_house&#34;,&#34;doctor&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;housemd&#34;,&#34;doctor&#34;,&#34;vicodin&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;human&#34;,&#34;golem&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hunter&#34;,&#34;weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hut&#34;,&#34;stone&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;internet&#34;,&#34;computer&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;japanese&#34;,&#34;human&#34;,&#34;rice&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;kamasutra&#34;,&#34;book&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;katana&#34;,&#34;japanese&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lake&#34;,&#34;water&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lamp&#34;,&#34;glass&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;laser&#34;,&#34;radiowave&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava&#34;,&#34;soil&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava_golem&#34;,&#34;life&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;life&#34;,&#34;energy&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lighthouse&#34;,&#34;brick_house&#34;,&#34;lamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;limestone&#34;,&#34;stone&#34;,&#34;cockleshell&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;livestock&#34;,&#34;human&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lizard&#34;,&#34;snake&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manga&#34;,&#34;book&#34;,&#34;japanese&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manure&#34;,&#34;livestock&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meat&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;medicine&#34;,&#34;shaman&#34;,&#34;poison&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mercury&#34;,&#34;fire&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal&#34;,&#34;stone&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal_golem&#34;,&#34;life&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meteorite&#34;,&#34;space&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;milk&#34;,&#34;livestock&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;money&#34;,&#34;gold&#34;,&#34;paper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;moss&#34;,&#34;swamp&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;murderer&#34;,&#34;poison_weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mushroom&#34;,&#34;soil&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;new_york&#34;,&#34;usa&#34;,&#34;skyscraper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ninja&#34;,&#34;samuri&#34;,&#34;poison_weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;nuclearbomb&#34;,&#34;scientist&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ocean&#34;,&#34;sea&#34;,&#34;sea&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;oil&#34;,&#34;water&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;paper&#34;,&#34;tool&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;patient&#34;,&#34;bacterium&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;peas&#34;,&#34;arable_land&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;petrol&#34;,&#34;oil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phantom&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;philosopher&#34;,&#34;grass&#34;,&#34;scientist&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phoenix&#34;,&#34;fire&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pig-iron&#34;,&#34;metal&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pilot&#34;,&#34;plane&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pirate&#34;,&#34;murderer&#34;,&#34;sailing_vessel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plane&#34;,&#34;bird&#34;,&#34;aluminum&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plankton&#34;,&#34;water&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison&#34;,&#34;tool&#34;,&#34;scorpion&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison_weapon&#34;,&#34;poison&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pub&#34;,&#34;beer&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiation&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiowave&#34;,&#34;metal&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rain&#34;,&#34;cloud&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;reed&#34;,&#34;swamp&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rice&#34;,&#34;arable_land&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;robot&#34;,&#34;japanese&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rocket&#34;,&#34;plane&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rust&#34;,&#34;water&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_boat&#34;,&#34;boat&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_vessel&#34;,&#34;wooden_ship&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;salt&#34;,&#34;metal&#34;,&#34;acid&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;saltpeter&#34;,&#34;manure&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;samurai&#34;,&#34;japanese&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sand&#34;,&#34;water&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scientist&#34;,&#34;doctor&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scorpion&#34;,&#34;bug&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sea&#34;,&#34;lake&#34;,&#34;salt&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seaweed&#34;,&#34;life&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seeds&#34;,&#34;life&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sex&#34;,&#34;human&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shaman&#34;,&#34;mushroom&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shop&#34;,&#34;clothing&#34;,&#34;brickhouse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skydiver&#34;,&#34;clobber&#34;,&#34;pilot&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skyscraper&#34;,&#34;brickhouse&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;snake&#34;,&#34;sand&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sniper&#34;,&#34;firearms&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;space&#34;,&#34;ocean&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;speedboat&#34;,&#34;boat&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;starwars&#34;,&#34;laser&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam&#34;,&#34;water&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_engine&#34;,&#34;boiler&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_locomotive&#34;,&#34;steam_engine&#34;,&#34;cart&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steamship&#34;,&#34;wooden_ship&#34;,&#34;steam_engine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;stone&#34;,&#34;water&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;storm&#34;,&#34;energy&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submarine&#34;,&#34;whale&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submariner&#34;,&#34;submarine&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sulfur&#34;,&#34;swamp&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sun&#34;,&#34;lava&#34;,&#34;space&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;swamp&#34;,&#34;water&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;team&#34;,&#34;cart&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;terrorist&#34;,&#34;bomb&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;thunderbird&#34;,&#34;storm&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tobacco&#34;,&#34;fire&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tool&#34;,&#34;human&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;torpedo&#34;,&#34;rocket&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;toy&#34;,&#34;baby&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tree&#34;,&#34;soil&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;turtle&#34;,&#34;egg&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tv&#34;,&#34;radiowave&#34;,&#34;bulb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ufo&#34;,&#34;alien&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;usa&#34;,&#34;columbus&#34;,&#34;ocean&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vampire&#34;,&#34;human&#34;,&#34;blood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vicodin&#34;,&#34;medicine&#34;,&#34;medicine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vodka&#34;,&#34;water&#34;,&#34;alcohol&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;walking_tree&#34;,&#34;life&#34;,&#34;tree&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;war&#34;,&#34;warrior&#34;,&#34;warrior&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;werewolf&#34;,&#34;vampire&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warrior&#34;,&#34;weapon&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warship&#34;,&#34;wooden_ship&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;weapon&#34;,&#34;tool&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;whale&#34;,&#34;fish&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheat&#34;,&#34;arable_land&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheel&#34;,&#34;wood&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wood&#34;,&#34;tree&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wooden_ship&#34;,&#34;wood&#34;,&#34;boat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wool&#34;,&#34;beast&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;worm&#34;,&#34;bacterium&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;yogurt&#34;,&#34;milk&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;zombie&#34;,&#34;life&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;soil&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;air&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;water&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#10; &#9;HashMap parents &#61; new HashMap&#40;&#41;&#59;&#10; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10; &#9;&#9;Element element &#61; &#40;Element&#41; elements.get&#40;i&#41;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getFather&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getFather&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getFather&#40;&#41;, new Parent&#40; element.getFather&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getMother&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getMother&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getMother&#40;&#41;, new Parent&#40; element.getMother&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#125;&#10; &#9;&#10; &#9;Collection parentsSimple &#61; parents.values&#40;&#41;&#59;&#10; &#9;Iterator iterParent &#61; parentsSimple.iterator&#40;&#41;&#59;&#10;&#47;&#47; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#47;&#47;&#47;&#47; &#9;&#9;if &#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;.equals&#40;&#34;housemd&#34;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;if &#40;&#33;&#40; parents.containsKey&#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;&#41;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;digraph &#34; &#43; i &#43; &#34; &#123;&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;drawAscendenceForElements&#40;&#40;Element&#41; elements.get&#40;i&#41;, &#40;ArrayList&#41; elements.clone&#40;&#41;&#41;&#59;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;&#125;&#10;&#47;&#47; &#9;&#125;&#10; &#9;&#47;&#47; drawing complete&#10; &#9;System.out.println&#40;&#34;digraph g &#123;&#34;&#41;&#59;&#10; &#9;while &#40;iterParent.hasNext&#40;&#41;&#41;&#123;&#10; &#9;&#9;Parent parent &#61; &#40;Parent&#41; &#40;iterParent.next&#40;&#41;&#41;&#59;&#10; &#9;&#9;Object&#91;&#93; childs &#61; parent.getChilds&#40;&#41;&#59;&#10;&#9;&#9;&#9;for &#40;int j &#61; 0&#59; j &#60; childs.length&#59; j&#43;&#43;&#41; &#123;&#10;&#9;&#9;&#9;&#9;System.out.println&#40;parent.getName&#40;&#41; &#43; &#34; -&#62; &#34; &#43; &#40;String&#41; childs&#91;j&#93;&#41;&#59;&#10;&#9;&#9;&#9;&#125;&#10; &#9;&#125;&#10; &#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10; &#9;&#10; &#9;&#47;&#42;&#42;&#10; try&#10; &#123;&#10; &#47;&#47; Propiedades de la conexi&#243;n&#10; Properties props &#61; new Properties&#40;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.host&#34;, &#34;smtp.gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.starttls.enable&#34;, &#34;true&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.port&#34;, &#34;587&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.user&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.auth&#34;, &#34;true&#34;&#41;&#59;&#10; &#47;&#47; Preparamos la sesion&#10; Session session &#61; Session.getDefaultInstance&#40;props&#41;&#59;&#10;&#10; &#47;&#47; Construimos el mensaje&#10; MimeMessage message &#61; new MimeMessage&#40;session&#41;&#59;&#10; message.setFrom&#40;new InternetAddress&#40;&#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#41;&#59;&#10; message.addRecipient&#40;&#10; Message.RecipientType.TO,&#10; new InternetAddress&#40;&#34;rmolina&#64;intelap.com&#34;&#41;&#41;&#59;&#10; message.setText&#40;&#10; &#34;Mensajito con Java Mail&#34; &#43; &#34; de los buenos.&#34; &#43; &#34;poque si&#34; &#43; &#34; funciona papa&#33; &#34;&#41;&#59;&#10;&#10; &#47;&#47; Lo enviamos.&#10; Transport t &#61; session.getTransport&#40;&#34;smtp&#34;&#41;&#59;&#10; t.connect&#40;&#34;smtp.gmail.com&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10;&#47;&#47; t.connect&#40;&#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10; t.sendMessage&#40;message, message.getAllRecipients&#40;&#41;&#41;&#59;&#10;&#10; &#47;&#47; Cierre.&#10; t.close&#40;&#41;&#59;&#10; &#125;&#10; catch &#40;Exception e&#41;&#10; &#123;&#10; e.printStackTrace&#40;&#41;&#59;&#10; &#125;&#10; &#42;&#47;&#10; &#125;&#10;&#10;&#9;private static void drawAscendenceForElements&#40;Element element,&#10;&#9;&#9;&#9;ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;if &#40;element&#33;&#61;null&#41;&#123;&#10;&#9;&#9;&#9;Element father &#61; getElement&#40; element.getFather&#40;&#41;, anotherElements&#41;&#59; &#10;&#9;&#9;&#9;anotherElements.remove&#40;father&#41;&#59;&#10;&#9;&#9;&#9;Element mother &#61; getElement&#40; element.getMother&#40;&#41;, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;anotherElements.remove&#40;mother&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;father, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;mother, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getFather&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getMother&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#125;&#10;&#9;&#9;&#10;&#9;&#125;&#10;&#10;&#9;private static Element getElement&#40;String parent, ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;for &#40;int i &#61; 0&#59; i &#60; anotherElements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#9;&#9;&#9;Element element &#61; &#40;Element&#41; anotherElements.get&#40;i&#41;&#59;&#10;&#9;&#9;&#9;if &#40;element.getName&#40;&#41;.equals&#40;parent&#41;&#41;&#123;&#10;&#9;&#9;&#9;&#9;return element&#59;&#10;&#9;&#9;&#9;&#125;&#10;&#9;&#9;&#125;&#10;&#9;&#9;return null&#59;&#10;&#9;&#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00sfhttp://rise4fun.com/HeapDbg/sfHeapDbg/sf<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10,10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res&#91;i,0&#93; &#61; new Data&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00xlhttp://rise4fun.com/HeapDbg/xlHeapDbg/xl<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;vvfdy&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00cVhttp://rise4fun.com/HeapDbg/cVHeapDbg/cV<pre>public class TestHeapCloning&#10; &#123;&#10; TestHeapCloning f&#59;&#10; int h&#59;&#10; public void foo&#40;TestHeapCloning param&#41;&#10; &#123;&#10; TestHeapCloning local1 &#61; bar&#40;&#41;&#59;&#10; TestHeapCloning local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new TestHeapCloning&#40;&#41;&#59;&#10; local2.f.h &#61; 1&#59;&#10; &#125;&#10;&#10; public TestHeapCloning bar&#40;&#41;&#10; &#123;&#10; TestHeapCloning r &#61; new TestHeapCloning&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:00xchttp://rise4fun.com/HeapDbg/xcHeapDbg/xc<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;class items &#123; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Xbhttp://rise4fun.com/HeapDbg/XbHeapDbg/Xb<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int i&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; &#123; root &#61; new Data&#91;10&#93; &#125;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res.a&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:000qhhttp://rise4fun.com/HeapDbg/0qhHeapDbg/0qh<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#13;&#10;class Hello &#123; public World World&#59; &#125;&#13;&#10;class World &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00xahttp://rise4fun.com/HeapDbg/xaHeapDbg/xa<pre>Reading this makes my deicosins easier than taking candy from a baby.</pre>2013-05-18T17:03:41-07:00Pehttp://rise4fun.com/HeapDbg/PeHeapDbg/Pe<pre>using System&#59;&#13;&#10;&#13;&#10;public class TreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode CopyTreeShallow&#40;TreeNode t&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;t &#61;&#61; null&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;t.left&#41;, right &#61; MakeTree&#40;t.right&#41;, data &#61; t.data &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;&#9;public class Result &#123; public TreeNode orig&#59; public TreeNode copy&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode torig &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;TreeNode tcopy &#61; TreeNode.CopyTreeShallow&#40;orig&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; orig &#61; torig, copy &#61; tcopy &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;</pre>2013-05-18T17:03:41-07:00rHhttp://rise4fun.com/HeapDbg/rHHeapDbg/rH<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00RgShttp://rise4fun.com/HeapDbg/RgSHeapDbg/RgS<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00rGhttp://rise4fun.com/HeapDbg/rGHeapDbg/rG<pre>using System&#59;&#13;&#10;using System.Collections.Generic&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;Point, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;int, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;spheres&#91;0&#93;, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00rehttp://rise4fun.com/HeapDbg/reHeapDbg/re<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10;var b &#61; new &#123; C &#61; 1 &#125;&#59;&#10;var a &#61; new &#123; B &#61; b &#125;&#59;&#10;&#10;return new &#123; A &#61; a &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00wq1http://rise4fun.com/HeapDbg/wq1HeapDbg/wq1<pre>&#47;&#47;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#10;&#47;&#47; Microsoft patterns &#38; practices Enterprise Library&#10;&#47;&#47; Caching Application Block&#10;&#47;&#47;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#10;&#47;&#47; Copyright &#169; Microsoft Corporation. All rights reserved.&#10;&#47;&#47; THIS CODE AND INFORMATION IS PROVIDED &#34;AS IS&#34; WITHOUT WARRANTY&#10;&#47;&#47; OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT&#10;&#47;&#47; LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND&#10;&#47;&#47; FITNESS FOR A PARTICULAR PURPOSE.&#10;&#47;&#47;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#10;&#10;using System&#59;&#10;using System.Collections&#59;&#10;using System.Threading&#59;&#10;using Microsoft.Practices.EnterpriseLibrary.Caching.Properties&#59;&#10;using Microsoft.Practices.EnterpriseLibrary.Caching.Instrumentation&#59;&#10;&#10;namespace Microsoft.Practices.EnterpriseLibrary.Caching&#10;&#123;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; The real worker of the block. The Cache class is the traffic cop that prevents &#10; &#47;&#47;&#47; resource contention among the different threads in the system. It also will act&#10; &#47;&#47;&#47; as the remoting gateway when that feature is added to the cache.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#9;&#10; public class Cache &#58; ICacheOperations, IDisposable&#10; &#123;&#10; private Hashtable inMemoryCache&#59;&#10; private IBackingStore backingStore&#59;&#10; private ICachingInstrumentationProvider instrumentationProvider&#59;&#10;&#10; private const string addInProgressFlag &#61; &#34;Dummy variable used to flag temp cache item added during Add&#34;&#59;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Initialzie a new instance of a &#60;see cref&#61;&#34;Cache&#34;&#47;&#62; class with a backing store, and scavenging policy.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;backingStore&#34;&#62;The cache backing store.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;instrumentationProvider&#34;&#62;The instrumentation provider.&#60;&#47;param&#62;&#10; public Cache&#40;IBackingStore backingStore, ICachingInstrumentationProvider instrumentationProvider&#41;&#10; &#123;&#10; if &#40;backingStore &#61;&#61; null&#41; throw new ArgumentNullException&#40;&#34;backingStore&#34;&#41;&#59;&#10; if &#40;instrumentationProvider &#61;&#61; null&#41; throw new ArgumentNullException&#40;&#34;instrumentationProvider&#34;&#41;&#59;&#10;&#10; this.backingStore &#61; backingStore&#59;&#10; this.instrumentationProvider &#61; instrumentationProvider&#59;&#10;&#10; Hashtable initialItems &#61; backingStore.Load&#40;&#41;&#59;&#10; inMemoryCache &#61; Hashtable.Synchronized&#40;initialItems&#41;&#59;&#10;&#10; this.instrumentationProvider.FireCacheUpdated&#40;initialItems.Count, initialItems.Count&#41;&#59;&#10;&#10;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Gets the count of &#60;see cref&#61;&#34;CacheItem&#34;&#47;&#62; objects.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;value&#62;&#10; &#47;&#47;&#47; The count of &#60;see cref&#61;&#34;CacheItem&#34;&#47;&#62; objects.&#10; &#47;&#47;&#47; &#60;&#47;value&#62;&#10; public int Count&#10; &#123;&#10; get &#123; return inMemoryCache.Count&#59; &#125;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Gets the current cache.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;returns&#62;&#10; &#47;&#47;&#47; The current cache.&#10; &#47;&#47;&#47; &#60;&#47;returns&#62;&#10; public Hashtable CurrentCacheState&#10; &#123;&#10; get &#123; return &#40;Hashtable&#41;inMemoryCache.Clone&#40;&#41;&#59; &#125;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Determines if a particular key is contained in the cache.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;key&#34;&#62;The key to locate.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;returns&#62;&#10; &#47;&#47;&#47; &#60;see langword&#61;&#34;true&#34;&#47;&#62; if the key is contained in the cache&#59; otherwise, &#60;see langword&#61;&#34;false&#34;&#47;&#62;.&#10; &#47;&#47;&#47; &#60;&#47;returns&#62;&#10; public bool Contains&#40;string key&#41;&#10; &#123;&#10; ValidateKey&#40;key&#41;&#59;&#10;&#10; return inMemoryCache.Contains&#40;key&#41;&#59;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Add a new keyed object to the cache.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;key&#34;&#62;The key of the object.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;value&#34;&#62;The object to add.&#60;&#47;param&#62;&#10; public void Add&#40;string key, object value&#41;&#10; &#123;&#10; Add&#40;key, value, CacheItemPriority.Normal, null&#41;&#59;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Add a new keyed object to the cache.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;key&#34;&#62;The key of the object.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;value&#34;&#62;The object to add.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;scavengingPriority&#34;&#62;One of the &#60;see cref&#61;&#34;CacheItemPriority&#34;&#47;&#62; values.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;refreshAction&#34;&#62;An &#60;see cref&#61;&#34;ICacheItemRefreshAction&#34;&#47;&#62; object.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;expirations&#34;&#62;An array of &#60;see cref&#61;&#34;ICacheItemExpiration&#34;&#47;&#62; objects.&#60;&#47;param&#62;&#10; public CacheItem Add&#40;string key, object value, CacheItemPriority scavengingPriority, ICacheItemRefreshAction refreshAction, params ICacheItemExpiration&#91;&#93; expirations&#41;&#10; &#123;&#10; ValidateKey&#40;key&#41;&#59;&#10;&#10; CacheItem cacheItemBeforeLock &#61; null&#59;&#10; bool lockWasSuccessful &#61; false&#59;&#10;&#10; do&#10; &#123;&#10; lock &#40;inMemoryCache.SyncRoot&#41;&#10; &#123;&#10; if &#40;inMemoryCache.Contains&#40;key&#41; &#61;&#61; false&#41;&#10; &#123;&#10; cacheItemBeforeLock &#61; new CacheItem&#40;key, addInProgressFlag, CacheItemPriority.Normal, null&#41;&#59;&#10; inMemoryCache.Add&#40;key,cacheItemBeforeLock&#41;&#59;&#10; &#125;&#10; else&#10; &#123;&#10; cacheItemBeforeLock &#61; &#40;CacheItem&#41;inMemoryCache&#91;key&#93;&#59;&#10; &#125;&#10;&#10; lockWasSuccessful &#61; Monitor.TryEnter&#40;cacheItemBeforeLock&#41;&#59;&#10; &#125;&#10;&#10; if &#40;lockWasSuccessful &#61;&#61; false&#41;&#10; &#123;&#10; Thread.Sleep&#40;0&#41;&#59;&#10; &#125;&#10; &#125; while &#40;lockWasSuccessful &#61;&#61; false&#41;&#59;&#10;&#10; try&#10; &#123;&#10; cacheItemBeforeLock.TouchedByUserAction&#40;true&#41;&#59;&#10;&#10; CacheItem newCacheItem &#61; new CacheItem&#40;key, value, scavengingPriority, refreshAction, expirations&#41;&#59;&#10; try&#10; &#123;&#10; backingStore.Add&#40;newCacheItem&#41;&#59;&#10; cacheItemBeforeLock.Replace&#40;value, refreshAction, scavengingPriority, expirations&#41;&#59;&#10; if &#40;inMemoryCache.Contains&#40;key&#41;&#41;&#10; &#123;&#10; inMemoryCache.Remove&#40;key&#41;&#59;&#10; inMemoryCache.Add&#40;key, cacheItemBeforeLock&#41;&#59;&#10; &#125;&#10; &#125;&#10; catch&#10; &#123;&#10; backingStore.Remove&#40;key&#41;&#59;&#10; inMemoryCache.Remove&#40;key&#41;&#59;&#10; throw&#59;&#10; &#125;&#10; if &#40;null &#33;&#61; newCacheItem&#41;&#10; newCacheItem &#61; null&#59;&#10;&#10; instrumentationProvider.FireCacheUpdated&#40;1, inMemoryCache.Count&#41;&#59;&#10; &#125;&#10; finally&#10; &#123;&#10; Monitor.Exit&#40;cacheItemBeforeLock&#41;&#59;&#10;&#10; &#125;&#10; return cacheItemBeforeLock&#59;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Remove an item from the cache by key.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;key&#34;&#62;The key of the item to remove.&#60;&#47;param&#62;&#10; public void Remove&#40;string key&#41;&#10; &#123;&#10; Remove&#40;key, CacheItemRemovedReason.Removed&#41;&#59;&#10; &#125;&#10;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Added by senthil. &#10; &#47;&#47;&#47; when the remove logic called by scavenger or Expirary task . &#10; &#47;&#47;&#47; Check the cache is used by other machine if it is don&#39;t remove from back end&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;item&#34;&#62;&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;returns&#62;&#60;&#47;returns&#62;&#10; public bool CanRemoveFromBackStoreCache&#40;CacheItem item, CacheItemRemovedReason reason&#41;&#10; &#123;&#10; if &#40;reason &#61;&#61; CacheItemRemovedReason.Expired &#124;&#124; reason &#61;&#61; CacheItemRemovedReason.Scavenged&#41;&#10; &#123;&#10; if &#40;item.LastAccessedTime &#60; backingStore.GetLastAccessedTime&#40;item.Key&#41;&#41;&#10; return false&#59;&#10; return true&#59;&#10; &#125;&#10; return true&#59;&#10; &#125;&#10;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Remove an item from the cache by key.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;key&#34;&#62;The key of the item to remove.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;removalReason&#34;&#62;One of the &#60;see cref&#61;&#34;CacheItemRemovedReason&#34;&#47;&#62; values.&#60;&#47;param&#62;&#10; public void Remove&#40;string key, CacheItemRemovedReason removalReason&#41;&#10; &#123;&#10; ValidateKey&#40;key&#41;&#59;&#10;&#10; CacheItem cacheItemBeforeLock &#61; null&#59;&#10; bool lockWasSuccessful&#59;&#10; do&#10; &#123;&#10; lock &#40;inMemoryCache.SyncRoot&#41;&#10; &#123;&#10; cacheItemBeforeLock &#61; &#40;CacheItem&#41;inMemoryCache&#91;key&#93;&#59;&#10;&#10; if &#40;IsObjectInCache&#40;cacheItemBeforeLock&#41;&#41;&#10; &#123;&#10; return&#59;&#10; &#125;&#10;&#10; lockWasSuccessful &#61; Monitor.TryEnter&#40;cacheItemBeforeLock&#41;&#59;&#10; &#125;&#10;&#10; if &#40;lockWasSuccessful &#61;&#61; false&#41;&#10; &#123;&#10; Thread.Sleep&#40;0&#41;&#59;&#10; &#125;&#10; &#125; while &#40;lockWasSuccessful &#61;&#61; false&#41;&#59;&#10;&#10; try&#10; &#123;&#10; cacheItemBeforeLock.TouchedByUserAction&#40;true&#41;&#59;&#10; &#40;&#40;CacheItem&#41;inMemoryCache&#91;key&#93;&#41;.WillBeExpired &#61; true&#59;&#10; &#47;&#47;Check if this is the owner of backend cache . If not don&#39;t remove memory&#10; if &#40;CanRemoveFromBackStoreCache&#40;cacheItemBeforeLock, removalReason&#41;&#41;&#10; backingStore.Remove&#40;key&#41;&#59; &#47;&#47; Does exception safety matter here&#63; We&#39;re removing it due to expiration or scavenging...&#10; inMemoryCache.Remove&#40;key&#41;&#59;&#10;&#10; RefreshActionInvoker.InvokeRefreshAction&#40;cacheItemBeforeLock, removalReason, instrumentationProvider&#41;&#59;&#10;&#10; instrumentationProvider.FireCacheUpdated&#40;1, inMemoryCache.Count&#41;&#59;&#10; &#125;&#10; finally&#10; &#123;&#10; Monitor.Exit&#40;cacheItemBeforeLock&#41;&#59;&#10; &#125;&#10; &#125;&#10;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Removes an item from the cache.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;key&#34;&#62;The key to remove.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;removalReason&#34;&#62;One of the &#60;see cref&#61;&#34;CacheItemRemovedReason&#34;&#47;&#62; values.&#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;remarks&#62;&#10; &#47;&#47;&#47; This seemingly redundant method is here to be called through the ICacheOperations &#10; &#47;&#47;&#47; interface. I put this in place to break any dependency from any other class onto &#10; &#47;&#47;&#47; the Cache class&#10; &#47;&#47;&#47; &#60;&#47;remarks&#62;&#10; public void RemoveItemFromCache&#40;string key, CacheItemRemovedReason removalReason&#41;&#10; &#123;&#10; Remove&#40;key, removalReason&#41;&#59;&#10; &#125;&#10;&#10; &#47;&#47;static TimeSpan refreshTimeSpan &#61; new TimeSpan&#40;10000000&#41;&#59;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Get the object from the cache for the key.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;key&#34;&#62;&#10; &#47;&#47;&#47; The key whose value to get.&#10; &#47;&#47;&#47; &#60;&#47;param&#62;&#10; &#47;&#47;&#47; &#60;returns&#62;&#10; &#47;&#47;&#47; The value associated with the specified key. &#10; &#47;&#47;&#47; &#60;&#47;returns&#62;&#10; public object GetData&#40;string key&#41;&#10; &#123;&#10; ValidateKey&#40;key&#41;&#59;&#10; CacheItem cacheItemBeforeLock &#61; null&#59;&#10; bool lockWasSuccessful &#61; false&#59;&#10;&#10; do&#10; &#123;&#10; lock &#40;inMemoryCache.SyncRoot&#41;&#10; &#123;&#10; cacheItemBeforeLock &#61; &#40;CacheItem&#41;inMemoryCache&#91;key&#93;&#59;&#10; if &#40;IsObjectInCache&#40;cacheItemBeforeLock&#41;&#41;&#10; &#123;&#10; &#47;&#47; Try to see the back end has key &#10; var obj &#61; &#40;CacheItem&#41;this.backingStore.GetDataFromBackStoreCache&#40;key&#41;&#59;&#10; if &#40;obj &#33;&#61; null&#41;&#10; &#123;&#10; cacheItemBeforeLock &#61; obj&#59;&#10; inMemoryCache&#91;key&#93; &#61; cacheItemBeforeLock&#59;&#10; &#125;&#10; else&#10; &#123;&#10; instrumentationProvider.FireCacheAccessed&#40;key, false&#41;&#59;&#10; return null&#59;&#10; &#125;&#10; &#125;&#10; else&#10; &#123;&#10; &#47;&#47;updated by senthil&#10; if &#40;cacheItemBeforeLock &#33;&#61; null &#38;&#38; cacheItemBeforeLock.FetchItFromBackStore &#61;&#61; true&#41;&#10; &#123;&#10;&#10; if &#40;cacheItemBeforeLock.LastAccessedTime &#60;&#61; this.backingStore.GetLastAccessedTime&#40;cacheItemBeforeLock.Key&#41;&#41;&#10; &#123;&#10; &#47;&#47;TimeSpan t &#61; DateTime.Now - cacheItemBeforeLock.LastAccessedTime&#59;&#10; &#47;&#47;if &#40;t &#62; refreshTimeSpan&#41;&#10; &#47;&#47;&#123; &#47;&#47; Try to see the back end has key &#10; var obj &#61; &#40;CacheItem&#41;this.backingStore.GetDataFromBackStoreCache&#40;key&#41;&#59;&#10; if &#40;obj &#33;&#61; null&#41;&#10; &#123;&#10; cacheItemBeforeLock &#61; obj&#59;&#10; inMemoryCache&#91;key&#93; &#61; cacheItemBeforeLock&#59;&#10; &#125;&#10;&#10; &#125;&#10; &#125;&#10; &#125;&#10;&#10; lockWasSuccessful &#61; Monitor.TryEnter&#40;cacheItemBeforeLock&#41;&#59;&#10; &#125;&#10;&#10; if &#40;lockWasSuccessful &#61;&#61; false&#41;&#10; &#123;&#10; Thread.Sleep&#40;0&#41;&#59;&#10; &#125;&#10; &#125; while &#40;lockWasSuccessful &#61;&#61; false&#41;&#59;&#10;&#10; try&#10; &#123;&#10;&#10; if &#40;cacheItemBeforeLock.HasExpired&#40;&#41;&#41;&#10; &#123;&#10; cacheItemBeforeLock.TouchedByUserAction&#40;true&#41;&#59;&#10;&#10; backingStore.Remove&#40;key&#41;&#59; &#47;&#47; Does exception safety matter here&#63; We&#39;re removing it due to expiration or scavenging...&#10; inMemoryCache.Remove&#40;key&#41;&#59;&#10;&#10; RefreshActionInvoker.InvokeRefreshAction&#40;cacheItemBeforeLock, CacheItemRemovedReason.Expired, instrumentationProvider&#41;&#59;&#10;&#10; instrumentationProvider.FireCacheAccessed&#40;key, false&#41;&#59;&#10; instrumentationProvider.FireCacheUpdated&#40;1, inMemoryCache.Count&#41;&#59;&#10; instrumentationProvider.FireCacheExpired&#40;1&#41;&#59;&#10; return null&#59;&#10; &#125;&#10;&#10;&#10; backingStore.UpdateLastAccessedTime&#40;cacheItemBeforeLock.Key, DateTime.Now&#41;&#59; &#47;&#47; Does exception safety matter here&#63;&#10; cacheItemBeforeLock.TouchedByUserAction&#40;false&#41;&#59;&#10;&#10; instrumentationProvider.FireCacheAccessed&#40;key, true&#41;&#59;&#10; return cacheItemBeforeLock.Value&#59;&#10; &#125;&#10; finally&#10; &#123;&#10; Monitor.Exit&#40;cacheItemBeforeLock&#41;&#59;&#10; &#125;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Flush the cache.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;remarks&#62;&#10; &#47;&#47;&#47; There may still be thread safety issues in this class with respect to cacheItemExpirations&#10; &#47;&#47;&#47; and scavenging, but I really doubt that either of those will be happening while&#10; &#47;&#47;&#47; a Flush is in progress. It seems that the most likely scenario for a flush&#10; &#47;&#47;&#47; to be called is at the very start of a program, or when absolutely nothing else&#10; &#47;&#47;&#47; is going on. Calling flush in the middle of an application would seem to be&#10; &#47;&#47;&#47; an &#34;interesting&#34; thing to do in normal circumstances.&#10; &#47;&#47;&#47; &#60;&#47;remarks&#62;&#10; public void Flush&#40;&#41;&#10; &#123;&#10; RestartFlushAlgorithm&#58;&#10; lock &#40;inMemoryCache.SyncRoot&#41;&#10; &#123;&#10; foreach &#40;string key in inMemoryCache.Keys&#41;&#10; &#123;&#10; bool lockWasSuccessful &#61; false&#59;&#10; CacheItem itemToRemove &#61; &#40;CacheItem&#41;inMemoryCache&#91;key&#93;&#59;&#10; try&#10; &#123;&#10; if &#40;lockWasSuccessful &#61; Monitor.TryEnter&#40;itemToRemove&#41;&#41;&#10; &#123;&#10; itemToRemove.TouchedByUserAction&#40;true&#41;&#59;&#10; &#125;&#10; else&#10; &#123;&#10; goto RestartFlushAlgorithm&#59;&#10; &#125;&#10; &#125;&#10; finally&#10; &#123;&#10; if &#40;lockWasSuccessful&#41; Monitor.Exit&#40;itemToRemove&#41;&#59;&#10; &#125;&#10; &#125;&#10;&#10; int countBeforeFlushing &#61; inMemoryCache.Count&#59;&#10;&#10; backingStore.Flush&#40;&#41;&#59;&#10; inMemoryCache.Clear&#40;&#41;&#59;&#10;&#10; instrumentationProvider.FireCacheUpdated&#40;countBeforeFlushing, 0&#41;&#59;&#10; &#125;&#10; &#125;&#10;&#10; private static void ValidateKey&#40;string key&#41;&#10; &#123;&#10; if &#40;string.IsNullOrEmpty&#40;key&#41;&#41;&#10; &#123;&#10; throw new ArgumentException&#40;Resources.EmptyParameterName, &#34;key&#34;&#41;&#59;&#10; &#125;&#10; &#125;&#10;&#10; private static bool IsObjectInCache&#40;CacheItem cacheItemBeforeLock&#41;&#10; &#123;&#10; return cacheItemBeforeLock &#61;&#61; null &#124;&#124; Object.ReferenceEquals&#40;cacheItemBeforeLock.Value, addInProgressFlag&#41;&#59;&#10; &#125;&#10;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Dispose of the backing store before garbage collection.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#126;Cache&#40;&#41;&#10; &#123;&#10; Dispose&#40;false&#41;&#59;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Dispose of the backing store before garbage collection.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; public void Dispose&#40;&#41;&#10; &#123;&#10; Dispose&#40;true&#41;&#59;&#10; GC.SuppressFinalize&#40;this&#41;&#59;&#10; &#125;&#10;&#10; &#47;&#47;&#47; &#60;summary&#62;&#10; &#47;&#47;&#47; Dispose of the backing store before garbage collection.&#10; &#47;&#47;&#47; &#60;&#47;summary&#62;&#10; &#47;&#47;&#47; &#60;param name&#61;&#34;disposing&#34;&#62;&#10; &#47;&#47;&#47; &#60;see langword&#61;&#34;true&#34;&#47;&#62; if disposing&#59; otherwise, &#60;see langword&#61;&#34;false&#34;&#47;&#62;.&#10; &#47;&#47;&#47; &#60;&#47;param&#62;&#10; protected virtual void Dispose&#40;bool disposing&#41;&#10; &#123;&#10; if &#40;disposing&#41;&#10; &#123;&#10; backingStore.Dispose&#40;&#41;&#59;&#10; backingStore &#61; null&#59;&#10; &#125;&#10; &#125;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00KHhttp://rise4fun.com/HeapDbg/KHHeapDbg/KH<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return Run1&#40;&#41;&#59;&#10; &#125;&#10;&#10; static object Run1&#40;&#41; &#123;&#10; var res &#61; new Data&#91;&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Wlhttp://rise4fun.com/HeapDbg/WlHeapDbg/Wl<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; private int prop&#59; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return &#123; root &#61; new Data&#40;&#41;&#47;&#47;res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Yhhttp://rise4fun.com/HeapDbg/YhHeapDbg/Yh<pre>using System&#59;&#13;&#10;using System.Collections.Generic&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;Point, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;Point, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;spheres&#91;0&#93;.center, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00r2bhttp://rise4fun.com/HeapDbg/r2bHeapDbg/r2b<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return &#34;abc&#34;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00vhttp://rise4fun.com/HeapDbg/vHeapDbg/v<pre>using System&#59;&#13;&#10;using System.Collections.Generic&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;Point, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;int, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;spheres&#91;0&#93;.center, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00y0http://rise4fun.com/HeapDbg/y0HeapDbg/y0<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Rhttp://rise4fun.com/HeapDbg/RHeapDbg/R<pre>using System&#59;&#13;&#10;&#13;&#10;class ListNode &#123; public ListNode next&#59; &#125;&#13;&#10;public class Program&#13;&#10;&#123;&#13;&#10; public static object Run&#40;&#41;&#13;&#10; &#123;&#13;&#10;ListNode res &#61; null&#59;&#13;&#10;&#13;&#10;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;res &#61; new ListNode &#123;next &#61; res&#59;&#125;&#59;&#13;&#10;&#13;&#10;return res&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Qzhttp://rise4fun.com/HeapDbg/QzHeapDbg/Qz<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60;gdvm ..thgh res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00hwhttp://rise4fun.com/HeapDbg/hwHeapDbg/hw<pre>&#47;&#47; Creates a Deep Copy of a Tree of Data objects&#13;&#10;class Data &#123; public int Value&#59;&#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#61;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10; public static TreeNode CopyTreeDeep&#40;TreeNode t&#41; &#123;&#13;&#10; if &#40;t &#61;&#61; null&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; CopyTreeDeep&#40;t.Left&#41;, Right &#61; CopyTreeDeep&#40;t.Right&#41;, &#13;&#10; Data &#61; new Data &#123; Value &#61; t.Data.Value &#125; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var original &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10; var copy &#61; TreeNode.CopyTreeDeep&#40;torig&#41;&#59;&#13;&#10;&#13;&#10; return new &#123; orig &#61; original, copy &#61; copy &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00JMhttp://rise4fun.com/HeapDbg/JMHeapDbg/JM<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;100&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res, a&#61; new &#123;lol&#61;res&#125; &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00lThttp://rise4fun.com/HeapDbg/lTHeapDbg/lT<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int i&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; object res &#61; &#123; root &#61; new Data&#91;10&#93; &#125;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res.a&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:009Shttp://rise4fun.com/HeapDbg/9SHeapDbg/9S<pre>TI2LZ6 &#60;a href&#61;&#34;http&#58;&#47;&#47;uugllgbfayvd.com&#47;&#34;&#62;uugllgbfayvd&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;gsdbjlinzjwr.com&#47;&#93;gsdbjlinzjwr&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;qtnjculuutee.com&#47;&#93;qtnjculuutee&#91;&#47;link&#93;, http&#58;&#47;&#47;vfqmcwslknxp.com&#47;</pre>2013-05-18T17:03:41-07:00PkIhttp://rise4fun.com/HeapDbg/PkIHeapDbg/PkI<pre>&#47;&#47; Create an tree containing nested arrays of speheres&#13;&#10;&#47;&#47; Everything is nested&#47;unaliased but they all share a special color object&#13;&#10;using System&#59;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10; var rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10; return new &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class STreeNode &#123;&#13;&#10; public STreeNode left&#59; &#13;&#10; public STreeNode right&#59; &#13;&#10; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10; public static STreeNode MakeTree&#40;int k, Color c&#41; &#123;&#13;&#10; if &#40;k &#61;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else &#123;&#13;&#10; var sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; sph.Length&#59; &#43;&#43;i&#41; &#123;&#13;&#10; var cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#13;&#10; sph&#91;i&#93; &#61; new Sphere &#123; center &#61; cp, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10; &#125;&#13;&#10; return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10; &#125;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00lphttp://rise4fun.com/HeapDbg/lpHeapDbg/lp<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c &#61; new Const&#40;&#41;&#59;&#10; c.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c&#59;&#10; &#10; &#47;&#47;Add exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; ad1 &#43; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00lnvhttp://rise4fun.com/HeapDbg/lnvHeapDbg/lnv<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123;&#13;public int i&#59;&#13; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;11&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; &#123;&#13;res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;res&#91;i&#93;.i &#61; i&#59;&#125;&#13; res&#91;10&#93;.i &#61; 7829&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Jkhttp://rise4fun.com/HeapDbg/JkHeapDbg/Jk<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 100&#59; &#43;&#43;i&#41;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00zUhttp://rise4fun.com/HeapDbg/zUHeapDbg/zU<pre>using System&#59;&#13;&#10;&#13;&#10;&#9;public class Result &#123; public Data&#91;&#93; array&#59; public Data special&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Data&#91;&#93; resa &#61; new Data&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;Data dspecial &#61; new Data&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;if&#40;i &#61;&#61; 5&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;resa&#91;i&#93; &#61; dspecial&#59;&#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;resa&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00LMhttp://rise4fun.com/HeapDbg/LMHeapDbg/LM<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00wIhttp://rise4fun.com/HeapDbg/wIHeapDbg/wI<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#10; public Dbtb other&#59;&#10;&#125;&#10;class Dbtb &#123;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41; &#123;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; res&#91;i&#93;.other &#61; new Dbtb&#40;&#41;&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00CKhttp://rise4fun.com/HeapDbg/CKHeapDbg/CK<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;SceneObject&#91;&#93; things &#61; new SceneObject&#91;3&#93;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;0&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, Radius &#61; 0.5F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;1&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, Radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;2&#93; &#61; new Plane &#123; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, Offset &#61; 1F &#125;&#59;&#13;&#10;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Light&#91;&#93; lights &#61; new Light&#91;2&#93;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;0&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;1&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Camera camera &#61; new Camera &#123; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Scene &#123; Things &#61; things, Lights &#61; lights, Camera &#61; camera &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Scene &#123; public SceneObject&#91;&#93; Things&#59; public Light&#91;&#93; Lights&#59; public Camera Camera&#59; &#125;&#13;&#10;&#9;&#13;&#10;&#9;public interface SceneObject &#123; &#125;&#13;&#10;&#9;public class Sphere &#58; SceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;&#9;public class Plane &#58; SceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;&#9;public class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;</pre>2013-05-18T17:03:41-07:00qhttp://rise4fun.com/HeapDbg/qHeapDbg/q<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125; class Data2 &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new object&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; i &#37; 2 &#61;&#61; 0 &#63; &#40;object&#41;new Data2&#40;&#41;&#58; new object&#91;1&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:009nchttp://rise4fun.com/HeapDbg/9ncHeapDbg/9nc<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;,10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#91;10&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00g3http://rise4fun.com/HeapDbg/g3HeapDbg/g3<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61;&#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00g2http://rise4fun.com/HeapDbg/g2HeapDbg/g2<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; private int prop&#59; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00GJhttp://rise4fun.com/HeapDbg/GJHeapDbg/GJ<pre>Using Spec&#35; complete the implementation of the Stack class below and verify it using Spec&#35;. Include methods with the following prototypes&#58;&#10;public void Push&#40;int e&#41;&#59; &#47;&#47;add the integer e to the stack&#10;public int Pop&#40;&#41;&#59; &#47;&#47; removes the topmost element from the stack and returns the element that was removed.&#10;&#91;Pure&#93; public bool IsEmpty&#40;&#41;&#59; &#47;&#47;checks to see if the Stack is empty&#10;&#91;Pure&#93; public bool IsFull&#40;&#41;&#59; &#47;&#47;checks to see if the Stack is full&#10;The code we completed in class follows&#58;&#10;using System&#59;&#10;using Microsoft.Contracts&#59;&#10;class Stack&#10;&#123;&#10;&#91;Rep&#93; int&#91;&#93;&#33; elements &#61; new int&#91;10&#93;&#59;&#10;int top&#59;&#10;invariant -1 &#60;&#61; top &#38;&#38; top &#60;&#61; elements.Length&#59;&#10;&#10;public int Top &#123;&#10;get &#123; return top&#59; &#125;&#10;&#125;&#10;&#10;public int Capacity &#123;&#10;get&#10;ensures result &#61;&#61; elements.Length&#59;&#10;&#123; return elements.Length&#59; &#125;&#10;&#125;&#10;&#10;&#91;NotDelayed&#93; public Stack&#40;&#41;&#10;ensures Top &#61;&#61; -1&#59;&#10;ensures Capacity &#61;&#61; 10&#59;&#10;&#123;&#10;top &#61; -1&#59;&#10;&#125;&#10;&#10;public void Push&#40;int e&#41;&#10;requires Top &#60; Capacity - 1&#59;&#10;modifies this.&#42;&#59;&#10;ensures Top &#61;&#61; old&#40;Top&#41;&#43;1&#59;&#10;ensures Capacity &#61;&#61; old&#40;Capacity&#41;&#59;&#10;ensures elements&#91;top&#93; &#61;&#61; e&#59;&#10;&#123;&#10;expose &#40;this&#41; &#123;&#10;top &#43;&#43;&#59; elements&#91;top&#93; &#61; e&#59;&#10;&#125;&#10;&#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Zihttp://rise4fun.com/HeapDbg/ZiHeapDbg/Zi<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res,lol&#61;res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00fwhttp://rise4fun.com/HeapDbg/fwHeapDbg/fw<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;100&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res, ф&#61; &#34;&#34; &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00fUfhttp://rise4fun.com/HeapDbg/fUfHeapDbg/fUf<pre>&#47;&#47; Creates a Tree of Data objects&#10;class Data &#123; &#125;&#10;class TreeNode &#123;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#10; public Data Data&#59;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#10; if &#40;k &#60;&#61; 0&#41;&#10; return null&#59;&#10; else&#10; return new TreeNode &#123; &#10; Left &#61; MakeTree&#40;k - 1&#41;, &#10; Right &#61; MakeTree&#40;k - 1&#41;, &#10; Data &#61; new Data&#40;&#41; &#10; &#125;&#59;&#10; &#125;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return new &#123; root &#61; TreeNode.MakeTree&#40;7&#41; &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Fuhttp://rise4fun.com/HeapDbg/FuHeapDbg/Fu<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public ListNode Tail&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode tail &#61; new ListNode &#123; Next&#61;null, Tail&#61;tail, Data&#61;new Data&#40;&#41; &#125;&#59;&#10; ListNode res &#61; tail&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res &#61; new ListNode &#123; Next &#61; res, Tail &#61; tail, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Fshttp://rise4fun.com/HeapDbg/FsHeapDbg/Fs<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static Var env &#61; new Var&#91;3&#93;&#59;&#10; &#10; static object test&#40;Etype exp, Var &#91;&#93; env&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00frhttp://rise4fun.com/HeapDbg/frHeapDbg/fr<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Jghttp://rise4fun.com/HeapDbg/JgHeapDbg/Jg<pre>&#10;&#47;&#42;&#42;&#10; &#42; Ejemplo de envio de correo simple con JavaMail&#10; &#42;&#10; &#42; &#64;author Chuidiang&#10; &#42;&#10; &#42;&#47;&#10;class EnviarMail&#10;&#123;&#10; &#47;&#42;&#42;&#10; &#42; main de prueba&#10; &#42; &#64;param args Se ignoran.&#10; &#42;&#47;&#10;&#9;int main&#40;String&#91;&#93; args&#41;&#10; &#123;&#10; &#9;ArrayList elements &#61; new ArrayList&#40;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;rodrigo&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;joaquin&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;cristobal&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;agustin&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;micaela&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;gabriel&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ana_julia&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ricardo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ireneo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;pablo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid&#34;,&#34;fire&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid_rain&#34;,&#34;acid&#34;,&#34;rain&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ai&#34;,&#34;computer&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alcohol&#34;,&#34;water&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alien&#34;,&#34;space&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aluminum&#34;,&#34;metal&#34;,&#34;electricity&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ape&#34;,&#34;human&#34;,&#34;wool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquaman&#34;,&#34;fish&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquarium&#34;,&#34;glass&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;arable_land&#34;,&#34;soil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ash&#34;,&#34;fire&#34;,&#34;dust&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ashtray&#34;,&#34;ash&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;baby&#34;,&#34;human&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bacterium&#34;,&#34;swamp&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bank&#34;,&#34;money&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beach&#34;,&#34;water&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beast&#34;,&#34;soil&#34;,&#34;lizard&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beer&#34;,&#34;alcohol&#34;,&#34;wheat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bird&#34;,&#34;air&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;blood&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boat&#34;,&#34;water&#34;,&#34;wood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boiler&#34;,&#34;metal&#34;,&#34;steam&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomb&#34;,&#34;metal&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomber&#34;,&#34;plane&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;book&#34;,&#34;paper&#34;,&#34;feather&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bread&#34;,&#34;fire&#34;,&#34;dough&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick&#34;,&#34;clay&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick_house&#34;,&#34;concrete&#34;,&#34;brick&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bug&#34;,&#34;soil&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bulb&#34;,&#34;electricity&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bungalow&#34;,&#34;hut&#34;,&#34;beach&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;business&#34;,&#34;money&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;butterfly&#34;,&#34;air&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cart&#34;,&#34;wood&#34;,&#34;wheel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;caviar&#34;,&#34;fish&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cd&#34;,&#34;laser&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cellphone&#34;,&#34;computer&#34;,&#34;radiowave&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cement&#34;,&#34;clay&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ceramics&#34;,&#34;clay&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cigarette&#34;,&#34;paper&#34;,&#34;tobacco&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clay&#34;,&#34;swamp&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cleaner&#34;,&#34;clobber&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clobber&#34;,&#34;fabric&#34;,&#34;patient&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clone&#34;,&#34;scientist&#34;,&#34;livestock&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clothing&#34;,&#34;fabric&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cloud&#34;,&#34;steam&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coal&#34;,&#34;tree&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cockleshell&#34;,&#34;stone&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coffee&#34;,&#34;seeds&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;columbus&#34;,&#34;sailing_vessel&#34;,&#34;hero&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;computer&#34;,&#34;book&#34;,&#34;tv&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;concrete&#34;,&#34;water&#34;,&#34;cement&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;corpse&#34;,&#34;poison&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cyborg&#34;,&#34;human&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;developer&#34;,&#34;sex&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dinosaur&#34;,&#34;soil&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;doctor&#34;,&#34;human&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dough&#34;,&#34;water&#34;,&#34;flour&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dragon&#34;,&#34;flying_dinosaur&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;drinker&#34;,&#34;alcohol&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dust&#34;,&#34;air&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;egg&#34;,&#34;stone&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;electricity&#34;,&#34;scientist&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;elixer&#34;,&#34;stone&#34;,&#34;philosopher&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;energy&#34;,&#34;air&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fabric&#34;,&#34;wool&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fart&#34;,&#34;peas&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;feather&#34;,&#34;bird&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fern&#34;,&#34;swamp&#34;,&#34;moss&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire_golem&#34;,&#34;fire&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;firearms&#34;,&#34;weapon&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fish&#34;,&#34;bacterium&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flour&#34;,&#34;wheat&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flying_dinosaur&#34;,&#34;dinosaur&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_egg&#34;,&#34;fire&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_meat&#34;,&#34;fire&#34;,&#34;meat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;frog&#34;,&#34;fish&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ghoul&#34;,&#34;zombie&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;glass&#34;,&#34;sand&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gold&#34;,&#34;elixer&#34;,&#34;any_other_element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;golem&#34;,&#34;clay&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;grass&#34;,&#34;moss&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gunpowder&#34;,&#34;saltpeter&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hacker&#34;,&#34;pirate&#34;,&#34;internet&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hero&#34;,&#34;warrior&#34;,&#34;dragon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hospital&#34;,&#34;brick_house&#34;,&#34;doctor&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;housemd&#34;,&#34;doctor&#34;,&#34;vicodin&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;human&#34;,&#34;golem&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hunter&#34;,&#34;weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hut&#34;,&#34;stone&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;internet&#34;,&#34;computer&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;japanese&#34;,&#34;human&#34;,&#34;rice&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;kamasutra&#34;,&#34;book&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;katana&#34;,&#34;japanese&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lake&#34;,&#34;water&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lamp&#34;,&#34;glass&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;laser&#34;,&#34;radiowave&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava&#34;,&#34;soil&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava_golem&#34;,&#34;life&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;life&#34;,&#34;energy&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lighthouse&#34;,&#34;brick_house&#34;,&#34;lamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;limestone&#34;,&#34;stone&#34;,&#34;cockleshell&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;livestock&#34;,&#34;human&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lizard&#34;,&#34;snake&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manga&#34;,&#34;book&#34;,&#34;japanese&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manure&#34;,&#34;livestock&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meat&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;medicine&#34;,&#34;shaman&#34;,&#34;poison&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mercury&#34;,&#34;fire&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal&#34;,&#34;stone&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal_golem&#34;,&#34;life&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meteorite&#34;,&#34;space&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;milk&#34;,&#34;livestock&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;money&#34;,&#34;gold&#34;,&#34;paper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;moss&#34;,&#34;swamp&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;murderer&#34;,&#34;poison_weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mushroom&#34;,&#34;soil&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;new_york&#34;,&#34;usa&#34;,&#34;skyscraper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ninja&#34;,&#34;samuri&#34;,&#34;poison_weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;nuclearbomb&#34;,&#34;scientist&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ocean&#34;,&#34;sea&#34;,&#34;sea&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;oil&#34;,&#34;water&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;paper&#34;,&#34;tool&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;patient&#34;,&#34;bacterium&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;peas&#34;,&#34;arable_land&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;petrol&#34;,&#34;oil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phantom&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;philosopher&#34;,&#34;grass&#34;,&#34;scientist&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phoenix&#34;,&#34;fire&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pig-iron&#34;,&#34;metal&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pilot&#34;,&#34;plane&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pirate&#34;,&#34;murderer&#34;,&#34;sailing_vessel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plane&#34;,&#34;bird&#34;,&#34;aluminum&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plankton&#34;,&#34;water&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison&#34;,&#34;tool&#34;,&#34;scorpion&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison_weapon&#34;,&#34;poison&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pub&#34;,&#34;beer&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiation&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiowave&#34;,&#34;metal&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rain&#34;,&#34;cloud&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;reed&#34;,&#34;swamp&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rice&#34;,&#34;arable_land&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;robot&#34;,&#34;japanese&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rocket&#34;,&#34;plane&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rust&#34;,&#34;water&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_boat&#34;,&#34;boat&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_vessel&#34;,&#34;wooden_ship&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;salt&#34;,&#34;metal&#34;,&#34;acid&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;saltpeter&#34;,&#34;manure&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;samurai&#34;,&#34;japanese&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sand&#34;,&#34;water&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scientist&#34;,&#34;doctor&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scorpion&#34;,&#34;bug&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sea&#34;,&#34;lake&#34;,&#34;salt&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seaweed&#34;,&#34;life&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seeds&#34;,&#34;life&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sex&#34;,&#34;human&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shaman&#34;,&#34;mushroom&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shop&#34;,&#34;clothing&#34;,&#34;brickhouse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skydiver&#34;,&#34;clobber&#34;,&#34;pilot&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skyscraper&#34;,&#34;brickhouse&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;snake&#34;,&#34;sand&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sniper&#34;,&#34;firearms&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;space&#34;,&#34;ocean&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;speedboat&#34;,&#34;boat&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;starwars&#34;,&#34;laser&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam&#34;,&#34;water&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_engine&#34;,&#34;boiler&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_locomotive&#34;,&#34;steam_engine&#34;,&#34;cart&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steamship&#34;,&#34;wooden_ship&#34;,&#34;steam_engine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;stone&#34;,&#34;water&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;storm&#34;,&#34;energy&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submarine&#34;,&#34;whale&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submariner&#34;,&#34;submarine&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sulfur&#34;,&#34;swamp&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sun&#34;,&#34;lava&#34;,&#34;space&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;swamp&#34;,&#34;water&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;team&#34;,&#34;cart&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;terrorist&#34;,&#34;bomb&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;thunderbird&#34;,&#34;storm&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tobacco&#34;,&#34;fire&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tool&#34;,&#34;human&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;torpedo&#34;,&#34;rocket&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;toy&#34;,&#34;baby&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tree&#34;,&#34;soil&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;turtle&#34;,&#34;egg&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tv&#34;,&#34;radiowave&#34;,&#34;bulb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ufo&#34;,&#34;alien&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;usa&#34;,&#34;columbus&#34;,&#34;ocean&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vampire&#34;,&#34;human&#34;,&#34;blood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vicodin&#34;,&#34;medicine&#34;,&#34;medicine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vodka&#34;,&#34;water&#34;,&#34;alcohol&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;walking_tree&#34;,&#34;life&#34;,&#34;tree&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;war&#34;,&#34;warrior&#34;,&#34;warrior&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;werewolf&#34;,&#34;vampire&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warrior&#34;,&#34;weapon&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warship&#34;,&#34;wooden_ship&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;weapon&#34;,&#34;tool&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;whale&#34;,&#34;fish&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheat&#34;,&#34;arable_land&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheel&#34;,&#34;wood&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wood&#34;,&#34;tree&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wooden_ship&#34;,&#34;wood&#34;,&#34;boat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wool&#34;,&#34;beast&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;worm&#34;,&#34;bacterium&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;yogurt&#34;,&#34;milk&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;zombie&#34;,&#34;life&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;soil&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;air&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;water&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#10; &#9;HashMap parents &#61; new HashMap&#40;&#41;&#59;&#10; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10; &#9;&#9;Element element &#61; &#40;Element&#41; elements.get&#40;i&#41;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getFather&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getFather&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getFather&#40;&#41;, new Parent&#40; element.getFather&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getMother&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getMother&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getMother&#40;&#41;, new Parent&#40; element.getMother&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#125;&#10; &#9;&#10; &#9;Collection parentsSimple &#61; parents.values&#40;&#41;&#59;&#10; &#9;Iterator iterParent &#61; parentsSimple.iterator&#40;&#41;&#59;&#10;&#47;&#47; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#47;&#47;&#47;&#47; &#9;&#9;if &#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;.equals&#40;&#34;housemd&#34;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;if &#40;&#33;&#40; parents.containsKey&#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;&#41;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;digraph &#34; &#43; i &#43; &#34; &#123;&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;drawAscendenceForElements&#40;&#40;Element&#41; elements.get&#40;i&#41;, &#40;ArrayList&#41; elements.clone&#40;&#41;&#41;&#59;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;&#125;&#10;&#47;&#47; &#9;&#125;&#10; &#9;&#47;&#47; drawing complete&#10; &#9;System.out.println&#40;&#34;digraph g &#123;&#34;&#41;&#59;&#10; &#9;while &#40;iterParent.hasNext&#40;&#41;&#41;&#123;&#10; &#9;&#9;Parent parent &#61; &#40;Parent&#41; &#40;iterParent.next&#40;&#41;&#41;&#59;&#10; &#9;&#9;Object&#91;&#93; childs &#61; parent.getChilds&#40;&#41;&#59;&#10;&#9;&#9;&#9;for &#40;int j &#61; 0&#59; j &#60; childs.length&#59; j&#43;&#43;&#41; &#123;&#10;&#9;&#9;&#9;&#9;System.out.println&#40;parent.getName&#40;&#41; &#43; &#34; -&#62; &#34; &#43; &#40;String&#41; childs&#91;j&#93;&#41;&#59;&#10;&#9;&#9;&#9;&#125;&#10; &#9;&#125;&#10; &#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10; &#9;&#10; &#9;&#47;&#42;&#42;&#10; try&#10; &#123;&#10; &#47;&#47; Propiedades de la conexi&#243;n&#10; Properties props &#61; new Properties&#40;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.host&#34;, &#34;smtp.gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.starttls.enable&#34;, &#34;true&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.port&#34;, &#34;587&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.user&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.auth&#34;, &#34;true&#34;&#41;&#59;&#10; &#47;&#47; Preparamos la sesion&#10; Session session &#61; Session.getDefaultInstance&#40;props&#41;&#59;&#10;&#10; &#47;&#47; Construimos el mensaje&#10; MimeMessage message &#61; new MimeMessage&#40;session&#41;&#59;&#10; message.setFrom&#40;new InternetAddress&#40;&#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#41;&#59;&#10; message.addRecipient&#40;&#10; Message.RecipientType.TO,&#10; new InternetAddress&#40;&#34;rmolina&#64;intelap.com&#34;&#41;&#41;&#59;&#10; message.setText&#40;&#10; &#34;Mensajito con Java Mail&#34; &#43; &#34; de los buenos.&#34; &#43; &#34;poque si&#34; &#43; &#34; funciona papa&#33; &#34;&#41;&#59;&#10;&#10; &#47;&#47; Lo enviamos.&#10; Transport t &#61; session.getTransport&#40;&#34;smtp&#34;&#41;&#59;&#10; t.connect&#40;&#34;smtp.gmail.com&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10;&#47;&#47; t.connect&#40;&#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10; t.sendMessage&#40;message, message.getAllRecipients&#40;&#41;&#41;&#59;&#10;&#10; &#47;&#47; Cierre.&#10; t.close&#40;&#41;&#59;&#10; &#125;&#10; catch &#40;Exception e&#41;&#10; &#123;&#10; e.printStackTrace&#40;&#41;&#59;&#10; &#125;&#10; &#42;&#47;&#10; &#125;&#10;&#10;&#9;private static void drawAscendenceForElements&#40;Element element,&#10;&#9;&#9;&#9;ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;if &#40;element&#33;&#61;null&#41;&#123;&#10;&#9;&#9;&#9;Element father &#61; getElement&#40; element.getFather&#40;&#41;, anotherElements&#41;&#59; &#10;&#9;&#9;&#9;anotherElements.remove&#40;father&#41;&#59;&#10;&#9;&#9;&#9;Element mother &#61; getElement&#40; element.getMother&#40;&#41;, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;anotherElements.remove&#40;mother&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;father, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;mother, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getFather&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getMother&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#125;&#10;&#9;&#9;&#10;&#9;&#125;&#10;&#10;&#9;private static Element getElement&#40;String parent, ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;for &#40;int i &#61; 0&#59; i &#60; anotherElements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#9;&#9;&#9;Element element &#61; &#40;Element&#41; anotherElements.get&#40;i&#41;&#59;&#10;&#9;&#9;&#9;if &#40;element.getName&#40;&#41;.equals&#40;parent&#41;&#41;&#123;&#10;&#9;&#9;&#9;&#9;return element&#59;&#10;&#9;&#9;&#9;&#125;&#10;&#9;&#9;&#125;&#10;&#9;&#9;return null&#59;&#10;&#9;&#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00fqshttp://rise4fun.com/HeapDbg/fqsHeapDbg/fqs<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10; public double getValue&#40;&#41;&#10; &#123;&#10; return value&#59;&#10; &#125;&#10; &#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; double getVal&#40;&#41;&#10; &#123;&#10; return &#40;l.getValue&#40;&#41;&#43;r.getValue&#40;&#41;&#41;&#59; &#10; &#125;&#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;class Const&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#59;&#10; Const c2 &#61; new Const&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00eeahttp://rise4fun.com/HeapDbg/eeaHeapDbg/eea<pre></pre>2013-05-18T17:03:41-07:000Uhttp://rise4fun.com/HeapDbg/0UHeapDbg/0U<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#10; int x&#59;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41; &#123;&#10; res&#91;i&#93;.x &#61; 111&#59;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00eBhttp://rise4fun.com/HeapDbg/eBHeapDbg/eB<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int val&#59; Data left&#59; Data right&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; var d&#61;new Data&#40;&#41;&#59; &#10; d.left&#61;new Data&#40;&#41;&#59;&#10; res&#91;i&#93; &#61; d&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00E7http://rise4fun.com/HeapDbg/E7HeapDbg/E7<pre>To think, I was confused a miunte ago.</pre>2013-05-18T17:03:41-07:00e56http://rise4fun.com/HeapDbg/e56HeapDbg/e56<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#10;class Hello &#123; public World World&#59; &#10;&#10; public int getId&#40;&#41;&#10; &#123;&#10; &#10; return 100&#59;&#10; &#125;&#10;&#125;&#10;class World &#123; &#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; int id&#59;&#10; id &#61; &#10; var res &#61; new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#10; id &#61; res.getId&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00E4http://rise4fun.com/HeapDbg/E4HeapDbg/E4<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00o6http://rise4fun.com/HeapDbg/o6HeapDbg/o6<pre>&#47;&#47; Create an array of aliased Data objects&#13;&#10;&#47;&#47; Alising is shown as XXX color on &#91;&#63;&#93; edge.&#13;&#10;class Data &#123; public int Value&#59; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41; &#123;&#13;&#10; if &#40;i &#37; 2 &#61;&#61; 0&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; else&#13;&#10; res&#91;i&#93; &#61; res&#91;i - 1&#93;&#59;&#13;&#10; &#125;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00Bxhttp://rise4fun.com/HeapDbg/BxHeapDbg/Bx<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var i &#61; 5&#59;&#10;return &#123;root &#61; i&#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Bvhttp://rise4fun.com/HeapDbg/BvHeapDbg/Bv<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.l &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c2&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c1&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp,env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Zchttp://rise4fun.com/HeapDbg/ZcHeapDbg/Zc<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;SceneObject&#91;&#93; things &#61; new SceneObject&#91;3&#93;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;0&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, Radius &#61; 0.5F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;1&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, Radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;2&#93; &#61; new Plane &#123; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, Offset &#61; 1F &#125;&#59;&#13;&#10;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Light&#91;&#93; lights &#61; new Light&#91;2&#93;&#59;&#13;&#10;lights&#91;0&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;1&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, RGB &#61; new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;Camera camera &#61; new Camera &#123; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Scene &#123; Things &#61; things, Lights &#61; lights, Camera &#61; camera &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Scene &#123; public SceneObject&#91;&#93; Things&#59; public Light&#91;&#93; Lights&#59; public Camera Camera&#59; &#125;&#13;&#10;&#9;&#13;&#10;&#9;public interface SceneObject &#123; &#125;&#13;&#10;&#9;public class Sphere &#58; SceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;&#9;public class Plane &#58; SceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;&#9;public class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;</pre>2013-05-18T17:03:41-07:00C0http://rise4fun.com/HeapDbg/C0HeapDbg/C0<pre>Y6lbAh &#60;a href&#61;&#34;http&#58;&#47;&#47;uobvqagvewgk.com&#47;&#34;&#62;uobvqagvewgk&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;okszqnsnrisf.com&#47;&#93;okszqnsnrisf&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;wgbzwyintzvj.com&#47;&#93;wgbzwyintzvj&#91;&#47;link&#93;, http&#58;&#47;&#47;yigdlfxradzy.com&#47;</pre>2013-05-18T17:03:41-07:00cZhttp://rise4fun.com/HeapDbg/cZHeapDbg/cZ<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10,10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#91;10&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ANhttp://rise4fun.com/HeapDbg/ANHeapDbg/AN<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10;&#125;</pre>2013-05-18T17:03:41-07:00sHhttp://rise4fun.com/HeapDbg/sHHeapDbg/sH<pre>&#47;&#47; Create an array of un-aliased Shperes.&#13;&#10;&#47;&#47; Each a composite object of an unaliased Point object and Color object&#13;&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#13;&#10;class Sphere &#123; &#13;&#10; public Point center&#59; &#13;&#10; public Color color&#59; &#13;&#10; public float radius&#59; &#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; spheres.Length&#59; &#43;&#43;i&#41; &#123;&#13;&#10; var ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#13;&#10; var rgb &#61; new Color &#123; red &#61; i, blue &#61; i, green &#61; i &#125;&#59;&#13;&#10; spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10; &#125;&#13;&#10; return new &#123; spheres &#61; spheres &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00bNhttp://rise4fun.com/HeapDbg/bNHeapDbg/bN<pre>&#47;&#47; Create an array of un-aliased Data objects and one special object&#10;class Data &#123; public int val&#59;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var resa &#61; new Data&#91;10&#93;&#59;&#10; var dspecial &#61; new Data&#40;&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; resa.Length&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#61;&#61; 5&#41;&#10; resa&#91;i&#93; &#61; dspecial&#59;&#10; else&#10; resa&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Nshttp://rise4fun.com/HeapDbg/NsHeapDbg/Ns<pre>using System&#59;&#13;&#10;&#13;&#10;&#47;&#47;Create a Deep Copy of a Tree of Data objects&#13;&#10;namespace TreeCopyDeep&#13;&#10;&#123;&#13;&#10;&#9;public class Result &#123; public TreeNode orig&#59; public TreeNode copy&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41; &#47;&#47;&#60;------------------------------------- RunShowMultiRoots&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode torig &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;TreeNode tcopy &#61; TreeNode.CopyTreeDeep&#40;torig&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; orig &#61; torig, copy &#61; tcopy &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class TreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode CopyTreeDeep&#40;TreeNode t&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;t &#61;&#61; null&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Data d &#61; new Data &#123; data &#61; t.data &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; CopyTreeDeep&#40;t.left&#41;, right &#61; CopyTreeDeep&#40;t.right&#41;, data &#61; d &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00plqhttp://rise4fun.com/HeapDbg/plqHeapDbg/plq<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; fo</pre>2013-05-18T17:03:41-07:00QWhttp://rise4fun.com/HeapDbg/QWHeapDbg/QW<pre>IR94Q1 &#60;a href&#61;&#34;http&#58;&#47;&#47;vmhykrcrftuy.com&#47;&#34;&#62;vmhykrcrftuy&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;aigravwqywgs.com&#47;&#93;aigravwqywgs&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;uiydjvmwvmjs.com&#47;&#93;uiydjvmwvmjs&#91;&#47;link&#93;, http&#58;&#47;&#47;lwvmbmdporll.com&#47;</pre>2013-05-18T17:03:41-07:00jBshttp://rise4fun.com/HeapDbg/jBsHeapDbg/jBs<pre>&#47;&#47;Create an array of un-aliased and aliased Shperes.&#10;&#47;&#47; Each a composite object of an unaliased Point object but a shared Color object.&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#10; var rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#10; return new &#123; root &#61; spheres &#125;&#59;&#10; &#125;&#10;&#125;&#10;class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#10;</pre>2013-05-18T17:03:41-07:005Kkhttp://rise4fun.com/HeapDbg/5KkHeapDbg/5Kk<pre>&#47;&#47; Create an array of un-aliased Data objects and one special object&#10;class Data &#123; public int val&#59;&#125;&#10;class SpecialData&#58; Data &#123;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var resa &#61; new Data&#91;10&#93;&#59;&#10; var dspecial &#61; new SpecialData&#40;&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; resa.Length&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#61;&#61; 5&#41;&#10; resa&#91;i&#93; &#61; dspecial&#59;&#10; else&#10; resa&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00NPhttp://rise4fun.com/HeapDbg/NPHeapDbg/NP<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Foo &#123;&#125;&#10;class Data &#123; Foo foo &#61; new Foo&#40;&#41;&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00BRhttp://rise4fun.com/HeapDbg/BRHeapDbg/BR<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;SceneObject&#91;&#93; things &#61; new SceneObject&#91;3&#93;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;0&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, Radius &#61; 0.5F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;1&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, Radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;2&#93; &#61; new Plane &#123; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, Offset &#61; 1F &#125;&#59;&#13;&#10;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Light&#91;&#93; lights &#61; new Light&#91;2&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;Camera camera &#61; new Camera &#123; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Scene &#123; Things &#61; things, Lights &#61; lights, Camera &#61; camera &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Scene &#123; public SceneObject&#91;&#93; Things&#59; public Light&#91;&#93; Lights&#59; public Camera Camera&#59; &#125;&#13;&#10;&#9;&#13;&#10;&#9;public interface SceneObject &#123; &#125;&#13;&#10;&#9;public class Sphere &#58; SceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;&#9;public class Plane &#58; SceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;&#9;public class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;</pre>2013-05-18T17:03:41-07:001lhttp://rise4fun.com/HeapDbg/1lHeapDbg/1l<pre>using System&#59;&#13;&#10;&#13;&#10;&#47;&#47;Create a Deep Copy of a Tree of Data objects&#13;&#10;namespace TreeCopyDeep&#13;&#10;&#123;&#13;&#10;&#9;public class Result &#123; public TreeNode orig&#59; public TreeNode copy&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41; &#47;&#47;&#60;------------------------------------- RunShowMultiRoots&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode torig &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;TreeNode tcopy &#61; TreeNode.CopyTreeShallow&#40;torig&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; orig &#61; torig, copy &#61; tcopy &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class TreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode CopyTreeDeep&#40;TreeNode t&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;t &#61;&#61; null&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; CopyTreeDeep&#40;t.left&#41;, right &#61; CopyTreeDeep&#40;t.right&#41;, data &#61; new Data &#123; data &#61; t.data &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:001Ihttp://rise4fun.com/HeapDbg/1IHeapDbg/1I<pre>Could not find sample or program sph</pre>2013-05-18T17:03:41-07:00mThttp://rise4fun.com/HeapDbg/mTHeapDbg/mT<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;&#93;&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#91;10&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:000Phttp://rise4fun.com/HeapDbg/0PHeapDbg/0P<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data2 &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data2&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data2&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ZVhttp://rise4fun.com/HeapDbg/ZVHeapDbg/ZV<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; &#10; ob.print&#40;s&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00zShttp://rise4fun.com/HeapDbg/zSHeapDbg/zS<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00zrhttp://rise4fun.com/HeapDbg/zrHeapDbg/zr<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; string t&#61;&#34;ddada&#34;&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res,lol&#61;res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00zNThttp://rise4fun.com/HeapDbg/zNTHeapDbg/zNT<pre>&#47;&#47; Create a scene structure for a simple raytracer&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; ISceneObject&#91;&#93; things &#61; &#123;&#13;&#10; new Sphere &#123; &#13;&#10; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, &#13;&#10; RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, &#13;&#10; Radius &#61; 0.5F &#125;,&#13;&#10; new Sphere &#123; &#13;&#10; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, &#13;&#10; RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, &#13;&#10; Radius &#61; 1F &#125;,&#13;&#10; new Plane &#123; &#13;&#10; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, &#13;&#10; RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, &#13;&#10; Offset &#61; 1F &#125;&#13;&#10; &#125;&#59;&#13;&#10;&#13;&#10; Light&#91;&#93; lights &#61; &#123;&#13;&#10; new Light &#123; &#13;&#10; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, &#13;&#10; RGB &#61; new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;,&#13;&#10; new Light &#123; &#13;&#10; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, &#13;&#10; RGB &#61; new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#13;&#10; &#125;&#59;&#13;&#10;&#13;&#10; var camera &#61; new Camera &#123; &#13;&#10; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, &#13;&#10; Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#13;&#10; &#125;&#59;&#13;&#10;&#13;&#10; return new &#123; &#13;&#10; root &#61; new Scene &#123; Things &#61; things, Lights &#61; lights, Camera &#61; camera &#125; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;&#13;&#10;class Scene &#123;&#13;&#10; public ISceneObject&#91;&#93; Things&#59; &#13;&#10; public Light&#91;&#93; Lights&#59; &#13;&#10; public Camera Camera&#59; &#13;&#10;&#125;&#13;&#10;&#13;&#10;interface ISceneObject &#123; &#125;&#13;&#10;class Sphere &#58; ISceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;class Plane &#58; ISceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00g6http://rise4fun.com/HeapDbg/g6HeapDbg/g6<pre>&#47;&#47; Creates a Tree of Data objects&#10;class Data &#123; &#125;&#10;class TreeNode &#123;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#10; public Data Data&#59;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#10; if &#40;k &#60;&#61; 0&#41;&#10; return null&#59;&#10; else&#10; return new TreeNode &#123; &#10; Left &#61; MakeTree&#40;k - 1&#41;, &#10; Right &#61; MakeTree&#40;k - 1&#41;, &#10; Data &#61; new Data&#40;&#41; &#10; &#125;&#59;&#10; &#125;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return new &#123; root &#61; TreeNode.MakeTree&#40;3&#41; &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Dqhttp://rise4fun.com/HeapDbg/DqHeapDbg/Dq<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125; class Data2 &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new object&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; i &#37; 2 &#61;&#61; 0 &#63; &#40;object&#41;new Data2&#40;&#41;&#58; new System.Text.StringBuilder&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Zmhttp://rise4fun.com/HeapDbg/ZmHeapDbg/Zm<pre>&#47;&#47; Creates a Deep Copy of a Tree of Data objects&#13;&#10;class Data &#123; public int Value&#59;&#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#61;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10; public static TreeNode CopyTreeDeep&#40;TreeNode t&#41; &#123;&#13;&#10; if &#40;t &#61;&#61; null&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; CopyTreeDeep&#40;t.Left&#41;, Right &#61; CopyTreeDeep&#40;t.Right&#41;, &#13;&#10; Data &#61; new Data &#123; Value &#61; t.Data.Value &#125; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var original &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10; var copy &#61; TreeNode.CopyTreeDeep&#40;original&#41;&#59;&#13;&#10;&#13;&#10; return new &#123; orig &#61; original, copy &#61; copy &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00zLhttp://rise4fun.com/HeapDbg/zLHeapDbg/zL<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10,10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i,0&#93; &#61; new Data&#91;10&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00zHhttp://rise4fun.com/HeapDbg/zHHeapDbg/zH<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;121&#34;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static void t&#40;&#41; &#123;&#10; string val&#59;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#10; val &#61; res&#91;0&#93;.getDeviceID&#40;&#41;&#59; &#10; &#47;&#47;return new &#123;root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00udhttp://rise4fun.com/HeapDbg/udHeapDbg/ud<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;SceneObject&#91;&#93; things &#61; new SceneObject&#91;3&#93;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;0&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, Radius &#61; 0.5F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;1&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, Radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;2&#93; &#61; new Plane &#123; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, Offset &#61; 1F &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Light&#91;&#93; lights &#61; new Light&#91;2&#93;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;0&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;1&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Camera camera &#61; new Camera &#123; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Scene &#123; Things &#61; things, Lights &#61; lights, Camara &#61; camera &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Scene &#123; public SceneObject&#91;&#93; Things&#59; public Light&#91;&#93; Lights&#59; public Camera Camera&#59; &#125;&#13;&#10;&#9;&#13;&#10;&#9;public interface SceneObject &#123; &#125;&#13;&#10;&#9;public class Sphere &#58; SceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;&#9;public class Plane &#58; SceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;&#9;public class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;</pre>2013-05-18T17:03:41-07:00zBbhttp://rise4fun.com/HeapDbg/zBbHeapDbg/zBb<pre>Could not find sample or program smtc_arith</pre>2013-05-18T17:03:41-07:00zbhttp://rise4fun.com/HeapDbg/zbHeapDbg/zb<pre>&#47;&#47; Create a LinkedList of Data objects&#13;&#10;&#47;&#47; Self edge on, Next, and label, List&#13;&#10;class Data &#123; &#125;&#13;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; ListNode res &#61; null&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:003http://rise4fun.com/HeapDbg/3HeapDbg/3<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125; class Data2 &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new object&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; i &#37; 2 &#61;&#61; 0 &#63; &#40;object&#41;new Data2&#40;&#41;&#58; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Z9http://rise4fun.com/HeapDbg/Z9HeapDbg/Z9<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return res&#91;1&#93; &#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Z8http://rise4fun.com/HeapDbg/Z8HeapDbg/Z8<pre>5LZuBb &#60;a href&#61;&#34;http&#58;&#47;&#47;npifuwprwtch.com&#47;&#34;&#62;npifuwprwtch&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;msvhewimsohl.com&#47;&#93;msvhewimsohl&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;barkgblzspjw.com&#47;&#93;barkgblzspjw&#91;&#47;link&#93;, http&#58;&#47;&#47;mesrptumiusd.com&#47;</pre>2013-05-18T17:03:41-07:00Aphttp://rise4fun.com/HeapDbg/ApHeapDbg/Ap<pre>&#10;&#47;&#42;&#42;&#10; &#42; Ejemplo de envio de correo simple con JavaMail&#10; &#42;&#10; &#42; &#64;author Chuidiang&#10; &#42;&#10; &#42;&#47;&#10;class EnviarMail&#10;&#123;&#10; &#47;&#42;&#42;&#10; &#42; main de prueba&#10; &#42; &#64;param args Se ignoran.&#10; &#42;&#47;&#10; &#64;SuppressWarnings&#40;&#34;unchecked&#34;&#41;&#10;&#9;public int main&#40;String&#91;&#93; args&#41;&#10; &#123;&#10; &#9;ArrayList elements &#61; new ArrayList&#40;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;rodrigo&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;joaquin&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;cristobal&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;agustin&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;micaela&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;gabriel&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ana_julia&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ricardo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ireneo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;pablo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid&#34;,&#34;fire&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid_rain&#34;,&#34;acid&#34;,&#34;rain&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ai&#34;,&#34;computer&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alcohol&#34;,&#34;water&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alien&#34;,&#34;space&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aluminum&#34;,&#34;metal&#34;,&#34;electricity&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ape&#34;,&#34;human&#34;,&#34;wool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquaman&#34;,&#34;fish&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquarium&#34;,&#34;glass&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;arable_land&#34;,&#34;soil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ash&#34;,&#34;fire&#34;,&#34;dust&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ashtray&#34;,&#34;ash&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;baby&#34;,&#34;human&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bacterium&#34;,&#34;swamp&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bank&#34;,&#34;money&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beach&#34;,&#34;water&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beast&#34;,&#34;soil&#34;,&#34;lizard&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beer&#34;,&#34;alcohol&#34;,&#34;wheat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bird&#34;,&#34;air&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;blood&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boat&#34;,&#34;water&#34;,&#34;wood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boiler&#34;,&#34;metal&#34;,&#34;steam&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomb&#34;,&#34;metal&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomber&#34;,&#34;plane&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;book&#34;,&#34;paper&#34;,&#34;feather&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bread&#34;,&#34;fire&#34;,&#34;dough&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick&#34;,&#34;clay&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick_house&#34;,&#34;concrete&#34;,&#34;brick&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bug&#34;,&#34;soil&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bulb&#34;,&#34;electricity&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bungalow&#34;,&#34;hut&#34;,&#34;beach&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;business&#34;,&#34;money&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;butterfly&#34;,&#34;air&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cart&#34;,&#34;wood&#34;,&#34;wheel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;caviar&#34;,&#34;fish&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cd&#34;,&#34;laser&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cellphone&#34;,&#34;computer&#34;,&#34;radiowave&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cement&#34;,&#34;clay&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ceramics&#34;,&#34;clay&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cigarette&#34;,&#34;paper&#34;,&#34;tobacco&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clay&#34;,&#34;swamp&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cleaner&#34;,&#34;clobber&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clobber&#34;,&#34;fabric&#34;,&#34;patient&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clone&#34;,&#34;scientist&#34;,&#34;livestock&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clothing&#34;,&#34;fabric&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cloud&#34;,&#34;steam&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coal&#34;,&#34;tree&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cockleshell&#34;,&#34;stone&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coffee&#34;,&#34;seeds&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;columbus&#34;,&#34;sailing_vessel&#34;,&#34;hero&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;computer&#34;,&#34;book&#34;,&#34;tv&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;concrete&#34;,&#34;water&#34;,&#34;cement&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;corpse&#34;,&#34;poison&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cyborg&#34;,&#34;human&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;developer&#34;,&#34;sex&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dinosaur&#34;,&#34;soil&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;doctor&#34;,&#34;human&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dough&#34;,&#34;water&#34;,&#34;flour&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dragon&#34;,&#34;flying_dinosaur&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;drinker&#34;,&#34;alcohol&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dust&#34;,&#34;air&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;egg&#34;,&#34;stone&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;electricity&#34;,&#34;scientist&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;elixer&#34;,&#34;stone&#34;,&#34;philosopher&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;energy&#34;,&#34;air&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fabric&#34;,&#34;wool&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fart&#34;,&#34;peas&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;feather&#34;,&#34;bird&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fern&#34;,&#34;swamp&#34;,&#34;moss&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire_golem&#34;,&#34;fire&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;firearms&#34;,&#34;weapon&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fish&#34;,&#34;bacterium&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flour&#34;,&#34;wheat&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flying_dinosaur&#34;,&#34;dinosaur&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_egg&#34;,&#34;fire&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_meat&#34;,&#34;fire&#34;,&#34;meat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;frog&#34;,&#34;fish&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ghoul&#34;,&#34;zombie&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;glass&#34;,&#34;sand&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gold&#34;,&#34;elixer&#34;,&#34;any_other_element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;golem&#34;,&#34;clay&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;grass&#34;,&#34;moss&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gunpowder&#34;,&#34;saltpeter&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hacker&#34;,&#34;pirate&#34;,&#34;internet&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hero&#34;,&#34;warrior&#34;,&#34;dragon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hospital&#34;,&#34;brick_house&#34;,&#34;doctor&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;housemd&#34;,&#34;doctor&#34;,&#34;vicodin&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;human&#34;,&#34;golem&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hunter&#34;,&#34;weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hut&#34;,&#34;stone&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;internet&#34;,&#34;computer&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;japanese&#34;,&#34;human&#34;,&#34;rice&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;kamasutra&#34;,&#34;book&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;katana&#34;,&#34;japanese&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lake&#34;,&#34;water&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lamp&#34;,&#34;glass&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;laser&#34;,&#34;radiowave&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava&#34;,&#34;soil&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava_golem&#34;,&#34;life&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;life&#34;,&#34;energy&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lighthouse&#34;,&#34;brick_house&#34;,&#34;lamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;limestone&#34;,&#34;stone&#34;,&#34;cockleshell&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;livestock&#34;,&#34;human&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lizard&#34;,&#34;snake&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manga&#34;,&#34;book&#34;,&#34;japanese&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manure&#34;,&#34;livestock&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meat&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;medicine&#34;,&#34;shaman&#34;,&#34;poison&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mercury&#34;,&#34;fire&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal&#34;,&#34;stone&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal_golem&#34;,&#34;life&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meteorite&#34;,&#34;space&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;milk&#34;,&#34;livestock&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;money&#34;,&#34;gold&#34;,&#34;paper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;moss&#34;,&#34;swamp&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;murderer&#34;,&#34;poison_weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mushroom&#34;,&#34;soil&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;new_york&#34;,&#34;usa&#34;,&#34;skyscraper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ninja&#34;,&#34;samuri&#34;,&#34;poison_weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;nuclearbomb&#34;,&#34;scientist&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ocean&#34;,&#34;sea&#34;,&#34;sea&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;oil&#34;,&#34;water&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;paper&#34;,&#34;tool&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;patient&#34;,&#34;bacterium&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;peas&#34;,&#34;arable_land&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;petrol&#34;,&#34;oil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phantom&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;philosopher&#34;,&#34;grass&#34;,&#34;scientist&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phoenix&#34;,&#34;fire&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pig-iron&#34;,&#34;metal&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pilot&#34;,&#34;plane&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pirate&#34;,&#34;murderer&#34;,&#34;sailing_vessel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plane&#34;,&#34;bird&#34;,&#34;aluminum&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plankton&#34;,&#34;water&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison&#34;,&#34;tool&#34;,&#34;scorpion&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison_weapon&#34;,&#34;poison&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pub&#34;,&#34;beer&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiation&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiowave&#34;,&#34;metal&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rain&#34;,&#34;cloud&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;reed&#34;,&#34;swamp&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rice&#34;,&#34;arable_land&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;robot&#34;,&#34;japanese&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rocket&#34;,&#34;plane&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rust&#34;,&#34;water&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_boat&#34;,&#34;boat&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_vessel&#34;,&#34;wooden_ship&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;salt&#34;,&#34;metal&#34;,&#34;acid&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;saltpeter&#34;,&#34;manure&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;samurai&#34;,&#34;japanese&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sand&#34;,&#34;water&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scientist&#34;,&#34;doctor&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scorpion&#34;,&#34;bug&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sea&#34;,&#34;lake&#34;,&#34;salt&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seaweed&#34;,&#34;life&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seeds&#34;,&#34;life&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sex&#34;,&#34;human&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shaman&#34;,&#34;mushroom&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shop&#34;,&#34;clothing&#34;,&#34;brickhouse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skydiver&#34;,&#34;clobber&#34;,&#34;pilot&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skyscraper&#34;,&#34;brickhouse&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;snake&#34;,&#34;sand&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sniper&#34;,&#34;firearms&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;space&#34;,&#34;ocean&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;speedboat&#34;,&#34;boat&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;starwars&#34;,&#34;laser&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam&#34;,&#34;water&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_engine&#34;,&#34;boiler&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_locomotive&#34;,&#34;steam_engine&#34;,&#34;cart&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steamship&#34;,&#34;wooden_ship&#34;,&#34;steam_engine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;stone&#34;,&#34;water&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;storm&#34;,&#34;energy&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submarine&#34;,&#34;whale&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submariner&#34;,&#34;submarine&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sulfur&#34;,&#34;swamp&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sun&#34;,&#34;lava&#34;,&#34;space&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;swamp&#34;,&#34;water&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;team&#34;,&#34;cart&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;terrorist&#34;,&#34;bomb&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;thunderbird&#34;,&#34;storm&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tobacco&#34;,&#34;fire&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tool&#34;,&#34;human&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;torpedo&#34;,&#34;rocket&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;toy&#34;,&#34;baby&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tree&#34;,&#34;soil&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;turtle&#34;,&#34;egg&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tv&#34;,&#34;radiowave&#34;,&#34;bulb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ufo&#34;,&#34;alien&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;usa&#34;,&#34;columbus&#34;,&#34;ocean&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vampire&#34;,&#34;human&#34;,&#34;blood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vicodin&#34;,&#34;medicine&#34;,&#34;medicine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vodka&#34;,&#34;water&#34;,&#34;alcohol&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;walking_tree&#34;,&#34;life&#34;,&#34;tree&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;war&#34;,&#34;warrior&#34;,&#34;warrior&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;werewolf&#34;,&#34;vampire&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warrior&#34;,&#34;weapon&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warship&#34;,&#34;wooden_ship&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;weapon&#34;,&#34;tool&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;whale&#34;,&#34;fish&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheat&#34;,&#34;arable_land&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheel&#34;,&#34;wood&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wood&#34;,&#34;tree&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wooden_ship&#34;,&#34;wood&#34;,&#34;boat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wool&#34;,&#34;beast&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;worm&#34;,&#34;bacterium&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;yogurt&#34;,&#34;milk&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;zombie&#34;,&#34;life&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;soil&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;air&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;water&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#10; &#9;HashMap parents &#61; new HashMap&#40;&#41;&#59;&#10; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10; &#9;&#9;Element element &#61; &#40;Element&#41; elements.get&#40;i&#41;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getFather&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getFather&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getFather&#40;&#41;, new Parent&#40; element.getFather&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getMother&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getMother&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getMother&#40;&#41;, new Parent&#40; element.getMother&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#125;&#10; &#9;&#10; &#9;Collection parentsSimple &#61; parents.values&#40;&#41;&#59;&#10; &#9;Iterator iterParent &#61; parentsSimple.iterator&#40;&#41;&#59;&#10;&#47;&#47; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#47;&#47;&#47;&#47; &#9;&#9;if &#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;.equals&#40;&#34;housemd&#34;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;if &#40;&#33;&#40; parents.containsKey&#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;&#41;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;digraph &#34; &#43; i &#43; &#34; &#123;&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;drawAscendenceForElements&#40;&#40;Element&#41; elements.get&#40;i&#41;, &#40;ArrayList&#41; elements.clone&#40;&#41;&#41;&#59;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;&#125;&#10;&#47;&#47; &#9;&#125;&#10; &#9;&#47;&#47; drawing complete&#10; &#9;System.out.println&#40;&#34;digraph g &#123;&#34;&#41;&#59;&#10; &#9;while &#40;iterParent.hasNext&#40;&#41;&#41;&#123;&#10; &#9;&#9;Parent parent &#61; &#40;Parent&#41; &#40;iterParent.next&#40;&#41;&#41;&#59;&#10; &#9;&#9;Object&#91;&#93; childs &#61; parent.getChilds&#40;&#41;&#59;&#10;&#9;&#9;&#9;for &#40;int j &#61; 0&#59; j &#60; childs.length&#59; j&#43;&#43;&#41; &#123;&#10;&#9;&#9;&#9;&#9;System.out.println&#40;parent.getName&#40;&#41; &#43; &#34; -&#62; &#34; &#43; &#40;String&#41; childs&#91;j&#93;&#41;&#59;&#10;&#9;&#9;&#9;&#125;&#10; &#9;&#125;&#10; &#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10; &#9;&#10; &#9;&#47;&#42;&#42;&#10; try&#10; &#123;&#10; &#47;&#47; Propiedades de la conexi&#243;n&#10; Properties props &#61; new Properties&#40;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.host&#34;, &#34;smtp.gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.starttls.enable&#34;, &#34;true&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.port&#34;, &#34;587&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.user&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.auth&#34;, &#34;true&#34;&#41;&#59;&#10; &#47;&#47; Preparamos la sesion&#10; Session session &#61; Session.getDefaultInstance&#40;props&#41;&#59;&#10;&#10; &#47;&#47; Construimos el mensaje&#10; MimeMessage message &#61; new MimeMessage&#40;session&#41;&#59;&#10; message.setFrom&#40;new InternetAddress&#40;&#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#41;&#59;&#10; message.addRecipient&#40;&#10; Message.RecipientType.TO,&#10; new InternetAddress&#40;&#34;rmolina&#64;intelap.com&#34;&#41;&#41;&#59;&#10; message.setText&#40;&#10; &#34;Mensajito con Java Mail&#34; &#43; &#34; de los buenos.&#34; &#43; &#34;poque si&#34; &#43; &#34; funciona papa&#33; &#34;&#41;&#59;&#10;&#10; &#47;&#47; Lo enviamos.&#10; Transport t &#61; session.getTransport&#40;&#34;smtp&#34;&#41;&#59;&#10; t.connect&#40;&#34;smtp.gmail.com&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10;&#47;&#47; t.connect&#40;&#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10; t.sendMessage&#40;message, message.getAllRecipients&#40;&#41;&#41;&#59;&#10;&#10; &#47;&#47; Cierre.&#10; t.close&#40;&#41;&#59;&#10; &#125;&#10; catch &#40;Exception e&#41;&#10; &#123;&#10; e.printStackTrace&#40;&#41;&#59;&#10; &#125;&#10; &#42;&#47;&#10; &#125;&#10;&#10;&#9;private static void drawAscendenceForElements&#40;Element element,&#10;&#9;&#9;&#9;ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;if &#40;element&#33;&#61;null&#41;&#123;&#10;&#9;&#9;&#9;Element father &#61; getElement&#40; element.getFather&#40;&#41;, anotherElements&#41;&#59; &#10;&#9;&#9;&#9;anotherElements.remove&#40;father&#41;&#59;&#10;&#9;&#9;&#9;Element mother &#61; getElement&#40; element.getMother&#40;&#41;, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;anotherElements.remove&#40;mother&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;father, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;mother, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getFather&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getMother&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#125;&#10;&#9;&#9;&#10;&#9;&#125;&#10;&#10;&#9;private static Element getElement&#40;String parent, ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;for &#40;int i &#61; 0&#59; i &#60; anotherElements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#9;&#9;&#9;Element element &#61; &#40;Element&#41; anotherElements.get&#40;i&#41;&#59;&#10;&#9;&#9;&#9;if &#40;element.getName&#40;&#41;.equals&#40;parent&#41;&#41;&#123;&#10;&#9;&#9;&#9;&#9;return element&#59;&#10;&#9;&#9;&#9;&#125;&#10;&#9;&#9;&#125;&#10;&#9;&#9;return null&#59;&#10;&#9;&#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00zhttp://rise4fun.com/HeapDbg/zHeapDbg/z<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Data&#91;&#93; res &#61; new Data&#91;10&#93;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;if&#40;i &#37; 2 &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;&#9;res&#91;i&#93; &#61; res&#91;i - 1&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Tuple&#60;object, object&#62;&#40;res, new Data&#40;&#41;&#41;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;</pre>2013-05-18T17:03:41-07:00Aehttp://rise4fun.com/HeapDbg/AeHeapDbg/Ae<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; Random t&#61;new Random&#40;&#41;&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res,lol&#61;res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00schttp://rise4fun.com/HeapDbg/scHeapDbg/sc<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; object exp &#61; new object&#59;&#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00sBhttp://rise4fun.com/HeapDbg/sBHeapDbg/sB<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; res &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00K5Lhttp://rise4fun.com/HeapDbg/K5LHeapDbg/K5L<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int i&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; object res &#61; new &#123; a &#61; new Data&#91;10&#93; &#125;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.a.Length&#59; &#43;&#43;i&#41;&#10; res.a&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dhttp://rise4fun.com/HeapDbg/dHeapDbg/d<pre>using System&#59;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; i, blue &#61; i, green &#61; i &#125;&#59;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return spheres&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00oQhttp://rise4fun.com/HeapDbg/oQHeapDbg/oQ<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; int Test&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41; &#123; Test &#61; i&#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00syhttp://rise4fun.com/HeapDbg/syHeapDbg/sy<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#13;&#10;class Hello &#123; public World World&#59; &#125;&#13;&#10;class World &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#13;&#10; return new &#123; root &#61; &#34;&#34; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00shttp://rise4fun.com/HeapDbg/sHeapDbg/s<pre>using System&#59;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; i, blue &#61; i, green &#61; i &#125;&#59;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00rzhttp://rise4fun.com/HeapDbg/rzHeapDbg/rz<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#43;1&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Jshttp://rise4fun.com/HeapDbg/JsHeapDbg/Js<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#40;root&#41;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Ry7http://rise4fun.com/HeapDbg/Ry7HeapDbg/Ry7<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;using System.Collection.Generic&#59;&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return &#34;abc&#34;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Ryhttp://rise4fun.com/HeapDbg/RyHeapDbg/Ry<pre>I found myself nodding my nggoin all the way through.</pre>2013-05-18T17:03:41-07:00bghttp://rise4fun.com/HeapDbg/bgHeapDbg/bg<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 1&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00rWhttp://rise4fun.com/HeapDbg/rWHeapDbg/rW<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; public Etype arrayIndex&#59;&#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1 &#61; new Var&#40;&#41;&#59;&#10; Var v2 &#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93;.arrayIndex &#61; v1&#59;&#10; env&#91;1&#93;.arrayIndex &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00RUchttp://rise4fun.com/HeapDbg/RUcHeapDbg/RUc<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1&#59;&#10; Var v2&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00lhttp://rise4fun.com/HeapDbg/lHeapDbg/l<pre>using System&#59;&#13;&#10;&#13;&#10;class ListNode &#123; public ListNode next&#59; &#125;&#13;&#10;cladd Data &#123;public int val&#59;&#125;&#13;&#10;public class Program&#13;&#10;&#123;&#13;&#10; public static object Run&#40;&#41;&#13;&#10; &#123;&#13;&#10;ListNode res &#61; null&#59;&#13;&#10;&#13;&#10;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;res &#61; new ListNode &#123;next &#61; res, val &#61; new Data&#40;&#41;&#125;&#59;&#13;&#10;&#13;&#10;return res&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00k6http://rise4fun.com/HeapDbg/k6HeapDbg/k6<pre>using System&#59;&#13;&#10;using System.Collections.Generic&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;Point, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;int, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;spheres&#91;0&#93;.xpos, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:004Phttp://rise4fun.com/HeapDbg/4PHeapDbg/4P<pre>using System&#59;&#13;&#10;public class TreeNode &#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#9;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode res &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;return res&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;</pre>2013-05-18T17:03:41-07:00Fjhttp://rise4fun.com/HeapDbg/FjHeapDbg/Fj<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class &#125;</pre>2013-05-18T17:03:41-07:00mJzhttp://rise4fun.com/HeapDbg/mJzHeapDbg/mJz<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; static object test&#40;Etype exp&#41;&#10; &#123;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; object ob &#61; test&#40;&#41;&#59;&#10; return ob&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Mjhttp://rise4fun.com/HeapDbg/MjHeapDbg/Mj<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; int i &#61; 1&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00uphttp://rise4fun.com/HeapDbg/upHeapDbg/up<pre>&#47;&#47; Create a scene structure for a simple raytracer&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ISceneObject&#91;&#93; things &#61; &#123;&#10; new Sphere &#123; &#10; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, &#10; RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, &#10; Radius &#61; 0.5F &#125;,&#10; new Sphere &#123; &#10; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, &#10; RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, &#10; Radius &#61; 1F &#125;,&#10; new Plane &#123; &#10; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, &#10; RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, &#10; Offset &#61; 1F &#125;&#10; &#125;&#59;&#10;&#10; Light&#91;&#93; lights &#61; &#123;&#10; new Light &#123; &#10; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, &#10; RGB &#61; new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;,&#10; new Light &#123; &#10; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, &#10; RGB &#61; new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#10; &#125;&#59;&#10;&#10; var camera &#61; new Camera &#123; &#10; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, &#10; Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#10; &#125;&#59;&#10;&#10; return new &#123; &#10; root &#61; new Scene &#123; Things &#61; things, Lights &#61; lights, Camera &#61; camera &#125; &#10; &#125;&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Scene &#123;&#10; public ISceneObject&#91;&#93; Things&#59; &#10; public Light&#91;&#93; Lights&#59; &#10; public Camera Camera&#59; &#10;&#125;&#10;&#10;interface ISceneObject &#123; &#125;&#10;class Sphere &#58; ISceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#10;class Plane &#58; ISceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#10;&#10;class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#10;class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#10;&#10;class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#10;class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;&#10;</pre>2013-05-18T17:03:41-07:00Mhhttp://rise4fun.com/HeapDbg/MhHeapDbg/Mh<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int i&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; object res &#61; new &#123; a &#61; new Data&#91;10&#93; &#125;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res.a&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00mgphttp://rise4fun.com/HeapDbg/mgpHeapDbg/mgp<pre>&#47;&#47; Create an array of un-aliased Shperes.&#10;&#47;&#47; Each a composite object of an unaliased Point object and Color object&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#10;class Sphere &#123; &#10; public Point center&#59; &#10; public Color color&#59; &#10; public float radius&#59; &#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; spheres.Length&#59; &#43;&#43;i&#41; &#123;&#10; var ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#10; var rgb &#61; new Color &#123; red &#61; i, blue &#61; i, green &#61; i &#125;&#59;&#10; spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#10; &#125;&#10; return new &#123; spheres &#61; &#34;eee&#34; &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Whttp://rise4fun.com/HeapDbg/WHeapDbg/W<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;30&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 20&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00MfUhttp://rise4fun.com/HeapDbg/MfUHeapDbg/MfU<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00mfmhttp://rise4fun.com/HeapDbg/mfmHeapDbg/mfm<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; v1 &#61; env&#91;0&#93;&#59;&#10; v2 &#61; env&#91;1&#93;&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c1&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Mfhttp://rise4fun.com/HeapDbg/MfHeapDbg/Mf<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;public class Program&#10; &#123;&#10; Program f&#59;&#10; public static object Run&#40;&#41;&#10; &#123;&#10; Program param &#61; new Program&#40;&#41;&#59;&#10; Program local1 &#61; bar&#40;&#41;&#59;&#10; Program local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new Program&#40;&#41;&#59;&#10; local2.f.f &#61; new Program&#40;&#41;&#59;&#10; return new &#123;root &#61; local1&#125;&#59;&#10; &#125;&#10;&#10; public static Program bar&#40;&#41;&#10; &#123;&#10; Program r &#61; new Program&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:00Wthttp://rise4fun.com/HeapDbg/WtHeapDbg/Wt<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#13;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; &#125;&#13;&#10; var res2 &#61; new Data&#91;5&#93;&#59;&#13;&#10; res2&#91;4&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res, rott2 &#61; res2 &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00slQhttp://rise4fun.com/HeapDbg/slQHeapDbg/slQ<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int i&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00hkhttp://rise4fun.com/HeapDbg/hkHeapDbg/hk<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int x &#61; 42&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:001Yhttp://rise4fun.com/HeapDbg/1YHeapDbg/1Y<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X extends Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Hghttp://rise4fun.com/HeapDbg/HgHeapDbg/Hg<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00HDhttp://rise4fun.com/HeapDbg/HDHeapDbg/HD<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;11&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00hChttp://rise4fun.com/HeapDbg/hCHeapDbg/hC<pre>&#47;&#47; Create an array of un-aliased Data objects and one special object&#10;class Data &#123; public int val&#59;&#125;&#10;class Program &#123;&#10; static object Main&#40;&#41; &#123;&#10; var resa &#61; new Data&#91;10&#93;&#59;&#10; var dspecial &#61; new Data&#40;&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; resa.Length&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#61;&#61; 5&#41;&#10; resa&#91;i&#93; &#61; dspecial&#59;&#10; else&#10; resa&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00hBhttp://rise4fun.com/HeapDbg/hBHeapDbg/hB<pre>I went to tons of links bferoe this, what was I thinking&#63;</pre>2013-05-18T17:03:41-07:00OChttp://rise4fun.com/HeapDbg/OCHeapDbg/OC<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#13;&#10; Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; center &#61; cp, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00h7http://rise4fun.com/HeapDbg/h7HeapDbg/h7<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10;&#10;return new &#123; A &#61; new &#123; B &#61; new &#123; C &#61; 1 &#125; &#125; &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00h2http://rise4fun.com/HeapDbg/h2HeapDbg/h2<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10;var asd &#61; new Data&#91;10&#93;&#59;&#10;var ads &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Hhttp://rise4fun.com/HeapDbg/HHeapDbg/H<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; center &#61; cp, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00eVhttp://rise4fun.com/HeapDbg/eVHeapDbg/eV<pre>xCCcra &#60;a href&#61;&#34;http&#58;&#47;&#47;vhibeaukkixq.com&#47;&#34;&#62;vhibeaukkixq&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;fqcexxhifogz.com&#47;&#93;fqcexxhifogz&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;kebvzyvhizel.com&#47;&#93;kebvzyvhizel&#91;&#47;link&#93;, http&#58;&#47;&#47;fbmpzucwrans.com&#47;</pre>2013-05-18T17:03:41-07:00jNhttp://rise4fun.com/HeapDbg/jNHeapDbg/jN<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class Y&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next, Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new X&#40;&#41; &#125;&#59;&#10; res.Next.Prev &#61; res&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00fOhttp://rise4fun.com/HeapDbg/fOHeapDbg/fO<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; System.Random t&#61;new System.Random&#40;&#41;&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res,lol&#61;res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:001phttp://rise4fun.com/HeapDbg/1pHeapDbg/1p<pre>using System&#59;&#13;&#10;&#13;&#10;&#47;&#47;Create a Deep Copy of a Tree of Data objects&#13;&#10;namespace TreeCopyDeep&#13;&#10;&#123;&#13;&#10;&#9;public class Result &#123; public TreeNode orig&#59; public TreeNode copy&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41; &#47;&#47;&#60;------------------------------------- RunShowMultiRoots&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode torig &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;TreeNode tcopy &#61; TreeNode.CopyTreeDeep&#40;torig&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; orig &#61; torig, copy &#61; tcopy &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class TreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode CopyTreeDeep&#40;TreeNode t&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;t &#61;&#61; null&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; CopyTreeDeep&#40;t.left&#41;, right &#61; CopyTreeDeep&#40;t.right&#41;, data &#61; new Data &#123; val &#61; t.data.val &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00CFhttp://rise4fun.com/HeapDbg/CFHeapDbg/CF<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00cdhttp://rise4fun.com/HeapDbg/cdHeapDbg/cd<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; public int Value &#123; get &#123; return 3&#59; &#125; &#125; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Cchttp://rise4fun.com/HeapDbg/CcHeapDbg/Cc<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; &#10; ob.print&#40;s&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00CBvhttp://rise4fun.com/HeapDbg/CBvHeapDbg/CBv<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; static object test&#40;Etype exp&#41;&#10; &#123;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; object ob &#61; test&#40;exp&#41;&#59;&#10; return ob&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00CBhttp://rise4fun.com/HeapDbg/CBHeapDbg/CB<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; &#10; string s2 &#61; s &#43; &#34;desh&#34; &#10; ob.print&#40;s2&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00jo4http://rise4fun.com/HeapDbg/jo4HeapDbg/jo4<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#10; public int x&#59;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41; &#123;&#10; res&#91;i&#93;.x &#61; 111&#59;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00ashttp://rise4fun.com/HeapDbg/asHeapDbg/as<pre>Ni0sPf &#60;a href&#61;&#34;http&#58;&#47;&#47;uaiiwmrcnufn.com&#47;&#34;&#62;uaiiwmrcnufn&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;ypmlbydgpagy.com&#47;&#93;ypmlbydgpagy&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;qjkftdambbgn.com&#47;&#93;qjkftdambbgn&#91;&#47;link&#93;, http&#58;&#47;&#47;vbmktdaszkcz.com&#47;</pre>2013-05-18T17:03:41-07:00aqzhttp://rise4fun.com/HeapDbg/aqzHeapDbg/aqz<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00f8http://rise4fun.com/HeapDbg/f8HeapDbg/f8<pre>&#10;&#47;&#42;&#42;&#10; &#42; Ejemplo de envio de correo simple con JavaMail&#10; &#42;&#10; &#42; &#64;author Chuidiang&#10; &#42;&#10; &#42;&#47;&#10;class EnviarMail&#10;&#123;&#10; &#47;&#42;&#42;&#10; &#42; main de prueba&#10; &#42; &#64;param args Se ignoran.&#10; &#42;&#47;&#10; &#64;SuppressWarnings&#40;&#34;unchecked&#34;&#41;&#10;&#9;int main&#40;String&#91;&#93; args&#41;&#10; &#123;&#10; &#9;ArrayList elements &#61; new ArrayList&#40;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;rodrigo&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;joaquin&#34;,&#34;ricardo&#34;,&#34;ana_julia&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;cristobal&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;agustin&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;micaela&#34;,&#34;gabriel&#34;,&#34;marcela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;gabriel&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ana_julia&#34;,&#34;antonio&#34;,&#34;anabela&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ricardo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;ireneo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10; &#9;elements.add&#40;new Element&#40;&#34;pablo&#34;,&#34;ireneo&#34;,&#34;norma&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid&#34;,&#34;fire&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;acid_rain&#34;,&#34;acid&#34;,&#34;rain&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ai&#34;,&#34;computer&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alcohol&#34;,&#34;water&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;alien&#34;,&#34;space&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aluminum&#34;,&#34;metal&#34;,&#34;electricity&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ape&#34;,&#34;human&#34;,&#34;wool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquaman&#34;,&#34;fish&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;aquarium&#34;,&#34;glass&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;arable_land&#34;,&#34;soil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ash&#34;,&#34;fire&#34;,&#34;dust&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ashtray&#34;,&#34;ash&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;baby&#34;,&#34;human&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bacterium&#34;,&#34;swamp&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bank&#34;,&#34;money&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beach&#34;,&#34;water&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beast&#34;,&#34;soil&#34;,&#34;lizard&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;beer&#34;,&#34;alcohol&#34;,&#34;wheat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bird&#34;,&#34;air&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;blood&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boat&#34;,&#34;water&#34;,&#34;wood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;boiler&#34;,&#34;metal&#34;,&#34;steam&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomb&#34;,&#34;metal&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bomber&#34;,&#34;plane&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;book&#34;,&#34;paper&#34;,&#34;feather&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bread&#34;,&#34;fire&#34;,&#34;dough&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick&#34;,&#34;clay&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;brick_house&#34;,&#34;concrete&#34;,&#34;brick&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bug&#34;,&#34;soil&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bulb&#34;,&#34;electricity&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;bungalow&#34;,&#34;hut&#34;,&#34;beach&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;business&#34;,&#34;money&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;butterfly&#34;,&#34;air&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cart&#34;,&#34;wood&#34;,&#34;wheel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;caviar&#34;,&#34;fish&#34;,&#34;fish&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cd&#34;,&#34;laser&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cellphone&#34;,&#34;computer&#34;,&#34;radiowave&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cement&#34;,&#34;clay&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ceramics&#34;,&#34;clay&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cigarette&#34;,&#34;paper&#34;,&#34;tobacco&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clay&#34;,&#34;swamp&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cleaner&#34;,&#34;clobber&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clobber&#34;,&#34;fabric&#34;,&#34;patient&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clone&#34;,&#34;scientist&#34;,&#34;livestock&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;clothing&#34;,&#34;fabric&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cloud&#34;,&#34;steam&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coal&#34;,&#34;tree&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cockleshell&#34;,&#34;stone&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;coffee&#34;,&#34;seeds&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;columbus&#34;,&#34;sailing_vessel&#34;,&#34;hero&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;computer&#34;,&#34;book&#34;,&#34;tv&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;concrete&#34;,&#34;water&#34;,&#34;cement&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;corpse&#34;,&#34;poison&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;cyborg&#34;,&#34;human&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;developer&#34;,&#34;sex&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dinosaur&#34;,&#34;soil&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;doctor&#34;,&#34;human&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dough&#34;,&#34;water&#34;,&#34;flour&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dragon&#34;,&#34;flying_dinosaur&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;drinker&#34;,&#34;alcohol&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;dust&#34;,&#34;air&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;egg&#34;,&#34;stone&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;electricity&#34;,&#34;scientist&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;elixer&#34;,&#34;stone&#34;,&#34;philosopher&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;energy&#34;,&#34;air&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fabric&#34;,&#34;wool&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fart&#34;,&#34;peas&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;feather&#34;,&#34;bird&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fern&#34;,&#34;swamp&#34;,&#34;moss&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire_golem&#34;,&#34;fire&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;firearms&#34;,&#34;weapon&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fish&#34;,&#34;bacterium&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flour&#34;,&#34;wheat&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;flying_dinosaur&#34;,&#34;dinosaur&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_egg&#34;,&#34;fire&#34;,&#34;egg&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fried_meat&#34;,&#34;fire&#34;,&#34;meat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;frog&#34;,&#34;fish&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ghoul&#34;,&#34;zombie&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;glass&#34;,&#34;sand&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gold&#34;,&#34;elixer&#34;,&#34;any_other_element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;golem&#34;,&#34;clay&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;grass&#34;,&#34;moss&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;gunpowder&#34;,&#34;saltpeter&#34;,&#34;sulfur&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hacker&#34;,&#34;pirate&#34;,&#34;internet&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hero&#34;,&#34;warrior&#34;,&#34;dragon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hospital&#34;,&#34;brick_house&#34;,&#34;doctor&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;housemd&#34;,&#34;doctor&#34;,&#34;vicodin&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;human&#34;,&#34;golem&#34;,&#34;life&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hunter&#34;,&#34;weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;hut&#34;,&#34;stone&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;internet&#34;,&#34;computer&#34;,&#34;computer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;japanese&#34;,&#34;human&#34;,&#34;rice&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;kamasutra&#34;,&#34;book&#34;,&#34;sex&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;katana&#34;,&#34;japanese&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lake&#34;,&#34;water&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lamp&#34;,&#34;glass&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;laser&#34;,&#34;radiowave&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava&#34;,&#34;soil&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lava_golem&#34;,&#34;life&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;life&#34;,&#34;energy&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lighthouse&#34;,&#34;brick_house&#34;,&#34;lamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;limestone&#34;,&#34;stone&#34;,&#34;cockleshell&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;livestock&#34;,&#34;human&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;lizard&#34;,&#34;snake&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manga&#34;,&#34;book&#34;,&#34;japanese&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;manure&#34;,&#34;livestock&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meat&#34;,&#34;hunter&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;medicine&#34;,&#34;shaman&#34;,&#34;poison&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mercury&#34;,&#34;fire&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal&#34;,&#34;stone&#34;,&#34;fire&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;metal_golem&#34;,&#34;life&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;meteorite&#34;,&#34;space&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;milk&#34;,&#34;livestock&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;money&#34;,&#34;gold&#34;,&#34;paper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;moss&#34;,&#34;swamp&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;murderer&#34;,&#34;poison_weapon&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;mushroom&#34;,&#34;soil&#34;,&#34;seaweed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;new_york&#34;,&#34;usa&#34;,&#34;skyscraper&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ninja&#34;,&#34;samuri&#34;,&#34;poison_weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;nuclearbomb&#34;,&#34;scientist&#34;,&#34;bomb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ocean&#34;,&#34;sea&#34;,&#34;sea&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;oil&#34;,&#34;water&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;paper&#34;,&#34;tool&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;patient&#34;,&#34;bacterium&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;peas&#34;,&#34;arable_land&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;petrol&#34;,&#34;oil&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phantom&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;philosopher&#34;,&#34;grass&#34;,&#34;scientist&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;phoenix&#34;,&#34;fire&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pig-iron&#34;,&#34;metal&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pilot&#34;,&#34;plane&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pirate&#34;,&#34;murderer&#34;,&#34;sailing_vessel&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plane&#34;,&#34;bird&#34;,&#34;aluminum&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;plankton&#34;,&#34;water&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison&#34;,&#34;tool&#34;,&#34;scorpion&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;poison_weapon&#34;,&#34;poison&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;pub&#34;,&#34;beer&#34;,&#34;brick_house&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiation&#34;,&#34;nuclearbomb&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;radiowave&#34;,&#34;metal&#34;,&#34;energy&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rain&#34;,&#34;cloud&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;reed&#34;,&#34;swamp&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rice&#34;,&#34;arable_land&#34;,&#34;reed&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;robot&#34;,&#34;japanese&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rocket&#34;,&#34;plane&#34;,&#34;gunpowder&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;rust&#34;,&#34;water&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_boat&#34;,&#34;boat&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sailing_vessel&#34;,&#34;wooden_ship&#34;,&#34;fabric&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;salt&#34;,&#34;metal&#34;,&#34;acid&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;saltpeter&#34;,&#34;manure&#34;,&#34;limestone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;samurai&#34;,&#34;japanese&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sand&#34;,&#34;water&#34;,&#34;stone&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scientist&#34;,&#34;doctor&#34;,&#34;book&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;scorpion&#34;,&#34;bug&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sea&#34;,&#34;lake&#34;,&#34;salt&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seaweed&#34;,&#34;life&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;seeds&#34;,&#34;life&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sex&#34;,&#34;human&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shaman&#34;,&#34;mushroom&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;shop&#34;,&#34;clothing&#34;,&#34;brickhouse&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skydiver&#34;,&#34;clobber&#34;,&#34;pilot&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;skyscraper&#34;,&#34;brickhouse&#34;,&#34;glass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;snake&#34;,&#34;sand&#34;,&#34;worm&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sniper&#34;,&#34;firearms&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;space&#34;,&#34;ocean&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;speedboat&#34;,&#34;boat&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;starwars&#34;,&#34;laser&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam&#34;,&#34;water&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_engine&#34;,&#34;boiler&#34;,&#34;coal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steam_locomotive&#34;,&#34;steam_engine&#34;,&#34;cart&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;steamship&#34;,&#34;wooden_ship&#34;,&#34;steam_engine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;stone&#34;,&#34;water&#34;,&#34;lava&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;storm&#34;,&#34;energy&#34;,&#34;air&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submarine&#34;,&#34;whale&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;submariner&#34;,&#34;submarine&#34;,&#34;human&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sulfur&#34;,&#34;swamp&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;sun&#34;,&#34;lava&#34;,&#34;space&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;swamp&#34;,&#34;water&#34;,&#34;soil&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;team&#34;,&#34;cart&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;terrorist&#34;,&#34;bomb&#34;,&#34;murderer&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;thunderbird&#34;,&#34;storm&#34;,&#34;bird&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tobacco&#34;,&#34;fire&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tool&#34;,&#34;human&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;torpedo&#34;,&#34;rocket&#34;,&#34;water&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;toy&#34;,&#34;baby&#34;,&#34;anything&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tree&#34;,&#34;soil&#34;,&#34;seeds&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;turtle&#34;,&#34;egg&#34;,&#34;sand&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;tv&#34;,&#34;radiowave&#34;,&#34;bulb&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;ufo&#34;,&#34;alien&#34;,&#34;rocket&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;usa&#34;,&#34;columbus&#34;,&#34;ocean&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vampire&#34;,&#34;human&#34;,&#34;blood&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vicodin&#34;,&#34;medicine&#34;,&#34;medicine&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;vodka&#34;,&#34;water&#34;,&#34;alcohol&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;walking_tree&#34;,&#34;life&#34;,&#34;tree&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;war&#34;,&#34;warrior&#34;,&#34;warrior&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;werewolf&#34;,&#34;vampire&#34;,&#34;beast&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warrior&#34;,&#34;weapon&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;warship&#34;,&#34;wooden_ship&#34;,&#34;weapon&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;weapon&#34;,&#34;tool&#34;,&#34;metal&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;whale&#34;,&#34;fish&#34;,&#34;plankton&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheat&#34;,&#34;arable_land&#34;,&#34;grass&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wheel&#34;,&#34;wood&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wood&#34;,&#34;tree&#34;,&#34;tool&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wooden_ship&#34;,&#34;wood&#34;,&#34;boat&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;wool&#34;,&#34;beast&#34;,&#34;hunter&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;worm&#34;,&#34;bacterium&#34;,&#34;swamp&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;yogurt&#34;,&#34;milk&#34;,&#34;bacterium&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;zombie&#34;,&#34;life&#34;,&#34;corpse&#34;&#41;&#41;&#59;&#10;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;soil&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;air&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;fire&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#47;&#47; &#9;elements.add&#40;new Element&#40;&#34;water&#34;,&#34;basic element&#34;&#41;&#41;&#59;&#10;&#10; &#9;HashMap parents &#61; new HashMap&#40;&#41;&#59;&#10; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10; &#9;&#9;Element element &#61; &#40;Element&#41; elements.get&#40;i&#41;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getFather&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getFather&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getFather&#40;&#41;, new Parent&#40; element.getFather&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#9;if &#40; parents.containsKey&#40;element.getMother&#40;&#41;&#41; &#41; &#123;&#10; &#9;&#9;&#9;Parent parent &#61; &#40;Parent&#41; parents.get&#40;element.getMother&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#9;parent.addChild&#40;element.getName&#40;&#41;&#41;&#59;&#10; &#9;&#9;&#125; else &#123;&#10; &#9;&#9;&#9;parents.put&#40;element.getMother&#40;&#41;, new Parent&#40; element.getMother&#40;&#41;, element.getName&#40;&#41;&#41;&#41;&#59;&#10; &#9;&#9;&#125;&#59;&#10; &#9;&#125;&#10; &#9;&#10; &#9;Collection parentsSimple &#61; parents.values&#40;&#41;&#59;&#10; &#9;Iterator iterParent &#61; parentsSimple.iterator&#40;&#41;&#59;&#10;&#47;&#47; &#9;for &#40;int i &#61; 0 &#59; i &#60; elements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#47;&#47;&#47;&#47; &#9;&#9;if &#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;.equals&#40;&#34;housemd&#34;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;if &#40;&#33;&#40; parents.containsKey&#40;&#40;&#40;Element&#41; elements.get&#40;i&#41;&#41;.getName&#40;&#41;&#41;&#41;&#41;&#123;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;digraph &#34; &#43; i &#43; &#34; &#123;&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;drawAscendenceForElements&#40;&#40;Element&#41; elements.get&#40;i&#41;, &#40;ArrayList&#41; elements.clone&#40;&#41;&#41;&#59;&#10;&#47;&#47; &#9;&#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10;&#47;&#47; &#9;&#9;&#125;&#10;&#47;&#47; &#9;&#125;&#10; &#9;&#47;&#47; drawing complete&#10; &#9;System.out.println&#40;&#34;digraph g &#123;&#34;&#41;&#59;&#10; &#9;while &#40;iterParent.hasNext&#40;&#41;&#41;&#123;&#10; &#9;&#9;Parent parent &#61; &#40;Parent&#41; &#40;iterParent.next&#40;&#41;&#41;&#59;&#10; &#9;&#9;Object&#91;&#93; childs &#61; parent.getChilds&#40;&#41;&#59;&#10;&#9;&#9;&#9;for &#40;int j &#61; 0&#59; j &#60; childs.length&#59; j&#43;&#43;&#41; &#123;&#10;&#9;&#9;&#9;&#9;System.out.println&#40;parent.getName&#40;&#41; &#43; &#34; -&#62; &#34; &#43; &#40;String&#41; childs&#91;j&#93;&#41;&#59;&#10;&#9;&#9;&#9;&#125;&#10; &#9;&#125;&#10; &#9;System.out.println&#40;&#34;&#125;&#92;n&#34;&#41;&#59;&#10; &#9;&#10; &#9;&#47;&#42;&#42;&#10; try&#10; &#123;&#10; &#47;&#47; Propiedades de la conexi&#243;n&#10; Properties props &#61; new Properties&#40;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.host&#34;, &#34;smtp.gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.starttls.enable&#34;, &#34;true&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.port&#34;, &#34;587&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.user&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#59;&#10; props.setProperty&#40;&#34;mail.smtp.auth&#34;, &#34;true&#34;&#41;&#59;&#10; &#47;&#47; Preparamos la sesion&#10; Session session &#61; Session.getDefaultInstance&#40;props&#41;&#59;&#10;&#10; &#47;&#47; Construimos el mensaje&#10; MimeMessage message &#61; new MimeMessage&#40;session&#41;&#59;&#10; message.setFrom&#40;new InternetAddress&#40;&#34;rodrigo.peti&#64;gmail.com&#34;&#41;&#41;&#59;&#10; message.addRecipient&#40;&#10; Message.RecipientType.TO,&#10; new InternetAddress&#40;&#34;rmolina&#64;intelap.com&#34;&#41;&#41;&#59;&#10; message.setText&#40;&#10; &#34;Mensajito con Java Mail&#34; &#43; &#34; de los buenos.&#34; &#43; &#34;poque si&#34; &#43; &#34; funciona papa&#33; &#34;&#41;&#59;&#10;&#10; &#47;&#47; Lo enviamos.&#10; Transport t &#61; session.getTransport&#40;&#34;smtp&#34;&#41;&#59;&#10; t.connect&#40;&#34;smtp.gmail.com&#34;, &#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10;&#47;&#47; t.connect&#40;&#34;rodrigo.peti&#64;gmail.com&#34;, &#34;rodrorodro&#34;&#41;&#59;&#10; t.sendMessage&#40;message, message.getAllRecipients&#40;&#41;&#41;&#59;&#10;&#10; &#47;&#47; Cierre.&#10; t.close&#40;&#41;&#59;&#10; &#125;&#10; catch &#40;Exception e&#41;&#10; &#123;&#10; e.printStackTrace&#40;&#41;&#59;&#10; &#125;&#10; &#42;&#47;&#10; &#125;&#10;&#10;&#9;private static void drawAscendenceForElements&#40;Element element,&#10;&#9;&#9;&#9;ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;if &#40;element&#33;&#61;null&#41;&#123;&#10;&#9;&#9;&#9;Element father &#61; getElement&#40; element.getFather&#40;&#41;, anotherElements&#41;&#59; &#10;&#9;&#9;&#9;anotherElements.remove&#40;father&#41;&#59;&#10;&#9;&#9;&#9;Element mother &#61; getElement&#40; element.getMother&#40;&#41;, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;anotherElements.remove&#40;mother&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;father, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;drawAscendenceForElements&#40;mother, anotherElements&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getFather&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#9;System.out.println&#40; element.getMother&#40;&#41; &#43; &#34; -&#62; &#34; &#43; element.getName&#40;&#41;&#41;&#59;&#10;&#9;&#9;&#125;&#10;&#9;&#9;&#10;&#9;&#125;&#10;&#10;&#9;private static Element getElement&#40;String parent, ArrayList anotherElements&#41; &#123;&#10;&#9;&#9;for &#40;int i &#61; 0&#59; i &#60; anotherElements.size&#40;&#41;&#59; i&#43;&#43;&#41;&#123;&#10;&#9;&#9;&#9;Element element &#61; &#40;Element&#41; anotherElements.get&#40;i&#41;&#59;&#10;&#9;&#9;&#9;if &#40;element.getName&#40;&#41;.equals&#40;parent&#41;&#41;&#123;&#10;&#9;&#9;&#9;&#9;return element&#59;&#10;&#9;&#9;&#9;&#125;&#10;&#9;&#9;&#125;&#10;&#9;&#9;return null&#59;&#10;&#9;&#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Keohttp://rise4fun.com/HeapDbg/KeoHeapDbg/Keo<pre>Grade A stuff. I&#39;m uqnuestinoably in your debt.</pre>2013-05-18T17:03:41-07:00ughttp://rise4fun.com/HeapDbg/ugHeapDbg/ug<pre>Shoot, so that&#39;s that one suppsoes.</pre>2013-05-18T17:03:41-07:00Awhttp://rise4fun.com/HeapDbg/AwHeapDbg/Aw<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;100&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00G67http://rise4fun.com/HeapDbg/G67HeapDbg/G67<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; &#47;&#47;if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00sihttp://rise4fun.com/HeapDbg/siHeapDbg/si<pre>&#47;&#47; Create a scene structure for a simple raytracer&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; SceneObject&#91;&#93; things &#61; n&#123;&#13;&#10; new Sphere &#123; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, Radius &#61; 0.5F &#125;,&#13;&#10; new Sphere &#123; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, Radius &#61; 1F &#125;,&#13;&#10; new Plane &#123; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, Offset &#61; 1F &#125;&#13;&#10; &#125;&#59;&#13;&#10;&#13;&#10; Light&#91;&#93; lights &#61; &#123;&#13;&#10; new Light &#123; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;,&#13;&#10; new Light &#123; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, RGB &#61; new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#13;&#10; &#125;&#59;&#13;&#10;&#13;&#10; var camera &#61; new Camera &#123; &#13;&#10; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, &#13;&#10; Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#13;&#10; &#125;&#59;&#13;&#10;&#13;&#10; return new &#123; root &#61; new Scene &#123; Things &#61; things, Lights &#61; lights, Camera &#61; camera &#125; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;&#13;&#10;class Scene &#123; &#13;&#10; public SceneObject&#91;&#93; Things&#59; &#13;&#10; public Light&#91;&#93; Lights&#59; &#13;&#10; public Camera Camera&#59; &#13;&#10;&#125;&#13;&#10;&#13;&#10;interface ISceneObject &#123; &#125;&#13;&#10;class Sphere &#58; ISceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;class Plane &#58; ISceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:006http://rise4fun.com/HeapDbg/6HeapDbg/6<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; public int Test&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41; &#123; Test &#61; i&#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Jslhttp://rise4fun.com/HeapDbg/JslHeapDbg/Jsl<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;public class Program&#10; &#123;&#10; Program f&#59;&#10; public static object Run&#40;&#41;&#10; &#123;&#10; Program param &#61; new Program&#40;&#41;&#59;&#10; Program local1 &#61; bar&#40;&#41;&#59;&#10; Program local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new Program&#40;&#41;&#59;&#10; local2.f.f &#61; new Program&#40;&#41;&#59;&#10; return new &#123;root &#61; local2&#125;&#59;&#10; &#125;&#10;&#10; public static Program bar&#40;&#41;&#10; &#123;&#10; Program r &#61; new Program&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:003thttp://rise4fun.com/HeapDbg/3tHeapDbg/3t<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;public class Program&#10; &#123;&#10; Program f&#59;&#10; public static object run&#40;Program param&#41;&#10; &#123;&#10; Program local1 &#61; bar&#40;&#41;&#59;&#10; Program local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new Program&#40;&#41;&#59;&#10; local2.f.f &#61; new Program&#40;&#41;&#59;&#10; return local1&#59;&#10; &#125;&#10;&#10; public Program bar&#40;&#41;&#10; &#123;&#10; Program r &#61; new Program&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:00L6http://rise4fun.com/HeapDbg/L6HeapDbg/L6<pre>I told my garndothmer how you helped. She said, &#34;bake them a cake&#33;&#34;</pre>2013-05-18T17:03:41-07:0012Qhttp://rise4fun.com/HeapDbg/12QHeapDbg/12Q<pre>Could not find sample or program hello</pre>2013-05-18T17:03:41-07:009http://rise4fun.com/HeapDbg/9HeapDbg/9<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res, o &#61; new object&#40;&#41; &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Yyhttp://rise4fun.com/HeapDbg/YyHeapDbg/Yy<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public static string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00YWhttp://rise4fun.com/HeapDbg/YWHeapDbg/YW<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Eobjects&#123;&#10; &#10; public Etype pointer&#59;&#10; &#10;&#125;&#10;&#10;class Etype&#58;Eobjects &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Eobjects exp &#61; new Eobjects&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; ad1 , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00yVhttp://rise4fun.com/HeapDbg/yVHeapDbg/yV<pre>&#47;&#47; Creates a Deep Copy of a Tree of Data objects&#13;&#10;class Data &#123; public int Value&#59;&#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#61;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10; public static TreeNode CopyTreeDeep&#40;TreeNode t&#41; &#123;&#13;&#10; if &#40;t &#61;&#61; null&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; CopyTreeDeep&#40;t.Left&#41;, Right &#61; CopyTreeDeep&#40;t.Right&#41;, &#13;&#10; Data &#61; new Data &#123; Value &#61; t.Data.Value &#125; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var original &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10; var copy &#61; TreeNode.CopyTreeDeep&#40;original&#41;&#59;&#13;&#10;&#13;&#10; return new &#123; original &#61; original, copy &#61; copy &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00yTEhttp://rise4fun.com/HeapDbg/yTEHeapDbg/yTE<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Eobjects&#123;&#10; &#10; Etype pointer&#59;&#10; &#10;&#125;&#10;&#10;class Etype&#58;Eobjects &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Eobjects&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Eobjects exp &#61; new Eobjects&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00yslhttp://rise4fun.com/HeapDbg/yslHeapDbg/ysl<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00yShttp://rise4fun.com/HeapDbg/ySHeapDbg/yS<pre>&#47;&#47;Create an array of un-aliased and aliased Shperes.&#10;&#47;&#47; Each a composite object of an unaliased Point object but a shared Color object.&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#10; var rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; var ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#10; spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; spheres &#125;&#59;&#10; &#125;&#10;&#125;&#10;class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#10;</pre>2013-05-18T17:03:41-07:00Yrhttp://rise4fun.com/HeapDbg/YrHeapDbg/Yr<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;using System&#59;&#10;namespace HelloWorld&#10;&#123;&#10; class Hello &#10; &#123;&#10; static void Main&#40;&#41; &#10; &#123;&#10; Console.WriteLine&#40;&#34;Hello World&#33;&#34;&#41;&#59;&#10;&#10; &#47;&#47; Keep the console window open in debug mode.&#10; Console.WriteLine&#40;&#34;Press any key to exit.&#34;&#41;&#59;&#10; Console.ReadKey&#40;&#41;&#59;&#10; &#125;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00yMhttp://rise4fun.com/HeapDbg/yMHeapDbg/yM<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; new Etype&#59;&#10; exp.l &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Yjhttp://rise4fun.com/HeapDbg/YjHeapDbg/Yj<pre>&#47;&#47; Creates a Tree of Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#60;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; return new &#123; root &#61; TreeNode.MakeTree&#40;2&#41; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00phttp://rise4fun.com/HeapDbg/pHeapDbg/p<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;SceneObject&#91;&#93; things &#61; new SceneObject&#91;3&#93;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;0&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, Radius &#61; 0.5F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;1&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, Radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;2&#93; &#61; new Plane &#123; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, Offset &#61; 1F &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Light&#91;&#93; lights &#61; new Light&#91;2&#93;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;0&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;1&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Camera camera &#61; new Camera &#123; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Scene &#123; Things &#61; things, Lights &#61; lights, Camera &#61; camera &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Scene &#123; public SceneObject&#91;&#93; Things&#59; public Light&#91;&#93; Lights&#59; public Camera Camera&#59; &#125;&#13;&#10;&#9;&#13;&#10;&#9;public interface SceneObject &#123; &#125;&#13;&#10;&#9;public class Sphere &#58; SceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;&#9;public class Plane &#58; SceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;&#9;public class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;</pre>2013-05-18T17:03:41-07:00u5http://rise4fun.com/HeapDbg/u5HeapDbg/u5<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10;int i &#61; 0&#59;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00yFhttp://rise4fun.com/HeapDbg/yFHeapDbg/yF<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp, Var&#91;3&#93;&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static void Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59;&#10; &#47;&#47;return new &#123; exp , env &#125;&#59;&#10; &#10; object ob &#61; test&#40;exp,env&#41;&#59;&#10; return ob&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00yDhttp://rise4fun.com/HeapDbg/yDHeapDbg/yD<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00w6http://rise4fun.com/HeapDbg/w6HeapDbg/w6<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return Run1&#40;&#41;&#59;&#10; &#125;&#10;&#10; static object Run1&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00yc9http://rise4fun.com/HeapDbg/yc9HeapDbg/yc9<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; public Etypr arrayIndex&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93;.arrayIndex &#61; v1&#59;&#10; env&#91;0&#93;.arrayIndex &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00YC5http://rise4fun.com/HeapDbg/YC5HeapDbg/YC5<pre>gfaCLP &#60;a href&#61;&#34;http&#58;&#47;&#47;tqafnqnweyhv.com&#47;&#34;&#62;tqafnqnweyhv&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;amtnnxmpigbs.com&#47;&#93;amtnnxmpigbs&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;knfuogibwude.com&#47;&#93;knfuogibwude&#91;&#47;link&#93;, http&#58;&#47;&#47;zawxwjhibmau.com&#47;</pre>2013-05-18T17:03:41-07:00pllhttp://rise4fun.com/HeapDbg/pllHeapDbg/pll<pre>private void newFilter&#40;&#41;&#123;&#10;&#9;&#9;RowFilter&#60;ResponseTableModel, Object&#62; rf &#61; null&#59;&#10;&#9;&#9; try&#10;&#9;&#9; &#123;&#10;&#9;&#9;&#9;&#47;&#47; rf &#61; RowFilter.regexFilter&#40;filterText.getText&#40;&#41;, 0&#41;&#59;&#10;&#9; &#125;catch&#40;java.util.regex.PatternSyntaxException e&#41; &#123;&#10;&#9; &#9; return&#59;&#10;&#9; &#125;&#10;&#9;&#125;</pre>2013-05-18T17:03:41-07:00Y2uhttp://rise4fun.com/HeapDbg/Y2uHeapDbg/Y2u<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; TestHeapCloning f&#59;&#10; int h&#59;&#10; public void foo&#40;TestHeapCloning param&#41;&#10; &#123;&#10; TestHeapCloning local1 &#61; bar&#40;&#41;&#59;&#10; TestHeapCloning local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new TestHeapCloning&#40;&#41;&#59;&#10; local2.f.h &#61; 1&#59;&#10; &#125;&#10;&#10; public TestHeapCloning bar&#40;&#41;&#10; &#123;&#10; TestHeapCloning r &#61; new TestHeapCloning&#40;&#41;&#59;&#10; return r&#59;&#10; &#125; &#10;&#125;</pre>2013-05-18T17:03:41-07:00y2http://rise4fun.com/HeapDbg/y2HeapDbg/y2<pre>This aritlce went ahead and made my day.</pre>2013-05-18T17:03:41-07:00Yhttp://rise4fun.com/HeapDbg/YHeapDbg/Y<pre>using System&#59;&#10;&#10;class Hello &#123; public World World&#59; &#125;&#10;class World &#123; &#125;&#10;public class Program&#10;&#123;&#10; public static object Run&#40;&#41;&#10; &#123;&#10; return new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00uhttp://rise4fun.com/HeapDbg/uHeapDbg/u<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, rreen &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; center &#61; cp, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:002Dhttp://rise4fun.com/HeapDbg/2DHeapDbg/2D<pre>&#47;&#47; Creates a Tree of Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#60;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; return new &#123; root &#61; TreeNode.MakeTree&#40;1&#41; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00t4http://rise4fun.com/HeapDbg/t4HeapDbg/t4<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new root&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Fhttp://rise4fun.com/HeapDbg/FHeapDbg/F<pre>using System&#59;&#13;&#10;&#13;&#10;public class TreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode CopyTreeShallow&#40;TreeNode t&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;t &#61;&#61; null&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; CopyTreeShallow&#40;t.left&#41;, right &#61; CopyTreeShallow&#40;t.right&#41;, data &#61; t.data &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;&#9;public class Result &#123; public TreeNode orig&#59; public TreeNode copy&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode torig &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;TreeNode tcopy &#61; TreeNode.CopyTreeShallow&#40;torig&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; orig &#61; torig, copy &#61; tcopy &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;</pre>2013-05-18T17:03:41-07:00ROPhttp://rise4fun.com/HeapDbg/ROPHeapDbg/ROP<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; var env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00oshttp://rise4fun.com/HeapDbg/osHeapDbg/os<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;15&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; 15&#59; &#43;&#43;i&#41; &#123;&#13;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; &#125;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:003Z7http://rise4fun.com/HeapDbg/3Z7HeapDbg/3Z7<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10;if &#40;i &#61;&#61; 5&#41;&#10; res &#61; new ListNode &#123; Next &#61; null, Data &#61; null &#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00RJhttp://rise4fun.com/HeapDbg/RJHeapDbg/RJ<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp, Var &#91;&#93; env&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00RiHhttp://rise4fun.com/HeapDbg/RiHHeapDbg/RiH<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Eobjects&#123;&#10; &#10; Etype pointer&#59;&#10; &#10;&#125;&#10;&#10;class Etype&#58;Eobjects &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Eobjects&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Eobjects exp &#61; new Eobject&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00j0Phttp://rise4fun.com/HeapDbg/j0PHeapDbg/j0P<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class Y&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next, Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new X&#40;&#41; &#125;&#59;&#10; &#125;&#10; while&#40;res &#33;&#61; null&#41; &#123;&#10; if &#40;res.next &#33;&#61; null&#41;&#10; res.next.prev &#61; res&#59;&#10; res &#61; res.next&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Mbhttp://rise4fun.com/HeapDbg/MbHeapDbg/Mb<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00F9http://rise4fun.com/HeapDbg/F9HeapDbg/F9<pre>Rcmocg &#60;a href&#61;&#34;http&#58;&#47;&#47;cyrshdxqyfao.com&#47;&#34;&#62;cyrshdxqyfao&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;ekftnpicyqwj.com&#47;&#93;ekftnpicyqwj&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;myrceivpwiwp.com&#47;&#93;myrceivpwiwp&#91;&#47;link&#93;, http&#58;&#47;&#47;ghuyxyueddjp.com&#47;</pre>2013-05-18T17:03:41-07:00M0Bhttp://rise4fun.com/HeapDbg/M0BHeapDbg/M0B<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; ListNode res_init &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10;&#123; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10;if &#40;i&#61;&#61;0&#41; res_init&#61;res&#59;&#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:007http://rise4fun.com/HeapDbg/7HeapDbg/7<pre>using System&#59;&#13;&#10;using System.Collections.Generic&#59;&#13;&#10;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;Point, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;int, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;spheres&#91;0&#93;, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00mhttp://rise4fun.com/HeapDbg/mHeapDbg/m<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; Center &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;, Color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00lZhttp://rise4fun.com/HeapDbg/lZHeapDbg/lZ<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;20&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00LWhttp://rise4fun.com/HeapDbg/LWHeapDbg/LW<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10,10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res&#91;i,0&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00gYOhttp://rise4fun.com/HeapDbg/gYOHeapDbg/gYO<pre>Could not find sample or program http584747research.microsoft.com47</pre>2013-05-18T17:03:41-07:00K1http://rise4fun.com/HeapDbg/K1HeapDbg/K1<pre>&#47;&#47;Create an array of un-aliased and aliased Shperes.&#13;&#10;&#47;&#47; Each a composite object of an unaliased Point object but a shared Color object.&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10; var rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#13;&#10; var ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#13;&#10; spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10; &#125;&#13;&#10; return new &#123; root &#61; spheres &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00j0http://rise4fun.com/HeapDbg/j0HeapDbg/j0<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#10; public Dbtb other&#59;&#10;&#125;&#10;class Dbtb &#123;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; var r &#61; new Dbtb&#40;&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41; &#123;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; res&#91;i&#93;.other &#61; r&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00GUhttp://rise4fun.com/HeapDbg/GUHeapDbg/GU<pre>Could not find sample or program PureMethod</pre>2013-05-18T17:03:41-07:00xhttp://rise4fun.com/HeapDbg/xHeapDbg/x<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00AJhttp://rise4fun.com/HeapDbg/AJHeapDbg/AJ<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#13;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; &#125;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00Glphttp://rise4fun.com/HeapDbg/GlpHeapDbg/Glp<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60;&#61; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00k5http://rise4fun.com/HeapDbg/k5HeapDbg/k5<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#91;10&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ESEhttp://rise4fun.com/HeapDbg/ESEHeapDbg/ESE<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 1&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Eshttp://rise4fun.com/HeapDbg/EsHeapDbg/Es<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return 1&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00eRehttp://rise4fun.com/HeapDbg/eReHeapDbg/eRe<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c &#61; new Const&#40;&#41;&#59;&#10; c.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c&#59;&#10; &#10; &#47;&#47;Add exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; exp &#61; ad1 , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ebXKhttp://rise4fun.com/HeapDbg/ebXKHeapDbg/ebXK<pre>class Etype &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59; &#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00NSmhttp://rise4fun.com/HeapDbg/NSmHeapDbg/NSm<pre>using System&#59;&#13;&#10;using System.Collections.Generic&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;Point, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;Point, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;spheres&#91;0&#93;.center, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public struct Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00C0yhttp://rise4fun.com/HeapDbg/C0yHeapDbg/C0y<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#47;&#47;Add exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; exp &#61; ad1 , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Chttp://rise4fun.com/HeapDbg/CHeapDbg/C<pre>using System&#59;&#13;&#10;&#9;public class Result &#123; public TreeNode orig&#59; public TreeNode copy&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41; &#47;&#47;&#60;------------------------------------- RunShowMultiRoots&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode torig &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;TreeNode tcopy &#61; TreeNode.CopyTreeDeep&#40;torig&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; orig &#61; torig, copy &#61; tcopy &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class TreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode CopyTreeDeep&#40;TreeNode t&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;t &#61;&#61; null&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; CopyTreeDeep&#40;t.left&#41;, right &#61; CopyTreeDeep&#40;t.right&#41;, data &#61; new Data &#123; val &#61; t.data.val &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00aplhttp://rise4fun.com/HeapDbg/aplHeapDbg/apl<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; &#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00aoThttp://rise4fun.com/HeapDbg/aoTHeapDbg/aoT<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public static string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; &#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:0096Ihttp://rise4fun.com/HeapDbg/96IHeapDbg/96I<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Avhttp://rise4fun.com/HeapDbg/AvHeapDbg/Av<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125; class Data2 &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new object&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; i &#37; 2 &#61;&#61; 0 &#63; &#40;object&#41;new Data2&#40;&#41;&#58; new StringBuilder&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ed0http://rise4fun.com/HeapDbg/ed0HeapDbg/ed0<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next,Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; if &#40;res.Next &#33;&#61; null&#41; &#123;&#10; res.Next.Prev &#61; res&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00EKhttp://rise4fun.com/HeapDbg/EKHeapDbg/EK<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; private int prop&#59; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new Data&#40;&#41;&#59;&#47;&#47;&#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:003Ghttp://rise4fun.com/HeapDbg/3GHeapDbg/3G<pre>L98AYt &#60;a href&#61;&#34;http&#58;&#47;&#47;mbdfjmnneelp.com&#47;&#34;&#62;mbdfjmnneelp&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;zibdauqndknx.com&#47;&#93;zibdauqndknx&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;jooaycyjubhp.com&#47;&#93;jooaycyjubhp&#91;&#47;link&#93;, http&#58;&#47;&#47;dhpsnvdytepo.com&#47;</pre>2013-05-18T17:03:41-07:00KChttp://rise4fun.com/HeapDbg/KCHeapDbg/KC<pre>using System&#59;&#13;&#10;using System.Collections.Generic&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Dictionary&#60;int, Sphere&#91;&#93;&#62; nestedDict &#61; new Dictionary&#60;int, Sphere&#91;&#93;&#62;&#40;&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int j &#61; 0&#59; j &#60; 10&#59; &#43;&#43;j&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; j, zpos &#61; i - j &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;nestedDict.Add&#40;i, spheres&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return nestedDict&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:002fhttp://rise4fun.com/HeapDbg/2fHeapDbg/2f<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.l &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c1&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp,env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:001lVhttp://rise4fun.com/HeapDbg/1lVHeapDbg/1lV<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#10; public int x&#59;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41; &#123;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; res&#91;i&#93;.x &#61; 111&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:002http://rise4fun.com/HeapDbg/2HeapDbg/2<pre>JyB8sG &#60;a href&#61;&#34;http&#58;&#47;&#47;okvbxapmwnox.com&#47;&#34;&#62;okvbxapmwnox&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;xabbpmhokeig.com&#47;&#93;xabbpmhokeig&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;athdykrszdgv.com&#47;&#93;athdykrszdgv&#91;&#47;link&#93;, http&#58;&#47;&#47;kcbddgboobkd.com&#47;</pre>2013-05-18T17:03:41-07:00Thttp://rise4fun.com/HeapDbg/THeapDbg/T<pre>&#47;&#47; Creates a Deep Copy of a Tree of Data objects&#10;class Data &#123; public int Value&#59;&#125;&#10;class TreeNode &#123;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#10; public Data Data&#59;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#10; if &#40;k &#61;&#61; 0&#41;&#10; return null&#59;&#10; else&#10; return new TreeNode &#123; &#10; Left &#61; MakeTree&#40;k - 1&#41;, Right &#61; MakeTree&#40;k - 1&#41;, &#10; Data &#61; new Data&#40;&#41; &#10; &#125;&#59;&#10; &#125;&#10; public static TreeNode CopyTreeDeep&#40;TreeNode t&#41; &#123;&#10; if &#40;t &#61;&#61; null&#41;&#10; return null&#59;&#10; else&#10; return new TreeNode &#123; &#10; Left &#61; CopyTreeDeep&#40;t.Left&#41;, Right &#61; CopyTreeDeep&#40;t.Right&#41;, &#10; Data &#61; new Data &#123; Value &#61; t.Data.Value &#125; &#10; &#125;&#59;&#10; &#125;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var original &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#10; var copy &#61; TreeNode.CopyTreeDeep&#40;original&#41;&#59;&#10;&#10; return new &#123; original &#61; original, copy &#61; copy &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00szhttp://rise4fun.com/HeapDbg/szHeapDbg/sz<pre>Could not find sample or program http584747rise4fun.com47images47logo_msr_small.png</pre>2013-05-18T17:03:41-07:00sYvhttp://rise4fun.com/HeapDbg/sYvHeapDbg/sYv<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; var exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00suhttp://rise4fun.com/HeapDbg/suHeapDbg/su<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10;&#47;&#47; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00spKhttp://rise4fun.com/HeapDbg/spKHeapDbg/spK<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp, Var&#91;&#93;&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static void Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59;&#10; &#47;&#47;return new &#123; exp , env &#125;&#59;&#10; &#10; object ob &#61; test&#40;exp,env&#41;&#59;&#10; return ob&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00o4http://rise4fun.com/HeapDbg/o4HeapDbg/o4<pre>&#47;&#47; Creates a Deep Copy of a Tree of Data objects&#10;class Data &#123; public int Value&#59;&#125;&#10;class TreeNode &#123;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#10; public Data Data&#59;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#10; if &#40;k &#61;&#61; 0&#41;&#10; return null&#59;&#10; else&#10; return new TreeNode &#123; &#10; Left &#61; MakeTree&#40;k - 1&#41;, Right &#61; MakeTree&#40;k - 1&#41;, &#10; Data &#61; new Data&#40;&#41; &#10; &#125;&#59;&#10; &#125;&#10; public static TreeNode CopyTreeDeep&#40;TreeNode t&#41; &#123;&#10; if &#40;t &#61;&#61; null&#41;&#10; return null&#59;&#10; else&#10; return new TreeNode &#123; &#10; Left &#61; t.Left, Right &#61; CopyTreeDeep&#40;t.Right&#41;, &#10; Data &#61; new Data &#123; Value &#61; t.Data.Value &#125; &#10; &#125;&#59;&#10; &#125;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var original &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#10; var copy &#61; TreeNode.CopyTreeDeep&#40;original&#41;&#59;&#10;&#10; return new &#123; original &#61; original, copy &#61; copy &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Ohttp://rise4fun.com/HeapDbg/OHeapDbg/O<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;SceneObject&#91;&#93; things &#61; new SceneObject&#91;3&#93;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;0&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; -0.5F, Y &#61; 1F, Z &#61; 1.5F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 255, Green &#61; 0 &#125;, Radius &#61; 0.5F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;1&#93; &#61; new Sphere &#123; Center &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; -0.25F &#125;, RGB &#61; new Color &#123; Red &#61; 0, Blue &#61; 0, Green &#61; 255 &#125;, Radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;things&#91;2&#93; &#61; new Plane &#123; Norm &#61; new Vector &#123; X &#61; 0F, Y &#61; 1F, Z &#61; 0F &#125;, RGB &#61; new Color &#123; Red &#61; 192, Blue &#61; 192, Green &#61; 192 &#125;, Offset &#61; 1F &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Light&#91;&#93; lights &#61; new Light&#91;2&#93;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;0&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; -2F, Y &#61; 2.5F, Z &#61; 0F &#125;, new Color &#123; Red &#61; 173, Blue &#61; 216, Green &#61; 230 &#125; &#125;&#59;&#13;&#10;&#9;&#9;&#9;lights&#91;1&#93; &#61; new Light &#123; Pos &#61; new Vector &#123; X &#61; 2F, Y &#61; 4.5F, Z &#61; 2F &#125;, new Color &#123; Red &#61; 255, Blue &#61; 127, Green &#61; 0 &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;Camera camera &#61; new Camera &#123; Pos &#61; new Vector &#123; X &#61; 2.75F, Y &#61; 2F, Z &#61; 3.75F &#125;, Forward &#61; new Vector &#123; X &#61; -0.6F, Y &#61; 0.5F, Z &#61; 0F &#125; &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Scene &#123; Things &#61; things, Lights &#61; lights, Camara &#61; camera &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Scene &#123; SceneObject&#91;&#93; Things&#59; public Light&#91;&#93; Lights&#59; public Camera Camera&#59; &#125;&#13;&#10;&#9;&#13;&#10;&#9;public interface SceneObject &#123; &#125;&#13;&#10;&#9;public class Sphere &#58; SceneObject &#123; public Vector Center&#59; public Color RGB&#59; public float Radius&#59; &#125;&#13;&#10;&#9;public class Plane &#58; SceneObject &#123; public Vector Norm&#59; public Color RGB&#59; public float Offset&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Light &#123; public Vector Pos&#59; public Color RGB&#59; &#125;&#13;&#10;&#9;public class Camera &#123; public Vector Pos&#59; public Vector Forward&#59; &#125;&#13;&#10;&#13;&#10;&#9;public class Vector &#123; public float X&#59; public float Y&#59; public float Z&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int Red&#59; public int Blue&#59; public int Green&#59; &#125;</pre>2013-05-18T17:03:41-07:00Nwhttp://rise4fun.com/HeapDbg/NwHeapDbg/Nw<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; public int variable&#59;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; var res2 &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; &#123;&#10; &#10; &#10; Data data &#61; new Data&#40;&#41;&#59;&#10; data.variable &#61; 5&#59;&#10; res&#91;i&#93; &#61; data&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00nVhttp://rise4fun.com/HeapDbg/nVHeapDbg/nV<pre>class A &#123; &#10;&#10; public&#58;&#10; void foo&#40;&#41;&#123;&#10; std&#58;&#58;cout &#60;&#60; &#34; Things &#34; &#60;&#60; std&#58;&#58;endl&#59;&#10; &#125; &#10;&#10;&#10;&#125;&#59;&#10;&#10;int Run&#40;&#41;&#123;&#10; A&#42;&#42; a &#61; new A&#91;52&#93;&#59;&#10; return a&#59;&#10;&#125;</pre>2013-05-18T17:03:41-07:00wLVhttp://rise4fun.com/HeapDbg/wLVHeapDbg/wLV<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#10; int x&#59;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00ahttp://rise4fun.com/HeapDbg/aHeapDbg/a<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;return rtn&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; Center &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;, Color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00Nrhttp://rise4fun.com/HeapDbg/NrHeapDbg/Nr<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var i &#61; 5&#59;&#10;return i&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Dshttp://rise4fun.com/HeapDbg/DsHeapDbg/Ds<pre>using System&#59;&#13;&#10;&#13;&#10;public class TreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;public static TreeNode CopyTreeShallow&#40;TreeNode t&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;t &#61;&#61; null&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; CopyTreeShallow&#40;t.left&#41;, right &#61; CopyTreeShallow&#40;t.right&#41;, data &#61; t.data &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;&#13;&#10;&#9;public class Result &#123; public TreeNode orig&#59; public TreeNode copy&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode torig &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;TreeNode tcopy &#61; TreeNode.CopyTreeShallow&#40;orig&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; orig &#61; torig, copy &#61; tcopy &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;</pre>2013-05-18T17:03:41-07:00IdXhttp://rise4fun.com/HeapDbg/IdXHeapDbg/IdX<pre>Could not find sample or program fsm</pre>2013-05-18T17:03:41-07:00HpWhttp://rise4fun.com/HeapDbg/HpWHeapDbg/HpW<pre>&#47;&#47;Create an array of un-aliased and aliased Shperes.&#10;&#47;&#47; Each a composite object of an unaliased Point object but a shared Color object.&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#10; var rgb &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; var ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#10; spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#10; &#125;&#10;spheres&#91;2&#93; &#61; null&#59;&#10; return new &#123; root &#61; spheres &#125;&#59;&#10; &#125;&#10;&#125;&#10;class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#10;</pre>2013-05-18T17:03:41-07:00iBbhttp://rise4fun.com/HeapDbg/iBbHeapDbg/iBb<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; var exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ibhttp://rise4fun.com/HeapDbg/ibHeapDbg/ib<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; public int variable&#59;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; &#123;&#10; &#10; &#10; Data data &#61; new Data&#40;&#41;&#59;&#10; data.variable &#61; 5&#59;&#10; res&#91;i&#93; &#61; data&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00I7Nhttp://rise4fun.com/HeapDbg/I7NHeapDbg/I7N<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123; &#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00I4http://rise4fun.com/HeapDbg/I4HeapDbg/I4<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; return &#34;&#34;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Ihttp://rise4fun.com/HeapDbg/IHeapDbg/I<pre>using System&#59;&#10;&#10;class Node &#123; public Node Next&#59; &#125;&#10;public class Program&#10;&#123;&#10; public static object Run&#40;&#41;&#10; &#123;&#10; &#47;&#47; a list of 3 nodes&#10; var list &#61; new Node &#123; Next &#61; new Node &#123; Next &#61; new Node&#40;&#41; &#125; &#125;&#59;&#10; return list&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00P4http://rise4fun.com/HeapDbg/P4HeapDbg/P4<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; public int Test&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41; &#123; Test &#61; i&#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; res, r2 &#61; res&#91;0&#93; &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00OXhttp://rise4fun.com/HeapDbg/OXHeapDbg/OX<pre>using System&#59;&#13;&#10;&#13;&#10;class Node &#123; public Node Next&#59; &#125;&#13;&#10;public class Program&#13;&#10;&#123;&#13;&#10; public static object Run&#40;&#41;&#13;&#10; &#123;&#13;&#10; &#47;&#47; a list of 3 nodes&#13;&#10; var list &#61; new Node &#123; Next &#61; new Node &#123; Next &#61; new Node&#40;&#41; &#125; &#125;&#59;&#13;&#10; return list&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00CY2http://rise4fun.com/HeapDbg/CY2HeapDbg/CY2<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00oPhttp://rise4fun.com/HeapDbg/oPHeapDbg/oP<pre>I can&#39;t believe I&#39;ve been going for years without knonwig that.</pre>2013-05-18T17:03:41-07:00cwPhttp://rise4fun.com/HeapDbg/cwPHeapDbg/cwP<pre>I can&#39;t bleieve you&#39;re not playing with me--that was so helpful.</pre>2013-05-18T17:03:41-07:00kvhttp://rise4fun.com/HeapDbg/kvHeapDbg/kv<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#13;&#10;class Data &#123; public int Prop &#123; get&#59; set&#59;&#125; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#13;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; &#125;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00Ehttp://rise4fun.com/HeapDbg/EHeapDbg/E<pre>using System&#59;&#13;&#10;&#13;&#10;class TreeNode &#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public TreeNode left&#59; public TreeNode right&#59; public Data data&#59;&#13;&#10;&#13;&#10;&#9;&#9;static TreeNode MakeTree&#40;int k&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#9;return new TreeNode &#123; left &#61; MakeTree&#40;k - 1&#41;, right &#61; MakeTree&#40;k - 1&#41;, data &#61; new Data&#40;&#41; &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#9;&#13;&#10;&#9;class Data &#123; public int val&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;TreeNode res &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10;&#9;&#9;&#9;return res&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;</pre>2013-05-18T17:03:41-07:00aYhttp://rise4fun.com/HeapDbg/aYHeapDbg/aY<pre>Thank God&#33; Somonee with brains speaks&#33;</pre>2013-05-18T17:03:41-07:00JeAhttp://rise4fun.com/HeapDbg/JeAHeapDbg/JeA<pre>class Data &#123; public int val&#59;&#125;&#10;class SpecialData&#58; Data &#123;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var resa &#61; new Data&#91;10&#93;&#59;&#10; var dspecial &#61; new SpecialData&#40;&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; resa.Length&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#61;&#61; 5&#41;&#10; resa&#91;i&#93; &#61; dspecial&#59;&#10; else&#10; resa&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:009Nhttp://rise4fun.com/HeapDbg/9NHeapDbg/9N<pre>Da9Zk4 &#60;a href&#61;&#34;http&#58;&#47;&#47;pfchtophxxsu.com&#47;&#34;&#62;pfchtophxxsu&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;thxboijfnrpr.com&#47;&#93;thxboijfnrpr&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;upjeiqdsacbx.com&#47;&#93;upjeiqdsacbx&#91;&#47;link&#93;, http&#58;&#47;&#47;xmxkxpwwnggs.com&#47;</pre>2013-05-18T17:03:41-07:006qhttp://rise4fun.com/HeapDbg/6qHeapDbg/6q<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; Etype pointer&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:006Phttp://rise4fun.com/HeapDbg/6PHeapDbg/6P<pre>Could not find sample or program new</pre>2013-05-18T17:03:41-07:00dthttp://rise4fun.com/HeapDbg/dtHeapDbg/dt<pre>It&#39;s always a relief when soemnoe with obvious expertise answers. Thanks&#33;</pre>2013-05-18T17:03:41-07:00GKhttp://rise4fun.com/HeapDbg/GKHeapDbg/GK<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125; class Data2 &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new object&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; i &#37; 2 &#61;&#61; 0 &#63; new Data2&#40;&#41;&#58; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Ub4http://rise4fun.com/HeapDbg/Ub4HeapDbg/Ub4<pre>&#47;&#47; Create an array of aliased Data objects&#10;&#47;&#47; Alising is shown as XXX color on &#91;&#63;&#93; edge.&#10;class Data &#123; public int Value&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#61;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; else&#10; res&#91;i&#93; &#61; res&#91;i - 1&#93;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:003shttp://rise4fun.com/HeapDbg/3sHeapDbg/3s<pre>iTtMPM &#60;a href&#61;&#34;http&#58;&#47;&#47;iumuoozyqbyu.com&#47;&#34;&#62;iumuoozyqbyu&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;anhjhtbxfhcd.com&#47;&#93;anhjhtbxfhcd&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;ptudfokdxrdz.com&#47;&#93;ptudfokdxrdz&#91;&#47;link&#93;, http&#58;&#47;&#47;ejhetzgwtrsa.com&#47;</pre>2013-05-18T17:03:41-07:00CLhttp://rise4fun.com/HeapDbg/CLHeapDbg/CL<pre>type Event&#59;&#10;type EventType&#59;&#10;&#10;const unique MoveMotor &#58; EventType&#59;&#10;const unique TakePhoto &#58; EventType&#59;&#10;const unique MoveAndShoot &#58; EventType&#59;&#10;const unique FetchPhoto &#58; EventType&#59;&#10;const unique WritePhoto &#58; EventType&#59;&#10;const unique FetchAndWrite &#58; EventType&#59;&#10;function typeOf&#40;e &#58; Event&#41; returns &#40;EventType&#41;&#59;&#10;&#10;type Time &#61; int&#59;&#10;const unique begin &#58; &#91;Event&#93; Time&#59;&#10;const unique end &#58; &#91;Event&#93; Time&#59;&#10;axiom &#40;forall e &#58; Event &#58;&#58; begin&#91;e&#93; &#60;&#58; end&#91;e&#93;&#41;&#59;&#10;axiom &#40;forall e1, e2 &#58; Event &#58;&#58; e1 &#60;&#58; e2 &#60;&#61;&#61;&#62; begin&#91;e1&#93; &#60;&#58; begin&#91;e2&#93;&#41;&#59;&#10;&#10;function happens&#40;e &#58; Event, t1, t2 &#58; Time&#41; returns &#40;bool&#41; &#123;&#10; t1 &#61;&#61; begin&#91;e&#93; &#38;&#38; t2 &#61;&#61; end&#91;e&#93;&#10;&#125;&#10;&#10;&#47;&#47; true iff e1 contains e2&#10;function contains&#40;parent &#58; Event, child &#58; Event&#41; returns &#40;bool&#41; &#123;&#10; begin&#91;parent&#93; &#60;&#58; begin&#91;child&#93; &#38;&#38; &#10; end&#91;child&#93; &#60;&#58; end&#91;parent&#93;&#10;&#125;&#10;&#10;function containsSeq&#40;parent &#58; Event, children &#58; &#91;int&#93; Event, n &#58; int&#41; returns &#40;bool&#41; &#123;&#10; begin&#91;parent&#93; &#60;&#58; begin&#91;children&#91;0&#93;&#93; &#38;&#38;&#10; end&#91;children&#91;&#40;n - 1&#41;&#93;&#93; &#60;&#58; end&#91;parent&#93;&#10;&#125;&#10;&#10;function andThen &#40;e1, e2 &#58; Event&#41; returns &#40;bool&#41; &#123;&#10; end&#91;e1&#93; &#60;&#58; begin&#91;e2&#93;&#10;&#125;&#10;&#10;&#47;&#47; create a sequence of events of type &#34;typ&#34;&#10;function repeat &#40;typ &#58; EventType, seq &#58; &#91;int&#93; Event, n &#58; int&#41; returns &#40;bool&#41; &#123;&#10; n &#62;&#61; 1 &#38;&#38; &#47;&#47; at least one event in the sequence&#10; typeOf&#40;seq&#91;0&#93;&#41; &#61;&#61; typ &#38;&#38;&#10; typeOf&#40;seq&#91;&#40;n-1&#41;&#93;&#41; &#61;&#61; typ &#38;&#38;&#10; &#40;n &#62; 1 &#61;&#61;&#62; &#10; &#40;forall i &#58; int &#58;&#58; &#10; &#40;i &#62;&#61; 0 &#38;&#38; i &#60; &#40;n - 1&#41;&#41; &#61;&#61;&#62; &#10; typeOf&#40;seq&#91;i&#93;&#41; &#61;&#61; typ &#38;&#38;&#10; andThen&#40;seq&#91;i&#93;, seq&#91;i&#43;1&#93;&#41;&#41;&#10; &#41;&#10;&#125;&#10;&#10;function takePanorama &#40;e &#58; Event, seq &#58; &#91;int&#93; Event, n &#58; int&#41; returns &#40;bool&#41; &#123;&#10; repeat&#40;MoveAndShoot, seq, n&#41; &#38;&#38;&#10; containsSeq&#40;e, seq, n&#41;&#10;&#125;&#10;&#10;function moveAndShoot &#40;e, e1, e2 &#58; Event&#41; returns &#40;bool&#41; &#123;&#10; typeOf&#40;e1&#41; &#61;&#61; MoveMotor &#38;&#38; &#10; typeOf&#40;e2&#41; &#61;&#61; TakePhoto &#38;&#38; &#10; andThen&#40;e1, e2&#41; &#38;&#38;&#10; contains&#40;e, e1&#41; &#38;&#38;&#10; contains&#40;e, e2&#41;&#10;&#125;&#10;&#10;function savePhotos &#40;e &#58; Event, seq &#58; &#91;int&#93; Event, n &#58; int&#41; returns &#40;bool&#41; &#123;&#10; repeat&#40;FetchAndWrite, seq, n&#41; &#38;&#38;&#10; containsSeq&#40;e, seq, n&#41;&#10;&#125;&#10;&#10;function fetchAndWrite&#40;e, e1, e2 &#58; Event&#41; returns &#40;bool&#41; &#123;&#10; typeOf&#40;e1&#41; &#61;&#61; FetchPhoto &#38;&#38; &#10; typeOf&#40;e2&#41; &#61;&#61; WritePhoto &#38;&#38;&#10; andThen&#40;e1, e2&#41; &#38;&#38;&#10; contains&#40;e, e1&#41; &#38;&#38;&#10; contains&#40;e, e2&#41;&#10;&#125;&#10;&#10;function top&#40;e, e1, e2 &#58; Event&#41; returns &#40;bool&#41; &#123;&#10; contains&#40;e, e1&#41; &#38;&#38; contains&#40;e, e2&#41;&#10;&#125;&#10;&#10;&#47;&#42;&#42;&#10; Logs&#10; &#42;&#47;&#10;const unique obs &#58; &#91;int&#93; Event&#59;&#10;const unique numObs &#58; int&#59;&#10;&#10;const unique panorama1 &#58; Event&#59;&#10;const unique panorama1_seq &#58; &#91;int&#93; Event&#59;&#10;axiom&#40;&#10; panorama1_seq&#91;0&#93; &#61;&#61; moveShoot1 &#38;&#38;&#10; panorama1_seq&#91;1&#93; &#61;&#61; moveShoot2 &#38;&#38;&#10; panorama1_seq&#91;2&#93; &#61;&#61; moveShoot3&#10; &#41;&#59;&#10;&#10;const unique moveShoot1 &#58; Event&#59;&#10;const unique move1 &#58; Event&#59;&#10;const unique take1 &#58; Event&#59;&#10;const unique moveShoot2 &#58; Event&#59;&#10;const unique move2 &#58; Event&#59;&#10;const unique take2 &#58; Event&#59;&#10;const unique moveShoot3 &#58; Event&#59;&#10;const unique move3 &#58; Event&#59;&#10;const unique take3 &#58; Event&#59;&#10;&#10;const unique savePhotos1 &#58; Event&#59;&#10;const unique savePhotos1_seq &#58; &#91;int&#93; Event&#59;&#10;axiom&#40;&#10; savePhotos1_seq&#91;0&#93; &#61;&#61; fetchWrite1&#10; &#41;&#59;&#10;&#10;const unique fetchWrite1 &#58; Event&#59;&#10;const unique fetch1 &#58; Event&#59;&#10;const unique write1 &#58; Event&#59;&#10;&#10;const unique top &#58; Event&#59;&#10;&#10;axiom&#40;&#10; takePanorama&#40;panorama1, panorama1_seq, 3&#41; &#38;&#38;&#10; moveAndShoot&#40;moveShoot1, move1, take1&#41; &#38;&#38;&#10; moveAndShoot&#40;moveShoot2, move2, take2&#41; &#38;&#38;&#10; moveAndShoot&#40;moveShoot3, move3, take3&#41; &#38;&#38;&#10; savePhotos&#40;savePhotos1, savePhotos1_seq, 1&#41; &#38;&#38;&#10; fetchAndWrite&#40;fetchWrite1, fetch1, write1&#41; &#38;&#38;&#10; top&#40;top, panorama1, savePhotos1&#41;&#10; &#41;&#59;&#10;&#10;axiom&#40;numObs &#61;&#61; 11&#41;&#59;&#10;&#47;&#47; event order in the log&#10;axiom&#40;&#10; &#47;&#42;&#10; obs&#91;0&#93; &#61;&#61; top &#38;&#38;&#10; obs&#91;1&#93; &#61;&#61; panorama1 &#38;&#38;&#10; obs&#91;2&#93; &#61;&#61; moveShoot1 &#38;&#38;&#10; obs&#91;3&#93; &#61;&#61; move1 &#38;&#38;&#10; obs&#91;4&#93; &#61;&#61; take1 &#38;&#38;&#10; obs&#91;5&#93; &#61;&#61; moveShoot2 &#38;&#38;&#10; obs&#91;6&#93; &#61;&#61; move2 &#38;&#38;&#10; obs&#91;7&#93; &#61;&#61; take2 &#38;&#38;&#10; obs&#91;8&#93; &#61;&#61; moveShoot3 &#38;&#38;&#10; obs&#91;9&#93; &#61;&#61; move3 &#38;&#38;&#10; obs&#91;10&#93; &#61;&#61; take3&#10; &#42;&#47;&#10;&#10; obs&#91;0&#93; &#61;&#61; top &#38;&#38;&#10; obs&#91;1&#93; &#61;&#61; panorama1 &#38;&#38;&#10; obs&#91;2&#93; &#61;&#61; moveShoot1 &#38;&#38;&#10; obs&#91;3&#93; &#61;&#61; move1 &#38;&#38;&#10; obs&#91;4&#93; &#61;&#61; take1 &#38;&#38;&#10; obs&#91;5&#93; &#61;&#61; savePhotos1 &#38;&#38;&#10; obs&#91;6&#93; &#61;&#61; fetchWrite1 &#38;&#38;&#10; obs&#91;7&#93; &#61;&#61; fetch1 &#38;&#38;&#10; obs&#91;8&#93; &#61;&#61; moveShoot2 &#38;&#38;&#10; obs&#91;9&#93; &#61;&#61; move2 &#38;&#38;&#10; obs&#91;10&#93; &#61;&#61; write1 &#38;&#38;&#10; obs&#91;11&#93; &#61;&#61; take2 &#38;&#38;&#10; obs&#91;12&#93; &#61;&#61; moveShoot3 &#38;&#38;&#10; obs&#91;13&#93; &#61;&#61; move3 &#38;&#38;&#10; obs&#91;14&#93; &#61;&#61; take3&#10; &#41;&#59;&#10;&#10;function traceConforms&#40;concTrace &#58; &#91;int&#93; Event, length &#58; int&#41; returns &#40;bool&#41; &#123;&#10; &#40;forall i, j &#58; int &#58;&#58; &#10; &#40;i &#62;&#61; 0 &#38;&#38; j &#60; length &#38;&#38; i &#60; j&#41; &#61;&#61;&#62;&#10; &#33;&#40;concTrace&#91;j&#93; &#60;&#58; concTrace&#91;i&#93;&#41; &#10; &#41;&#10;&#125;&#10;&#10;procedure move&#40;&#41; &#10; modifies motorPosition&#59;&#10;&#123;&#10; var newPos &#58; Position&#59;&#10; motorPosition &#58;&#61; newPos&#59; &#10;&#125;&#10;&#10;procedure takePhoto&#40;&#41;&#10; modifies photosTaken&#59;&#10;&#123;&#10; photosTaken &#58;&#61; photosTaken&#91;photos&#91;motorPosition&#93; &#58;&#61; true&#93;&#59;&#10;&#125;&#10;&#10;procedure fetchPhoto&#40;&#41;&#10; modifies photoFetched, photosTaken&#59;&#10;&#123;&#10; var p &#58; Photo&#59;&#10; assume&#40;photosTaken&#91;p&#93;&#41;&#59;&#10; photoFetched &#58;&#61; p&#59;&#10; photosTaken &#58;&#61; photosTaken&#91;p &#58;&#61; false&#93;&#59;&#10;&#125;&#10;&#10;procedure savePhoto&#40;&#41;&#10; modifies photosSaved&#59;&#10;&#123;&#10; photosSaved &#58;&#61; photosSaved&#91;photoFetched &#58;&#61; true&#93;&#59;&#10;&#125;&#10;&#10;procedure Main&#40;&#41; &#10; modifies motorPosition, photosTaken, photoFetched, photosSaved&#59;&#10;&#123; &#10; var t1, t2 &#58; Time&#59;&#10; assume&#40;happens&#40;top, t1, t2&#41;&#41;&#59;&#10; assert&#40;&#33;traceConforms&#40;obs, numObs&#41;&#41;&#59;&#10; assume&#40;forall p &#58; Photo &#58;&#58; &#33;&#40;photosTaken&#91;p&#93;&#41;&#41;&#59;&#10; assume&#40;forall p &#58; Photo &#58;&#58; &#33;&#40;photosSaved&#91;p&#93;&#41;&#41;&#59;&#10; call move&#40;&#41;&#59;&#10; call takePhoto&#40;&#41;&#59;&#10; call fetchPhoto&#40;&#41;&#59;&#10; call move&#40;&#41;&#59;&#10; call savePhoto&#40;&#41;&#59;&#10; call takePhoto&#40;&#41;&#59;&#10; call move&#40;&#41;&#59;&#10; call takePhoto&#40;&#41;&#59;&#10; assert&#40;exists p &#58; Photo &#58;&#58; photosSaved&#91;p&#93;&#41;&#59;&#10;&#125;&#10;&#10;&#47;&#42;&#42;&#10; Sytem state&#10;&#42;&#47;&#10;type Position&#59;&#10;type Photo&#59;&#10;&#10;var motorPosition &#58; Position&#59;&#10;var photosTaken &#58; &#91;Photo&#93; bool&#59;&#10;var photoFetched &#58; Photo&#59;&#10;var photosSaved &#58; &#91;Photo&#93; bool&#59;&#10;&#10;&#47;&#42;&#42;&#10; Environment&#10;&#42;&#47;&#10;const unique photos &#58; &#91;Position&#93; Photo&#59;&#10;&#10;&#47;&#42;&#10;&#47;&#47; partial order relation between events&#10;const unique trace &#58; &#91;Event, Event&#93; bool&#59;&#10;&#47;&#47; reflexive&#10;axiom&#40;forall e &#58; Event &#58;&#58; trace&#91;e, e&#93;&#41;&#59;&#10;&#47;&#47; antisymmetric&#10;axiom&#40;forall e1, e2 &#58; Event &#58;&#58; &#40;trace&#91;e1, e2&#93; &#38;&#38; trace&#91;e2, e1&#93;&#41; &#61;&#61;&#62; e1 &#61;&#61; e2&#41;&#59;&#10;&#47;&#47; transitive&#10;axiom&#40;forall e1, e2, e3 &#58; Event &#58;&#58; &#40;trace&#91;e1, e2&#93; &#38;&#38; trace&#91;e2, e3&#93;&#41; &#61;&#61;&#62; trace&#91;e1, e3&#93;&#41;&#59;&#10;&#42;&#47;&#10;</pre>2013-05-18T17:03:41-07:000rhttp://rise4fun.com/HeapDbg/0rHeapDbg/0r<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;public class Data &#123; public int val&#59; public Data left&#59; public Data right&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; &#123; &#10; var d&#61;new Data&#40;&#41;&#59; &#10; d.left&#61;new Data&#40;&#41;&#59;&#10; res&#91;i&#93; &#61; d&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00sLhIhttp://rise4fun.com/HeapDbg/sLhIHeapDbg/sLhI<pre>class Etype &#123;public Etype points&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00slhhttp://rise4fun.com/HeapDbg/slhHeapDbg/slh<pre>Hats off to whoeevr wrote this up and posted it.</pre>2013-05-18T17:03:41-07:00Hphttp://rise4fun.com/HeapDbg/HpHeapDbg/Hp<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#10;class Hello &#123; public World World&#59; &#125;&#10;class World &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00othttp://rise4fun.com/HeapDbg/otHeapDbg/ot<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#13;&#10;class Hello &#123; public World World&#59; &#125;&#13;&#10;class World &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;audi</pre>2013-05-18T17:03:41-07:00slhttp://rise4fun.com/HeapDbg/slHeapDbg/sl<pre>using System&#59;&#13;&#10;&#13;&#10;class Hello &#123; public World World&#59; &#125;&#13;&#10;class World &#123; &#125;&#13;&#10;public class Program&#13;&#10;&#123;&#13;&#10; public static object Run&#40;&#41;&#13;&#10; &#123;&#13;&#10; return new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00sGhttp://rise4fun.com/HeapDbg/sGHeapDbg/sG<pre>Whoa, things just got a whole lot esiaer.</pre>2013-05-18T17:03:41-07:00sFehttp://rise4fun.com/HeapDbg/sFeHeapDbg/sFe<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new System.Collections.Generic.List&#60;Data&#62;&#40;80000&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Count&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00nchttp://rise4fun.com/HeapDbg/ncHeapDbg/nc<pre>UN3X0z &#60;a href&#61;&#34;http&#58;&#47;&#47;clodaphtesds.com&#47;&#34;&#62;clodaphtesds&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;tnqdsbpmljpv.com&#47;&#93;tnqdsbpmljpv&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;mqbbajbjkebs.com&#47;&#93;mqbbajbjkebs&#91;&#47;link&#93;, http&#58;&#47;&#47;sivdytdmzfve.com&#47;</pre>2013-05-18T17:03:41-07:00N8http://rise4fun.com/HeapDbg/N8HeapDbg/N8<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#43; &#34;desh&#34;&#59;&#10; &#10; ob.print&#40;s&#41;&#59; &#10; return new &#123; root &#61; s &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Nhttp://rise4fun.com/HeapDbg/NHeapDbg/N<pre>using System&#59;&#13;&#10;&#13;&#10;class ListNode &#123; public ListNode next&#59; &#125;&#13;&#10;public class Program&#13;&#10;&#123;&#13;&#10; public static object Run&#40;&#41;&#13;&#10; &#123;&#13;&#10;ListNode res &#61; null&#59;&#13;&#10;&#13;&#10;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;res &#61; new ListNode &#123;next &#61; res&#125;&#59;&#13;&#10;&#13;&#10;return res&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00mZhttp://rise4fun.com/HeapDbg/mZHeapDbg/mZ<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1,v2&#59;&#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00muHhttp://rise4fun.com/HeapDbg/muHHeapDbg/muH<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; &#10; return new &#123; ad1 , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00PPhttp://rise4fun.com/HeapDbg/PPHeapDbg/PP<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; private int prop&#59; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return &#123; root &#61; new Data&#40;&#41; &#125;&#59;&#47;&#47;res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00mQhttp://rise4fun.com/HeapDbg/mQHeapDbg/mQ<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Add exp &#61; new Add&#40;&#41;&#59; &#10; exp.l &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00mpnhttp://rise4fun.com/HeapDbg/mpnHeapDbg/mpn<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#10;class Hello &#123; public World World&#59; &#10;&#10; public int getId&#40;&#41;&#10; &#123;&#10; return 100&#59;&#10; &#125;&#10;&#125;&#10;class World &#123; &#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; int id&#59;&#10; &#10; var res &#61; new Hello &#123; World &#61; new World&#40;&#41; &#125;&#59;&#10; id &#61; res.getId&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Hqshttp://rise4fun.com/HeapDbg/HqsHeapDbg/Hqs<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10; public double getValue&#40;&#41;&#10; &#123;&#10; return value&#59;&#10; &#125;&#10; &#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; double getVal&#40;&#41;&#10; &#123;&#10; return &#40;l.getValue&#40;&#41;&#43;r.getValue&#40;&#41;&#41;&#59; &#10; &#125;&#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;class Const&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00HOhttp://rise4fun.com/HeapDbg/HOHeapDbg/HO<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp, Var &#91;&#93; env&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; ad1 , env &#125;&#59;&#10; &#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00hnPhttp://rise4fun.com/HeapDbg/hnPHeapDbg/hnP<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00EvcMhttp://rise4fun.com/HeapDbg/EvcMHeapDbg/EvcM<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00cVuhttp://rise4fun.com/HeapDbg/cVuHeapDbg/cVu<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new List&#60;Data&#62;&#40;80000&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Count&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Cshttp://rise4fun.com/HeapDbg/CsHeapDbg/Cs<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; ad1&#59;&#10; &#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00cQhttp://rise4fun.com/HeapDbg/cQHeapDbg/cQ<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10; public double getValue&#40;&#41;&#10; &#123;&#10; return value&#59;&#10; &#125;&#10; &#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; double getVal&#40;&#41;&#10; &#123;&#10; return &#40;l.getValue&#40;&#41;&#43;r.getValue&#40;&#41;&#41;&#59; &#10; &#125;&#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00khttp://rise4fun.com/HeapDbg/kHeapDbg/k<pre>using System&#59;&#13;&#10;&#13;&#10;class ListNode &#123; public ListNode next&#59; &#125;&#13;&#10;class Data &#123;public int val&#59;&#125;&#13;&#10;public class Program&#13;&#10;&#123;&#13;&#10; public static object Run&#40;&#41;&#13;&#10; &#123;&#13;&#10;ListNode res &#61; null&#59;&#13;&#10;&#13;&#10;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;res &#61; new ListNode &#123;next &#61; res, val &#61; new Data&#40;&#41;&#125;&#59;&#13;&#10;&#13;&#10;return res&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:009Fhttp://rise4fun.com/HeapDbg/9FHeapDbg/9F<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;&#10;</pre>2013-05-18T17:03:41-07:006hGhttp://rise4fun.com/HeapDbg/6hGHeapDbg/6hG<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Etype exp &#61; new Etype&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:006Fhttp://rise4fun.com/HeapDbg/6FHeapDbg/6F<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Eobjects&#123;&#10; &#10; Etype pointer&#59;&#10; &#10;&#125;&#10;&#10;class Etype&#58;Eobjects &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Eobjects&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Eobjects exp &#61; new Eobjects&#40;&#41;&#59;&#10; exp.pointer &#61; &#40;Etype&#41;ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00FhZhttp://rise4fun.com/HeapDbg/FhZHeapDbg/FhZ<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class Y&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next, Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new X&#40;&#41; &#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00cOhttp://rise4fun.com/HeapDbg/cOHeapDbg/cO<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00twhttp://rise4fun.com/HeapDbg/twHeapDbg/tw<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;public class Program&#10; &#123;&#10; Program f&#59;&#10; public static object Run&#40;&#41;&#10; &#123;&#10; Program param &#61; new Program&#40;&#41;&#59;&#10; Program local1 &#61; bar&#40;&#41;&#59;&#10; Program local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new Program&#40;&#41;&#59;&#10; local2.f.f &#61; new Program&#40;&#41;&#59;&#10; return local1&#59;&#10; &#125;&#10;&#10; public static Program bar&#40;&#41;&#10; &#123;&#10; Program r &#61; new Program&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:00tsLhttp://rise4fun.com/HeapDbg/tsLHeapDbg/tsL<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;&#41;&#123;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59; &#10; &#10; &#125;&#10; &#10; static void Run&#40;&#41; &#123;&#10; &#10; object ob &#61; test&#40;&#41;&#59;&#10; return ob&#59; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Tphttp://rise4fun.com/HeapDbg/TpHeapDbg/Tp<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;import java.lang.&#42;&#59;&#10;&#10;public class Hello&#123;&#10; public static void main&#40;String&#91;&#93;args&#41;&#123;&#10; System.out.println&#40;&#34;Hello&#34;&#41;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00tnhttp://rise4fun.com/HeapDbg/tnHeapDbg/tn<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return new Object&#40;&#41;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00tMhttp://rise4fun.com/HeapDbg/tMHeapDbg/tM<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#43; &#34;desh&#34;&#59;&#10; &#10; ob.print&#40;s&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00TLhttp://rise4fun.com/HeapDbg/TLHeapDbg/TL<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; Etype pointer&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Ti8http://rise4fun.com/HeapDbg/Ti8HeapDbg/Ti8<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; value &#61; 3 &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00KDhttp://rise4fun.com/HeapDbg/KDHeapDbg/KD<pre>using System&#59;&#13;&#10;&#13;&#10;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Data&#91;&#93; res &#61; new Data&#91;10&#93;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;if&#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return res&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Data &#123; public int val&#59;&#125;</pre>2013-05-18T17:03:41-07:00oWhttp://rise4fun.com/HeapDbg/oWHeapDbg/oW<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00oT3http://rise4fun.com/HeapDbg/oT3HeapDbg/oT3<pre>Keep it coinmg, writers, this is good stuff.</pre>2013-05-18T17:03:41-07:00oNThttp://rise4fun.com/HeapDbg/oNTHeapDbg/oNT<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;Etype exp&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00onhttp://rise4fun.com/HeapDbg/onHeapDbg/on<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#10;class Hello &#123; public World World&#59; &#125;&#10;class World &#123; &#125;&#10;public class Program&#10; &#123;&#10; Program f&#59;&#10; int h&#59;&#10; public void foo&#40;Program param&#41;&#10; &#123;&#10; Program local1 &#61; bar&#40;&#41;&#59;&#10; Program local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new Program&#40;&#41;&#59;&#10; local2.f.h &#61; 1&#59;&#10; &#125;&#10;&#10; public Program bar&#40;&#41;&#10; &#123;&#10; Program r &#61; new Program&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:00PpPhttp://rise4fun.com/HeapDbg/PpPHeapDbg/PpP<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; public string Prop &#123;get&#59; set&#59;&#125; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41; &#123;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41; &#123; Prop &#61; &#34;wow&#34; &#125;&#59;&#13;&#10;&#13;&#10; &#125;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Oehttp://rise4fun.com/HeapDbg/OeHeapDbg/Oe<pre>Could not find sample or program ArrayOfSameColorSphereObjects01</pre>2013-05-18T17:03:41-07:00oBhttp://rise4fun.com/HeapDbg/oBHeapDbg/oB<pre>using System&#59;&#10;&#10;&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; &#10; string s2 &#61; s &#43; &#34;desh&#34;&#59; &#10; &#10; Random rnd &#61; new Random&#40;&#41;&#59; &#10; ob.print&#40;s2&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00JChttp://rise4fun.com/HeapDbg/JCHeapDbg/JC<pre>&#47;&#47; Creates a Deep Copy of a Tree of Data objects&#13;&#10;class Data &#123; public int Value&#59;&#125;&#13;&#10;class TreeNode &#123;&#13;&#10; public TreeNode Left&#59; public TreeNode Right&#59; &#13;&#10; public Data Data&#59;&#13;&#10; public static TreeNode MakeTree&#40;int k&#41; &#123;&#13;&#10; if &#40;k &#61;&#61; 0&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; MakeTree&#40;k - 1&#41;, Right &#61; MakeTree&#40;k - 1&#41;, &#13;&#10; Data &#61; new Data&#40;&#41; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10; public static TreeNode CopyTreeDeep&#40;TreeNode t&#41; &#123;&#13;&#10; if &#40;t &#61;&#61; null&#41;&#13;&#10; return null&#59;&#13;&#10; else&#13;&#10; return new TreeNode &#123; &#13;&#10; Left &#61; CopyTreeDeep&#40;t.Left&#41;, Right &#61; CopyTreeDeep&#40;t.Right&#41;, &#13;&#10; Data &#61; new Data &#123; val &#61; t.Data.Value &#125; &#13;&#10; &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var original &#61; TreeNode.MakeTree&#40;3&#41;&#59;&#13;&#10; var copy &#61; TreeNode.CopyTreeDeep&#40;torig&#41;&#59;&#13;&#10;&#13;&#10; return new &#123; orig &#61; original, copy &#61; copy &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;&#13;&#10;</pre>2013-05-18T17:03:41-07:00J6http://rise4fun.com/HeapDbg/J6HeapDbg/J6<pre>TO7VXV &#60;a href&#61;&#34;http&#58;&#47;&#47;czgbmiksifyq.com&#47;&#34;&#62;czgbmiksifyq&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;ivogrrfaeotg.com&#47;&#93;ivogrrfaeotg&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;stizwpiypsic.com&#47;&#93;stizwpiypsic&#91;&#47;link&#93;, http&#58;&#47;&#47;gzcykpwtipjn.com&#47;</pre>2013-05-18T17:03:41-07:00j2http://rise4fun.com/HeapDbg/j2HeapDbg/j2<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Eobjects&#123;&#10; &#10; Etype pointer&#59;&#10; &#10;&#125;&#10;&#10;class Etype&#58;Eobjects &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Eobjects exp &#61; new Eobjects&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00J1http://rise4fun.com/HeapDbg/J1HeapDbg/J1<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Jhttp://rise4fun.com/HeapDbg/JHeapDbg/J<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; center &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00IvOhttp://rise4fun.com/HeapDbg/IvOHeapDbg/IvO<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; ad1 , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Ivhttp://rise4fun.com/HeapDbg/IvHeapDbg/Iv<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int a,b,c&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10,10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res&#91;i,0&#93; &#61; new Data&#91;10&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00PL7http://rise4fun.com/HeapDbg/PL7HeapDbg/PL7<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; var res &#61; new Data&#91;10&#93;&#59;&#10;&#47;&#47; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10;&#47;&#47; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00d2http://rise4fun.com/HeapDbg/d2HeapDbg/d2<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res&#59;lol&#61;res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00BGmhttp://rise4fun.com/HeapDbg/BGmHeapDbg/BGm<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; &#10; ob.print&#40;s&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00bFhttp://rise4fun.com/HeapDbg/bFHeapDbg/bF<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; v1 &#61; env&#91;0&#93;&#59;&#10; v2 &#61; env&#91;1&#93;&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00kEhttp://rise4fun.com/HeapDbg/kEHeapDbg/kE<pre>Gee willikres, that&#39;s such a great post&#33;</pre>2013-05-18T17:03:41-07:00A1http://rise4fun.com/HeapDbg/A1HeapDbg/A1<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; exp &#61; ad1,exp &#61; sb , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:003Zhttp://rise4fun.com/HeapDbg/3ZHeapDbg/3Z<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next,Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; if &#40;res.Next &#33;&#61; null&#41; &#123;&#10; res.Next.Prev &#61; res&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:002Ohttp://rise4fun.com/HeapDbg/2OHeapDbg/2O<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; return 1&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:0018http://rise4fun.com/HeapDbg/18HeapDbg/18<pre>using System&#59;&#10;&#10;class Hello &#123; public World World&#59; &#125;&#10;class World &#123; &#125;&#10;public class Program&#10;&#123;&#10; public static object Run&#40;&#41;&#10; &#123;&#10; return new &#91;&#93; &#123;new Hello &#123; World &#61; new World&#40;&#41; &#125;,new Hello &#123; World &#61; new World&#40;&#41; &#125;&#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:000uxhttp://rise4fun.com/HeapDbg/0uxHeapDbg/0ux<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class Y&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next, Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new X&#40;&#41; &#125;&#59;&#10; res.Next.Prev &#61; null&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00wqihttp://rise4fun.com/HeapDbg/wqiHeapDbg/wqi<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; object exp &#61; new object&#40;&#41;&#59;&#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00W8http://rise4fun.com/HeapDbg/W8HeapDbg/W8<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data2 &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00vY7http://rise4fun.com/HeapDbg/vY7HeapDbg/vY7<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; public int variable&#59;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; Data data &#61; new Data&#40;&#41;&#59;&#10; data.variable &#61; 5&#59;&#10; res&#91;i&#93; &#61; data&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00quhttp://rise4fun.com/HeapDbg/quHeapDbg/qu<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00qphttp://rise4fun.com/HeapDbg/qpHeapDbg/qp<pre>&#47;&#47; Create an array of un-aliased Shperes.&#10;&#47;&#47; Each a composite object of an unaliased Point object and Color object&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#10;class Sphere &#123; &#10; public Point center&#59; &#10; public Color color&#59; &#10; public float radius&#59; &#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; spheres.Length&#59; &#43;&#43;i&#41; &#123;&#10; var ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#10; var rgb &#61; new Color &#123; red &#61; i, blue &#61; i, green &#61; i &#125;&#59;&#10; spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#10; &#125;&#10; return new &#123; spheres &#61; spheres &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00qplHhttp://rise4fun.com/HeapDbg/qplHHeapDbg/qplH<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Qpl7http://rise4fun.com/HeapDbg/Qpl7HeapDbg/Qpl7<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;using System&#59;&#10;namespace HelloWorld&#10;&#123;&#10; class Hello &#10; &#123;&#10; static void Main&#40;&#41; &#10; &#123;&#10; &#125;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Qkhttp://rise4fun.com/HeapDbg/QkHeapDbg/Qk<pre>class Etype &#123;public double value&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00qfhttp://rise4fun.com/HeapDbg/qfHeapDbg/qf<pre>&#10;&#10;&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s, int n&#41;&#10; &#123;&#10; string d&#59; &#10; if&#40;n&#62;5&#41;&#10; d &#61; s&#59;&#10; else&#10; d &#61; &#34;&#34;&#59; &#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; &#10; string s2 &#61; s &#43; &#34;desh&#34;&#59; &#10; int k &#61; 8&#59;&#10; ob.print&#40;s2,k&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00qeIhttp://rise4fun.com/HeapDbg/qeIHeapDbg/qeI<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; public Etype arrayIndex&#59;&#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1 &#61; new Var&#40;&#41;&#59;&#10; Var v2 &#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93;.arrayIndex &#61; v1&#59;&#10; env&#91;0&#93;.arrayIndex &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00QdGhttp://rise4fun.com/HeapDbg/QdGHeapDbg/QdG<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;11&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13; res&#91;10&#93; &#61; 7829&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00q3http://rise4fun.com/HeapDbg/q3HeapDbg/q3<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;121&#34;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static void Run&#40;&#41; &#123;&#10; string val&#59;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#10; val &#61; res&#91;0&#93;.getDeviceID&#40;&#41;&#59; &#10; &#47;&#47;return new &#123;root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00PYqhttp://rise4fun.com/HeapDbg/PYqHeapDbg/PYq<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c &#61; new Const&#40;&#41;&#59;&#10; c.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c&#59;&#10; &#10; &#47;&#47;Add exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; ad1,env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00plsphttp://rise4fun.com/HeapDbg/plspHeapDbg/plsp<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; static object test&#40;Etype exp, Var &#91;&#93; env&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static object Run&#40;&#41; &#123;&#10; &#10; &#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00plrhttp://rise4fun.com/HeapDbg/plrHeapDbg/plr<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Add local &#61; new Add&#40;&#41;&#59;&#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; local.l &#61; ad1&#59;&#10; return new &#123; local , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00plhphttp://rise4fun.com/HeapDbg/plhpHeapDbg/plhp<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; var v&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00pIMhttp://rise4fun.com/HeapDbg/pIMHeapDbg/pIM<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;121&#34;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; string val&#59;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#10; val &#61; res&#91;0&#93;.getDeviceID&#40;&#41;&#59; &#10; return new &#123;res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00pikhttp://rise4fun.com/HeapDbg/pikHeapDbg/pik<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00l4http://rise4fun.com/HeapDbg/l4HeapDbg/l4<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10; &#125;&#10; &#10; class Test&#10; &#123;&#10; &#10; public void print&#40;string s&#41;&#10; &#123;&#10; &#10; string d &#61; s&#59;&#10; &#125;&#10; &#10; &#125;&#10; &#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; var ob &#61; new Test&#40;&#41;&#59;&#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; &#10; string s2 &#61; s &#43; &#34;desh&#34;&#59; &#10; ob.print&#40;s2&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00L1rhttp://rise4fun.com/HeapDbg/L1rHeapDbg/L1r<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; var env &#61; new var&#91;3&#93;&#59;&#10; &#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00KyWhttp://rise4fun.com/HeapDbg/KyWHeapDbg/KyW<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public double setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10; public double getValue&#40;&#41;&#10; &#123;&#10; return value&#59;&#10; &#125;&#10; &#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; double getVal&#40;&#41;&#10; &#123;&#10; return &#40;l.getValue&#40;&#41;&#43;r.getValue&#40;&#41;&#41;&#59; &#10; &#125;&#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00kSZhttp://rise4fun.com/HeapDbg/kSZHeapDbg/kSZ<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10; public double getValue&#40;&#41;&#10; &#123;&#10; return value&#59;&#10; &#125;&#10; &#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; double getVal&#40;&#41;&#10; &#123;&#10; return &#40;l.getValue&#40;&#41;&#43;r.getValue&#40;&#41;&#41;&#59; &#10; &#125;&#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; Var env &#61; new Var&#91;3&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00kOhttp://rise4fun.com/HeapDbg/kOHeapDbg/kO<pre>class Etype &#123;object pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointsto &#61; ad1&#59;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00KG4http://rise4fun.com/HeapDbg/KG4HeapDbg/KG4<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; var exp &#61; ad1&#59;&#10; &#10; &#10; return new &#123; this , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00KcPhttp://rise4fun.com/HeapDbg/KcPHeapDbg/KcP<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; string val&#59;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#10; val &#61; res&#91;0&#93;.getDeviceID&#40;&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00gfhttp://rise4fun.com/HeapDbg/gfHeapDbg/gf<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; static object test&#40;Etype exp, Var &#91;&#93; env&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointsto &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00fplhttp://rise4fun.com/HeapDbg/fplHeapDbg/fpl<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; var env &#61; new var&#91;3&#93;&#59;&#10; var v1 &#61; null&#59;&#10; var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00fIhttp://rise4fun.com/HeapDbg/fIHeapDbg/fI<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;121&#34;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; string val&#59;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#10; val &#61; res&#91;0&#93;.getDeviceID&#40;&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00fDhttp://rise4fun.com/HeapDbg/fDHeapDbg/fD<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Eobjects&#123;&#10; &#10; public Etype pointer&#59;&#10; &#10;&#125;&#10;&#10;class Etype&#58;Eobjects &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Eobjects exp &#61; new Eobjects&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dRhttp://rise4fun.com/HeapDbg/dRHeapDbg/dR<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Dphttp://rise4fun.com/HeapDbg/DpHeapDbg/Dp<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#40;&#41;&#59;&#10; &#10; &#47;&#47;for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; string s &#61; res.getDeviceID&#40;&#41;&#59;&#10; return new &#123; root &#61; s &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Dlyhttp://rise4fun.com/HeapDbg/DlyHeapDbg/Dly<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; var exp&#59;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.l &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c2&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c1&#59;&#10; &#10; exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dKHhttp://rise4fun.com/HeapDbg/dKHHeapDbg/dKH<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;12&#34;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; string val&#59;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#10; val &#61; res&#91;0&#93;.getDeviceID&#40;&#41;&#59; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dHMhttp://rise4fun.com/HeapDbg/dHMHeapDbg/dHM<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; var exp &#61; null&#59;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.l &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c2&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c1&#59;&#10; &#10; exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dfhttp://rise4fun.com/HeapDbg/dfHeapDbg/df<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; var &#91;&#93;env &#61; new var&#91;3&#93;&#59;&#10; var v1 &#61; null&#59;&#10; var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00bnLhttp://rise4fun.com/HeapDbg/bnLHeapDbg/bnL<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; public Etype arrayIndex&#59;&#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93;.arrayIndex &#61; v1&#59;&#10; env&#91;0&#93;.arrayIndex &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00blwhttp://rise4fun.com/HeapDbg/blwHeapDbg/blw<pre>&#47;&#47; Creates a Tree of Data objects&#10;using System&#59;&#10;namespace HelloWorld&#10;&#123;&#10; class Program&#10; &#123;&#10; static void Main&#40;&#41; &#10; &#123;&#10; &#10; &#125;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00afhttp://rise4fun.com/HeapDbg/afHeapDbg/af<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; object exp &#61; new object&#40;&#41;&#59;&#10; exp &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00AAhttp://rise4fun.com/HeapDbg/AAHeapDbg/AA<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Eobjects&#123;&#10; &#10; Etype pointer&#59;&#10; &#10;&#125;&#10;&#10;class Etype&#58;Eobjects &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Eobjects&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Eobjects exp &#61; new Eobjects&#40;&#41;&#59;&#10; exp.pointer &#61; &#40;Etype &#42;&#41;ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:009Yhttp://rise4fun.com/HeapDbg/9YHeapDbg/9Y<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;&#41;&#123;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59; &#10; &#10; &#125;&#10; &#10; static onject Run&#40;&#41; &#123;&#10; &#10; object ob &#61; test&#40;&#41;&#59;&#10; return ob&#59; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:004shttp://rise4fun.com/HeapDbg/4sHeapDbg/4s<pre>&#47;&#47; Create an array of aliased Data objects&#10;&#47;&#47; Alising is shown as XXX color on &#91;&#63;&#93; edge.&#10;class Data &#123; public int Value&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#61;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; else&#10; res&#91;i&#93; &#61; res&#91;i - 1&#93;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:002Yhttp://rise4fun.com/HeapDbg/2YHeapDbg/2Y<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public Etype pointer&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:0023Dhttp://rise4fun.com/HeapDbg/23DHeapDbg/23D<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public Etype pointer&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:001Ghttp://rise4fun.com/HeapDbg/1GHeapDbg/1G<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public Etype pointer&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Etype&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:001ahttp://rise4fun.com/HeapDbg/1aHeapDbg/1a<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp, Var env&#91;&#93;&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static void Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59;&#10; &#47;&#47;return new &#123; exp , env &#125;&#59;&#10; &#10; object ob &#61; test&#40;exp,env&#41;&#59;&#10; return ob&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:000lhttp://rise4fun.com/HeapDbg/0lHeapDbg/0l<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp, new Var&#91;3&#93;&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static void Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59;&#10; &#47;&#47;return new &#123; exp , env &#125;&#59;&#10; &#10; object ob &#61; test&#40;exp,env&#41;&#59;&#10; return ob&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:000Ghttp://rise4fun.com/HeapDbg/0GHeapDbg/0G<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#10;public class Hello &#123; &#47;&#47;public World World&#59; &#10;&#10; Hello&#40;int x&#41;&#10; &#123;&#10; &#10; &#10; &#125; &#10;&#125;&#10;public class World &#123; &#10; &#10; public int getId&#40;&#41;&#10; &#123;&#10; return 100&#59;&#10; &#125;&#10; &#10;&#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; int id&#59;&#10; &#10; var res &#61; new Hello &#123; new World&#40;&#41;.getId&#40;&#41; &#125;&#59;&#10; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:000EHhttp://rise4fun.com/HeapDbg/0EHHeapDbg/0EH<pre>&#47;&#47; Creates a heap and returns each root as a field of the return object&#10;class Hello &#123; &#47;&#47;public World World&#59; &#10;&#10; Hello&#40;int x&#41;&#10; &#123;&#10; &#10; &#10; &#125; &#10;&#125;&#10;class World &#123; &#10; &#10; public int getId&#40;&#41;&#10; &#123;&#10; return 100&#59;&#10; &#125;&#10; &#10;&#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; int id&#59;&#10; &#10; var res &#61; new Hello &#123; new World&#40;&#41;.getId&#40;&#41; &#125;&#59;&#10; &#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00wShttp://rise4fun.com/HeapDbg/wSHeapDbg/wS<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13; var res1 &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13; for&#40;int j&#61;0&#59; j&#60; res.1Length&#59; j&#43;&#43;&#41;&#13; res1&#91;j&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Wphttp://rise4fun.com/HeapDbg/WpHeapDbg/Wp<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;100&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10000&#59; &#43;&#43;i&#41; &#123;&#10; &#47;&#47;if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00QSMhttp://rise4fun.com/HeapDbg/QSMHeapDbg/QSM<pre>Could not find sample or program chris</pre>2013-05-18T17:03:41-07:00QGhttp://rise4fun.com/HeapDbg/QGHeapDbg/QG<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return res &#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Qp0http://rise4fun.com/HeapDbg/Qp0HeapDbg/Qp0<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next,Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00qGPhttp://rise4fun.com/HeapDbg/qGPHeapDbg/qGP<pre>If I were a Teneage Mutant Ninja Turtle, now I&#39;d say &#34;Kowabunga, dude&#33;&#34;</pre>2013-05-18T17:03:41-07:00vohttp://rise4fun.com/HeapDbg/voHeapDbg/vo<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;20&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 20&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00fJWhttp://rise4fun.com/HeapDbg/fJWHeapDbg/fJW<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10;int i &#61; 0&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00fhhttp://rise4fun.com/HeapDbg/fhHeapDbg/fh<pre>Created the greatest artilecs, you have.</pre>2013-05-18T17:03:41-07:00slUhttp://rise4fun.com/HeapDbg/slUHeapDbg/slU<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; int i&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; &#123; a &#61; new Data&#91;10&#93;, b &#61; new Data&#91;5&#93; &#125;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res.a&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dUihttp://rise4fun.com/HeapDbg/dUiHeapDbg/dUi<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; res&#91;0&#93; &#61; new Data&#40;&#41;&#59;&#10; for &#40;int i &#61; 1&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; res&#91;i-1&#93;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dUhttp://rise4fun.com/HeapDbg/dUHeapDbg/dU<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123;&#10; &#10; public static string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;123456&#34;&#59;&#10; &#125;&#10; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Kghttp://rise4fun.com/HeapDbg/KgHeapDbg/Kg<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;Point cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; center &#61; cp, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00dslhttp://rise4fun.com/HeapDbg/dslHeapDbg/dsl<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10; public double getValue&#40;&#41;&#10; &#123;&#10; return value&#59;&#10; &#125;&#10; &#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; double getVal&#40;&#41;&#10; &#123;&#10; return &#40;l.getValue&#40;&#41;&#43;r.getValue&#40;&#41;&#41;&#59; &#10; &#125;&#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10;&#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; Var env&#91;&#93; &#61; new Var&#91;3&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Qahttp://rise4fun.com/HeapDbg/QaHeapDbg/Qa<pre>2vFC4J &#60;a href&#61;&#34;http&#58;&#47;&#47;pmeykkcxazqv.com&#47;&#34;&#62;pmeykkcxazqv&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;szwlppyamgny.com&#47;&#93;szwlppyamgny&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;fppwspqngjrl.com&#47;&#93;fppwspqngjrl&#91;&#47;link&#93;, http&#58;&#47;&#47;anwbtyilpdus.com&#47;</pre>2013-05-18T17:03:41-07:007phttp://rise4fun.com/HeapDbg/7pHeapDbg/7p<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.l &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c2&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c1&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00UhShttp://rise4fun.com/HeapDbg/UhSHeapDbg/UhS<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Ufhttp://rise4fun.com/HeapDbg/UfHeapDbg/Uf<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; &#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00tzRhttp://rise4fun.com/HeapDbg/tzRHeapDbg/tzR<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#10;&#125;&#10;class items &#123; &#125;</pre>2013-05-18T17:03:41-07:00tZhttp://rise4fun.com/HeapDbg/tZHeapDbg/tZ<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;public class Hello&#123;&#10; public static void main&#40;String&#91;&#93;args&#41;&#123;&#10; System.out.println&#40;&#34;Hello&#34;&#41;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00phhttp://rise4fun.com/HeapDbg/phHeapDbg/ph<pre>Touchdown&#33; That&#39;s a really cool way of ptutnig it&#33;</pre>2013-05-18T17:03:41-07:00PGhttp://rise4fun.com/HeapDbg/PGHeapDbg/PG<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; &#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; c1.setValue&#40;5&#41;&#59;&#10; c1.setValue&#40;6&#41;&#59;&#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.l &#61; env&#91;0&#93;&#59;&#10; sb.l &#61; env&#91;1&#93;&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; env&#91;1&#93;&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c1&#59;&#10; &#10; Add exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp,env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00pFhttp://rise4fun.com/HeapDbg/pFHeapDbg/pF<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; &#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:009Uhttp://rise4fun.com/HeapDbg/9UHeapDbg/9U<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;ш&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Pbkhttp://rise4fun.com/HeapDbg/PbkHeapDbg/Pbk<pre>&#47;&#47; Create an array of un-aliased Shperes.&#10;&#47;&#47; Each a composite object of an unaliased Point object and Color object&#10;class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#10;class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;&#10;class Sphere &#123; &#10; public Point center&#59; &#10; public Color color&#59; &#10; public float radius&#59; &#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var spheres &#61; new Sphere&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; spheres.Length&#59; &#43;&#43;i&#41; &#123;&#10; var ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#10; var rgb &#61; new Color &#123; red &#61; i, blue &#61; i, green &#61; i &#125;&#59;&#10; spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0F &#125;&#59;&#10; &#125;&#10; return new &#123; spheres &#61; new string&#91;&#93;&#123;&#34;a&#34;, &#34;b&#34;, &#34;c&#34;&#125; &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00P2http://rise4fun.com/HeapDbg/P2HeapDbg/P2<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Var exp &#61; new Var&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00JC6http://rise4fun.com/HeapDbg/JC6HeapDbg/JC6<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123;&#13;int i&#59;&#13; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;11&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; &#123;&#13;res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#13;res&#91;i&#93;.i &#61; i&#59;&#125;&#13; res&#91;10&#93;.i &#61; 7829&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00jbhttp://rise4fun.com/HeapDbg/jbHeapDbg/jb<pre>&#47;&#47; Creates an array of un-aliased Data objects&#13;&#10;class Data &#123; &#125;&#13;&#10;class Program &#123;&#13;&#10; static object Run&#40;&#41; &#123;&#13;&#10; var res &#61; new Data&#91;10&#93;&#59;&#13;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#13;&#10; res&#91;i&#93; &#61; newt Data&#40;&#41;&#59;&#13;&#10; return new &#123; root &#61; res &#125;&#59;&#13;&#10; &#125;&#13;&#10;&#125;</pre>2013-05-18T17:03:41-07:00Dnhttp://rise4fun.com/HeapDbg/DnHeapDbg/Dn<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;100&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; &#47;&#47;if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00BBhttp://rise4fun.com/HeapDbg/BBHeapDbg/BB<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public Etype pointer&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; &#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp.pointer &#61; ad1&#59;&#10; &#10; return new &#123; root &#61; ad1 , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:009vhttp://rise4fun.com/HeapDbg/9vHeapDbg/9v<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; public Etype arrayIndex&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93;.arrayIndex &#61; v1&#59;&#10; env&#91;0&#93;.arrayIndex &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:004http://rise4fun.com/HeapDbg/4HeapDbg/4<pre>using System&#59;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Sphere&#91;&#93; spheres &#61; new Sphere&#91;10&#93;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;Point ctr &#61; new Point &#123; xpos &#61; i, ypos &#61; i &#43; 1, zpos &#61; i - 1 &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Color rgb &#61; new Color &#123; xpos &#61; i, ypos &#61; i, zpos &#61; i &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;spheres&#91;i&#93; &#61; new Sphere &#123; center &#61; ctr, color &#61; rgb, radius &#61; 3.0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; array &#61; resa, special &#61; dspecial &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:002O2http://rise4fun.com/HeapDbg/2O2HeapDbg/2O2<pre>Umm, are you really just gviing this info out for nothing&#63;</pre>2013-05-18T17:03:41-07:00VKhttp://rise4fun.com/HeapDbg/VKHeapDbg/VK<pre>To think, I was confused a mitnue ago.</pre>2013-05-18T17:03:41-07:000V7http://rise4fun.com/HeapDbg/0V7HeapDbg/0V7<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10;if &#40;i &#61;&#61; 5&#41;&#10; res &#61; new ListNode &#123;&#125;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00Uyhttp://rise4fun.com/HeapDbg/UyHeapDbg/Uy<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#10; public Data other&#59;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#37; 2 &#33;&#61; 0 &#38;&#38; i &#37; 3 &#33;&#61; 0&#41; &#123;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; res&#91;i&#93;.other &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00uTPhttp://rise4fun.com/HeapDbg/uTPHeapDbg/uTP<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#10; &#10; public string getDeviceID&#40;&#41;&#10; &#123;&#10; return &#34;121&#34;&#59;&#10; &#125;&#10;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; string val&#59;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#10; val &#61; res&#91;0&#93;.getDeviceID&#40;&#41;&#59; &#10; return new &#123;root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00uthttp://rise4fun.com/HeapDbg/utHeapDbg/ut<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;class Data &#123; &#125;&#10;public class Program&#10; &#123;&#10; Program f&#59;&#10; public static Object run&#40;Program param&#41;&#10; &#123;&#10; Program local1 &#61; bar&#40;&#41;&#59;&#10; Program local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new Program&#40;&#41;&#59;&#10; local2.f.f &#61; new Program&#40;&#41;&#59;&#10; return local1&#59;&#10; &#125;&#10;&#10; public Program bar&#40;&#41;&#10; &#123;&#10; Program r &#61; new Program&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:00Bhttp://rise4fun.com/HeapDbg/BHeapDbg/B<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#13;&#10; Point cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9; sph&#91;i&#93; &#61; new Sphere &#123; center &#61; cp, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#9;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:00UPahttp://rise4fun.com/HeapDbg/UPaHeapDbg/UPa<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp&#41;&#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; &#10; exp &#61; ad1&#59;&#10; return new &#123; exp , env &#125;&#59; &#10; &#10; &#125;&#10; &#10; static object Run&#40;&#41; &#123;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59; &#10; object ob &#61; test&#40;exp&#41;&#59;&#10; return ob&#59; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00um2http://rise4fun.com/HeapDbg/um2HeapDbg/um2<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10;if &#40;i &#61;&#61; 5&#41;&#10; res &#61; null&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00PkUhttp://rise4fun.com/HeapDbg/PkUHeapDbg/PkU<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; ListNode res_init &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10;&#123; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10;if &#40;i&#61;&#61;0&#41; res_init&#61;res&#59;&#125;&#10; return new &#123; root &#61; res_init &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00jX4http://rise4fun.com/HeapDbg/jX4HeapDbg/jX4<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; foytr &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00jRfhttp://rise4fun.com/HeapDbg/jRfHeapDbg/jRf<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static void Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Add exp &#61; new Add&#40;&#41;&#59;&#10; exp.l &#61; ad1&#59;&#10; &#47;&#47;return new &#123; exp , env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dEphttp://rise4fun.com/HeapDbg/dEpHeapDbg/dEp<pre>class Data &#123; public int val&#59;&#125;&#10;class SpecialData&#58; Data &#123;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var resa &#61; new Data&#91;10&#93;&#59;&#10; var dspecial &#61; new SpecialData&#40;&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; resa.Length&#59; &#43;&#43;i&#41; &#123;&#10; if &#40;i &#61;&#61; 5&#41;&#10; resa&#91;i&#93; &#61; dspecial&#59;&#10; else&#10; resa&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; array &#61; resa &#47;&#42;, special &#61; dspecial &#42;&#47; &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00F8shttp://rise4fun.com/HeapDbg/F8sHeapDbg/F8s<pre>class Eobjects&#123;&#125;&#10;class Etype&#58;Eobjects &#123;public Etype pointsto&#59;&#125; &#10;&#10;class Add&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Eobjects l&#59; public Eobjects r&#59; &#125;&#10;&#10;class Var&#58;Eobjects&#123;&#125; &#10;class Const&#58;Eobjects&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; &#10; static object test&#40;Etype exp, Var &#91;&#93; env&#41;&#10; &#123;&#10; &#10; return new &#123; exp , env &#125;&#59;&#10; &#125;&#10; static void Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; &#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; Etype exp &#61; new Etype&#40;&#41;&#59;&#10; exp &#61; ad1&#59;&#10; &#47;&#47;return new &#123; exp , env &#125;&#59;&#10; &#10; object ob &#61; test&#40;exp,env&#41;&#59;&#10; return ob&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00ELdhttp://rise4fun.com/HeapDbg/ELdHeapDbg/ELd<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#10;&#123; &#10; int foo&#59;&#10; long bar&#59;&#10;&#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new System.Collections.Generic.List&#60;Data&#62;&#40;80000&#41;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Count&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00A7http://rise4fun.com/HeapDbg/A7HeapDbg/A7<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return new &#123;hello&#61; &#34;hello&#34;&#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:0086http://rise4fun.com/HeapDbg/86HeapDbg/86<pre>It&#39;s about time soomnee wrote about this.</pre>2013-05-18T17:03:41-07:008http://rise4fun.com/HeapDbg/8HeapDbg/8<pre>using System&#59;&#13;&#10;&#13;&#10;public class Result &#123; public STreeNode tree&#59; public Color scolor&#59;&#125;&#13;&#10;&#13;&#10;&#9;public class Program&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public static object Run&#40;&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;Color special &#61; new Color &#123; red &#61; 0, blue &#61; 255, green &#61; 0 &#125;&#59;&#13;&#10;&#9;&#9;&#9;STreeNode rtn &#61; STreeNode.MakeTree&#40;3, special&#41;&#59;&#13;&#10;&#13;&#10;&#9;&#9;&#9;return new Result &#123; tree &#61; rtn, scolor &#61; special &#125;&#59;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class STreeNode&#13;&#10;&#9;&#123;&#13;&#10;&#9;&#9;public STreeNode left&#59; public STreeNode right&#59; public Sphere&#91;&#93; data&#59;&#13;&#10;&#13;&#10;&#9;&#9;public static STreeNode MakeTree&#40;int k, Color c&#41;&#13;&#10;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;if&#40;k &#61;&#61; 0&#41;&#13;&#10;&#9;&#9;&#9;&#9;return null&#59;&#13;&#10;&#9;&#9;&#9;else&#13;&#10;&#9;&#9;&#9;&#123;&#13;&#10;&#13;&#10; Sphere&#91;&#93; sph &#61; new Sphere&#91;5&#93;&#59;&#13;&#10;&#9;&#9;&#9;&#9;for&#40;int i &#61; 0&#59; i &#60; 5&#59; &#43;&#43;i&#41;&#13;&#10;&#9;&#9;&#9;&#9;&#123;&#13;&#10;&#9;&#9;&#9;&#9;&#9;Point cp &#61; new Point &#123; xpos &#61; k, ypos &#61; k, zpos &#61; k &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#9;sph&#91;i&#93; &#61; new Sphere &#123; center &#61; null, color &#61; c, radius &#61; 1F &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#9;&#9;return new STreeNode &#123; left &#61; MakeTree&#40;k - 1, c&#41;, right &#61; MakeTree&#40;k - 1, c&#41;, data &#61; sph &#125;&#59;&#13;&#10;&#9;&#9;&#9;&#125;&#13;&#10;&#9;&#9;&#125;&#13;&#10;&#9;&#125;&#13;&#10;&#13;&#10;&#9;public class Sphere &#123; public Point center&#59; public Color color&#59; public float radius&#59; &#125;&#13;&#10;&#9;public class Color &#123; public int red&#59; public int blue&#59; public int green&#59; &#125;&#13;&#10;&#9;public class Point &#123; public float xpos&#59; public float ypos&#59; public float zpos&#59; &#125;</pre>2013-05-18T17:03:41-07:007xGhttp://rise4fun.com/HeapDbg/7xGHeapDbg/7xG<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; Var v1 &#61; null&#59;&#10; Var v2 &#61; null&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;0&#93; &#61; v2&#59;&#10; &#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; &#10; &#10; var exp &#61; ad1&#59; &#10; &#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; exp , variable &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00vehttp://rise4fun.com/HeapDbg/veHeapDbg/ve<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41; &#123;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00VChttp://rise4fun.com/HeapDbg/VCHeapDbg/VC<pre>&#47;&#47; Creates an array of un-aliased Data objects, some entries are null.&#10;public class Program&#10; &#123;&#10; Program f&#59;&#10; public static object Run&#40;Program param&#41;&#10; &#123;&#10; Program local1 &#61; bar&#40;&#41;&#59;&#10; Program local2 &#61; bar&#40;&#41;&#59;&#10; local1.f &#61; param&#59;&#10; local2.f &#61; new Program&#40;&#41;&#59;&#10; local2.f.f &#61; new Program&#40;&#41;&#59;&#10; return local1&#59;&#10; &#125;&#10;&#10; public static Program bar&#40;&#41;&#10; &#123;&#10; Program r &#61; new Program&#40;&#41;&#59;&#10; return r&#59;&#10; &#125;&#10; &#125;</pre>2013-05-18T17:03:41-07:00v2http://rise4fun.com/HeapDbg/v2HeapDbg/v2<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10; public double getValue&#40;&#41;&#10; &#123;&#10; return value&#59;&#10; &#125;&#10; &#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; Etype l&#59;&#10; Etype r&#59;&#10; double getVal&#40;&#41;&#10; &#123;&#10; return &#40;l.getValue&#40;&#41;&#43;r.getValue&#40;&#41;&#41;&#59; &#10; &#125;&#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;10&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00PWhttp://rise4fun.com/HeapDbg/PWHeapDbg/PW<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; ListNode res_init &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41;&#10;&#123; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new Data&#40;&#41; &#125;&#59;&#10;if &#40;i&#61;&#61;3&#41; res_init&#61;res&#59;&#125;&#10; return new &#123; root &#61; res_init &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00pqhttp://rise4fun.com/HeapDbg/pqHeapDbg/pq<pre>&#47;&#47; Create a LinkedList of Data objects&#10;&#47;&#47; Self edge on, Next, and label, List&#10;class Data &#123; &#125;&#10;class X&#58; Data &#123; &#125;&#10;class Y&#58; Data &#123; &#125;&#10;class ListNode &#123; public ListNode Next, Prev&#59; public Data Data&#59; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; ListNode res &#61; null&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; 10&#59; &#43;&#43;i&#41; &#123;&#10; res &#61; new ListNode &#123; Next &#61; res, Data &#61; new X&#40;&#41; &#125;&#59;&#10; &#125;&#10; while&#40;res &#33;&#61; null&#41; &#123;&#10; if &#40;res.Next &#33;&#61; null&#41;&#10; res.Next.Prev &#61; res&#59;&#10; res &#61; res.Next&#59;&#10; &#125;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;&#10;</pre>2013-05-18T17:03:41-07:00plShttp://rise4fun.com/HeapDbg/plSHeapDbg/plS<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; return null&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00fqhttp://rise4fun.com/HeapDbg/fqHeapDbg/fq<pre>g3bTWi &#60;a href&#61;&#34;http&#58;&#47;&#47;kwhlydxupgfx.com&#47;&#34;&#62;kwhlydxupgfx&#60;&#47;a&#62;, &#91;url&#61;http&#58;&#47;&#47;fkbwpuvazltj.com&#47;&#93;fkbwpuvazltj&#91;&#47;url&#93;, &#91;link&#61;http&#58;&#47;&#47;cpxhfjpzghom.com&#47;&#93;cpxhfjpzghom&#91;&#47;link&#93;, http&#58;&#47;&#47;qeixermbablr.com&#47;</pre>2013-05-18T17:03:41-07:00DYhttp://rise4fun.com/HeapDbg/DYHeapDbg/DY<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Data &#123; &#125;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; var res &#61; new Data&#91;20&#93;&#59;&#10; for &#40;int i &#61; 0&#59; i &#60; res.Length&#59; &#43;&#43;i&#41;&#10; res&#91;i&#93; &#61; new Data&#40;&#41;&#59;&#10; return new &#123; root &#61; res &#125;&#59;&#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dx3Dhttp://rise4fun.com/HeapDbg/dx3DHeapDbg/dx3D<pre>&#47;&#47; Creates an array of un-aliased Data objects&#10;class Etype &#123; &#10; &#10; public double value&#59;&#10; public void setValue&#40;double x&#41;&#10; &#123;&#10; value &#61; x&#59;&#10; &#125;&#10;&#125;&#10;&#10;class Add&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10; &#10;&#125;&#10;&#10;class Sub&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;class Mult&#58;Etype&#123;&#10; &#10; public Etype l&#59;&#10; public Etype r&#59;&#10; &#10;&#125;&#10;&#10;class Data&#123;&#125;&#10;class Var&#58;Etype&#123;&#10; &#10; public Etype arrayIndex&#59;&#10;&#125;&#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c2&#59;&#10; &#10; var exp &#61; ad1&#59; &#10; &#10; &#10; return new &#123; root &#61; exp , v &#61; env &#125;&#59;&#10; &#10; &#10; &#125;&#10;&#125;</pre>2013-05-18T17:03:41-07:00dWVhttp://rise4fun.com/HeapDbg/dWVHeapDbg/dWV<pre>class Etype &#123;&#125; &#10;&#10;class Add&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Sub&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;class Mult&#58;Etype&#123; public Etype l&#59; public Etype r&#59; &#125;&#10;&#10;class Var&#58;Etype&#123;&#125; &#10;class Const&#58;Etype&#123;&#125;&#10;&#10;&#10;class Program &#123;&#10; static object Run&#40;&#41; &#123;&#10; &#10; Var &#91;&#93;env &#61; new Var&#91;3&#93;&#59;&#10; &#10; Var v1&#61; new Var&#40;&#41;&#59;&#10; Var v2&#61; new Var&#40;&#41;&#59;&#10; Var v3&#61; new Var&#40;&#41;&#59;&#10; &#10; env&#91;0&#93; &#61; v1&#59;&#10; env&#91;1&#93; &#61; v2&#59;&#10; Const c1 &#61; new Const&#40;&#41;&#59;&#10; Const c2 &#61; new Const&#40;&#41;&#59;&#10; &#10; &#10;&#10; Sub sb &#61; new Sub&#40;&#41;&#59;&#10; sb.r &#61; v1&#59;&#10; sb.l &#61; v2&#59;&#10; &#10; Add ad2 &#61; new Add&#40;&#41;&#59;&#10; ad2.l &#61; v2&#59;&#10; ad2.r &#61; c1&#59;&#10; &#10; Mult mt &#61; new Mult&#40;&#41;&#59;&#10; mt.l &#61; ad2&#59;&#10; mt.r &#61; sb&#59;&#10; &#10; Add ad1 &#61; new Add&#40;&#41;&#59;&#10; ad1.l &#61; mt&#59;&#10; ad1.r &#61; c