public class Item
extends java.lang.Object
Constructor and Description |
---|
Item()
Default constructor
|
Item(int idAttr,
int idLabel)
It creates a new item by setting up its parameters
|
Modifier and Type | Method and Description |
---|---|
Item |
copy()
It allows to clone correctly an item
|
int |
getValue()
It returns the ID of the label involved in the item
|
int |
getVariable()
It returns the ID of the attribute involved in the item
|
public Item()
Default constructor
public Item(int idAttr, int idLabel)
It creates a new item by setting up its parameters
idAttr
- The ID of the attribute which the item representsidLabel
- The ID of the label representing the involved fuzzy regionpublic int getVariable()
It returns the ID of the attribute involved in the item
public int getValue()
It returns the ID of the label involved in the item
public Item copy()
It allows to clone correctly an item