summaryrefslogtreecommitdiff
path: root/javascript_network/layer.js
blob: ab23bd6333cf9f9807ede4b1f618321e54c2dc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var layer=function(x,y,nbN,nbI,nbO){
  console.log(windowHeight)
  this.x=x;
  this.y=y;
  this.nbNeurons = nbN;
  this.nbI=nbI;
  this.nbO=nbO;
  this.tabNeurones =[];

  this.show=function(et){
    for(var i=0;i<this.nbNeurons;i++){
      this.tabNeurones[i].show(et);
    }
}

};