All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.ssc.step.readdata.OptionsRead Maven / Gradle / Ivy

Go to download

This is a JSR331 interface for SSC (Software for the Calculation of the Simplex) is a java library for solving linear programming problems v. 3.0.1. SSC was designed and developed by Stefano Scarioli.

The newest version!
package it.ssc.step.readdata;

import it.ssc.step.exception.InvalidDichiarationOptions;

public class OptionsRead {
	private long max_obs_read=-1;
	 
	public void setMaxObsRead(long max_obs_read) throws InvalidDichiarationOptions {
		if(max_obs_read <=0) throw new InvalidDichiarationOptions("ERRORE ! Il numero massimo di osservazioni "+
				                                                  "da leggere deve essere un numero positivo. obs="+max_obs_read);
		this.max_obs_read=max_obs_read;
	}
	
	public long getMaxObsRead() {
		return this.max_obs_read;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy