Mercurial > hg > beatroot-vamp
comparison Agent.h @ 14:f1252b6a7cf5
More debug output, and a minor fix
author | Chris Cannam |
---|---|
date | Fri, 07 Oct 2011 14:07:42 +0100 |
parents | 59520cd6abac |
children | 887c629502a9 |
comparison
equal
deleted
inserted
replaced
13:0d4048bfadbb | 14:f1252b6a7cf5 |
---|---|
136 beatTime = -1.0; | 136 beatTime = -1.0; |
137 } // constructor | 137 } // constructor |
138 | 138 |
139 Agent clone() const { | 139 Agent clone() const { |
140 Agent a(*this); | 140 Agent a(*this); |
141 a.idCounter++; | 141 a.idNumber = idCounter++; |
142 return a; | 142 return a; |
143 } | 143 } |
144 | 144 |
145 protected: | 145 protected: |
146 double threshold(double value, double min, double max) { | 146 double threshold(double value, double min, double max) { |