mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
rv:: kohonen:: removed debug
This commit is contained in:
parent
beb47aeb26
commit
1e07875d05
@ -650,7 +650,6 @@ void step() {
|
|||||||
tt = pow(tt, ttpower);
|
tt = pow(tt, ttpower);
|
||||||
|
|
||||||
double sigma = maxdist * tt;
|
double sigma = maxdist * tt;
|
||||||
int dispid = int(dispersion_count * tt);
|
|
||||||
|
|
||||||
if(qpct) {
|
if(qpct) {
|
||||||
int pct = (int) ((qpct * (t+.0)) / tmax);
|
int pct = (int) ((qpct * (t+.0)) / tmax);
|
||||||
@ -658,12 +657,12 @@ void step() {
|
|||||||
lpct = pct;
|
lpct = pct;
|
||||||
analyze();
|
analyze();
|
||||||
|
|
||||||
if(gaussian)
|
// if(gaussian)
|
||||||
println(hlog, format("t = %6d/%6d %3d%% sigma=%10.7lf maxudist=%10.7lf\n", t, tmax, pct, sigma, maxudist));
|
// println(hlog, format("t = %6d/%6d %3d%% sigma=%10.7lf maxudist=%10.7lf\n", t, tmax, pct, sigma, maxudist));
|
||||||
else
|
// else
|
||||||
println(hlog, format("t = %6d/%6d %3d%% dispid=%5d maxudist=%10.7lf\n", t, tmax, pct, dispid, maxudist));
|
// println(hlog, format("t = %6d/%6d %3d%% dispid=%5d maxudist=%10.7lf\n", t, tmax, pct, dispid, maxudist));
|
||||||
}
|
// }
|
||||||
}
|
} //
|
||||||
int id = hrand(samples);
|
int id = hrand(samples);
|
||||||
neuron& n = winner(id);
|
neuron& n = winner(id);
|
||||||
whowon.resize(samples);
|
whowon.resize(samples);
|
||||||
|
Loading…
Reference in New Issue
Block a user