[ Launch: zoomable genechip ] 56f3a9d8ef4570097b5a by nehiljain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\newcount\Comments % 0 suppresses notes to selves in text | |
\Comments=1 % TODO: set to 0 for final version | |
% for comments | |
\usepackage{color} | |
\definecolor{darkgreen}{rgb}{0,0.5,0} | |
\definecolor{purple}{rgb}{1,0,1} | |
% \kibitz{color}{comment} inserts a colored comment in the text | |
\newcommand{\kibitz}[2]{\ifnum\Comments=1\textcolor{#1}{#2}\fi} | |
% add yourself here: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[add your bin description]" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is a JS implementation of Weighted Union Find Algorithm with Path Compression | |
* The way to create private members was derived from http://www.nczonline.net/blog/2014/01/21/private-instance-members-with-weakmaps-in-javascript/ | |
* the Java implementation of the same is found at http://algs4.cs.princeton.edu/15uf/WeightedQuickUnionPathCompressionUF.java.html | |
* the TopCoder tutorial about Disjoint sets which is an overlapping concept used in the this algorithm is http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=disjointDataStructure | |
**/ | |
var WeightedUFPathCompression = (function () { | |
var _privateData = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
function BinaryHeap(scoreFunciton) { |
[ Launch: zoomable genechip ] 38ef045be79dee3e71df by nehiljain[ Launch: zoomable genechip ] 56f3a9d8ef4570097b5a by nehiljain
[ Launch: modified working genechip ] dd055234cc44ac42efa3 by nehiljain[ Launch: zoomable genechip ] 56f3a9d8ef4570097b5a by nehiljain
[ Launch: nehil ] b371518609637d957134 by nehiljain
[ Launch: Reusable Bar Char ] f890f9e7e4daeb4988f9 by nehiljain[ Launch Inlet ]Gist #4103209 Gist #4103149
[ Launch: Reusable Bar Char ] 8bf637e27ad75d6ac51b by nehiljain[ Launch: Reusable Bar Char ] f890f9e7e4daeb4988f9 by nehiljain[ Launch Inlet ]Gist #4103209 Gist #4103149
OlderNewer