Skip to content

Commit

Permalink
remove dense and sparse
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Jul 18, 2015
1 parent 50bbe7c commit 7a4bfc3
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 416 deletions.
34 changes: 34 additions & 0 deletions js/src/undirected/online/data/Selected.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

const Selected = function ( G , attr ) {

this.G = G ;
this.attr = attr ;

} ;


Selected.prototype.vadd = function ( label ) {

return this.G.vadd( label ).get( this.attr ) ;

} ;

Selected.prototype.eadd = function( u , v , w ) {

return this.G.eadd( u , v , w ).get( this.attr ) ;

} ;

Selected.prototype.vdel = function ( v ) {

this.G.vdel( v ) ;

} ;

Selected.prototype.edel = function ( e ) {

this.G.edel( e ) ;

} ;

exports.Selected = Selected ;
124 changes: 0 additions & 124 deletions js/src/undirected/online/data/dense.js

This file was deleted.

11 changes: 11 additions & 0 deletions js/src/undirected/online/data/select.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

/**
* Use jointly with fused graphs. vadd and eadd methods
* will return the references from the graph designed
* by the `attr` parameter.
*
*/

const select = ( G , attr ) => new Selected( G , attr ) ;

exports.select = select ;
185 changes: 0 additions & 185 deletions js/src/undirected/online/data/sparse.js

This file was deleted.

2 changes: 1 addition & 1 deletion pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"src": "js/src/",
"debug": false,
"out": "js/dist/",
"babel": true
"babel": { "stage" : 0}
}
Loading

0 comments on commit 7a4bfc3

Please sign in to comment.