/**
 * Copyright 2014 Mohammed Elseidy, Ehab Abdelhamid

This file is part of Grami.

Grami is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

Grami is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Grami.  If not, see <http://www.gnu.org/licenses/>.
 */

package grami.dataStructures;

public class ConnectedComponent 
{

	private int indexA;
	private int indexB;
	private int labelA;
	private int labelB;
	private double edgeLabel;
	
	public ConnectedComponent(int indexA,int labelA,int indexB ,int labelB, double edgeLabel) 
	{
		this.labelA=labelA;
		this.labelB= labelB;
		this.indexA=indexA;
		this.indexB=indexB;
		this.edgeLabel=edgeLabel;
	}

	public int getLabelA() {
		return labelA;
	}

	public int getLabelB() {
		return labelB;
	}
	
	public int getIndexA()
	{
		return indexA;
	}
	
	public int getIndexB()
	{
		return indexB;
	}
	
	public double getEdgeLabel()
	{
		return edgeLabel;
	}
	
	
}
