|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorarend.Csomopont
public class Csomopont
Csomopont osztály, mely
| Field Summary | |
|---|---|
protected int |
depth
|
protected Operator |
op
|
private Csomopont |
parent
|
protected Allapot |
state
|
protected java.util.ArrayList<Operator> |
usable
|
| Constructor Summary | |
|---|---|
Csomopont(Allapot all)
Kezdőállapot konstruktora |
|
Csomopont(Allapot sz,
Csomopont cs,
Operator cse)
Közbeső csomópont konstruktora |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
Operator |
getcsere()
Azt a cserét adja vissza, ami alkalmazásával az új állapotot kaptuk |
int |
getDepth()
Mélységet visszaadó függvény |
Csomopont |
getParent()
Szülőt visszaadó metódus |
Allapot |
getState()
Az adott állapotot visszaadó metódus |
java.util.ArrayList |
getUsable()
Az állapotra használható cseréket tartalmazó lista |
boolean |
hasMoreChildre()
Az adott csomópont állapotából jöhet e létre új állapot |
Csomopont |
nextChildren()
A csomópont első gyerekét adja visza |
void |
setDepth(int i)
Mélységet beállító függvény |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int depth
private Csomopont parent
protected Operator op
protected Allapot state
protected java.util.ArrayList<Operator> usable
| Constructor Detail |
|---|
public Csomopont(Allapot all)
all - kezdőállapot
public Csomopont(Allapot sz,
Csomopont cs,
Operator cse)
sz - Az új állapotcs - Az aktuális csomópont szülőcsomópontjacse - A csere, amivel létrejött az új állapot| Method Detail |
|---|
public int getDepth()
public void setDepth(int i)
i - mélységpublic Csomopont getParent()
public Operator getcsere()
public Allapot getState()
public java.util.ArrayList getUsable()
public boolean hasMoreChildre()
public Csomopont nextChildren()
public java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||