org.moyoman.util.igo
Class PatVec

java.lang.Object
  |
  +--org.moyoman.util.igo.PatVec

public class PatVec
extends Object

This class deal with patterns of Igo.


Field Summary
(package private)  VecInt v1
          Vectors to store the data of 8 directions.
(package private)  VecInt v2
          Vectors to store the data of 8 directions.
(package private)  VecInt v3
          Vectors to store the data of 8 directions.
(package private)  VecInt v4
          Vectors to store the data of 8 directions.
(package private)  VecInt v5
          Vectors to store the data of 8 directions.
(package private)  VecInt v6
          Vectors to store the data of 8 directions.
(package private)  VecInt v7
          Vectors to store the data of 8 directions.
(package private)  VecInt v8
          Vectors to store the data of 8 directions.
 
Constructor Summary
PatVec()
           
 
Method Summary
(package private)  void assign(int[][] arr)
          Store data of 8 directions.
(package private)  void oriAdd(int val)
          Set data to the main vector.
(package private)  void subAdd0()
          Add 0 to sub vectors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v1

VecInt v1
Vectors to store the data of 8 directions.


v2

VecInt v2
Vectors to store the data of 8 directions.


v3

VecInt v3
Vectors to store the data of 8 directions.


v4

VecInt v4
Vectors to store the data of 8 directions.


v5

VecInt v5
Vectors to store the data of 8 directions.


v6

VecInt v6
Vectors to store the data of 8 directions.


v7

VecInt v7
Vectors to store the data of 8 directions.


v8

VecInt v8
Vectors to store the data of 8 directions.

Constructor Detail

PatVec

public PatVec()
Method Detail

assign

void assign(int[][] arr)
Store data of 8 directions.

Parameters:
arr - The target array to get data in.

oriAdd

void oriAdd(int val)
Set data to the main vector.

Parameters:
val - The value to set.

subAdd0

void subAdd0()
Add 0 to sub vectors.