⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 state.java

📁 Reinforcement Learning
💻 JAVA
字号:
/*
 * Created on Oct 23, 2004
 */


import java.awt.Point;

public class State extends Point
{
	
	public State(int x, int y) {
		this.x = x;
		this.y = y;
	}
	
	/* used for debugging only...
	 */
	void printState()
	{
	    System.out.print("State=<"+x+","+y+">");
	}
	
	/*copies the newState object in to this state
	 */
	void copy(State newState)
	{
		x = newState.x;
		y = newState.y;
	}
	
	public boolean equals(Object Obj)
	{
		State st = (State)Obj;
		return (x == st.x && y==st.y);
	}
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -