// Path: src/org/drugepi/util/RowReader.java
// public abstract class RowReader {
// 	protected int numColumns;
// 
// 	/**
// 	 * RowReader constructor. 
// 	 * 
// 	 * @throws Exception
// 	 */
// 	public RowReader()
// 	throws Exception 
// 	{
// 		this.numColumns = -1;
// 	}
// 
// 	/**
// 	 * Read the next row from the data source and return elements as an array of strings.
// 	 * 
// 	 * @return Elements read from the row.
// 	 * @throws Exception
// 	 */
// 	public abstract String[] getNextRow()
// 	throws Exception;
// 	
// 	/**
// 	 * Reset the reader to the first row..
// 	 * 
// 	 * @return Elements read from the row.
// 	 * @throws Exception
// 	 */
// 	public abstract void reset()
// 	throws Exception;
// 	
// 	
// 	/**
// 	 * Close the reading source.
// 	 * 
// 	 * @throws Exception
// 	 */
// 	public abstract void close()
// 	throws Exception;
// 	
// 	
// 	/**
// 	 * Gets the number of columns available in the data.
// 	 * 
// 	 * @return Number of columns available.
// 	 * @throws Exception
// 	 */
// 	public int getNumColumns()
// 	{
// 		return this.numColumns;
// 	}
// 	
// }


import org.drugepi.util.RowReader;
/* 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 
 */
package org.drugepi.hdps;


public abstract class HdpsPatientController
{
    // VARIABLES WITH GETTERS AND SETTERS
	public Hdps hdps;
    protected static final int KEY_COLUMN_NUM = 0;
    protected static final int EXPOSED_COLUMN_NUM = 1;
    protected static final int OUTCOME_COLUMN_NUM = 2;
    protected static final int TIME_COLUMN_NUM = 3;
    
    public int nExposed;
    public int nOutcome;
	public int ptTotal = 0;
	public int ptExposed = 0;
	public double sumOfOutcomes = 0;
	public int numEvents = 0;
	
    private int numPatients;

// Path: src/org/drugepi/util/RowReader.java
// public abstract class RowReader {
// 	protected int numColumns;
// 
// 	/**
// 	 * RowReader constructor. 
// 	 * 
// 	 * @throws Exception
// 	 */
// 	public RowReader()
// 	throws Exception 
// 	{
// 		this.numColumns = -1;
// 	}
// 
// 	/**
// 	 * Read the next row from the data source and return elements as an array of strings.
// 	 * 
// 	 * @return Elements read from the row.
// 	 * @throws Exception
// 	 */
// 	public abstract String[] getNextRow()
// 	throws Exception;
// 	
// 	/**
// 	 * Reset the reader to the first row..
// 	 * 
// 	 * @return Elements read from the row.
// 	 * @throws Exception
// 	 */
// 	public abstract void reset()
// 	throws Exception;
// 	
// 	
// 	/**
// 	 * Close the reading source.
// 	 * 
// 	 * @throws Exception
// 	 */
// 	public abstract void close()
// 	throws Exception;
// 	
// 	
// 	/**
// 	 * Gets the number of columns available in the data.
// 	 * 
// 	 * @return Number of columns available.
// 	 * @throws Exception
// 	 */
// 	public int getNumColumns()
// 	{
// 		return this.numColumns;
// 	}
// 	
// }


// Path: src/org/drugepi/hdps/HdpsPatientController.java
import org.drugepi.util.RowReader;

/* 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 
 */
package org.drugepi.hdps;


public abstract class HdpsPatientController
{
    // VARIABLES WITH GETTERS AND SETTERS
	public Hdps hdps;
    protected static final int KEY_COLUMN_NUM = 0;
    protected static final int EXPOSED_COLUMN_NUM = 1;
    protected static final int OUTCOME_COLUMN_NUM = 2;
    protected static final int TIME_COLUMN_NUM = 3;
    
    public int nExposed;
    public int nOutcome;
	public int ptTotal = 0;
	public int ptExposed = 0;
	public double sumOfOutcomes = 0;
	public int numEvents = 0;
	
    private int numPatients;

	public RowReader reader;