You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int x = (int)Math.round( (Math.random()*(_D)) - .5 );
int y = (int)Math.round( (Math.random()*(_D)) - .5 );
return new Point(x,y);
}
public int getSize(){
return _D;
}
public void setValue(int x, int y, double value){
_points[x][y] = value;
}
public double getValue(int x, int y){
return _points[x][y];
}
public abstract void clusterUpdate();
public abstract void metropolisUpdate();
public abstract double getMagnetization();
public abstract double getHamiltonian();
public abstract Grid getBlockedGrid(); // Returns a new grid of smaller dimension whose configuration is determined by this Grid via a specified blocking procedure. This allows for the determination of scaling laws and renormalization group flow on the statistical system.