package lt.ktu.gmj.tasks;

public class BestParameters 
{
	BestParameters() {};
	BestParameters(BestParameters params) 
	{
		SetParameters(params);
	};
	public double Diff  = 9999999999.;
	public double X12 	= 0.;
	public double X21 	= 0.;
	public double X11 	= 0.;
	public double X22 	= 0.;
	public double Y1 	= 0.;
	public double Y2 	= 0.;
	public double P1 	= 0.;
	public double P2 	= 0.;
	public double W1 	= 0.;
	public double W2 	= 0.;
	public double U1 	= 0.;
	public double U2 	= 0.;
	
	public int Served1 = -1;
	public int Served2 = -1;
	public int Gone = -1;
	
	public void SetParameters(BestParameters params)
	{
		Diff = params.Diff;
		X12 = params.X12;
		X21 = params.X21;
		X11 = params.X11;
		X22 = params.X22;
		Y1 = params.Y1;
		Y2 = params.Y2;
		P1 = params.P1;
		P2 = params.P2;
		W1 = params.W1;
		W2 = params.W2;
		U1 = params.U1;
		U2 = params.U2;
		
		Served1 = params.Served1;
		Served2 = params.Served2;
		Gone = params.Gone;
	}
	
}
