메소드 | 설명 | |
---|---|---|
SensorDictionary ( int agentHorizon, int height, int width ) : System | ||
getDistanceAndOrientation ( int agentX, int agentY, int plantX, int plantY ) : int[] |
메소드 | 설명 | |
---|---|---|
calculateDistanceAndOrientation ( int x, int y ) : int[] |
public SensorDictionary ( int agentHorizon, int height, int width ) : System | ||
agentHorizon | int | |
height | int | |
width | int | |
리턴 | System |
public getDistanceAndOrientation ( int agentX, int agentY, int plantX, int plantY ) : int[] | ||
agentX | int | |
agentY | int | |
plantX | int | |
plantY | int | |
리턴 | int[] |