diff --git a/.DS_Store b/.DS_Store index 8cfdfb46bf2a2e61b09d335a18a81e9aaf5baa1d..9cb0bb3d7115cbd879f2b56a4fc28996450822ab 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/HW1-FA18/.classpath b/HW1-FA18/.classpath deleted file mode 100644 index 97f72100ac9f2489ec137c679343a32d41834cc5..0000000000000000000000000000000000000000 --- a/HW1-FA18/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/HW1-FA18/.project b/HW1-FA18/.project deleted file mode 100644 index b03b49415cf3d4e416db1da3fe714ebf1e771a97..0000000000000000000000000000000000000000 --- a/HW1-FA18/.project +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>HW1-FA18</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/HW1-FA18/.settings/org.eclipse.jdt.core.prefs b/HW1-FA18/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 3a21537071bf4118b9e1ee864cb4bc258aa48211..0000000000000000000000000000000000000000 --- a/HW1-FA18/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,11 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/HW1-FA18/Doxyfile b/HW1-FA18/Doxyfile deleted file mode 100644 index f2b1dd9c8898f33df67aa39a1260b9f920aee52e..0000000000000000000000000000000000000000 --- a/HW1-FA18/Doxyfile +++ /dev/null @@ -1,2482 +0,0 @@ -# Doxyfile 1.8.14 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project. -# -# All text after a double hash (##) is considered a comment and is placed in -# front of the TAG it is preceding. -# -# All text after a single hash (#) is considered a comment and will be ignored. -# The format is: -# TAG = value [value, ...] -# For lists, items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (\" \"). - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all text -# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv -# built into libc) for the transcoding. See -# https://www.gnu.org/software/libiconv/ for the list of possible encodings. -# The default value is: UTF-8. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by -# double-quotes, unless you are using Doxywizard) that should identify the -# project for which the documentation is generated. This name is used in the -# title of most generated pages and in a few other places. -# The default value is: My Project. - -PROJECT_NAME = "My Project" - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. This -# could be handy for archiving the generated documentation or if some version -# control system is used. - -PROJECT_NUMBER = - -# Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer a -# quick idea about the purpose of the project. Keep the description short. - -PROJECT_BRIEF = - -# With the PROJECT_LOGO tag one can specify a logo or an icon that is included -# in the documentation. The maximum height of the logo should not exceed 55 -# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy -# the logo to the output directory. - -PROJECT_LOGO = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path -# into which the generated documentation will be written. If a relative path is -# entered, it will be relative to the location where doxygen was started. If -# left blank the current directory will be used. - -OUTPUT_DIRECTORY = - -# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- -# directories (in 2 levels) under the output directory of each output format and -# will distribute the generated files over these directories. Enabling this -# option can be useful when feeding doxygen a huge amount of source files, where -# putting all generated files in the same directory would otherwise causes -# performance problems for the file system. -# The default value is: NO. - -CREATE_SUBDIRS = NO - -# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII -# characters to appear in the names of generated files. If set to NO, non-ASCII -# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode -# U+3044. -# The default value is: NO. - -ALLOW_UNICODE_NAMES = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, -# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), -# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, -# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), -# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, -# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, -# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, -# Ukrainian and Vietnamese. -# The default value is: English. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member -# descriptions after the members that are listed in the file and class -# documentation (similar to Javadoc). Set to NO to disable this. -# The default value is: YES. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief -# description of a member or function before the detailed description -# -# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. -# The default value is: YES. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator that is -# used to form the text in various listings. Each string in this list, if found -# as the leading text of the brief description, will be stripped from the text -# and the result, after processing the whole list, is used as the annotated -# text. Otherwise, the brief description is used as-is. If left blank, the -# following values are used ($name is automatically replaced with the name of -# the entity):The $name class, The $name widget, The $name file, is, provides, -# specifies, contains, represents, a, an and the. - -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# doxygen will generate a detailed section even if there is only a brief -# description. -# The default value is: NO. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. -# The default value is: NO. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path -# before files name in the file list and in the header files. If set to NO the -# shortest path that makes the file name unique will be used -# The default value is: YES. - -FULL_PATH_NAMES = YES - -# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. -# Stripping is only done if one of the specified strings matches the left-hand -# part of the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the path to -# strip. -# -# Note that you can specify absolute paths here, but also relative paths, which -# will be relative from the directory where doxygen is started. -# This tag requires that the tag FULL_PATH_NAMES is set to YES. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the -# path mentioned in the documentation of a class, which tells the reader which -# header file to include in order to use a class. If left blank only the name of -# the header file containing the class definition is used. Otherwise one should -# specify the list of include paths that are normally passed to the compiler -# using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but -# less readable) file names. This can be useful is your file systems doesn't -# support long names like on DOS, Mac, or CD-ROM. -# The default value is: NO. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the -# first line (until the first dot) of a Javadoc-style comment as the brief -# description. If set to NO, the Javadoc-style will behave just like regular Qt- -# style comments (thus requiring an explicit @brief command for a brief -# description.) -# The default value is: NO. - -JAVADOC_AUTOBRIEF = NO - -# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first -# line (until the first dot) of a Qt-style comment as the brief description. If -# set to NO, the Qt-style will behave just like regular Qt-style comments (thus -# requiring an explicit \brief command for a brief description.) -# The default value is: NO. - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a -# multi-line C++ special comment block (i.e. a block of //! or /// comments) as -# a brief description. This used to be the default behavior. The new default is -# to treat a multi-line C++ comment block as a detailed description. Set this -# tag to YES if you prefer the old behavior instead. -# -# Note that setting this tag to YES also means that rational rose comments are -# not recognized any more. -# The default value is: NO. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the -# documentation from any documented member that it re-implements. -# The default value is: YES. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new -# page for each member. If set to NO, the documentation of a member will be part -# of the file/class/namespace that contains it. -# The default value is: NO. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen -# uses this value to replace tabs by spaces in code fragments. -# Minimum value: 1, maximum value: 16, default value: 4. - -TAB_SIZE = 4 - -# This tag can be used to specify a number of aliases that act as commands in -# the documentation. An alias has the form: -# name=value -# For example adding -# "sideeffect=@par Side Effects:\n" -# will allow you to put the command \sideeffect (or @sideeffect) in the -# documentation, which will result in a user-defined paragraph with heading -# "Side Effects:". You can put \n's in the value part of an alias to insert -# newlines (in the resulting output). You can put ^^ in the value part of an -# alias to insert a newline as if a physical newline was in the original file. - -ALIASES = - -# This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name=value". For example adding "class=itcl::class" -# will allow you to use the command class in the itcl::class meaning. - -TCL_SUBST = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. For -# instance, some of the names that are used will be different. The list of all -# members will be omitted, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or -# Python sources only. Doxygen will then generate output that is more tailored -# for that language. For instance, namespaces will be presented as packages, -# qualified scopes will look different, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources. Doxygen will then generate output that is tailored for Fortran. -# The default value is: NO. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for VHDL. -# The default value is: NO. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it -# parses. With this tag you can assign which parser to use for a given -# extension. Doxygen has a built-in mapping, but you can override or extend it -# using this tag. The format is ext=language, where ext is a file extension, and -# language is one of the parsers supported by doxygen: IDL, Java, Javascript, -# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: -# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: -# Fortran. In the later case the parser tries to guess whether the code is fixed -# or free formatted code, this is the default for Fortran type files), VHDL. For -# instance to make doxygen treat .inc files as Fortran files (default is PHP), -# and .f files as C (default is Fortran), use: inc=Fortran f=C. -# -# Note: For files without extension you can use no_extension as a placeholder. -# -# Note that for custom extensions you also need to set FILE_PATTERNS otherwise -# the files are not read by doxygen. - -EXTENSION_MAPPING = - -# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments -# according to the Markdown format, which allows for more readable -# documentation. See http://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you can -# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in -# case of backward compatibilities issues. -# The default value is: YES. - -MARKDOWN_SUPPORT = YES - -# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up -# to that level are automatically included in the table of contents, even if -# they do not have an id attribute. -# Note: This feature currently applies only to Markdown headings. -# Minimum value: 0, maximum value: 99, default value: 0. -# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. - -TOC_INCLUDE_HEADINGS = 0 - -# When enabled doxygen tries to link words that correspond to documented -# classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by putting a % sign in front of the word or -# globally by setting AUTOLINK_SUPPORT to NO. -# The default value is: YES. - -AUTOLINK_SUPPORT = YES - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should set this -# tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); -# versus func(std::string) {}). This also make the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. -# The default value is: NO. - -BUILTIN_STL_SUPPORT = NO - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. -# The default value is: NO. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: -# https://www.riverbankcomputing.com/software/sip/intro) sources only. Doxygen -# will parse them like normal C++ but will assume all classes use public instead -# of private inheritance when no explicit protection keyword is present. -# The default value is: NO. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate -# getter and setter methods for a property. Setting this option to YES will make -# doxygen to replace the get and set methods by a property in the documentation. -# This will only work if the methods are indeed getting or setting a simple -# type. If this is not the case, or you want to show the methods anyway, you -# should set this option to NO. -# The default value is: YES. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. -# The default value is: NO. - -DISTRIBUTE_GROUP_DOC = NO - -# If one adds a struct or class to a group and this option is enabled, then also -# any nested class or struct is added to the same group. By default this option -# is disabled and one has to add nested compounds explicitly via \ingroup. -# The default value is: NO. - -GROUP_NESTED_COMPOUNDS = NO - -# Set the SUBGROUPING tag to YES to allow class member groups of the same type -# (for instance a group of public functions) to be put as a subgroup of that -# type (e.g. under the Public Functions section). Set it to NO to prevent -# subgrouping. Alternatively, this can be done per class using the -# \nosubgrouping command. -# The default value is: YES. - -SUBGROUPING = YES - -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions -# are shown inside the group in which they are included (e.g. using \ingroup) -# instead of on a separate page (for HTML and Man pages) or section (for LaTeX -# and RTF). -# -# Note that this feature does not work in combination with -# SEPARATE_MEMBER_PAGES. -# The default value is: NO. - -INLINE_GROUPED_CLASSES = NO - -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions -# with only public data fields or simple typedef fields will be shown inline in -# the documentation of the scope in which they are defined (i.e. file, -# namespace, or group documentation), provided this scope is documented. If set -# to NO, structs, classes, and unions are shown on a separate page (for HTML and -# Man pages) or section (for LaTeX and RTF). -# The default value is: NO. - -INLINE_SIMPLE_STRUCTS = NO - -# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or -# enum is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically be -# useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. -# The default value is: NO. - -TYPEDEF_HIDES_STRUCT = NO - -# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This -# cache is used to resolve symbols given their name and scope. Since this can be -# an expensive process and often the same symbol appears multiple times in the -# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small -# doxygen will become slower. If the cache is too large, memory is wasted. The -# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range -# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 -# symbols. At the end of a run doxygen will report the cache usage and suggest -# the optimal cache size from a speed point of view. -# Minimum value: 0, maximum value: 9, default value: 0. - -LOOKUP_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in -# documentation are documented, even if no documentation was available. Private -# class members and static file members will be hidden unless the -# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. -# Note: This will also disable the warnings about undocumented members that are -# normally produced when WARNINGS is set to YES. -# The default value is: NO. - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will -# be included in the documentation. -# The default value is: NO. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal -# scope will be included in the documentation. -# The default value is: NO. - -EXTRACT_PACKAGE = NO - -# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be -# included in the documentation. -# The default value is: NO. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined -# locally in source files will be included in the documentation. If set to NO, -# only classes defined in header files are included. Does not have any effect -# for Java sources. -# The default value is: YES. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. If set to YES, local methods, -# which are defined in the implementation section but not in the interface are -# included in the documentation. If set to NO, only methods in the interface are -# included. -# The default value is: NO. - -EXTRACT_LOCAL_METHODS = NO - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base name of -# the file that contains the anonymous namespace. By default anonymous namespace -# are hidden. -# The default value is: NO. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all -# undocumented members inside documented classes or files. If set to NO these -# members will be included in the various overviews, but no documentation -# section is generated. This option has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. If set -# to NO, these classes will be included in the various overviews. This option -# has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend -# (class|struct|union) declarations. If set to NO, these declarations will be -# included in the documentation. -# The default value is: NO. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any -# documentation blocks found inside the body of a function. If set to NO, these -# blocks will be appended to the function's detailed documentation block. -# The default value is: NO. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation that is typed after a -# \internal command is included. If the tag is set to NO then the documentation -# will be excluded. Set it to YES to include the internal documentation. -# The default value is: NO. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file -# names in lower-case letters. If set to YES, upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. -# The default value is: system dependent. - -CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with -# their full class and namespace scopes in the documentation. If set to YES, the -# scope will be hidden. -# The default value is: NO. - -HIDE_SCOPE_NAMES = NO - -# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will -# append additional text to a page's title, such as Class Reference. If set to -# YES the compound reference will be hidden. -# The default value is: NO. - -HIDE_COMPOUND_REFERENCE= NO - -# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of -# the files that are included by a file in the documentation of that file. -# The default value is: YES. - -SHOW_INCLUDE_FILES = YES - -# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each -# grouped member an include statement to the documentation, telling the reader -# which file to include in order to use the member. -# The default value is: NO. - -SHOW_GROUPED_MEMB_INC = NO - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include -# files with double quotes in the documentation rather than with sharp brackets. -# The default value is: NO. - -FORCE_LOCAL_INCLUDES = NO - -# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the -# documentation for inline members. -# The default value is: YES. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the -# (detailed) documentation of file and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. -# The default value is: YES. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief -# descriptions of file, namespace and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. Note that -# this will also influence the order of the classes in the class list. -# The default value is: NO. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the -# (brief and detailed) documentation of class members so that constructors and -# destructors are listed first. If set to NO the constructors will appear in the -# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. -# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief -# member documentation. -# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting -# detailed member documentation. -# The default value is: NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy -# of group names into alphabetical order. If set to NO the group names will -# appear in their defined order. -# The default value is: NO. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by -# fully-qualified names, including namespaces. If set to NO, the class list will -# be sorted only by class name, not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the alphabetical -# list. -# The default value is: NO. - -SORT_BY_SCOPE_NAME = NO - -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper -# type resolution of all parameters of a function it will reject a match between -# the prototype and the implementation of a member function even if there is -# only one candidate or it is obvious which candidate to choose by doing a -# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still -# accept a match between prototype and implementation in such cases. -# The default value is: NO. - -STRICT_PROTO_MATCHING = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo -# list. This list is created by putting \todo commands in the documentation. -# The default value is: YES. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test -# list. This list is created by putting \test commands in the documentation. -# The default value is: YES. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug -# list. This list is created by putting \bug commands in the documentation. -# The default value is: YES. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) -# the deprecated list. This list is created by putting \deprecated commands in -# the documentation. -# The default value is: YES. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional documentation -# sections, marked by \if <section_label> ... \endif and \cond <section_label> -# ... \endcond blocks. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the -# initial value of a variable or macro / define can have for it to appear in the -# documentation. If the initializer consists of more lines than specified here -# it will be hidden. Use a value of 0 to hide initializers completely. The -# appearance of the value of individual variables and macros / defines can be -# controlled using \showinitializer or \hideinitializer command in the -# documentation regardless of this setting. -# Minimum value: 0, maximum value: 10000, default value: 30. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at -# the bottom of the documentation of classes and structs. If set to YES, the -# list will mention the files that were used to generate the documentation. -# The default value is: YES. - -SHOW_USED_FILES = YES - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This -# will remove the Files entry from the Quick Index and from the Folder Tree View -# (if specified). -# The default value is: YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces -# page. This will remove the Namespaces entry from the Quick Index and from the -# Folder Tree View (if specified). -# The default value is: YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command command input-file, where command is the value of the -# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided -# by doxygen. Whatever the program writes to standard output is used as the file -# version. For an example see the documentation. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed -# by doxygen. The layout file controls the global structure of the generated -# output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. You can -# optionally specify a file name after the option, if omitted DoxygenLayout.xml -# will be used as the name of the layout file. -# -# Note that if you run doxygen from a directory containing a file called -# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE -# tag is left empty. - -LAYOUT_FILE = - -# The CITE_BIB_FILES tag can be used to specify one or more bib files containing -# the reference definitions. This must be a list of .bib files. The .bib -# extension is automatically appended if omitted. This requires the bibtex tool -# to be installed. See also https://en.wikipedia.org/wiki/BibTeX for more info. -# For LaTeX the style of the bibliography can be controlled using -# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the -# search path. See also \cite for info how to create references. - -CITE_BIB_FILES = - -#--------------------------------------------------------------------------- -# Configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated to -# standard output by doxygen. If QUIET is set to YES this implies that the -# messages are off. -# The default value is: NO. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES -# this implies that the warnings are on. -# -# Tip: Turn warnings on while writing the documentation. -# The default value is: YES. - -WARNINGS = YES - -# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate -# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag -# will automatically be disabled. -# The default value is: YES. - -WARN_IF_UNDOCUMENTED = YES - -# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some parameters -# in a documented function, or documenting parameters that don't exist or using -# markup commands wrongly. -# The default value is: YES. - -WARN_IF_DOC_ERROR = YES - -# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that -# are documented, but have no documentation for their parameters or return -# value. If set to NO, doxygen will only warn about wrong or incomplete -# parameter documentation, but not about the absence of documentation. -# The default value is: NO. - -WARN_NO_PARAMDOC = NO - -# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when -# a warning is encountered. -# The default value is: NO. - -WARN_AS_ERROR = NO - -# The WARN_FORMAT tag determines the format of the warning messages that doxygen -# can produce. The string should contain the $file, $line, and $text tags, which -# will be replaced by the file and line number from which the warning originated -# and the warning text. Optionally the format may contain $version, which will -# be replaced by the version of the file (if it could be obtained via -# FILE_VERSION_FILTER) -# The default value is: $file:$line: $text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning and error -# messages should be written. If left blank the output is written to standard -# error (stderr). - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# Configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag is used to specify the files and/or directories that contain -# documented source files. You may enter file names like myfile.cpp or -# directories like /usr/src/myproject. Separate the files or directories with -# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING -# Note: If this tag is empty the current directory is searched. - -INPUT = - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses -# libiconv (or the iconv built into libc) for the transcoding. See the libiconv -# documentation (see: https://www.gnu.org/software/libiconv/) for the list of -# possible encodings. -# The default value is: UTF-8. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and -# *.h) to filter out the source-files in the directories. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# read by doxygen. -# -# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, -# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, -# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, -# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, -# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf. - -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.idl \ - *.ddl \ - *.odl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.cs \ - *.d \ - *.php \ - *.php4 \ - *.php5 \ - *.phtml \ - *.inc \ - *.m \ - *.markdown \ - *.md \ - *.mm \ - *.dox \ - *.py \ - *.pyw \ - *.f90 \ - *.f95 \ - *.f03 \ - *.f08 \ - *.f \ - *.for \ - *.tcl \ - *.vhd \ - *.vhdl \ - *.ucf \ - *.qsf - -# The RECURSIVE tag can be used to specify whether or not subdirectories should -# be searched for input files as well. -# The default value is: NO. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should be -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. -# -# Note that relative paths are relative to the directory from which doxygen is -# run. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or -# directories that are symbolic links (a Unix file system feature) are excluded -# from the input. -# The default value is: NO. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories for example use the pattern */test/* - -EXCLUDE_PATTERNS = - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories use the pattern */test/* - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or directories -# that contain example code fragments that are included (see the \include -# command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank all -# files are included. - -EXAMPLE_PATTERNS = * - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude commands -# irrespective of the value of the RECURSIVE tag. -# The default value is: NO. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or directories -# that contain images that are to be included in the documentation (see the -# \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command: -# -# <filter> <input-file> -# -# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the -# name of an input file. Doxygen will then use the output that the filter -# program writes to standard output. If FILTER_PATTERNS is specified, this tag -# will be ignored. -# -# Note that the filter must not add or remove lines; it is applied before the -# code is scanned, but not when the output code is generated. If lines are added -# or removed, the anchors will not be placed correctly. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: pattern=filter -# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how -# filters are used. If the FILTER_PATTERNS tag is empty or if none of the -# patterns match the file name, INPUT_FILTER is applied. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will also be used to filter the input files that are used for -# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). -# The default value is: NO. - -FILTER_SOURCE_FILES = NO - -# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and -# it is also possible to disable source filtering for a specific pattern using -# *.ext= (so without naming a filter). -# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. - -FILTER_SOURCE_PATTERNS = - -# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that -# is part of the input, its contents will be placed on the main page -# (index.html). This can be useful if you have a project on for instance GitHub -# and want to reuse the introduction page also for the doxygen output. - -USE_MDFILE_AS_MAINPAGE = - -#--------------------------------------------------------------------------- -# Configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will be -# generated. Documented entities will be cross-referenced with these sources. -# -# Note: To get rid of all source code in the generated output, make sure that -# also VERBATIM_HEADERS is set to NO. -# The default value is: NO. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body of functions, -# classes and enums directly into the documentation. -# The default value is: NO. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any -# special comment blocks from generated source code fragments. Normal C, C++ and -# Fortran comments will always remain visible. -# The default value is: YES. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES then for each documented -# function all documented functions referencing it will be listed. -# The default value is: NO. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES then for each documented function -# all documented entities called/used by that function will be listed. -# The default value is: NO. - -REFERENCES_RELATION = NO - -# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set -# to YES then the hyperlinks from functions in REFERENCES_RELATION and -# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will -# link to the documentation. -# The default value is: YES. - -REFERENCES_LINK_SOURCE = YES - -# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the -# source code will show a tooltip with additional information such as prototype, -# brief description and links to the definition and documentation. Since this -# will make the HTML file larger and loading of large files a bit slower, you -# can opt to disable this feature. -# The default value is: YES. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -SOURCE_TOOLTIPS = YES - -# If the USE_HTAGS tag is set to YES then the references to source code will -# point to the HTML generated by the htags(1) tool instead of doxygen built-in -# source browser. The htags tool is part of GNU's global source tagging system -# (see https://www.gnu.org/software/global/global.html). You will need version -# 4.8.6 or higher. -# -# To use it do the following: -# - Install the latest version of global -# - Enable SOURCE_BROWSER and USE_HTAGS in the config file -# - Make sure the INPUT points to the root of the source tree -# - Run doxygen as normal -# -# Doxygen will invoke htags (and that will in turn invoke gtags), so these -# tools must be available from the command line (i.e. in the search path). -# -# The result: instead of the source browser generated by doxygen, the links to -# source code will now point to the output of htags. -# The default value is: NO. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a -# verbatim copy of the header file for each class for which an include is -# specified. Set to NO to disable this. -# See also: Section \class. -# The default value is: YES. - -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# Configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all -# compounds will be generated. Enable this if the project contains a lot of -# classes, structs, unions or interfaces. -# The default value is: YES. - -ALPHABETICAL_INDEX = YES - -# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in -# which the alphabetical index list will be split. -# Minimum value: 1, maximum value: 20, default value: 5. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all classes will -# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag -# can be used to specify a prefix (or a list of prefixes) that should be ignored -# while generating the index headers. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output -# The default value is: YES. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each -# generated HTML page (for example: .htm, .php, .asp). -# The default value is: .html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a user-defined HTML header file for -# each generated HTML page. If the tag is left blank doxygen will generate a -# standard header. -# -# To get valid HTML the header file that includes any scripts and style sheets -# that doxygen needs, which is dependent on the configuration options used (e.g. -# the setting GENERATE_TREEVIEW). It is highly recommended to start with a -# default header using -# doxygen -w html new_header.html new_footer.html new_stylesheet.css -# YourConfigFile -# and then modify the file new_header.html. See also section "Doxygen usage" -# for information on how to generate the default header that doxygen normally -# uses. -# Note: The header is subject to change so you typically have to regenerate the -# default header when upgrading to a newer version of doxygen. For a description -# of the possible markers and block names see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each -# generated HTML page. If the tag is left blank doxygen will generate a standard -# footer. See HTML_HEADER for more information on how to generate a default -# footer and what special commands can be used inside the footer. See also -# section "Doxygen usage" for information on how to generate the default footer -# that doxygen normally uses. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style -# sheet that is used by each HTML page. It can be used to fine-tune the look of -# the HTML output. If left blank doxygen will generate a default style sheet. -# See also section "Doxygen usage" for information on how to generate the style -# sheet that doxygen normally uses. -# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as -# it is more robust and this tag (HTML_STYLESHEET) will in the future become -# obsolete. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_STYLESHEET = - -# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined -# cascading style sheets that are included after the standard style sheets -# created by doxygen. Using this option one can overrule certain style aspects. -# This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefore more robust against future updates. -# Doxygen will copy the style sheet files to the output directory. -# Note: The order of the extra style sheet files is of importance (e.g. the last -# style sheet in the list overrules the setting of the previous ones in the -# list). For an example see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_STYLESHEET = - -# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the HTML output directory. Note -# that these files will be copied to the base HTML output directory. Use the -# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that the -# files will be copied as-is; there are no commands or markers available. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_FILES = - -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen -# will adjust the colors in the style sheet and background images according to -# this color. Hue is specified as an angle on a colorwheel, see -# https://en.wikipedia.org/wiki/Hue for more information. For instance the value -# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 -# purple, and 360 is red again. -# Minimum value: 0, maximum value: 359, default value: 220. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_HUE = 220 - -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors -# in the HTML output. For a value of 0 the output will use grayscales only. A -# value of 255 will produce the most vivid colors. -# Minimum value: 0, maximum value: 255, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_SAT = 100 - -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the -# luminance component of the colors in the HTML output. Values below 100 -# gradually make the output lighter, whereas values above 100 make the output -# darker. The value divided by 100 is the actual gamma applied, so 80 represents -# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not -# change the gamma. -# Minimum value: 40, maximum value: 240, default value: 80. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_GAMMA = 80 - -# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting this -# to YES can help to show when doxygen was last run and thus if the -# documentation is up to date. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_TIMESTAMP = NO - -# If the HTML_DYNAMIC_MENUS tag is set to YES then the generated HTML -# documentation will contain a main index with vertical navigation menus that -# are dynamically created via Javascript. If disabled, the navigation index will -# consists of multiple levels of tabs that are statically embedded in every HTML -# page. Disable this option to support browsers that do not have Javascript, -# like the Qt help browser. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_DYNAMIC_MENUS = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_DYNAMIC_SECTIONS = NO - -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries -# shown in the various tree structured indices initially; the user can expand -# and collapse entries dynamically later on. Doxygen will expand the tree to -# such a level that at most the specified number of entries are visible (unless -# a fully collapsed tree already exceeds this amount). So setting the number of -# entries 1 will produce a full collapsed tree by default. 0 is a special value -# representing an infinite number of entries and will result in a full expanded -# tree by default. -# Minimum value: 0, maximum value: 9999, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_INDEX_NUM_ENTRIES = 100 - -# If the GENERATE_DOCSET tag is set to YES, additional index files will be -# generated that can be used as input for Apple's Xcode 3 integrated development -# environment (see: https://developer.apple.com/tools/xcode/), introduced with -# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a -# Makefile in the HTML output directory. Running make will produce the docset in -# that directory and running make install will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at -# startup. See https://developer.apple.com/tools/creatingdocsetswithdoxygen.html -# for more information. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_DOCSET = NO - -# This tag determines the name of the docset feed. A documentation feed provides -# an umbrella under which multiple documentation sets from a single provider -# (such as a company or product suite) can be grouped. -# The default value is: Doxygen generated docs. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# This tag specifies a string that should uniquely identify the documentation -# set bundle. This should be a reverse domain-name style string, e.g. -# com.mycompany.MyDocSet. Doxygen will append .docset to the name. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify -# the documentation publisher. This should be a reverse domain-name style -# string, e.g. com.mycompany.MyDocSet.documentation. -# The default value is: org.doxygen.Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_ID = org.doxygen.Publisher - -# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. -# The default value is: Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_NAME = Publisher - -# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three -# additional HTML index files: index.hhp, index.hhc, and index.hhk. The -# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop -# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on -# Windows. -# -# The HTML Help Workshop contains a compiler that can convert all HTML output -# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML -# files are now used as the Windows 98 help format, and will replace the old -# Windows help format (.hlp) on all Windows platforms in the future. Compressed -# HTML files also contain an index, a table of contents, and you can search for -# words in the documentation. The HTML workshop also contains a viewer for -# compressed HTML files. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_HTMLHELP = NO - -# The CHM_FILE tag can be used to specify the file name of the resulting .chm -# file. You can add a path in front of the file if the result should not be -# written to the html output directory. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_FILE = - -# The HHC_LOCATION tag can be used to specify the location (absolute path -# including file name) of the HTML help compiler (hhc.exe). If non-empty, -# doxygen will try to run the HTML help compiler on the generated index.hhp. -# The file has to be specified with full path. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -HHC_LOCATION = - -# The GENERATE_CHI flag controls if a separate .chi index file is generated -# (YES) or that it should be included in the master .chm file (NO). -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -GENERATE_CHI = NO - -# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) -# and project file content. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_INDEX_ENCODING = - -# The BINARY_TOC flag controls whether a binary table of contents is generated -# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it -# enables the Previous and Next buttons. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members to -# the table of contents of the HTML help documentation and to the tree view. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that -# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help -# (.qch) of the generated HTML documentation. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify -# the file name of the resulting .qch file. The path specified is relative to -# the HTML output folder. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help -# Project output. For more information please see Qt Help Project / Namespace -# (see: http://doc.qt.io/qt-4.8/qthelpproject.html#namespace). -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_NAMESPACE = org.doxygen.Project - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt -# Help Project output. For more information please see Qt Help Project / Virtual -# Folders (see: http://doc.qt.io/qt-4.8/qthelpproject.html#virtual-folders). -# The default value is: doc. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_VIRTUAL_FOLDER = doc - -# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom -# filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://doc.qt.io/qt-4.8/qthelpproject.html#custom-filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://doc.qt.io/qt-4.8/qthelpproject.html#custom-filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's filter section matches. Qt Help Project / Filter Attributes (see: -# http://doc.qt.io/qt-4.8/qthelpproject.html#filter-attributes). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_SECT_FILTER_ATTRS = - -# The QHG_LOCATION tag can be used to specify the location of Qt's -# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the -# generated .qhp file. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHG_LOCATION = - -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be -# generated, together with the HTML files, they form an Eclipse help plugin. To -# install this plugin and make it available under the help contents menu in -# Eclipse, the contents of the directory containing the HTML and XML files needs -# to be copied into the plugins directory of eclipse. The name of the directory -# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. -# After copying Eclipse needs to be restarted before the help appears. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_ECLIPSEHELP = NO - -# A unique identifier for the Eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have this -# name. Each documentation set should have its own identifier. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. - -ECLIPSE_DOC_ID = org.doxygen.Project - -# If you want full control over the layout of the generated HTML pages it might -# be necessary to disable the index and replace it with your own. The -# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top -# of each HTML page. A value of NO enables the index and the value YES disables -# it. Since the tabs in the index contain the same information as the navigation -# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -DISABLE_INDEX = NO - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. If the tag -# value is set to YES, a side panel will be generated containing a tree-like -# index structure (just like the one that is generated for HTML Help). For this -# to work a browser that supports JavaScript, DHTML, CSS and frames is required -# (i.e. any modern browser). Windows users are probably better off using the -# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can -# further fine-tune the look of the index. As an example, the default style -# sheet generated by doxygen has an example that shows how to put an image at -# the root of the tree instead of the PROJECT_NAME. Since the tree basically has -# the same information as the tab index, you could consider setting -# DISABLE_INDEX to YES when enabling this option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_TREEVIEW = NO - -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that -# doxygen will group on one line in the generated HTML documentation. -# -# Note that a value of 0 will completely suppress the enum values from appearing -# in the overview section. -# Minimum value: 0, maximum value: 20, default value: 4. -# This tag requires that the tag GENERATE_HTML is set to YES. - -ENUM_VALUES_PER_LINE = 4 - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used -# to set the initial width (in pixels) of the frame in which the tree is shown. -# Minimum value: 0, maximum value: 1500, default value: 250. -# This tag requires that the tag GENERATE_HTML is set to YES. - -TREEVIEW_WIDTH = 250 - -# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to -# external symbols imported via tag files in a separate window. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -EXT_LINKS_IN_WINDOW = NO - -# Use this tag to change the font size of LaTeX formulas included as images in -# the HTML documentation. When you change the font size after a successful -# doxygen run you need to manually remove any form_*.png images from the HTML -# output directory to force them to be regenerated. -# Minimum value: 8, maximum value: 50, default value: 10. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_FONTSIZE = 10 - -# Use the FORMULA_TRANSPARENT tag to determine whether or not the images -# generated for formulas are transparent PNGs. Transparent PNGs are not -# supported properly for IE 6.0, but are supported on all modern browsers. -# -# Note that when changing this option you need to delete any form_*.png files in -# the HTML output directory before the changes have effect. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_TRANSPARENT = YES - -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see -# https://www.mathjax.org) which uses client side Javascript for the rendering -# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX -# installed or if you want to formulas look prettier in the HTML output. When -# enabled you may also need to install MathJax separately and configure the path -# to it using the MATHJAX_RELPATH option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -USE_MATHJAX = NO - -# When MathJax is enabled you can set the default output format to be used for -# the MathJax output. See the MathJax site (see: -# http://docs.mathjax.org/en/latest/output.html) for more details. -# Possible values are: HTML-CSS (which is slower, but has the best -# compatibility), NativeMML (i.e. MathML) and SVG. -# The default value is: HTML-CSS. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_FORMAT = HTML-CSS - -# When MathJax is enabled you need to specify the location relative to the HTML -# output directory using the MATHJAX_RELPATH option. The destination directory -# should contain the MathJax.js script. For instance, if the mathjax directory -# is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax -# Content Delivery Network so you can quickly see the result without installing -# MathJax. However, it is strongly recommended to install a local copy of -# MathJax from https://www.mathjax.org before deployment. -# The default value is: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_RELPATH = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/ - -# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax -# extension names that should be enabled during MathJax rendering. For example -# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_EXTENSIONS = - -# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces -# of code that will be used on startup of the MathJax code. See the MathJax site -# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an -# example see the documentation. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_CODEFILE = - -# When the SEARCHENGINE tag is enabled doxygen will generate a search box for -# the HTML output. The underlying search engine uses javascript and DHTML and -# should work on any modern browser. Note that when using HTML help -# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) -# there is already a search function so this one should typically be disabled. -# For large projects the javascript based search engine can be slow, then -# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to -# search using the keyboard; to jump to the search box use <access key> + S -# (what the <access key> is depends on the OS and browser, but it is typically -# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down -# key> to jump into the search results window, the results can be navigated -# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel -# the search. The filter options can be selected when the cursor is inside the -# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys> -# to select a filter and <Enter> or <escape> to activate or cancel the filter -# option. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -SEARCHENGINE = YES - -# When the SERVER_BASED_SEARCH tag is enabled the search engine will be -# implemented using a web server instead of a web client using Javascript. There -# are two flavors of web server based searching depending on the EXTERNAL_SEARCH -# setting. When disabled, doxygen will generate a PHP script for searching and -# an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing -# and searching needs to be provided by external tools. See the section -# "External Indexing and Searching" for details. -# The default value is: NO. -# This tag requires that the tag SEARCHENGINE is set to YES. - -SERVER_BASED_SEARCH = NO - -# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP -# script for searching. Instead the search results are written to an XML file -# which needs to be processed by an external indexer. Doxygen will invoke an -# external search engine pointed to by the SEARCHENGINE_URL option to obtain the -# search results. -# -# Doxygen ships with an example indexer (doxyindexer) and search engine -# (doxysearch.cgi) which are based on the open source search engine library -# Xapian (see: https://xapian.org/). -# -# See the section "External Indexing and Searching" for details. -# The default value is: NO. -# This tag requires that the tag SEARCHENGINE is set to YES. - -EXTERNAL_SEARCH = NO - -# The SEARCHENGINE_URL should point to a search engine hosted by a web server -# which will return the search results when EXTERNAL_SEARCH is enabled. -# -# Doxygen ships with an example indexer (doxyindexer) and search engine -# (doxysearch.cgi) which are based on the open source search engine library -# Xapian (see: https://xapian.org/). See the section "External Indexing and -# Searching" for details. -# This tag requires that the tag SEARCHENGINE is set to YES. - -SEARCHENGINE_URL = - -# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed -# search data is written to a file for indexing by an external tool. With the -# SEARCHDATA_FILE tag the name of this file can be specified. -# The default file is: searchdata.xml. -# This tag requires that the tag SEARCHENGINE is set to YES. - -SEARCHDATA_FILE = searchdata.xml - -# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the -# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is -# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple -# projects and redirect the results back to the right project. -# This tag requires that the tag SEARCHENGINE is set to YES. - -EXTERNAL_SEARCH_ID = - -# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen -# projects other than the one defined by this configuration file, but that are -# all added to the same external search index. Each project needs to have a -# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of -# to a relative location where the documentation can be found. The format is: -# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ... -# This tag requires that the tag SEARCHENGINE is set to YES. - -EXTRA_SEARCH_MAPPINGS = - -#--------------------------------------------------------------------------- -# Configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output. -# The default value is: YES. - -GENERATE_LATEX = YES - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: latex. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. -# -# Note that when enabling USE_PDFLATEX this option is only used for generating -# bitmaps for formulas in the HTML output, but not in the Makefile that is -# written to the output directory. -# The default file is: latex. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate -# index for LaTeX. -# The default file is: makeindex. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX -# documents. This may be useful for small projects and may help to save some -# trees in general. -# The default value is: NO. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used by the -# printer. -# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x -# 14 inches) and executive (7.25 x 10.5 inches). -# The default value is: a4. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -PAPER_TYPE = a4 - -# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names -# that should be included in the LaTeX output. The package can be specified just -# by its name or with the correct syntax as to be used with the LaTeX -# \usepackage command. To get the times font for instance you can specify : -# EXTRA_PACKAGES=times or EXTRA_PACKAGES={times} -# To use the option intlimits with the amsmath package you can specify: -# EXTRA_PACKAGES=[intlimits]{amsmath} -# If left blank no extra packages will be included. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the -# generated LaTeX document. The header should contain everything until the first -# chapter. If it is left blank doxygen will generate a standard header. See -# section "Doxygen usage" for information on how to let doxygen write the -# default header to a separate file. -# -# Note: Only use a user-defined header if you know what you are doing! The -# following commands have a special meaning inside the header: $title, -# $datetime, $date, $doxygenversion, $projectname, $projectnumber, -# $projectbrief, $projectlogo. Doxygen will replace $title with the empty -# string, for the replacement values of the other commands the user is referred -# to HTML_HEADER. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_HEADER = - -# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the -# generated LaTeX document. The footer should contain everything after the last -# chapter. If it is left blank doxygen will generate a standard footer. See -# LATEX_HEADER for more information on how to generate a default footer and what -# special commands can be used inside the footer. -# -# Note: Only use a user-defined footer if you know what you are doing! -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_FOOTER = - -# The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined -# LaTeX style sheets that are included after the standard style sheets created -# by doxygen. Using this option one can overrule certain style aspects. Doxygen -# will copy the style sheet files to the output directory. -# Note: The order of the extra style sheet files is of importance (e.g. the last -# style sheet in the list overrules the setting of the previous ones in the -# list). -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_EXTRA_STYLESHEET = - -# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the LATEX_OUTPUT output -# directory. Note that the files will be copied as-is; there are no commands or -# markers available. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_EXTRA_FILES = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is -# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will -# contain links (just like the HTML output) instead of page references. This -# makes the output suitable for online browsing using a PDF viewer. -# The default value is: YES. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -PDF_HYPERLINKS = YES - -# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate -# the PDF file directly from the LaTeX files. Set this option to YES, to get a -# higher quality PDF documentation. -# The default value is: YES. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -USE_PDFLATEX = YES - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode -# command to the generated LaTeX files. This will instruct LaTeX to keep running -# if errors occur, instead of asking the user for help. This option is also used -# when generating formulas in HTML. -# The default value is: NO. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_BATCHMODE = NO - -# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the -# index chapters (such as File Index, Compound Index, etc.) in the output. -# The default value is: NO. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_HIDE_INDICES = NO - -# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source -# code with syntax highlighting in the LaTeX output. -# -# Note that which sources are shown also depends on other settings such as -# SOURCE_BROWSER. -# The default value is: NO. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_SOURCE_CODE = NO - -# The LATEX_BIB_STYLE tag can be used to specify the style to use for the -# bibliography, e.g. plainnat, or ieeetr. See -# https://en.wikipedia.org/wiki/BibTeX and \cite for more info. -# The default value is: plain. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_BIB_STYLE = plain - -# If the LATEX_TIMESTAMP tag is set to YES then the footer of each generated -# page will contain the date and time when the page was generated. Setting this -# to NO can help when comparing the output of multiple runs. -# The default value is: NO. -# This tag requires that the tag GENERATE_LATEX is set to YES. - -LATEX_TIMESTAMP = NO - -#--------------------------------------------------------------------------- -# Configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The -# RTF output is optimized for Word 97 and may not look too pretty with other RTF -# readers/editors. -# The default value is: NO. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: rtf. -# This tag requires that the tag GENERATE_RTF is set to YES. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF -# documents. This may be useful for small projects and may help to save some -# trees in general. -# The default value is: NO. -# This tag requires that the tag GENERATE_RTF is set to YES. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will -# contain hyperlink fields. The RTF file will contain links (just like the HTML -# output) instead of page references. This makes the output suitable for online -# browsing using Word or some other Word compatible readers that support those -# fields. -# -# Note: WordPad (write) and others do not support links. -# The default value is: NO. -# This tag requires that the tag GENERATE_RTF is set to YES. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's config -# file, i.e. a series of assignments. You only have to provide replacements, -# missing definitions are set to their default value. -# -# See also section "Doxygen usage" for information on how to generate the -# default style sheet that doxygen normally uses. -# This tag requires that the tag GENERATE_RTF is set to YES. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an RTF document. Syntax is -# similar to doxygen's config file. A template extensions file can be generated -# using doxygen -e rtf extensionFile. -# This tag requires that the tag GENERATE_RTF is set to YES. - -RTF_EXTENSIONS_FILE = - -# If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code -# with syntax highlighting in the RTF output. -# -# Note that which sources are shown also depends on other settings such as -# SOURCE_BROWSER. -# The default value is: NO. -# This tag requires that the tag GENERATE_RTF is set to YES. - -RTF_SOURCE_CODE = NO - -#--------------------------------------------------------------------------- -# Configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for -# classes and files. -# The default value is: NO. - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. A directory man3 will be created inside the directory specified by -# MAN_OUTPUT. -# The default directory is: man. -# This tag requires that the tag GENERATE_MAN is set to YES. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to the generated -# man pages. In case the manual section does not start with a number, the number -# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is -# optional. -# The default value is: .3. -# This tag requires that the tag GENERATE_MAN is set to YES. - -MAN_EXTENSION = .3 - -# The MAN_SUBDIR tag determines the name of the directory created within -# MAN_OUTPUT in which the man pages are placed. If defaults to man followed by -# MAN_EXTENSION with the initial . removed. -# This tag requires that the tag GENERATE_MAN is set to YES. - -MAN_SUBDIR = - -# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it -# will generate one additional man file for each entity documented in the real -# man page(s). These additional files only source the real man page, but without -# them the man command would be unable to find the correct page. -# The default value is: NO. -# This tag requires that the tag GENERATE_MAN is set to YES. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# Configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that -# captures the structure of the code including all documentation. -# The default value is: NO. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: xml. -# This tag requires that the tag GENERATE_XML is set to YES. - -XML_OUTPUT = xml - -# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program -# listings (including syntax highlighting and cross-referencing information) to -# the XML output. Note that enabling this will significantly increase the size -# of the XML output. -# The default value is: YES. -# This tag requires that the tag GENERATE_XML is set to YES. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# Configuration options related to the DOCBOOK output -#--------------------------------------------------------------------------- - -# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files -# that can be used to generate PDF. -# The default value is: NO. - -GENERATE_DOCBOOK = NO - -# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in -# front of it. -# The default directory is: docbook. -# This tag requires that the tag GENERATE_DOCBOOK is set to YES. - -DOCBOOK_OUTPUT = docbook - -# If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the -# program listings (including syntax highlighting and cross-referencing -# information) to the DOCBOOK output. Note that enabling this will significantly -# increase the size of the DOCBOOK output. -# The default value is: NO. -# This tag requires that the tag GENERATE_DOCBOOK is set to YES. - -DOCBOOK_PROGRAMLISTING = NO - -#--------------------------------------------------------------------------- -# Configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an -# AutoGen Definitions (see http://autogen.sourceforge.net/) file that captures -# the structure of the code including all documentation. Note that this feature -# is still experimental and incomplete at the moment. -# The default value is: NO. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# Configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module -# file that captures the structure of the code including all documentation. -# -# Note that this feature is still experimental and incomplete at the moment. -# The default value is: NO. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary -# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI -# output from the Perl module output. -# The default value is: NO. -# This tag requires that the tag GENERATE_PERLMOD is set to YES. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely -# formatted so it can be parsed by a human reader. This is useful if you want to -# understand what is going on. On the other hand, if this tag is set to NO, the -# size of the Perl module output will be much smaller and Perl will parse it -# just the same. -# The default value is: YES. -# This tag requires that the tag GENERATE_PERLMOD is set to YES. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file are -# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful -# so different doxyrules.make files included by the same Makefile don't -# overwrite each other's variables. -# This tag requires that the tag GENERATE_PERLMOD is set to YES. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all -# C-preprocessor directives found in the sources and include files. -# The default value is: YES. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names -# in the source code. If set to NO, only conditional compilation will be -# performed. Macro expansion can be done in a controlled way by setting -# EXPAND_ONLY_PREDEF to YES. -# The default value is: NO. -# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then -# the macro expansion is limited to the macros specified with the PREDEFINED and -# EXPAND_AS_DEFINED tags. -# The default value is: NO. -# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES, the include files in the -# INCLUDE_PATH will be searched if a #include is found. -# The default value is: YES. -# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by the -# preprocessor. -# This tag requires that the tag SEARCH_INCLUDES is set to YES. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will be -# used. -# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that are -# defined before the preprocessor is started (similar to the -D option of e.g. -# gcc). The argument of the tag is a list of macros of the form: name or -# name=definition (no spaces). If the definition and the "=" are omitted, "=1" -# is assumed. To prevent a macro definition from being undefined via #undef or -# recursively expanded use the := operator instead of the = operator. -# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this -# tag can be used to specify a list of macro names that should be expanded. The -# macro definition that is found in the sources will be used. Use the PREDEFINED -# tag if you want to use a different macro definition that overrules the -# definition found in the source code. -# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will -# remove all references to function-like macros that are alone on a line, have -# an all uppercase name, and do not end with a semicolon. Such function macros -# are typically used for boiler-plate code, and will confuse the parser if not -# removed. -# The default value is: YES. -# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration options related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES tag can be used to specify one or more tag files. For each tag -# file the location of the external documentation should be added. The format of -# a tag file without this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where loc1 and loc2 can be relative or absolute paths or URLs. See the -# section "Linking to external documentation" for more information about the use -# of tag files. -# Note: Each tag file must have a unique name (where the name does NOT include -# the path). If a tag file is not located in the directory in which doxygen is -# run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create a -# tag file that is based on the input files it reads. See section "Linking to -# external documentation" for more information about the usage of tag files. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES, all external class will be listed in -# the class index. If set to NO, only the inherited external classes will be -# listed. -# The default value is: NO. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will be -# listed. -# The default value is: YES. - -EXTERNAL_GROUPS = YES - -# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in -# the related pages index. If set to NO, only the current project's pages will -# be listed. -# The default value is: YES. - -EXTERNAL_PAGES = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of 'which perl'). -# The default file (with absolute path) is: /usr/bin/perl. - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram -# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to -# NO turns the diagrams off. Note that this option also works with HAVE_DOT -# disabled, but it is recommended to install and use dot, since it yields more -# powerful graphs. -# The default value is: YES. - -CLASS_DIAGRAMS = YES - -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see: -# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the -# documentation. The MSCGEN_PATH tag allows you to specify the directory where -# the mscgen tool resides. If left empty the tool is assumed to be found in the -# default search path. - -MSCGEN_PATH = - -# You can include diagrams made with dia in doxygen documentation. Doxygen will -# then run dia to produce the diagram and insert it in the documentation. The -# DIA_PATH tag allows you to specify the directory where the dia binary resides. -# If left empty dia is assumed to be found in the default search path. - -DIA_PATH = - -# If set to YES the inheritance and collaboration graphs will hide inheritance -# and usage relations if the target is undocumented or is not a class. -# The default value is: YES. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz (see: -# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent -# Bell Labs. The other options in this section have no effect if this option is -# set to NO -# The default value is: NO. - -HAVE_DOT = NO - -# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed -# to run in parallel. When set to 0 doxygen will base this on the number of -# processors available in the system. You can set it explicitly to a value -# larger than 0 to get control over the balance between CPU load and processing -# speed. -# Minimum value: 0, maximum value: 32, default value: 0. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_NUM_THREADS = 0 - -# When you want a differently looking font in the dot files that doxygen -# generates you can specify the font name using DOT_FONTNAME. You need to make -# sure dot is able to find the font, which can be done by putting it in a -# standard location or by setting the DOTFONTPATH environment variable or by -# setting DOT_FONTPATH to the directory containing the font. -# The default value is: Helvetica. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_FONTNAME = Helvetica - -# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of -# dot graphs. -# Minimum value: 4, maximum value: 24, default value: 10. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_FONTSIZE = 10 - -# By default doxygen will tell dot to use the default font as specified with -# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set -# the path where dot can find it using this tag. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_FONTPATH = - -# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for -# each documented class showing the direct and indirect inheritance relations. -# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a -# graph for each documented class showing the direct and indirect implementation -# dependencies (inheritance, containment, and class references variables) of the -# class with other documented classes. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -COLLABORATION_GRAPH = YES - -# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for -# groups, showing the direct groups dependencies. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -GROUP_GRAPHS = YES - -# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. -# The default value is: NO. -# This tag requires that the tag HAVE_DOT is set to YES. - -UML_LOOK = NO - -# If the UML_LOOK tag is enabled, the fields and methods are shown inside the -# class node. If there are many fields or methods and many nodes the graph may -# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the -# number of items for each type to make the size more manageable. Set this to 0 -# for no limit. Note that the threshold may be exceeded by 50% before the limit -# is enforced. So when you set the threshold to 10, up to 15 fields may appear, -# but if the number exceeds 15, the total amount of fields shown is limited to -# 10. -# Minimum value: 0, maximum value: 100, default value: 10. -# This tag requires that the tag HAVE_DOT is set to YES. - -UML_LIMIT_NUM_FIELDS = 10 - -# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and -# collaboration graphs will show the relations between templates and their -# instances. -# The default value is: NO. -# This tag requires that the tag HAVE_DOT is set to YES. - -TEMPLATE_RELATIONS = NO - -# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to -# YES then doxygen will generate a graph for each documented file showing the -# direct and indirect include dependencies of the file with other documented -# files. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -INCLUDE_GRAPH = YES - -# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are -# set to YES then doxygen will generate a graph for each documented file showing -# the direct and indirect include dependencies of the file with other documented -# files. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH tag is set to YES then doxygen will generate a call -# dependency graph for every global function or class method. -# -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. Disabling a call graph can be -# accomplished by means of the command \hidecallgraph. -# The default value is: NO. -# This tag requires that the tag HAVE_DOT is set to YES. - -CALL_GRAPH = NO - -# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller -# dependency graph for every global function or class method. -# -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable caller graphs for selected -# functions only using the \callergraph command. Disabling a caller graph can be -# accomplished by means of the command \hidecallergraph. -# The default value is: NO. -# This tag requires that the tag HAVE_DOT is set to YES. - -CALLER_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical -# hierarchy of all classes instead of a textual one. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -GRAPHICAL_HIERARCHY = YES - -# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the -# dependencies a directory has on other directories in a graphical way. The -# dependency relations are determined by the #include relations between the -# files in the directories. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -DIRECTORY_GRAPH = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. For an explanation of the image formats see the section -# output formats in the documentation of the dot tool (Graphviz (see: -# http://www.graphviz.org/)). -# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order -# to make the SVG files visible in IE 9+ (other browsers do not have this -# requirement). -# Possible values are: png, jpg, gif, svg, png:gd, png:gd:gd, png:cairo, -# png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and -# png:gdiplus:gdiplus. -# The default value is: png. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_IMAGE_FORMAT = png - -# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to -# enable generation of interactive SVG images that allow zooming and panning. -# -# Note that this requires a modern browser other than Internet Explorer. Tested -# and working are Firefox, Chrome, Safari, and Opera. -# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make -# the SVG files visible. Older versions of IE do not have SVG support. -# The default value is: NO. -# This tag requires that the tag HAVE_DOT is set to YES. - -INTERACTIVE_SVG = NO - -# The DOT_PATH tag can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found in the path. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the \dotfile -# command). -# This tag requires that the tag HAVE_DOT is set to YES. - -DOTFILE_DIRS = - -# The MSCFILE_DIRS tag can be used to specify one or more directories that -# contain msc files that are included in the documentation (see the \mscfile -# command). - -MSCFILE_DIRS = - -# The DIAFILE_DIRS tag can be used to specify one or more directories that -# contain dia files that are included in the documentation (see the \diafile -# command). - -DIAFILE_DIRS = - -# When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the -# path where java can find the plantuml.jar file. If left blank, it is assumed -# PlantUML is not used or called during a preprocessing step. Doxygen will -# generate a warning when it encounters a \startuml command in this case and -# will not generate output for the diagram. - -PLANTUML_JAR_PATH = - -# When using plantuml, the PLANTUML_CFG_FILE tag can be used to specify a -# configuration file for plantuml. - -PLANTUML_CFG_FILE = - -# When using plantuml, the specified paths are searched for files specified by -# the !include statement in a plantuml block. - -PLANTUML_INCLUDE_PATH = - -# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes -# that will be shown in the graph. If the number of nodes in a graph becomes -# larger than this value, doxygen will truncate the graph, which is visualized -# by representing a node as a red box. Note that doxygen if the number of direct -# children of the root node in a graph is already larger than -# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that -# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. -# Minimum value: 0, maximum value: 10000, default value: 50. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_GRAPH_MAX_NODES = 50 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs -# generated by dot. A depth value of 3 means that only nodes reachable from the -# root by following a path via at most 3 edges will be shown. Nodes that lay -# further from the root node will be omitted. Note that setting this option to 1 -# or 2 may greatly reduce the computation time needed for large code bases. Also -# note that the size of a graph can be further restricted by -# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. -# Minimum value: 0, maximum value: 1000, default value: 0. -# This tag requires that the tag HAVE_DOT is set to YES. - -MAX_DOT_GRAPH_DEPTH = 0 - -# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent -# background. This is disabled by default, because dot on Windows does not seem -# to support this out of the box. -# -# Warning: Depending on the platform used, enabling this option may lead to -# badly anti-aliased labels on the edges of a graph (i.e. they become hard to -# read). -# The default value is: NO. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_TRANSPARENT = NO - -# Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output -# files in one run (i.e. multiple -o and -T options on the command line). This -# makes dot run faster, but since only newer versions of dot (>1.8.10) support -# this, this feature is disabled by default. -# The default value is: NO. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_MULTI_TARGETS = NO - -# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page -# explaining the meaning of the various boxes and arrows in the dot generated -# graphs. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot -# files that are used to generate the various graphs. -# The default value is: YES. -# This tag requires that the tag HAVE_DOT is set to YES. - -DOT_CLEANUP = YES diff --git a/HW1-FA18/bin/.gitignore b/HW1-FA18/bin/.gitignore deleted file mode 100644 index 5db4554ec6c12b2a6a9aea446299108d96f71193..0000000000000000000000000000000000000000 --- a/HW1-FA18/bin/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/.DS_Store -/TestPlan.txt -/chessBoard/ -/chessPieces/ -/chessTests/ -/graphGUI/ -/images/ diff --git a/HW1-FA18/bin/chessBoard/Board.class b/HW1-FA18/bin/chessBoard/Board.class deleted file mode 100644 index a7a1536884fe2402c5e2b18c17bd6b8c6862dec7..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessBoard/Board.class and /dev/null differ diff --git a/HW1-FA18/bin/chessPieces/Bishop.class b/HW1-FA18/bin/chessPieces/Bishop.class deleted file mode 100644 index 8838d1dd4850193b0c4c622db93e3577a6516bd3..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessPieces/Bishop.class and /dev/null differ diff --git a/HW1-FA18/bin/chessPieces/ChessPiece.class b/HW1-FA18/bin/chessPieces/ChessPiece.class deleted file mode 100644 index 6a7e4cd73700c69f9232619933921d74e8e236e3..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessPieces/ChessPiece.class and /dev/null differ diff --git a/HW1-FA18/bin/chessPieces/King.class b/HW1-FA18/bin/chessPieces/King.class deleted file mode 100644 index 51f90a9c832dd3e8168394cab96f12b30b28374e..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessPieces/King.class and /dev/null differ diff --git a/HW1-FA18/bin/chessPieces/Knight.class b/HW1-FA18/bin/chessPieces/Knight.class deleted file mode 100644 index 4c786fd25cd5b053110799ed3b29cfc66de863ee..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessPieces/Knight.class and /dev/null differ diff --git a/HW1-FA18/bin/chessPieces/Pawn.class b/HW1-FA18/bin/chessPieces/Pawn.class deleted file mode 100644 index f5f22511acdba8f2423f5ea78ff026f1cdc57fde..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessPieces/Pawn.class and /dev/null differ diff --git a/HW1-FA18/bin/chessPieces/Queen.class b/HW1-FA18/bin/chessPieces/Queen.class deleted file mode 100644 index ed2f58262614bc405c29aa3a442b8ff8ac4e184e..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessPieces/Queen.class and /dev/null differ diff --git a/HW1-FA18/bin/chessPieces/Rook.class b/HW1-FA18/bin/chessPieces/Rook.class deleted file mode 100644 index 6284b8be1cac42c8441192612ea852a385fc1611..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessPieces/Rook.class and /dev/null differ diff --git a/HW1-FA18/bin/chessTests/BoardTest.class b/HW1-FA18/bin/chessTests/BoardTest.class deleted file mode 100644 index dc6a0dc41b8a9b8a6fd9a84e9d3eb6e5c3657b23..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessTests/BoardTest.class and /dev/null differ diff --git a/HW1-FA18/bin/chessTests/ChessPieceTest.class b/HW1-FA18/bin/chessTests/ChessPieceTest.class deleted file mode 100644 index d1cd0f5d3265522f12a09bb46c8d0ae9e889b3b4..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/chessTests/ChessPieceTest.class and /dev/null differ diff --git a/HW1-FA18/bin/~$stPlan.txt b/HW1-FA18/bin/~$stPlan.txt deleted file mode 100644 index 1bad843320f3e92c8954e5b4444add9393234de9..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/bin/~$stPlan.txt and /dev/null differ diff --git a/HW1-FA18/doxygen b/HW1-FA18/doxygen deleted file mode 100755 index df94f72ce0f23c191ed78fc327f55619accdac78..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/doxygen and /dev/null differ diff --git a/HW1-FA18/html/annotated.html b/HW1-FA18/html/annotated.html deleted file mode 100644 index 459d2267bfd70ddbe109764d5cc6fbd0ce17319b..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/annotated.html +++ /dev/null @@ -1,93 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Class List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -</div><!-- top --> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="header"> - <div class="headertitle"> -<div class="title">Class List</div> </div> -</div><!--header--> -<div class="contents"> -<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory"> -<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory"> -<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacechess_board.html" target="_self">chessBoard</a></td><td class="desc"></td></tr> -<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_board_1_1_board.html" target="_self">Board</a></td><td class="desc"></td></tr> -<tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacechess_pieces.html" target="_self">chessPieces</a></td><td class="desc"></td></tr> -<tr id="row_1_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_bishop.html" target="_self">Bishop</a></td><td class="desc"></td></tr> -<tr id="row_1_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_chess_piece.html" target="_self">ChessPiece</a></td><td class="desc"></td></tr> -<tr id="row_1_2_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_king.html" target="_self">King</a></td><td class="desc"></td></tr> -<tr id="row_1_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_knight.html" target="_self">Knight</a></td><td class="desc"></td></tr> -<tr id="row_1_4_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_pawn.html" target="_self">Pawn</a></td><td class="desc"></td></tr> -<tr id="row_1_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_queen.html" target="_self">Queen</a></td><td class="desc"></td></tr> -<tr id="row_1_6_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_rook.html" target="_self">Rook</a></td><td class="desc"></td></tr> -<tr id="row_2_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">▼</span><span class="icona"><span class="icon">N</span></span><b>chessTests</b></td><td class="desc"></td></tr> -<tr id="row_2_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_tests_1_1_board_test.html" target="_self">BoardTest</a></td><td class="desc"></td></tr> -<tr id="row_2_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_tests_1_1_chess_piece_test.html" target="_self">ChessPieceTest</a></td><td class="desc"></td></tr> -</table> -</div><!-- directory --> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/bc_s.png b/HW1-FA18/html/bc_s.png deleted file mode 100644 index 224b29aa9847d5a4b3902efd602b7ddf7d33e6c2..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/bc_s.png and /dev/null differ diff --git a/HW1-FA18/html/bdwn.png b/HW1-FA18/html/bdwn.png deleted file mode 100644 index 940a0b950443a0bb1b216ac03c45b8a16c955452..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/bdwn.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_board_1_1_board-members.html b/HW1-FA18/html/classchess_board_1_1_board-members.html deleted file mode 100644 index 16e052de983f9df92135b8d798c2e4e032d3ef8e..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_board_1_1_board-members.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_board.html">chessBoard</a></li><li class="navelem"><a class="el" href="classchess_board_1_1_board.html">Board</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessBoard.Board Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a>, including all inherited members.</p> -<table class="directory"> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a22f4b93edd9167eba25213c376b76680">Board</a>()</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a3c97c91ad60e17a9196663827fe9ab5e">checkmate</a>()</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a05ebc940fda9817b0c2b5cb5c8e8347b">checkmateHelper</a>(int player)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a4745d2421ba288848cd4da8a741460db">getCurrentTurn</a>()</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#afe038863a9781eab41467b56df5a9096">getKing</a>(int player)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a482a8501881ed63644b25982142583d5">getKingPosition</a>(int player)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a57f78442bc647f610e70f17acbf043be">getOpponentPieces</a>(int player)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a5fd4e61f4d95df2ee8979f1c39310ce7">getPieceAt</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a1d0bace033689da532b49ab02320bdbe">isInBoard</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">static</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a1a53c8899843ff4409c0ce0e6ec35900">isInCheck</a>(int player)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a4382ed91c48a316d631bcb709ab1c7f0">killPiece</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a019a1d66626479f7fec15530b370cbed">moveHelper</a>(ChessPiece chessPiece, int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a43c19164ee867e4922c5460bd3a1cfd5">moveTo</a>(ChessPiece chessPiece, int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a7c10a7ed99a1a761b1d4ae3ec51c22c2">setTurn</a>(int turn)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>SIZE</b> (defined in <a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a>)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>turn</b> (defined in <a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a>)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_board_1_1_board.html#a601235f2aec8c70c1e620b26d096ab8a">validMoveFilter</a>(int player, ChessPiece chessPiece)</td><td class="entry"><a class="el" href="classchess_board_1_1_board.html">chessBoard.Board</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_board_1_1_board.html b/HW1-FA18/html/classchess_board_1_1_board.html deleted file mode 100644 index 6016bd59031e8cdc7b849e4e35302138f541d2df..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_board_1_1_board.html +++ /dev/null @@ -1,693 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessBoard.Board Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_board.html">chessBoard</a></li><li class="navelem"><a class="el" href="classchess_board_1_1_board.html">Board</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pub-static-methods">Static Public Member Functions</a> | -<a href="#pub-static-attribs">Static Public Attributes</a> | -<a href="#pro-methods">Protected Member Functions</a> | -<a href="#pro-attribs">Protected Attributes</a> | -<a href="classchess_board_1_1_board-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessBoard.Board Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a22f4b93edd9167eba25213c376b76680"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a22f4b93edd9167eba25213c376b76680">Board</a> ()</td></tr> -<tr class="separator:a22f4b93edd9167eba25213c376b76680"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a43c19164ee867e4922c5460bd3a1cfd5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a43c19164ee867e4922c5460bd3a1cfd5">moveTo</a> (<a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> chessPiece, int row_position, int col_position)</td></tr> -<tr class="separator:a43c19164ee867e4922c5460bd3a1cfd5"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a4382ed91c48a316d631bcb709ab1c7f0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a4382ed91c48a316d631bcb709ab1c7f0">killPiece</a> (int row_position, int col_position)</td></tr> -<tr class="separator:a4382ed91c48a316d631bcb709ab1c7f0"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1a53c8899843ff4409c0ce0e6ec35900"><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a1a53c8899843ff4409c0ce0e6ec35900">isInCheck</a> (int player)</td></tr> -<tr class="separator:a1a53c8899843ff4409c0ce0e6ec35900"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a3c97c91ad60e17a9196663827fe9ab5e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a3c97c91ad60e17a9196663827fe9ab5e">checkmate</a> ()</td></tr> -<tr class="separator:a3c97c91ad60e17a9196663827fe9ab5e"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a05ebc940fda9817b0c2b5cb5c8e8347b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a05ebc940fda9817b0c2b5cb5c8e8347b">checkmateHelper</a> (int player)</td></tr> -<tr class="separator:a05ebc940fda9817b0c2b5cb5c8e8347b"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fd4e61f4d95df2ee8979f1c39310ce7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a5fd4e61f4d95df2ee8979f1c39310ce7">getPieceAt</a> (int row_position, int col_position)</td></tr> -<tr class="separator:a5fd4e61f4d95df2ee8979f1c39310ce7"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a482a8501881ed63644b25982142583d5"><td class="memItemLeft" align="right" valign="top">int [] </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a482a8501881ed63644b25982142583d5">getKingPosition</a> (int player)</td></tr> -<tr class="separator:a482a8501881ed63644b25982142583d5"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:afe038863a9781eab41467b56df5a9096"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#afe038863a9781eab41467b56df5a9096">getKing</a> (int player)</td></tr> -<tr class="separator:afe038863a9781eab41467b56df5a9096"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a57f78442bc647f610e70f17acbf043be"><td class="memItemLeft" align="right" valign="top">ArrayList< <a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a57f78442bc647f610e70f17acbf043be">getOpponentPieces</a> (int player)</td></tr> -<tr class="separator:a57f78442bc647f610e70f17acbf043be"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a601235f2aec8c70c1e620b26d096ab8a"><td class="memItemLeft" align="right" valign="top">ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a601235f2aec8c70c1e620b26d096ab8a">validMoveFilter</a> (int player, <a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> chessPiece)</td></tr> -<tr class="separator:a601235f2aec8c70c1e620b26d096ab8a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a4745d2421ba288848cd4da8a741460db"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a4745d2421ba288848cd4da8a741460db">getCurrentTurn</a> ()</td></tr> -<tr class="separator:a4745d2421ba288848cd4da8a741460db"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7c10a7ed99a1a761b1d4ae3ec51c22c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a7c10a7ed99a1a761b1d4ae3ec51c22c2">setTurn</a> (int turn)</td></tr> -<tr class="separator:a7c10a7ed99a1a761b1d4ae3ec51c22c2"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> -Static Public Member Functions</h2></td></tr> -<tr class="memitem:a1d0bace033689da532b49ab02320bdbe"><td class="memItemLeft" align="right" valign="top">static boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a1d0bace033689da532b49ab02320bdbe">isInBoard</a> (int row_position, int col_position)</td></tr> -<tr class="separator:a1d0bace033689da532b49ab02320bdbe"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a> -Static Public Attributes</h2></td></tr> -<tr class="memitem:ac194b1580b1151ad7be0c690cbca85b5"><td class="memItemLeft" align="right" valign="top"><a id="ac194b1580b1151ad7be0c690cbca85b5"></a> -static int </td><td class="memItemRight" valign="bottom"><b>SIZE</b> = 8</td></tr> -<tr class="separator:ac194b1580b1151ad7be0c690cbca85b5"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> -Protected Member Functions</h2></td></tr> -<tr class="memitem:a019a1d66626479f7fec15530b370cbed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html#a019a1d66626479f7fec15530b370cbed">moveHelper</a> (<a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> chessPiece, int row_position, int col_position)</td></tr> -<tr class="separator:a019a1d66626479f7fec15530b370cbed"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> -Protected Attributes</h2></td></tr> -<tr class="memitem:a9b2f1ae54d27d33c8083514c0f5a96a8"><td class="memItemLeft" align="right" valign="top"><a id="a9b2f1ae54d27d33c8083514c0f5a96a8"></a> -int </td><td class="memItemRight" valign="bottom"><b>turn</b> = 0</td></tr> -<tr class="separator:a9b2f1ae54d27d33c8083514c0f5a96a8"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Constructor & Destructor Documentation</h2> -<a id="a22f4b93edd9167eba25213c376b76680"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a22f4b93edd9167eba25213c376b76680">◆ </a></span>Board()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">chessBoard.Board.Board </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p><a class="el" href="classchess_board_1_1_board.html">Board</a> constructor: initialize all <a class="el" href="namespacechess_pieces.html">chessPieces</a> for both players. </p> - -</div> -</div> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="a3c97c91ad60e17a9196663827fe9ab5e"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a3c97c91ad60e17a9196663827fe9ab5e">◆ </a></span>checkmate()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">int chessBoard.Board.checkmate </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>If the games ends, then returns the winner, else returns -1. This function uses a helper function: checkmateHelper. </p><dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="a05ebc940fda9817b0c2b5cb5c8e8347b"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a05ebc940fda9817b0c2b5cb5c8e8347b">◆ </a></span>checkmateHelper()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">int chessBoard.Board.checkmateHelper </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>player</em></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Helper function: This function decides whether there's no legalMoves possible for king w.r.t input player. If none is left, end game, print and return winner. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">player</td><td></td></tr> - </table> - </dd> -</dl> -<dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="a4745d2421ba288848cd4da8a741460db"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a4745d2421ba288848cd4da8a741460db">◆ </a></span>getCurrentTurn()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">int chessBoard.Board.getCurrentTurn </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>For game to use. </p><dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="afe038863a9781eab41467b56df5a9096"></a> -<h2 class="memtitle"><span class="permalink"><a href="#afe038863a9781eab41467b56df5a9096">◆ </a></span>getKing()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> chessBoard.Board.getKing </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>player</em></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Helper function: return the whole king piece w.r.t a player. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">player</td><td></td></tr> - </table> - </dd> -</dl> -<dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="a482a8501881ed63644b25982142583d5"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a482a8501881ed63644b25982142583d5">◆ </a></span>getKingPosition()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">int [] chessBoard.Board.getKingPosition </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>player</em></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Helper function: return King location of an input player. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">player</td><td></td></tr> - </table> - </dd> -</dl> -<dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="a57f78442bc647f610e70f17acbf043be"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a57f78442bc647f610e70f17acbf043be">◆ </a></span>getOpponentPieces()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">ArrayList<<a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a>> chessBoard.Board.getOpponentPieces </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>player</em></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Helper function: With respect to current player, get all its alive opponent pieces in an array. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">player</td><td></td></tr> - </table> - </dd> -</dl> -<dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="a5fd4e61f4d95df2ee8979f1c39310ce7"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a5fd4e61f4d95df2ee8979f1c39310ce7">◆ </a></span>getPieceAt()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> chessBoard.Board.getPieceAt </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Helper function: return a chessPiece at an input location </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">row_position</td><td></td></tr> - <tr><td class="paramname">col_position</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<a id="a1d0bace033689da532b49ab02320bdbe"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a1d0bace033689da532b49ab02320bdbe">◆ </a></span>isInBoard()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">static boolean chessBoard.Board.isInBoard </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>This functions checks if an input location satisfies board boundaries. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">row_position</td><td></td></tr> - <tr><td class="paramname">col_position</td><td></td></tr> - </table> - </dd> -</dl> -<dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="a1a53c8899843ff4409c0ce0e6ec35900"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a1a53c8899843ff4409c0ce0e6ec35900">◆ </a></span>isInCheck()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">boolean chessBoard.Board.isInCheck </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>player</em></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Check if king of an input player is putting in check. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">player</td><td></td></tr> - </table> - </dd> -</dl> -<dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="a4382ed91c48a316d631bcb709ab1c7f0"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a4382ed91c48a316d631bcb709ab1c7f0">◆ </a></span>killPiece()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessBoard.Board.killPiece </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>This function removes a piece from board, and update board </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">row_position</td><td></td></tr> - <tr><td class="paramname">col_position</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<a id="a019a1d66626479f7fec15530b370cbed"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a019a1d66626479f7fec15530b370cbed">◆ </a></span>moveHelper()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessBoard.Board.moveHelper </td> - <td>(</td> - <td class="paramtype"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> </td> - <td class="paramname"><em>chessPiece</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>This is the helper function to directly move one piece to a place in the board, including updating the board and the living chessPiece. It doesn't check any conditions, and it should NOT be used outside this class. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">chessPiece</td><td></td></tr> - <tr><td class="paramname">row_position</td><td></td></tr> - <tr><td class="paramname">col_position</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<a id="a43c19164ee867e4922c5460bd3a1cfd5"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a43c19164ee867e4922c5460bd3a1cfd5">◆ </a></span>moveTo()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessBoard.Board.moveTo </td> - <td>(</td> - <td class="paramtype"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> </td> - <td class="paramname"><em>chessPiece</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>This function updates board and related <a class="el" href="namespacechess_pieces.html">chessPieces</a> if a player moves one chess piece. Includes a helper function </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">chessPiece</td><td></td></tr> - <tr><td class="paramname">row_position</td><td></td></tr> - <tr><td class="paramname">col_position</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<a id="a7c10a7ed99a1a761b1d4ae3ec51c22c2"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a7c10a7ed99a1a761b1d4ae3ec51c22c2">◆ </a></span>setTurn()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessBoard.Board.setTurn </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>turn</em></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Update turn of a game. For game to use. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">turn</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<a id="a601235f2aec8c70c1e620b26d096ab8a"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a601235f2aec8c70c1e620b26d096ab8a">◆ </a></span>validMoveFilter()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">ArrayList<int[]> chessBoard.Board.validMoveFilter </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>player</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> </td> - <td class="paramname"><em>chessPiece</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Helper function: make sure one won't capture its own piece. Restricting valid movements to empty spaces and opponent capturing. </p><dl class="params"><dt>Parameters</dt><dd> - <table class="params"> - <tr><td class="paramname">player</td><td></td></tr> - <tr><td class="paramname">chessPiece</td><td></td></tr> - </table> - </dd> -</dl> -<dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessBoard/Board.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_bishop-members.html b/HW1-FA18/html/classchess_pieces_1_1_bishop-members.html deleted file mode 100644 index 302ee7e52df7f92993431afec5b3312e766a5485..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_bishop-members.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_bishop.html">Bishop</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces.Bishop Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_pieces_1_1_bishop.html">chessPieces.Bishop</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Bishop</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_bishop.html">chessPieces.Bishop</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_bishop.html">chessPieces.Bishop</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>captured</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_bishop.html#a89a7baed811029b61bb663b9ef271474">checkRule</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_bishop.html">chessPieces.Bishop</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>ChessPiece</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>col_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getColPosition</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getNextPossiblePositions</b>() (defined in <a class="el" href="classchess_pieces_1_1_bishop.html">chessPieces.Bishop</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_bishop.html">chessPieces.Bishop</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getPlayer</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getType</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isCaptured</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>player</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>row_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setColPosition</b>(int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setRowPosition</b>(int row_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>type</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_bishop.html b/HW1-FA18/html/classchess_pieces_1_1_bishop.html deleted file mode 100644 index 0e29df889712c40d52f48a418dc0a1edc5b20e5d..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_bishop.html +++ /dev/null @@ -1,196 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessPieces.Bishop Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_bishop.html">Bishop</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_pieces_1_1_bishop-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessPieces.Bishop Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for chessPieces.Bishop:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classchess_pieces_1_1_bishop.png" usemap="#chessPieces.Bishop_map" alt=""/> - <map id="chessPieces.Bishop_map" name="chessPieces.Bishop_map"> -<area href="classchess_pieces_1_1_chess_piece.html" alt="chessPieces.ChessPiece" shape="rect" coords="0,0,154,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a80d1eedc936b42223cafbf2c5609e3e7"><td class="memItemLeft" align="right" valign="top"><a id="a80d1eedc936b42223cafbf2c5609e3e7"></a> - </td><td class="memItemRight" valign="bottom"><b>Bishop</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:a80d1eedc936b42223cafbf2c5609e3e7"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a89a7baed811029b61bb663b9ef271474"><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_bishop.html#a89a7baed811029b61bb663b9ef271474">checkRule</a> (int row_position, int col_position)</td></tr> -<tr class="separator:a89a7baed811029b61bb663b9ef271474"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a34188f2818defb6f4526cecb8db9c95d"><td class="memItemLeft" align="right" valign="top"><a id="a34188f2818defb6f4526cecb8db9c95d"></a> -ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a34188f2818defb6f4526cecb8db9c95d"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aca9847a8487ec0e5382d2a16b1ba115a"></a> - </td><td class="memItemRight" valign="bottom"><b>ChessPiece</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a> ()</td></tr> -<tr class="separator:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a1956c711fd808c82de9673b45dd5a9cd"></a> -int </td><td class="memItemRight" valign="bottom"><b>getColPosition</b> ()</td></tr> -<tr class="separator:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="ab14e487054a20fafd97fca6c5e3f06e5"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>isCaptured</b> ()</td></tr> -<tr class="separator:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a349d8c91b640666f3d8d912430171f4e"></a> -int </td><td class="memItemRight" valign="bottom"><b>getPlayer</b> ()</td></tr> -<tr class="separator:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aaf1b9d2f203e4eec67195c7c66e2eaea"></a> -void </td><td class="memItemRight" valign="bottom"><b>setRowPosition</b> (int row_position)</td></tr> -<tr class="separator:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a5fffc3e3ab3352f294f3f73c396e9c1d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColPosition</b> (int col_position)</td></tr> -<tr class="separator:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a> ()</td></tr> -<tr class="separator:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a9fc2e36cd7ff61ab2f51e03c4f181140"></a> -char </td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr> -<tr class="separator:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8c8db5834e2d3e395031c9c79a39828f"></a> -abstract boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8df3b13a52055cb3a6cb94014067364e"></a> -abstract ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a3075cf14a9ea3e96f9905e1e8e4736ba"></a> -int </td><td class="memItemRight" valign="bottom"><b>player</b></td></tr> -<tr class="separator:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a404216f935e88109beded323b7169a52"></a> -char </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> -<tr class="separator:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aec89844c211ec5e857ea388f93dec641"></a> -int </td><td class="memItemRight" valign="bottom"><b>row_position</b></td></tr> -<tr class="separator:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a7e810e133e206583f8242db0f6bc75dc"></a> -int </td><td class="memItemRight" valign="bottom"><b>col_position</b></td></tr> -<tr class="separator:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a790010a9ec1e5408151a241ad7fbac40"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>captured</b></td></tr> -<tr class="separator:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="a89a7baed811029b61bb663b9ef271474"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a89a7baed811029b61bb663b9ef271474">◆ </a></span>checkRule()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">boolean chessPieces.Bishop.checkRule </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p><a class="el" href="classchess_pieces_1_1_bishop.html">Bishop</a> only moves diagonally. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessPieces/Bishop.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_bishop.png b/HW1-FA18/html/classchess_pieces_1_1_bishop.png deleted file mode 100644 index 6c30151ae6e7bad233d0d3fd390215a4ee91bf21..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/classchess_pieces_1_1_bishop.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_pieces_1_1_chess_piece-members.html b/HW1-FA18/html/classchess_pieces_1_1_chess_piece-members.html deleted file mode 100644 index 699a0b34b1308d21d050eb7df7d5858bce27b3f5..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_chess_piece-members.html +++ /dev/null @@ -1,99 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces.ChessPiece Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>captured</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>checkRule</b>(int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ChessPiece</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>col_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getColPosition</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getNextPossiblePositions</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getPlayer</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getType</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>isCaptured</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>player</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>row_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setColPosition</b>(int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setRowPosition</b>(int row_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>type</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_chess_piece.html b/HW1-FA18/html/classchess_pieces_1_1_chess_piece.html deleted file mode 100644 index 479dda8f49d943d665a47adbd3f4c35ec6fcb79f..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_chess_piece.html +++ /dev/null @@ -1,207 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessPieces.ChessPiece Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="#pro-attribs">Protected Attributes</a> | -<a href="classchess_pieces_1_1_chess_piece-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessPieces.ChessPiece Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for chessPieces.ChessPiece:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classchess_pieces_1_1_chess_piece.png" usemap="#chessPieces.ChessPiece_map" alt=""/> - <map id="chessPieces.ChessPiece_map" name="chessPieces.ChessPiece_map"> -<area href="classchess_pieces_1_1_bishop.html" alt="chessPieces.Bishop" shape="rect" coords="0,56,154,80"/> -<area href="classchess_pieces_1_1_king.html" alt="chessPieces.King" shape="rect" coords="164,56,318,80"/> -<area href="classchess_pieces_1_1_knight.html" alt="chessPieces.Knight" shape="rect" coords="328,56,482,80"/> -<area href="classchess_pieces_1_1_pawn.html" alt="chessPieces.Pawn" shape="rect" coords="492,56,646,80"/> -<area href="classchess_pieces_1_1_queen.html" alt="chessPieces.Queen" shape="rect" coords="656,56,810,80"/> -<area href="classchess_pieces_1_1_rook.html" alt="chessPieces.Rook" shape="rect" coords="820,56,974,80"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:aca9847a8487ec0e5382d2a16b1ba115a"><td class="memItemLeft" align="right" valign="top"><a id="aca9847a8487ec0e5382d2a16b1ba115a"></a> - </td><td class="memItemRight" valign="bottom"><b>ChessPiece</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aca9847a8487ec0e5382d2a16b1ba115a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abdb413c34996697a8852d8026348a870"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a> ()</td></tr> -<tr class="separator:abdb413c34996697a8852d8026348a870"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1956c711fd808c82de9673b45dd5a9cd"><td class="memItemLeft" align="right" valign="top"><a id="a1956c711fd808c82de9673b45dd5a9cd"></a> -int </td><td class="memItemRight" valign="bottom"><b>getColPosition</b> ()</td></tr> -<tr class="separator:a1956c711fd808c82de9673b45dd5a9cd"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab14e487054a20fafd97fca6c5e3f06e5"><td class="memItemLeft" align="right" valign="top"><a id="ab14e487054a20fafd97fca6c5e3f06e5"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>isCaptured</b> ()</td></tr> -<tr class="separator:ab14e487054a20fafd97fca6c5e3f06e5"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a349d8c91b640666f3d8d912430171f4e"><td class="memItemLeft" align="right" valign="top"><a id="a349d8c91b640666f3d8d912430171f4e"></a> -int </td><td class="memItemRight" valign="bottom"><b>getPlayer</b> ()</td></tr> -<tr class="separator:a349d8c91b640666f3d8d912430171f4e"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaf1b9d2f203e4eec67195c7c66e2eaea"><td class="memItemLeft" align="right" valign="top"><a id="aaf1b9d2f203e4eec67195c7c66e2eaea"></a> -void </td><td class="memItemRight" valign="bottom"><b>setRowPosition</b> (int row_position)</td></tr> -<tr class="separator:aaf1b9d2f203e4eec67195c7c66e2eaea"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fffc3e3ab3352f294f3f73c396e9c1d"><td class="memItemLeft" align="right" valign="top"><a id="a5fffc3e3ab3352f294f3f73c396e9c1d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColPosition</b> (int col_position)</td></tr> -<tr class="separator:a5fffc3e3ab3352f294f3f73c396e9c1d"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af63e8b2920952a98025eb84dfc44c675"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a> ()</td></tr> -<tr class="separator:af63e8b2920952a98025eb84dfc44c675"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9fc2e36cd7ff61ab2f51e03c4f181140"><td class="memItemLeft" align="right" valign="top"><a id="a9fc2e36cd7ff61ab2f51e03c4f181140"></a> -char </td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr> -<tr class="separator:a9fc2e36cd7ff61ab2f51e03c4f181140"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8c8db5834e2d3e395031c9c79a39828f"><td class="memItemLeft" align="right" valign="top"><a id="a8c8db5834e2d3e395031c9c79a39828f"></a> -abstract boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a8c8db5834e2d3e395031c9c79a39828f"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8df3b13a52055cb3a6cb94014067364e"><td class="memItemLeft" align="right" valign="top"><a id="a8df3b13a52055cb3a6cb94014067364e"></a> -abstract ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a8df3b13a52055cb3a6cb94014067364e"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> -Protected Attributes</h2></td></tr> -<tr class="memitem:a3075cf14a9ea3e96f9905e1e8e4736ba"><td class="memItemLeft" align="right" valign="top"><a id="a3075cf14a9ea3e96f9905e1e8e4736ba"></a> -int </td><td class="memItemRight" valign="bottom"><b>player</b></td></tr> -<tr class="separator:a3075cf14a9ea3e96f9905e1e8e4736ba"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a404216f935e88109beded323b7169a52"><td class="memItemLeft" align="right" valign="top"><a id="a404216f935e88109beded323b7169a52"></a> -char </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> -<tr class="separator:a404216f935e88109beded323b7169a52"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aec89844c211ec5e857ea388f93dec641"><td class="memItemLeft" align="right" valign="top"><a id="aec89844c211ec5e857ea388f93dec641"></a> -int </td><td class="memItemRight" valign="bottom"><b>row_position</b></td></tr> -<tr class="separator:aec89844c211ec5e857ea388f93dec641"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7e810e133e206583f8242db0f6bc75dc"><td class="memItemLeft" align="right" valign="top"><a id="a7e810e133e206583f8242db0f6bc75dc"></a> -int </td><td class="memItemRight" valign="bottom"><b>col_position</b></td></tr> -<tr class="separator:a7e810e133e206583f8242db0f6bc75dc"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790010a9ec1e5408151a241ad7fbac40"><td class="memItemLeft" align="right" valign="top"><a id="a790010a9ec1e5408151a241ad7fbac40"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>captured</b></td></tr> -<tr class="separator:a790010a9ec1e5408151a241ad7fbac40"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="abdb413c34996697a8852d8026348a870"></a> -<h2 class="memtitle"><span class="permalink"><a href="#abdb413c34996697a8852d8026348a870">◆ </a></span>getRowPosition()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">int chessPieces.ChessPiece.getRowPosition </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Protected method for other classes to use </p><dl class="section return"><dt>Returns</dt><dd></dd></dl> - -</div> -</div> -<a id="af63e8b2920952a98025eb84dfc44c675"></a> -<h2 class="memtitle"><span class="permalink"><a href="#af63e8b2920952a98025eb84dfc44c675">◆ </a></span>killed()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessPieces.ChessPiece.killed </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>When this chess piece is captured, delete it from the board. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessPieces/ChessPiece.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_chess_piece.png b/HW1-FA18/html/classchess_pieces_1_1_chess_piece.png deleted file mode 100644 index 9b97e7e3235528d43328361558f7fbeb223211a2..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/classchess_pieces_1_1_chess_piece.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_pieces_1_1_king-members.html b/HW1-FA18/html/classchess_pieces_1_1_king-members.html deleted file mode 100644 index 06712ca2cab3d13d81d6fd230a5ca1bfee2f379a..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_king-members.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_king.html">King</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces.King Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_pieces_1_1_king.html">chessPieces.King</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>captured</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_king.html#ac456b043dee627335edfc6ca452f8e61">checkRule</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_king.html">chessPieces.King</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ChessPiece</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>col_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getColPosition</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getNextPossiblePositions</b>() (defined in <a class="el" href="classchess_pieces_1_1_king.html">chessPieces.King</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_king.html">chessPieces.King</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getPlayer</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getType</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>isCaptured</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>King</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_king.html">chessPieces.King</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_king.html">chessPieces.King</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>player</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>row_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setColPosition</b>(int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setRowPosition</b>(int row_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>type</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_king.html b/HW1-FA18/html/classchess_pieces_1_1_king.html deleted file mode 100644 index d1e89a58f168b6a1a25b2f0295b165157f04260f..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_king.html +++ /dev/null @@ -1,196 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessPieces.King Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_king.html">King</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_pieces_1_1_king-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessPieces.King Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for chessPieces.King:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classchess_pieces_1_1_king.png" usemap="#chessPieces.King_map" alt=""/> - <map id="chessPieces.King_map" name="chessPieces.King_map"> -<area href="classchess_pieces_1_1_chess_piece.html" alt="chessPieces.ChessPiece" shape="rect" coords="0,0,154,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:aec073c9a8ef35dd9389dc870d106c816"><td class="memItemLeft" align="right" valign="top"><a id="aec073c9a8ef35dd9389dc870d106c816"></a> - </td><td class="memItemRight" valign="bottom"><b>King</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aec073c9a8ef35dd9389dc870d106c816"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac456b043dee627335edfc6ca452f8e61"><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_king.html#ac456b043dee627335edfc6ca452f8e61">checkRule</a> (int row_position, int col_position)</td></tr> -<tr class="separator:ac456b043dee627335edfc6ca452f8e61"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad55b71d967b779c91d9d6b92b0216745"><td class="memItemLeft" align="right" valign="top"><a id="ad55b71d967b779c91d9d6b92b0216745"></a> -ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:ad55b71d967b779c91d9d6b92b0216745"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aca9847a8487ec0e5382d2a16b1ba115a"></a> - </td><td class="memItemRight" valign="bottom"><b>ChessPiece</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a> ()</td></tr> -<tr class="separator:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a1956c711fd808c82de9673b45dd5a9cd"></a> -int </td><td class="memItemRight" valign="bottom"><b>getColPosition</b> ()</td></tr> -<tr class="separator:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="ab14e487054a20fafd97fca6c5e3f06e5"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>isCaptured</b> ()</td></tr> -<tr class="separator:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a349d8c91b640666f3d8d912430171f4e"></a> -int </td><td class="memItemRight" valign="bottom"><b>getPlayer</b> ()</td></tr> -<tr class="separator:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aaf1b9d2f203e4eec67195c7c66e2eaea"></a> -void </td><td class="memItemRight" valign="bottom"><b>setRowPosition</b> (int row_position)</td></tr> -<tr class="separator:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a5fffc3e3ab3352f294f3f73c396e9c1d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColPosition</b> (int col_position)</td></tr> -<tr class="separator:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a> ()</td></tr> -<tr class="separator:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a9fc2e36cd7ff61ab2f51e03c4f181140"></a> -char </td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr> -<tr class="separator:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8c8db5834e2d3e395031c9c79a39828f"></a> -abstract boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8df3b13a52055cb3a6cb94014067364e"></a> -abstract ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a3075cf14a9ea3e96f9905e1e8e4736ba"></a> -int </td><td class="memItemRight" valign="bottom"><b>player</b></td></tr> -<tr class="separator:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a404216f935e88109beded323b7169a52"></a> -char </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> -<tr class="separator:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aec89844c211ec5e857ea388f93dec641"></a> -int </td><td class="memItemRight" valign="bottom"><b>row_position</b></td></tr> -<tr class="separator:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a7e810e133e206583f8242db0f6bc75dc"></a> -int </td><td class="memItemRight" valign="bottom"><b>col_position</b></td></tr> -<tr class="separator:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a790010a9ec1e5408151a241ad7fbac40"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>captured</b></td></tr> -<tr class="separator:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="ac456b043dee627335edfc6ca452f8e61"></a> -<h2 class="memtitle"><span class="permalink"><a href="#ac456b043dee627335edfc6ca452f8e61">◆ </a></span>checkRule()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">boolean chessPieces.King.checkRule </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p><a class="el" href="classchess_pieces_1_1_king.html">King</a> moves 1 step to any direction. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessPieces/King.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_king.png b/HW1-FA18/html/classchess_pieces_1_1_king.png deleted file mode 100644 index 591402f7d6446594c33a18465b51fa5892b8c8e8..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/classchess_pieces_1_1_king.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_pieces_1_1_knight-members.html b/HW1-FA18/html/classchess_pieces_1_1_knight-members.html deleted file mode 100644 index 355bc6f85a1937cd9d6ad15274447d805eb21bc5..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_knight-members.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_knight.html">Knight</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces.Knight Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_pieces_1_1_knight.html">chessPieces.Knight</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>captured</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_knight.html#a6128f7b61750e3f5598af558950e8176">checkRule</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_knight.html">chessPieces.Knight</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ChessPiece</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>col_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getColPosition</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getNextPossiblePositions</b>() (defined in <a class="el" href="classchess_pieces_1_1_knight.html">chessPieces.Knight</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_knight.html">chessPieces.Knight</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getPlayer</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getType</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>isCaptured</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Knight</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_knight.html">chessPieces.Knight</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_knight.html">chessPieces.Knight</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>player</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>row_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setColPosition</b>(int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setRowPosition</b>(int row_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>type</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_knight.html b/HW1-FA18/html/classchess_pieces_1_1_knight.html deleted file mode 100644 index c43ba6d2fe6d7a9bf70dcb4bcf47dd1a42e95ec3..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_knight.html +++ /dev/null @@ -1,196 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessPieces.Knight Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_knight.html">Knight</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_pieces_1_1_knight-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessPieces.Knight Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for chessPieces.Knight:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classchess_pieces_1_1_knight.png" usemap="#chessPieces.Knight_map" alt=""/> - <map id="chessPieces.Knight_map" name="chessPieces.Knight_map"> -<area href="classchess_pieces_1_1_chess_piece.html" alt="chessPieces.ChessPiece" shape="rect" coords="0,0,154,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a9dc437f36433968144f3331cfbb870ac"><td class="memItemLeft" align="right" valign="top"><a id="a9dc437f36433968144f3331cfbb870ac"></a> - </td><td class="memItemRight" valign="bottom"><b>Knight</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:a9dc437f36433968144f3331cfbb870ac"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a6128f7b61750e3f5598af558950e8176"><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_knight.html#a6128f7b61750e3f5598af558950e8176">checkRule</a> (int row_position, int col_position)</td></tr> -<tr class="separator:a6128f7b61750e3f5598af558950e8176"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a962f4c0e3975950d713d984cc05db72b"><td class="memItemLeft" align="right" valign="top"><a id="a962f4c0e3975950d713d984cc05db72b"></a> -ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a962f4c0e3975950d713d984cc05db72b"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aca9847a8487ec0e5382d2a16b1ba115a"></a> - </td><td class="memItemRight" valign="bottom"><b>ChessPiece</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a> ()</td></tr> -<tr class="separator:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a1956c711fd808c82de9673b45dd5a9cd"></a> -int </td><td class="memItemRight" valign="bottom"><b>getColPosition</b> ()</td></tr> -<tr class="separator:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="ab14e487054a20fafd97fca6c5e3f06e5"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>isCaptured</b> ()</td></tr> -<tr class="separator:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a349d8c91b640666f3d8d912430171f4e"></a> -int </td><td class="memItemRight" valign="bottom"><b>getPlayer</b> ()</td></tr> -<tr class="separator:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aaf1b9d2f203e4eec67195c7c66e2eaea"></a> -void </td><td class="memItemRight" valign="bottom"><b>setRowPosition</b> (int row_position)</td></tr> -<tr class="separator:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a5fffc3e3ab3352f294f3f73c396e9c1d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColPosition</b> (int col_position)</td></tr> -<tr class="separator:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a> ()</td></tr> -<tr class="separator:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a9fc2e36cd7ff61ab2f51e03c4f181140"></a> -char </td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr> -<tr class="separator:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8c8db5834e2d3e395031c9c79a39828f"></a> -abstract boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8df3b13a52055cb3a6cb94014067364e"></a> -abstract ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a3075cf14a9ea3e96f9905e1e8e4736ba"></a> -int </td><td class="memItemRight" valign="bottom"><b>player</b></td></tr> -<tr class="separator:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a404216f935e88109beded323b7169a52"></a> -char </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> -<tr class="separator:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aec89844c211ec5e857ea388f93dec641"></a> -int </td><td class="memItemRight" valign="bottom"><b>row_position</b></td></tr> -<tr class="separator:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a7e810e133e206583f8242db0f6bc75dc"></a> -int </td><td class="memItemRight" valign="bottom"><b>col_position</b></td></tr> -<tr class="separator:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a790010a9ec1e5408151a241ad7fbac40"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>captured</b></td></tr> -<tr class="separator:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="a6128f7b61750e3f5598af558950e8176"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a6128f7b61750e3f5598af558950e8176">◆ </a></span>checkRule()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">boolean chessPieces.Knight.checkRule </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Check if new position satisfies a vertical or horizontal 'L'. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessPieces/Knight.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_knight.png b/HW1-FA18/html/classchess_pieces_1_1_knight.png deleted file mode 100644 index 3ff062fc4533363e1a88ac2f19575f46b4b9e346..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/classchess_pieces_1_1_knight.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_pieces_1_1_pawn-members.html b/HW1-FA18/html/classchess_pieces_1_1_pawn-members.html deleted file mode 100644 index 7310475319b4659ac65e3c9b4ba0c629a79321b9..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_pawn-members.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_pawn.html">Pawn</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces.Pawn Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_pieces_1_1_pawn.html">chessPieces.Pawn</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>captured</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>checkRule</b>(int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_pawn.html">chessPieces.Pawn</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_pawn.html">chessPieces.Pawn</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ChessPiece</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>col_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getColPosition</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getNextPossiblePositions</b>() (defined in <a class="el" href="classchess_pieces_1_1_pawn.html">chessPieces.Pawn</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_pawn.html">chessPieces.Pawn</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getPlayer</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getType</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>isCaptured</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>Pawn</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_pawn.html">chessPieces.Pawn</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_pawn.html">chessPieces.Pawn</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>player</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>row_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setColPosition</b>(int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setRowPosition</b>(int row_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>type</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_pawn.html b/HW1-FA18/html/classchess_pieces_1_1_pawn.html deleted file mode 100644 index 9a581b5b0ea855d52e6db74f10b30b703a203704..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_pawn.html +++ /dev/null @@ -1,159 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessPieces.Pawn Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_pawn.html">Pawn</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_pieces_1_1_pawn-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessPieces.Pawn Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for chessPieces.Pawn:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classchess_pieces_1_1_pawn.png" usemap="#chessPieces.Pawn_map" alt=""/> - <map id="chessPieces.Pawn_map" name="chessPieces.Pawn_map"> -<area href="classchess_pieces_1_1_chess_piece.html" alt="chessPieces.ChessPiece" shape="rect" coords="0,0,154,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:abb2872c713d35d5c84fcc42f1b2e8bb0"><td class="memItemLeft" align="right" valign="top"><a id="abb2872c713d35d5c84fcc42f1b2e8bb0"></a> - </td><td class="memItemRight" valign="bottom"><b>Pawn</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:abb2872c713d35d5c84fcc42f1b2e8bb0"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5b8cd94841a72b51068b520c8f51521c"><td class="memItemLeft" align="right" valign="top"><a id="a5b8cd94841a72b51068b520c8f51521c"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a5b8cd94841a72b51068b520c8f51521c"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af2692da362d95d6aee9851882ead4a57"><td class="memItemLeft" align="right" valign="top"><a id="af2692da362d95d6aee9851882ead4a57"></a> -ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:af2692da362d95d6aee9851882ead4a57"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aca9847a8487ec0e5382d2a16b1ba115a"></a> - </td><td class="memItemRight" valign="bottom"><b>ChessPiece</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a> ()</td></tr> -<tr class="separator:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a1956c711fd808c82de9673b45dd5a9cd"></a> -int </td><td class="memItemRight" valign="bottom"><b>getColPosition</b> ()</td></tr> -<tr class="separator:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="ab14e487054a20fafd97fca6c5e3f06e5"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>isCaptured</b> ()</td></tr> -<tr class="separator:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a349d8c91b640666f3d8d912430171f4e"></a> -int </td><td class="memItemRight" valign="bottom"><b>getPlayer</b> ()</td></tr> -<tr class="separator:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aaf1b9d2f203e4eec67195c7c66e2eaea"></a> -void </td><td class="memItemRight" valign="bottom"><b>setRowPosition</b> (int row_position)</td></tr> -<tr class="separator:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a5fffc3e3ab3352f294f3f73c396e9c1d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColPosition</b> (int col_position)</td></tr> -<tr class="separator:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a> ()</td></tr> -<tr class="separator:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a9fc2e36cd7ff61ab2f51e03c4f181140"></a> -char </td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr> -<tr class="separator:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8c8db5834e2d3e395031c9c79a39828f"></a> -abstract boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8df3b13a52055cb3a6cb94014067364e"></a> -abstract ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a3075cf14a9ea3e96f9905e1e8e4736ba"></a> -int </td><td class="memItemRight" valign="bottom"><b>player</b></td></tr> -<tr class="separator:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a404216f935e88109beded323b7169a52"></a> -char </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> -<tr class="separator:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aec89844c211ec5e857ea388f93dec641"></a> -int </td><td class="memItemRight" valign="bottom"><b>row_position</b></td></tr> -<tr class="separator:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a7e810e133e206583f8242db0f6bc75dc"></a> -int </td><td class="memItemRight" valign="bottom"><b>col_position</b></td></tr> -<tr class="separator:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a790010a9ec1e5408151a241ad7fbac40"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>captured</b></td></tr> -<tr class="separator:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessPieces/Pawn.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_pawn.png b/HW1-FA18/html/classchess_pieces_1_1_pawn.png deleted file mode 100644 index d728bf9e937cf8821a4fb260873e6e676feb7533..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/classchess_pieces_1_1_pawn.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_pieces_1_1_queen-members.html b/HW1-FA18/html/classchess_pieces_1_1_queen-members.html deleted file mode 100644 index bd2d0b1224ec5027081c72ec8a24c11eb0d488e0..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_queen-members.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_queen.html">Queen</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces.Queen Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_pieces_1_1_queen.html">chessPieces.Queen</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>captured</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_queen.html#aed3b9c2b21cf90526473552e43473bce">checkRule</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_queen.html">chessPieces.Queen</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ChessPiece</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>col_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getColPosition</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getNextPossiblePositions</b>() (defined in <a class="el" href="classchess_pieces_1_1_queen.html">chessPieces.Queen</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_queen.html">chessPieces.Queen</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getPlayer</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getType</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>isCaptured</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>player</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Queen</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_queen.html">chessPieces.Queen</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_queen.html">chessPieces.Queen</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>row_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setColPosition</b>(int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setRowPosition</b>(int row_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>type</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_queen.html b/HW1-FA18/html/classchess_pieces_1_1_queen.html deleted file mode 100644 index 98d20b41b08d9e2db85a3e6c80e022c9df170f76..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_queen.html +++ /dev/null @@ -1,196 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessPieces.Queen Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_queen.html">Queen</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_pieces_1_1_queen-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessPieces.Queen Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for chessPieces.Queen:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classchess_pieces_1_1_queen.png" usemap="#chessPieces.Queen_map" alt=""/> - <map id="chessPieces.Queen_map" name="chessPieces.Queen_map"> -<area href="classchess_pieces_1_1_chess_piece.html" alt="chessPieces.ChessPiece" shape="rect" coords="0,0,154,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a3d37b5e69a86bd00c4038b02e82a8ace"><td class="memItemLeft" align="right" valign="top"><a id="a3d37b5e69a86bd00c4038b02e82a8ace"></a> - </td><td class="memItemRight" valign="bottom"><b>Queen</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:a3d37b5e69a86bd00c4038b02e82a8ace"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aed3b9c2b21cf90526473552e43473bce"><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_queen.html#aed3b9c2b21cf90526473552e43473bce">checkRule</a> (int row_position, int col_position)</td></tr> -<tr class="separator:aed3b9c2b21cf90526473552e43473bce"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a0daf19040b7e29d53092c54605e153fc"><td class="memItemLeft" align="right" valign="top"><a id="a0daf19040b7e29d53092c54605e153fc"></a> -ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a0daf19040b7e29d53092c54605e153fc"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aca9847a8487ec0e5382d2a16b1ba115a"></a> - </td><td class="memItemRight" valign="bottom"><b>ChessPiece</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a> ()</td></tr> -<tr class="separator:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a1956c711fd808c82de9673b45dd5a9cd"></a> -int </td><td class="memItemRight" valign="bottom"><b>getColPosition</b> ()</td></tr> -<tr class="separator:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="ab14e487054a20fafd97fca6c5e3f06e5"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>isCaptured</b> ()</td></tr> -<tr class="separator:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a349d8c91b640666f3d8d912430171f4e"></a> -int </td><td class="memItemRight" valign="bottom"><b>getPlayer</b> ()</td></tr> -<tr class="separator:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aaf1b9d2f203e4eec67195c7c66e2eaea"></a> -void </td><td class="memItemRight" valign="bottom"><b>setRowPosition</b> (int row_position)</td></tr> -<tr class="separator:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a5fffc3e3ab3352f294f3f73c396e9c1d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColPosition</b> (int col_position)</td></tr> -<tr class="separator:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a> ()</td></tr> -<tr class="separator:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a9fc2e36cd7ff61ab2f51e03c4f181140"></a> -char </td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr> -<tr class="separator:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8c8db5834e2d3e395031c9c79a39828f"></a> -abstract boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8df3b13a52055cb3a6cb94014067364e"></a> -abstract ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a3075cf14a9ea3e96f9905e1e8e4736ba"></a> -int </td><td class="memItemRight" valign="bottom"><b>player</b></td></tr> -<tr class="separator:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a404216f935e88109beded323b7169a52"></a> -char </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> -<tr class="separator:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aec89844c211ec5e857ea388f93dec641"></a> -int </td><td class="memItemRight" valign="bottom"><b>row_position</b></td></tr> -<tr class="separator:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a7e810e133e206583f8242db0f6bc75dc"></a> -int </td><td class="memItemRight" valign="bottom"><b>col_position</b></td></tr> -<tr class="separator:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a790010a9ec1e5408151a241ad7fbac40"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>captured</b></td></tr> -<tr class="separator:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="aed3b9c2b21cf90526473552e43473bce"></a> -<h2 class="memtitle"><span class="permalink"><a href="#aed3b9c2b21cf90526473552e43473bce">◆ </a></span>checkRule()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">boolean chessPieces.Queen.checkRule </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p><a class="el" href="classchess_pieces_1_1_queen.html">Queen</a> moves any direction with any steps. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessPieces/Queen.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_queen.png b/HW1-FA18/html/classchess_pieces_1_1_queen.png deleted file mode 100644 index 253ecd18be63314897317d91d3bfd1acae85f242..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/classchess_pieces_1_1_queen.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_pieces_1_1_rook-members.html b/HW1-FA18/html/classchess_pieces_1_1_rook-members.html deleted file mode 100644 index 4e240e7fbf50528bada8a74bb82de47a50e6a48f..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_rook-members.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_rook.html">Rook</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces.Rook Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_pieces_1_1_rook.html">chessPieces.Rook</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>captured</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_rook.html#a80d4b7c3b01455715528c6eae36206be">checkRule</a>(int row_position, int col_position)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_rook.html">chessPieces.Rook</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ChessPiece</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>col_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getColPosition</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>getNextPossiblePositions</b>() (defined in <a class="el" href="classchess_pieces_1_1_rook.html">chessPieces.Rook</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_rook.html">chessPieces.Rook</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getPlayer</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getType</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>isCaptured</b>() (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a>()</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>player</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Rook</b>(int player, int row_position, int col_position) (defined in <a class="el" href="classchess_pieces_1_1_rook.html">chessPieces.Rook</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_rook.html">chessPieces.Rook</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>row_position</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setColPosition</b>(int col_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>setRowPosition</b>(int row_position) (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>type</b> (defined in <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a>)</td><td class="entry"><a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_rook.html b/HW1-FA18/html/classchess_pieces_1_1_rook.html deleted file mode 100644 index 77bcaaa15562d41f690137d954d1d4a1b1ea0f2a..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_pieces_1_1_rook.html +++ /dev/null @@ -1,196 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessPieces.Rook Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="namespacechess_pieces.html">chessPieces</a></li><li class="navelem"><a class="el" href="classchess_pieces_1_1_rook.html">Rook</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_pieces_1_1_rook-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessPieces.Rook Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<div class="dynheader"> -Inheritance diagram for chessPieces.Rook:</div> -<div class="dyncontent"> - <div class="center"> - <img src="classchess_pieces_1_1_rook.png" usemap="#chessPieces.Rook_map" alt=""/> - <map id="chessPieces.Rook_map" name="chessPieces.Rook_map"> -<area href="classchess_pieces_1_1_chess_piece.html" alt="chessPieces.ChessPiece" shape="rect" coords="0,0,154,24"/> -</map> - </div></div> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a0f2b8ee3284abe39dde0178c339fc908"><td class="memItemLeft" align="right" valign="top"><a id="a0f2b8ee3284abe39dde0178c339fc908"></a> - </td><td class="memItemRight" valign="bottom"><b>Rook</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:a0f2b8ee3284abe39dde0178c339fc908"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a80d4b7c3b01455715528c6eae36206be"><td class="memItemLeft" align="right" valign="top">boolean </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_rook.html#a80d4b7c3b01455715528c6eae36206be">checkRule</a> (int row_position, int col_position)</td></tr> -<tr class="separator:a80d4b7c3b01455715528c6eae36206be"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aa0765f8b7b518fe21b8c91ad09815248"><td class="memItemLeft" align="right" valign="top"><a id="aa0765f8b7b518fe21b8c91ad09815248"></a> -ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:aa0765f8b7b518fe21b8c91ad09815248"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="inherit_header pub_methods_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aca9847a8487ec0e5382d2a16b1ba115a"></a> - </td><td class="memItemRight" valign="bottom"><b>ChessPiece</b> (int player, int row_position, int col_position)</td></tr> -<tr class="separator:aca9847a8487ec0e5382d2a16b1ba115a inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">getRowPosition</a> ()</td></tr> -<tr class="separator:abdb413c34996697a8852d8026348a870 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a1956c711fd808c82de9673b45dd5a9cd"></a> -int </td><td class="memItemRight" valign="bottom"><b>getColPosition</b> ()</td></tr> -<tr class="separator:a1956c711fd808c82de9673b45dd5a9cd inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="ab14e487054a20fafd97fca6c5e3f06e5"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>isCaptured</b> ()</td></tr> -<tr class="separator:ab14e487054a20fafd97fca6c5e3f06e5 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a349d8c91b640666f3d8d912430171f4e"></a> -int </td><td class="memItemRight" valign="bottom"><b>getPlayer</b> ()</td></tr> -<tr class="separator:a349d8c91b640666f3d8d912430171f4e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aaf1b9d2f203e4eec67195c7c66e2eaea"></a> -void </td><td class="memItemRight" valign="bottom"><b>setRowPosition</b> (int row_position)</td></tr> -<tr class="separator:aaf1b9d2f203e4eec67195c7c66e2eaea inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a5fffc3e3ab3352f294f3f73c396e9c1d"></a> -void </td><td class="memItemRight" valign="bottom"><b>setColPosition</b> (int col_position)</td></tr> -<tr class="separator:a5fffc3e3ab3352f294f3f73c396e9c1d inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">killed</a> ()</td></tr> -<tr class="separator:af63e8b2920952a98025eb84dfc44c675 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a9fc2e36cd7ff61ab2f51e03c4f181140"></a> -char </td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr> -<tr class="separator:a9fc2e36cd7ff61ab2f51e03c4f181140 inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8c8db5834e2d3e395031c9c79a39828f"></a> -abstract boolean </td><td class="memItemRight" valign="bottom"><b>checkRule</b> (int row_position, int col_position)</td></tr> -<tr class="separator:a8c8db5834e2d3e395031c9c79a39828f inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a8df3b13a52055cb3a6cb94014067364e"></a> -abstract ArrayList< int[]> </td><td class="memItemRight" valign="bottom"><b>getNextPossiblePositions</b> ()</td></tr> -<tr class="separator:a8df3b13a52055cb3a6cb94014067364e inherit pub_methods_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table><table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> -Additional Inherited Members</h2></td></tr> -<tr class="inherit_header pro_attribs_classchess_pieces_1_1_chess_piece"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classchess_pieces_1_1_chess_piece')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classchess_pieces_1_1_chess_piece.html">chessPieces.ChessPiece</a></td></tr> -<tr class="memitem:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a3075cf14a9ea3e96f9905e1e8e4736ba"></a> -int </td><td class="memItemRight" valign="bottom"><b>player</b></td></tr> -<tr class="separator:a3075cf14a9ea3e96f9905e1e8e4736ba inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a404216f935e88109beded323b7169a52"></a> -char </td><td class="memItemRight" valign="bottom"><b>type</b></td></tr> -<tr class="separator:a404216f935e88109beded323b7169a52 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="aec89844c211ec5e857ea388f93dec641"></a> -int </td><td class="memItemRight" valign="bottom"><b>row_position</b></td></tr> -<tr class="separator:aec89844c211ec5e857ea388f93dec641 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a7e810e133e206583f8242db0f6bc75dc"></a> -int </td><td class="memItemRight" valign="bottom"><b>col_position</b></td></tr> -<tr class="separator:a7e810e133e206583f8242db0f6bc75dc inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memItemLeft" align="right" valign="top"><a id="a790010a9ec1e5408151a241ad7fbac40"></a> -boolean </td><td class="memItemRight" valign="bottom"><b>captured</b></td></tr> -<tr class="separator:a790010a9ec1e5408151a241ad7fbac40 inherit pro_attribs_classchess_pieces_1_1_chess_piece"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="a80d4b7c3b01455715528c6eae36206be"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a80d4b7c3b01455715528c6eae36206be">◆ </a></span>checkRule()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">boolean chessPieces.Rook.checkRule </td> - <td>(</td> - <td class="paramtype">int </td> - <td class="paramname"><em>row_position</em>, </td> - </tr> - <tr> - <td class="paramkey"></td> - <td></td> - <td class="paramtype">int </td> - <td class="paramname"><em>col_position</em> </td> - </tr> - <tr> - <td></td> - <td>)</td> - <td></td><td></td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p><a class="el" href="classchess_pieces_1_1_rook.html">Rook</a> only moves along file or rank with any steps. </p> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessPieces/Rook.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_pieces_1_1_rook.png b/HW1-FA18/html/classchess_pieces_1_1_rook.png deleted file mode 100644 index 2135c739d3618ef9a68fa936ccb075998e2ea7ba..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/classchess_pieces_1_1_rook.png and /dev/null differ diff --git a/HW1-FA18/html/classchess_tests_1_1_board_test-members.html b/HW1-FA18/html/classchess_tests_1_1_board_test-members.html deleted file mode 100644 index 979c0f6b0ecf4d27072798425300c8c74c8a83cc..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_tests_1_1_board_test-members.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>chessTests</b></li><li class="navelem"><a class="el" href="classchess_tests_1_1_board_test.html">BoardTest</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessTests.BoardTest Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>captureTest</b>() (defined in <a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a>)</td><td class="entry"><a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>checkKingTest</b>() (defined in <a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a>)</td><td class="entry"><a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classchess_tests_1_1_board_test.html#a7a276983800089da009215ae21ec81a2">initiateBoard</a>()</td><td class="entry"><a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>moveToTest</b>() (defined in <a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a>)</td><td class="entry"><a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>turnTest</b>() (defined in <a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a>)</td><td class="entry"><a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0"><td class="entry"><b>validMovementTest</b>() (defined in <a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a>)</td><td class="entry"><a class="el" href="classchess_tests_1_1_board_test.html">chessTests.BoardTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_tests_1_1_board_test.html b/HW1-FA18/html/classchess_tests_1_1_board_test.html deleted file mode 100644 index 260d8eab700780c631b9ed56d3f0a71b02936be9..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_tests_1_1_board_test.html +++ /dev/null @@ -1,139 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessTests.BoardTest Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>chessTests</b></li><li class="navelem"><a class="el" href="classchess_tests_1_1_board_test.html">BoardTest</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_tests_1_1_board_test-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessTests.BoardTest Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:af304b8ba240e715ae323474dd68c87a0"><td class="memItemLeft" align="right" valign="top"><a id="af304b8ba240e715ae323474dd68c87a0"></a> -void </td><td class="memItemRight" valign="bottom"><b>turnTest</b> () throws Exception </td></tr> -<tr class="separator:af304b8ba240e715ae323474dd68c87a0"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a83c700e5e2f2629b19072fcb1a6c3b37"><td class="memItemLeft" align="right" valign="top"><a id="a83c700e5e2f2629b19072fcb1a6c3b37"></a> -void </td><td class="memItemRight" valign="bottom"><b>captureTest</b> () throws Exception</td></tr> -<tr class="separator:a83c700e5e2f2629b19072fcb1a6c3b37"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ad1d7d45cacb906c8497e86a0bc8a0ca2"><td class="memItemLeft" align="right" valign="top"><a id="ad1d7d45cacb906c8497e86a0bc8a0ca2"></a> -void </td><td class="memItemRight" valign="bottom"><b>checkKingTest</b> () throws Exception</td></tr> -<tr class="separator:ad1d7d45cacb906c8497e86a0bc8a0ca2"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a8d629519a96129d32cd885044c5f839a"><td class="memItemLeft" align="right" valign="top"><a id="a8d629519a96129d32cd885044c5f839a"></a> -void </td><td class="memItemRight" valign="bottom"><b>validMovementTest</b> () throws Exception</td></tr> -<tr class="separator:a8d629519a96129d32cd885044c5f839a"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7a276983800089da009215ae21ec81a2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_tests_1_1_board_test.html#a7a276983800089da009215ae21ec81a2">initiateBoard</a> () throws Exception</td></tr> -<tr class="separator:a7a276983800089da009215ae21ec81a2"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a4a8e2c13ff47ec2dd21464c1463097e0"><td class="memItemLeft" align="right" valign="top"><a id="a4a8e2c13ff47ec2dd21464c1463097e0"></a> -void </td><td class="memItemRight" valign="bottom"><b>moveToTest</b> () throws Exception</td></tr> -<tr class="separator:a4a8e2c13ff47ec2dd21464c1463097e0"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="a7a276983800089da009215ae21ec81a2"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a7a276983800089da009215ae21ec81a2">◆ </a></span>initiateBoard()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessTests.BoardTest.initiateBoard </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> throws Exception</td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>Check if a board is correctly initiated. </p><dl class="exception"><dt>Exceptions</dt><dd> - <table class="exception"> - <tr><td class="paramname">Exception</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessTests/BoardTest.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_tests_1_1_chess_piece_test-members.html b/HW1-FA18/html/classchess_tests_1_1_chess_piece_test-members.html deleted file mode 100644 index a7090209fceef867ddeef541b5e590b5a36150ed..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_tests_1_1_chess_piece_test-members.html +++ /dev/null @@ -1,87 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Member List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>chessTests</b></li><li class="navelem"><a class="el" href="classchess_tests_1_1_chess_piece_test.html">ChessPieceTest</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessTests.ChessPieceTest Member List</div> </div> -</div><!--header--> -<div class="contents"> - -<p>This is the complete list of members for <a class="el" href="classchess_tests_1_1_chess_piece_test.html">chessTests.ChessPieceTest</a>, including all inherited members.</p> -<table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>pieceContructorTest</b>() (defined in <a class="el" href="classchess_tests_1_1_chess_piece_test.html">chessTests.ChessPieceTest</a>)</td><td class="entry"><a class="el" href="classchess_tests_1_1_chess_piece_test.html">chessTests.ChessPieceTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_tests_1_1_chess_piece_test.html#a59982f0319b68ca6b62057d061afb762">pieceInBoardTest</a>()</td><td class="entry"><a class="el" href="classchess_tests_1_1_chess_piece_test.html">chessTests.ChessPieceTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>pieceRuleTest</b>() (defined in <a class="el" href="classchess_tests_1_1_chess_piece_test.html">chessTests.ChessPieceTest</a>)</td><td class="entry"><a class="el" href="classchess_tests_1_1_chess_piece_test.html">chessTests.ChessPieceTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> - <tr><td class="entry"><a class="el" href="classchess_tests_1_1_chess_piece_test.html#ac5737f78d619cbe613e29f90ea27e98f">pieceSetTest</a>()</td><td class="entry"><a class="el" href="classchess_tests_1_1_chess_piece_test.html">chessTests.ChessPieceTest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr> -</table></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classchess_tests_1_1_chess_piece_test.html b/HW1-FA18/html/classchess_tests_1_1_chess_piece_test.html deleted file mode 100644 index 9f4057c79b150e0aab14ff4d5249793a5b03a613..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classchess_tests_1_1_chess_piece_test.html +++ /dev/null @@ -1,163 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: chessTests.ChessPieceTest Class Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><b>chessTests</b></li><li class="navelem"><a class="el" href="classchess_tests_1_1_chess_piece_test.html">ChessPieceTest</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#pub-methods">Public Member Functions</a> | -<a href="classchess_tests_1_1_chess_piece_test-members.html">List of all members</a> </div> - <div class="headertitle"> -<div class="title">chessTests.ChessPieceTest Class Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> -Public Member Functions</h2></td></tr> -<tr class="memitem:a0b30c1f13f94152ca594f70c8ade20b1"><td class="memItemLeft" align="right" valign="top"><a id="a0b30c1f13f94152ca594f70c8ade20b1"></a> -void </td><td class="memItemRight" valign="bottom"><b>pieceContructorTest</b> () throws Exception</td></tr> -<tr class="separator:a0b30c1f13f94152ca594f70c8ade20b1"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ac5737f78d619cbe613e29f90ea27e98f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_tests_1_1_chess_piece_test.html#ac5737f78d619cbe613e29f90ea27e98f">pieceSetTest</a> () throws Exception</td></tr> -<tr class="separator:ac5737f78d619cbe613e29f90ea27e98f"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:abab20869b28353178884babc50640def"><td class="memItemLeft" align="right" valign="top"><a id="abab20869b28353178884babc50640def"></a> -void </td><td class="memItemRight" valign="bottom"><b>pieceRuleTest</b> () throws Exception</td></tr> -<tr class="separator:abab20869b28353178884babc50640def"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a59982f0319b68ca6b62057d061afb762"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_tests_1_1_chess_piece_test.html#a59982f0319b68ca6b62057d061afb762">pieceInBoardTest</a> () throws Exception</td></tr> -<tr class="separator:a59982f0319b68ca6b62057d061afb762"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<h2 class="groupheader">Member Function Documentation</h2> -<a id="a59982f0319b68ca6b62057d061afb762"></a> -<h2 class="memtitle"><span class="permalink"><a href="#a59982f0319b68ca6b62057d061afb762">◆ </a></span>pieceInBoardTest()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessTests.ChessPieceTest.pieceInBoardTest </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> throws Exception</td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>User intends to move a piece off board. </p><dl class="exception"><dt>Exceptions</dt><dd> - <table class="exception"> - <tr><td class="paramname">Exception</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<a id="ac5737f78d619cbe613e29f90ea27e98f"></a> -<h2 class="memtitle"><span class="permalink"><a href="#ac5737f78d619cbe613e29f90ea27e98f">◆ </a></span>pieceSetTest()</h2> - -<div class="memitem"> -<div class="memproto"> -<table class="mlabels"> - <tr> - <td class="mlabels-left"> - <table class="memname"> - <tr> - <td class="memname">void chessTests.ChessPieceTest.pieceSetTest </td> - <td>(</td> - <td class="paramname"></td><td>)</td> - <td> throws Exception</td> - </tr> - </table> - </td> - <td class="mlabels-right"> -<span class="mlabels"><span class="mlabel">inline</span></span> </td> - </tr> -</table> -</div><div class="memdoc"> -<p>User intends to move a piece to valid empty space. </p><dl class="exception"><dt>Exceptions</dt><dd> - <table class="exception"> - <tr><td class="paramname">Exception</td><td></td></tr> - </table> - </dd> -</dl> - -</div> -</div> -<hr/>The documentation for this class was generated from the following file:<ul> -<li>src/chessTests/ChessPieceTest.java</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/classes.html b/HW1-FA18/html/classes.html deleted file mode 100644 index ce17229cd9dd32dbcda23bba7f2112c97736d7e6..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/classes.html +++ /dev/null @@ -1,94 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Class Index</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -</div><!-- top --> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="header"> - <div class="headertitle"> -<div class="title">Class Index</div> </div> -</div><!--header--> -<div class="contents"> -<div class="qindex"><a class="qindex" href="#letter_b">b</a> | <a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_k">k</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_q">q</a> | <a class="qindex" href="#letter_r">r</a></div> -<table class="classindex"> -<tr><td rowspan="2" valign="bottom"><a name="letter_b"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  b  </div></td></tr></table> -</td><td rowspan="2" valign="bottom"><a name="letter_c"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  c  </div></td></tr></table> -</td><td valign="top"><a class="el" href="classchess_pieces_1_1_knight.html">Knight</a> (<a class="el" href="namespacechess_pieces.html">chessPieces</a>)   </td><td rowspan="2" valign="bottom"><a name="letter_r"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  r  </div></td></tr></table> -</td></tr> -<tr><td rowspan="2" valign="bottom"><a name="letter_p"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  p  </div></td></tr></table> -</td></tr> -<tr><td valign="top"><a class="el" href="classchess_pieces_1_1_bishop.html">Bishop</a> (<a class="el" href="namespacechess_pieces.html">chessPieces</a>)   </td><td valign="top"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a> (<a class="el" href="namespacechess_pieces.html">chessPieces</a>)   </td><td valign="top"><a class="el" href="classchess_pieces_1_1_rook.html">Rook</a> (<a class="el" href="namespacechess_pieces.html">chessPieces</a>)   </td></tr> -<tr><td valign="top"><a class="el" href="classchess_board_1_1_board.html">Board</a> (<a class="el" href="namespacechess_board.html">chessBoard</a>)   </td><td valign="top"><a class="el" href="classchess_tests_1_1_chess_piece_test.html">ChessPieceTest</a> (chessTests)   </td><td valign="top"><a class="el" href="classchess_pieces_1_1_pawn.html">Pawn</a> (<a class="el" href="namespacechess_pieces.html">chessPieces</a>)   </td><td></td></tr> -<tr><td valign="top"><a class="el" href="classchess_tests_1_1_board_test.html">BoardTest</a> (chessTests)   </td><td rowspan="2" valign="bottom"><a name="letter_k"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  k  </div></td></tr></table> -</td><td rowspan="2" valign="bottom"><a name="letter_q"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  q  </div></td></tr></table> -</td><td></td></tr> -<tr><td></td><td></td></tr> -<tr><td></td><td valign="top"><a class="el" href="classchess_pieces_1_1_king.html">King</a> (<a class="el" href="namespacechess_pieces.html">chessPieces</a>)   </td><td valign="top"><a class="el" href="classchess_pieces_1_1_queen.html">Queen</a> (<a class="el" href="namespacechess_pieces.html">chessPieces</a>)   </td><td></td></tr> -<tr><td></td><td></td><td></td><td></td></tr> -</table> -<div class="qindex"><a class="qindex" href="#letter_b">b</a> | <a class="qindex" href="#letter_c">c</a> | <a class="qindex" href="#letter_k">k</a> | <a class="qindex" href="#letter_p">p</a> | <a class="qindex" href="#letter_q">q</a> | <a class="qindex" href="#letter_r">r</a></div> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/closed.png b/HW1-FA18/html/closed.png deleted file mode 100644 index 98cc2c909da37a6df914fbf67780eebd99c597f5..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/closed.png and /dev/null differ diff --git a/HW1-FA18/html/dir_1dd4d85fb749a77824c7c965bb9e6393.html b/HW1-FA18/html/dir_1dd4d85fb749a77824c7c965bb9e6393.html deleted file mode 100644 index adbc8092c03fe4958b92f77cf677141692d67c91..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/dir_1dd4d85fb749a77824c7c965bb9e6393.html +++ /dev/null @@ -1,80 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: src/chessTests Directory Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_1dd4d85fb749a77824c7c965bb9e6393.html">chessTests</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessTests Directory Reference</div> </div> -</div><!--header--> -<div class="contents"> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/HW1-FA18/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html deleted file mode 100644 index 35a35526e8f41fab88a32a3b35c33ca56f409d45..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ /dev/null @@ -1,84 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: src Directory Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">src Directory Reference</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="subdirs"></a> -Directories</h2></td></tr> -</table> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/dir_c30da6fe3e4bf3ca5d977d8574add46f.html b/HW1-FA18/html/dir_c30da6fe3e4bf3ca5d977d8574add46f.html deleted file mode 100644 index b9f51e97469b03b5bd27b0239268dcf6260a2445..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/dir_c30da6fe3e4bf3ca5d977d8574add46f.html +++ /dev/null @@ -1,80 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: src/chessBoard Directory Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_c30da6fe3e4bf3ca5d977d8574add46f.html">chessBoard</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessBoard Directory Reference</div> </div> -</div><!--header--> -<div class="contents"> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/dir_e3673e285d80c8a0be68d200a5068c3f.html b/HW1-FA18/html/dir_e3673e285d80c8a0be68d200a5068c3f.html deleted file mode 100644 index d25e2569fedfaf79c81ac830d5e65d17dcc57599..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/dir_e3673e285d80c8a0be68d200a5068c3f.html +++ /dev/null @@ -1,80 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: src/chessPieces Directory Reference</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div id="nav-path" class="navpath"> - <ul> -<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e3673e285d80c8a0be68d200a5068c3f.html">chessPieces</a></li> </ul> -</div> -</div><!-- top --> -<div class="header"> - <div class="headertitle"> -<div class="title">chessPieces Directory Reference</div> </div> -</div><!--header--> -<div class="contents"> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/doc.png b/HW1-FA18/html/doc.png deleted file mode 100644 index 17edabff95f7b8da13c9516a04efe05493c29501..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/doc.png and /dev/null differ diff --git a/HW1-FA18/html/doxygen.css b/HW1-FA18/html/doxygen.css deleted file mode 100644 index 266c8b3a6b5c21a6c2f8441654463286578f3e56..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/doxygen.css +++ /dev/null @@ -1,1596 +0,0 @@ -/* The standard CSS for doxygen 1.8.14 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -p.reference, p.definition { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 0px; - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line:after { - content:"\000A"; - white-space: pre; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -.lineno { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - -div.classindex ul { - list-style: none; - padding-left: 0; -} - -div.classindex span.ai { - display: inline-block; -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtitle { - padding: 8px; - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - margin-bottom: -1px; - background-image: url('nav_f.png'); - background-repeat: repeat-x; - background-color: #E2E8F2; - line-height: 1.25; - font-weight: 300; - float:left; -} - -.permalink -{ - font-size: 65%; - display: inline-block; - vertical-align: middle; -} - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: 400; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #DFE5F1; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -} - -.overload { - font-family: "courier new",courier,monospace; - font-size: 65%; -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view inside a (index) page */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -.arrow { - color: #9CAFD4; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - cursor: pointer; - font-size: 80%; - display: inline-block; - width: 16px; - height: 22px; -} - -.icon { - font-family: Arial, Helvetica; - font-weight: bold; - font-size: 12px; - height: 14px; - width: 16px; - display: inline-block; - background-color: #728DC1; - color: white; - text-align: center; - border-radius: 4px; - margin-left: 2px; - margin-right: 2px; -} - -.icona { - width: 24px; - height: 22px; - display: inline-block; -} - -.iconfopen { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.iconfclosed { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -.icondoc { - width: 24px; - height: 18px; - margin-bottom: 4px; - background-image:url('doc.png'); - background-position: 0px -4px; - background-repeat: repeat-y; - vertical-align:top; - display: inline-block; -} - -table.directory { - font: 400 14px Roboto,sans-serif; -} - -/* @end */ - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable caption { - caption-side: top; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - font-weight: 400; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -table.classindex -{ - margin: 10px; - white-space: nowrap; - margin-left: 3%; - margin-right: 3%; - width: 94%; - border: 0; - border-spacing: 0; - padding: 0; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectalign -{ - vertical-align: middle; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.plantumlgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 8px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - -/* @group Markdown */ - -/* -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTableHead tr { -} - -table.markdownTableBodyLeft td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft { - text-align: left -} - -th.markdownTableHeadRight { - text-align: right -} - -th.markdownTableHeadCenter { - text-align: center -} -*/ - -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTable tr { -} - -th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft, td.markdownTableBodyLeft { - text-align: left -} - -th.markdownTableHeadRight, td.markdownTableBodyRight { - text-align: right -} - -th.markdownTableHeadCenter, td.markdownTableBodyCenter { - text-align: center -} - - -/* @end */ diff --git a/HW1-FA18/html/doxygen.png b/HW1-FA18/html/doxygen.png deleted file mode 100644 index 3ff17d807fd8aa003bed8bb2a69e8f0909592fd1..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/doxygen.png and /dev/null differ diff --git a/HW1-FA18/html/dynsections.js b/HW1-FA18/html/dynsections.js deleted file mode 100644 index c1ce12260c1dfc2696ed07506250176fb3269af9..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/dynsections.js +++ /dev/null @@ -1,120 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); -} - -function toggleLevel(level) -{ - $('table.directory tr').each(function() { - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l<level+1) { - i.removeClass('iconfopen iconfclosed').addClass('iconfopen'); - a.html('▼'); - $(this).show(); - } else if (l==level+1) { - i.removeClass('iconfclosed iconfopen').addClass('iconfclosed'); - a.html('▶'); - $(this).show(); - } else { - $(this).hide(); - } - }); - updateStripes(); -} - -function toggleFolder(id) -{ - // the clicked row - var currentRow = $('#row_'+id); - - // all rows after the clicked row - var rows = currentRow.nextAll("tr"); - - var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub - - // only match elements AFTER this one (can't hide elements before) - var childRows = rows.filter(function() { return this.id.match(re); }); - - // first row is visible we are HIDING - if (childRows.filter(':first').is(':visible')===true) { - // replace down arrow by right arrow for current row - var currentRowSpans = currentRow.find("span"); - currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed"); - currentRowSpans.filter(".arrow").html('▶'); - rows.filter("[id^=row_"+id+"]").hide(); // hide all children - } else { // we are SHOWING - // replace right arrow by down arrow for current row - var currentRowSpans = currentRow.find("span"); - currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen"); - currentRowSpans.filter(".arrow").html('▼'); - // replace down arrows by right arrows for child rows - var childRowsSpans = childRows.find("span"); - childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed"); - childRowsSpans.filter(".arrow").html('▶'); - childRows.show(); //show all children - } - updateStripes(); -} - - -function toggleInherit(id) -{ - var rows = $('tr.inherit.'+id); - var img = $('tr.inherit_header.'+id+' img'); - var src = $(img).attr('src'); - if (rows.filter(':first').is(':visible')===true) { - rows.css('display','none'); - $(img).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - rows.css('display','table-row'); // using show() causes jump in firefox - $(img).attr('src',src.substring(0,src.length-10)+'open.png'); - } -} -/* @license-end */ diff --git a/HW1-FA18/html/folderclosed.png b/HW1-FA18/html/folderclosed.png deleted file mode 100644 index bb8ab35edce8e97554e360005ee9fc5bffb36e66..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/folderclosed.png and /dev/null differ diff --git a/HW1-FA18/html/folderopen.png b/HW1-FA18/html/folderopen.png deleted file mode 100644 index d6c7f676a3b3ef8c2c307d319dff3c6a604eb227..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/folderopen.png and /dev/null differ diff --git a/HW1-FA18/html/functions.html b/HW1-FA18/html/functions.html deleted file mode 100644 index 6031153c4eca807f4d7781fe857e582cb1be535d..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/functions.html +++ /dev/null @@ -1,141 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Class Members</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -</div><!-- top --> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="contents"> -<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div><ul> -<li>Board() -: <a class="el" href="classchess_board_1_1_board.html#a22f4b93edd9167eba25213c376b76680">chessBoard.Board</a> -</li> -<li>checkmate() -: <a class="el" href="classchess_board_1_1_board.html#a3c97c91ad60e17a9196663827fe9ab5e">chessBoard.Board</a> -</li> -<li>checkmateHelper() -: <a class="el" href="classchess_board_1_1_board.html#a05ebc940fda9817b0c2b5cb5c8e8347b">chessBoard.Board</a> -</li> -<li>checkRule() -: <a class="el" href="classchess_pieces_1_1_bishop.html#a89a7baed811029b61bb663b9ef271474">chessPieces.Bishop</a> -, <a class="el" href="classchess_pieces_1_1_king.html#ac456b043dee627335edfc6ca452f8e61">chessPieces.King</a> -, <a class="el" href="classchess_pieces_1_1_knight.html#a6128f7b61750e3f5598af558950e8176">chessPieces.Knight</a> -, <a class="el" href="classchess_pieces_1_1_queen.html#aed3b9c2b21cf90526473552e43473bce">chessPieces.Queen</a> -, <a class="el" href="classchess_pieces_1_1_rook.html#a80d4b7c3b01455715528c6eae36206be">chessPieces.Rook</a> -</li> -<li>getCurrentTurn() -: <a class="el" href="classchess_board_1_1_board.html#a4745d2421ba288848cd4da8a741460db">chessBoard.Board</a> -</li> -<li>getKing() -: <a class="el" href="classchess_board_1_1_board.html#afe038863a9781eab41467b56df5a9096">chessBoard.Board</a> -</li> -<li>getKingPosition() -: <a class="el" href="classchess_board_1_1_board.html#a482a8501881ed63644b25982142583d5">chessBoard.Board</a> -</li> -<li>getOpponentPieces() -: <a class="el" href="classchess_board_1_1_board.html#a57f78442bc647f610e70f17acbf043be">chessBoard.Board</a> -</li> -<li>getPieceAt() -: <a class="el" href="classchess_board_1_1_board.html#a5fd4e61f4d95df2ee8979f1c39310ce7">chessBoard.Board</a> -</li> -<li>getRowPosition() -: <a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">chessPieces.ChessPiece</a> -</li> -<li>initiateBoard() -: <a class="el" href="classchess_tests_1_1_board_test.html#a7a276983800089da009215ae21ec81a2">chessTests.BoardTest</a> -</li> -<li>isInBoard() -: <a class="el" href="classchess_board_1_1_board.html#a1d0bace033689da532b49ab02320bdbe">chessBoard.Board</a> -</li> -<li>isInCheck() -: <a class="el" href="classchess_board_1_1_board.html#a1a53c8899843ff4409c0ce0e6ec35900">chessBoard.Board</a> -</li> -<li>killed() -: <a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">chessPieces.ChessPiece</a> -</li> -<li>killPiece() -: <a class="el" href="classchess_board_1_1_board.html#a4382ed91c48a316d631bcb709ab1c7f0">chessBoard.Board</a> -</li> -<li>moveHelper() -: <a class="el" href="classchess_board_1_1_board.html#a019a1d66626479f7fec15530b370cbed">chessBoard.Board</a> -</li> -<li>moveTo() -: <a class="el" href="classchess_board_1_1_board.html#a43c19164ee867e4922c5460bd3a1cfd5">chessBoard.Board</a> -</li> -<li>pieceInBoardTest() -: <a class="el" href="classchess_tests_1_1_chess_piece_test.html#a59982f0319b68ca6b62057d061afb762">chessTests.ChessPieceTest</a> -</li> -<li>pieceSetTest() -: <a class="el" href="classchess_tests_1_1_chess_piece_test.html#ac5737f78d619cbe613e29f90ea27e98f">chessTests.ChessPieceTest</a> -</li> -<li>setTurn() -: <a class="el" href="classchess_board_1_1_board.html#a7c10a7ed99a1a761b1d4ae3ec51c22c2">chessBoard.Board</a> -</li> -<li>validMoveFilter() -: <a class="el" href="classchess_board_1_1_board.html#a601235f2aec8c70c1e620b26d096ab8a">chessBoard.Board</a> -</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/functions_func.html b/HW1-FA18/html/functions_func.html deleted file mode 100644 index 8cf97488b27d61c1d988076ce36c10c603ba8859..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/functions_func.html +++ /dev/null @@ -1,141 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Class Members - Functions</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -</div><!-- top --> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="contents"> - <ul> -<li>Board() -: <a class="el" href="classchess_board_1_1_board.html#a22f4b93edd9167eba25213c376b76680">chessBoard.Board</a> -</li> -<li>checkmate() -: <a class="el" href="classchess_board_1_1_board.html#a3c97c91ad60e17a9196663827fe9ab5e">chessBoard.Board</a> -</li> -<li>checkmateHelper() -: <a class="el" href="classchess_board_1_1_board.html#a05ebc940fda9817b0c2b5cb5c8e8347b">chessBoard.Board</a> -</li> -<li>checkRule() -: <a class="el" href="classchess_pieces_1_1_bishop.html#a89a7baed811029b61bb663b9ef271474">chessPieces.Bishop</a> -, <a class="el" href="classchess_pieces_1_1_king.html#ac456b043dee627335edfc6ca452f8e61">chessPieces.King</a> -, <a class="el" href="classchess_pieces_1_1_knight.html#a6128f7b61750e3f5598af558950e8176">chessPieces.Knight</a> -, <a class="el" href="classchess_pieces_1_1_queen.html#aed3b9c2b21cf90526473552e43473bce">chessPieces.Queen</a> -, <a class="el" href="classchess_pieces_1_1_rook.html#a80d4b7c3b01455715528c6eae36206be">chessPieces.Rook</a> -</li> -<li>getCurrentTurn() -: <a class="el" href="classchess_board_1_1_board.html#a4745d2421ba288848cd4da8a741460db">chessBoard.Board</a> -</li> -<li>getKing() -: <a class="el" href="classchess_board_1_1_board.html#afe038863a9781eab41467b56df5a9096">chessBoard.Board</a> -</li> -<li>getKingPosition() -: <a class="el" href="classchess_board_1_1_board.html#a482a8501881ed63644b25982142583d5">chessBoard.Board</a> -</li> -<li>getOpponentPieces() -: <a class="el" href="classchess_board_1_1_board.html#a57f78442bc647f610e70f17acbf043be">chessBoard.Board</a> -</li> -<li>getPieceAt() -: <a class="el" href="classchess_board_1_1_board.html#a5fd4e61f4d95df2ee8979f1c39310ce7">chessBoard.Board</a> -</li> -<li>getRowPosition() -: <a class="el" href="classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870">chessPieces.ChessPiece</a> -</li> -<li>initiateBoard() -: <a class="el" href="classchess_tests_1_1_board_test.html#a7a276983800089da009215ae21ec81a2">chessTests.BoardTest</a> -</li> -<li>isInBoard() -: <a class="el" href="classchess_board_1_1_board.html#a1d0bace033689da532b49ab02320bdbe">chessBoard.Board</a> -</li> -<li>isInCheck() -: <a class="el" href="classchess_board_1_1_board.html#a1a53c8899843ff4409c0ce0e6ec35900">chessBoard.Board</a> -</li> -<li>killed() -: <a class="el" href="classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675">chessPieces.ChessPiece</a> -</li> -<li>killPiece() -: <a class="el" href="classchess_board_1_1_board.html#a4382ed91c48a316d631bcb709ab1c7f0">chessBoard.Board</a> -</li> -<li>moveHelper() -: <a class="el" href="classchess_board_1_1_board.html#a019a1d66626479f7fec15530b370cbed">chessBoard.Board</a> -</li> -<li>moveTo() -: <a class="el" href="classchess_board_1_1_board.html#a43c19164ee867e4922c5460bd3a1cfd5">chessBoard.Board</a> -</li> -<li>pieceInBoardTest() -: <a class="el" href="classchess_tests_1_1_chess_piece_test.html#a59982f0319b68ca6b62057d061afb762">chessTests.ChessPieceTest</a> -</li> -<li>pieceSetTest() -: <a class="el" href="classchess_tests_1_1_chess_piece_test.html#ac5737f78d619cbe613e29f90ea27e98f">chessTests.ChessPieceTest</a> -</li> -<li>setTurn() -: <a class="el" href="classchess_board_1_1_board.html#a7c10a7ed99a1a761b1d4ae3ec51c22c2">chessBoard.Board</a> -</li> -<li>validMoveFilter() -: <a class="el" href="classchess_board_1_1_board.html#a601235f2aec8c70c1e620b26d096ab8a">chessBoard.Board</a> -</li> -</ul> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/hierarchy.html b/HW1-FA18/html/hierarchy.html deleted file mode 100644 index 1e1a59b1c27767988af428ca7462a3a583a27af6..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/hierarchy.html +++ /dev/null @@ -1,90 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Class Hierarchy</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -</div><!-- top --> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="header"> - <div class="headertitle"> -<div class="title">Class Hierarchy</div> </div> -</div><!--header--> -<div class="contents"> -<div class="textblock">This inheritance list is sorted roughly, but not completely, alphabetically:</div><div class="directory"> -<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory"> -<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_board_1_1_board.html" target="_self">chessBoard.Board</a></td><td class="desc"></td></tr> -<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_tests_1_1_board_test.html" target="_self">chessTests.BoardTest</a></td><td class="desc"></td></tr> -<tr id="row_2_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_chess_piece.html" target="_self">chessPieces.ChessPiece</a></td><td class="desc"></td></tr> -<tr id="row_2_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_bishop.html" target="_self">chessPieces.Bishop</a></td><td class="desc"></td></tr> -<tr id="row_2_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_king.html" target="_self">chessPieces.King</a></td><td class="desc"></td></tr> -<tr id="row_2_2_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_knight.html" target="_self">chessPieces.Knight</a></td><td class="desc"></td></tr> -<tr id="row_2_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_pawn.html" target="_self">chessPieces.Pawn</a></td><td class="desc"></td></tr> -<tr id="row_2_4_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_queen.html" target="_self">chessPieces.Queen</a></td><td class="desc"></td></tr> -<tr id="row_2_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_pieces_1_1_rook.html" target="_self">chessPieces.Rook</a></td><td class="desc"></td></tr> -<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classchess_tests_1_1_chess_piece_test.html" target="_self">chessTests.ChessPieceTest</a></td><td class="desc"></td></tr> -</table> -</div><!-- directory --> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/index.html b/HW1-FA18/html/index.html deleted file mode 100644 index 80270d31c006b85e35c9fcf9e23882dc01bb9fcc..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/index.html +++ /dev/null @@ -1,76 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Main Page</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -</div><!-- top --> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="header"> - <div class="headertitle"> -<div class="title">My Project Documentation</div> </div> -</div><!--header--> -<div class="contents"> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/jquery.js b/HW1-FA18/html/jquery.js deleted file mode 100644 index 2771c749a4f4e12b7d824f08fc514d6fd1f52605..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/jquery.js +++ /dev/null @@ -1,115 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -/*! - * jQuery JavaScript Library v1.7.1 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Mon Nov 21 21:11:03 2011 -0500 - */ -(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b4<b3;b4++){if((b9=arguments[b4])!=null){for(b2 in b9){b0=b5[b2];b1=b9[b2];if(b5===b1){continue}if(b8&&b1&&(bF.isPlainObject(b1)||(b6=bF.isArray(b1)))){if(b6){b6=false;b7=b0&&bF.isArray(b0)?b0:[]}else{b7=b0&&bF.isPlainObject(b0)?b0:{}}b5[b2]=bF.extend(b8,b7,b1)}else{if(b1!==L){b5[b2]=b1}}}}}return b5};bF.extend({noConflict:function(b0){if(bb.$===bF){bb.$=bH}if(b0&&bb.jQuery===bF){bb.jQuery=bU}return bF},isReady:false,readyWait:1,holdReady:function(b0){if(b0){bF.readyWait++}else{bF.ready(true)}},ready:function(b0){if((b0===true&&!--bF.readyWait)||(b0!==true&&!bF.isReady)){if(!av.body){return setTimeout(bF.ready,1)}bF.isReady=true;if(b0!==true&&--bF.readyWait>0){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b4<b5;){if(b6.apply(b3[b4++],b2)===false){break}}}}else{if(b0){for(b1 in b3){if(b6.call(b3[b1],b1,b3[b1])===false){break}}}else{for(;b4<b5;){if(b6.call(b3[b4],b4,b3[b4++])===false){break}}}}return b3},trim:bO?function(b0){return b0==null?"":bO.call(b0)}:function(b0){return b0==null?"":b0.toString().replace(bI,"").replace(bE,"")},makeArray:function(b3,b1){var b0=b1||[];if(b3!=null){var b2=bF.type(b3);if(b3.length==null||b2==="string"||b2==="function"||b2==="regexp"||bF.isWindow(b3)){bz.call(b0,b3)}else{bF.merge(b0,b3)}}return b0},inArray:function(b2,b3,b1){var b0;if(b3){if(bv){return bv.call(b3,b2,b1)}b0=b3.length;b1=b1?b1<0?Math.max(0,b0+b1):b1:0;for(;b1<b0;b1++){if(b1 in b3&&b3[b1]===b2){return b1}}}return -1},merge:function(b4,b2){var b3=b4.length,b1=0;if(typeof b2.length==="number"){for(var b0=b2.length;b1<b0;b1++){b4[b3++]=b2[b1]}}else{while(b2[b1]!==L){b4[b3++]=b2[b1++]}}b4.length=b3;return b4},grep:function(b1,b6,b0){var b2=[],b5;b0=!!b0;for(var b3=0,b4=b1.length;b3<b4;b3++){b5=!!b6(b1[b3],b3);if(b0!==b5){b2.push(b1[b3])}}return b2},map:function(b0,b7,b8){var b5,b6,b4=[],b2=0,b1=b0.length,b3=b0 instanceof bF||b1!==L&&typeof b1==="number"&&((b1>0&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b2<b1;b2++){b5=b7(b0[b2],b2,b8);if(b5!=null){b4[b4.length]=b5}}}else{for(b6 in b0){b5=b7(b0[b6],b6,b8);if(b5!=null){b4[b4.length]=b5}}}return b4.concat.apply([],b4)},guid:1,proxy:function(b4,b3){if(typeof b3==="string"){var b2=b4[b3];b3=b4;b4=b2}if(!bF.isFunction(b4)){return L}var b0=bK.call(arguments,2),b1=function(){return b4.apply(b3,b0.concat(bK.call(arguments)))};b1.guid=b4.guid=b4.guid||b1.guid||bF.guid++;return b1},access:function(b0,b8,b6,b2,b5,b7){var b1=b0.length;if(typeof b8==="object"){for(var b3 in b8){bF.access(b0,b3,b8[b3],b2,b5,b6)}return b0}if(b6!==L){b2=!b7&&b2&&bF.isFunction(b6);for(var b4=0;b4<b1;b4++){b5(b0[b4],b8,b2?b6.call(b0[b4],b4,b5(b0[b4],b8)):b6,b7)}return b0}return b1?b5(b0[0],b8):L},now:function(){return(new Date()).getTime()},uaMatch:function(b1){b1=b1.toLowerCase();var b0=by.exec(b1)||bR.exec(b1)||bQ.exec(b1)||b1.indexOf("compatible")<0&&bS.exec(b1)||[];return{browser:b0[1]||"",version:b0[2]||"0"}},sub:function(){function b0(b3,b4){return new b0.fn.init(b3,b4)}bF.extend(true,b0,this);b0.superclass=this;b0.fn=b0.prototype=this();b0.fn.constructor=b0;b0.sub=this.sub;b0.fn.init=function b2(b3,b4){if(b4&&b4 instanceof bF&&!(b4 instanceof b0)){b4=b0(b4)}return bF.fn.init.call(this,b3,b4,b1)};b0.fn.init.prototype=b0.fn;var b1=b0(av);return b0},browser:{}});bF.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(b1,b0){bx["[object "+b0+"]"]=b0.toLowerCase()});bV=bF.uaMatch(bX);if(bV.browser){bF.browser[bV.browser]=true;bF.browser.version=bV.version}if(bF.browser.webkit){bF.browser.safari=true}if(bM.test("\xA0")){bI=/^[\s\xA0]+/;bE=/[\s\xA0]+$/}bD=bF(av);if(av.addEventListener){e=function(){av.removeEventListener("DOMContentLoaded",e,false);bF.ready()}}else{if(av.attachEvent){e=function(){if(av.readyState==="complete"){av.detachEvent("onreadystatechange",e);bF.ready()}}}}function bw(){if(bF.isReady){return}try{av.documentElement.doScroll("left")}catch(b0){setTimeout(bw,1);return}bF.ready()}return bF})();var a2={};function X(e){var bv=a2[e]={},bw,bx;e=e.split(/\s+/);for(bw=0,bx=e.length;bw<bx;bw++){bv[e[bw]]=true}return bv}b.Callbacks=function(bw){bw=bw?(a2[bw]||X(bw)):{};var bB=[],bC=[],bx,by,bv,bz,bA,bE=function(bF){var bG,bJ,bI,bH,bK;for(bG=0,bJ=bF.length;bG<bJ;bG++){bI=bF[bG];bH=b.type(bI);if(bH==="array"){bE(bI)}else{if(bH==="function"){if(!bw.unique||!bD.has(bI)){bB.push(bI)}}}}},e=function(bG,bF){bF=bF||[];bx=!bw.memory||[bG,bF];by=true;bA=bv||0;bv=0;bz=bB.length;for(;bB&&bA<bz;bA++){if(bB[bA].apply(bG,bF)===false&&bw.stopOnFalse){bx=true;break}}by=false;if(bB){if(!bw.once){if(bC&&bC.length){bx=bC.shift();bD.fireWith(bx[0],bx[1])}}else{if(bx===true){bD.disable()}else{bB=[]}}}},bD={add:function(){if(bB){var bF=bB.length;bE(arguments);if(by){bz=bB.length}else{if(bx&&bx!==true){bv=bF;e(bx[0],bx[1])}}}return this},remove:function(){if(bB){var bF=arguments,bH=0,bI=bF.length;for(;bH<bI;bH++){for(var bG=0;bG<bB.length;bG++){if(bF[bH]===bB[bG]){if(by){if(bG<=bz){bz--;if(bG<=bA){bA--}}}bB.splice(bG--,1);if(bw.unique){break}}}}}return this},has:function(bG){if(bB){var bF=0,bH=bB.length;for(;bF<bH;bF++){if(bG===bB[bF]){return true}}}return false},empty:function(){bB=[];return this},disable:function(){bB=bC=bx=L;return this},disabled:function(){return !bB},lock:function(){bC=L;if(!bx||bx===true){bD.disable()}return this},locked:function(){return !bC},fireWith:function(bG,bF){if(bC){if(by){if(!bw.once){bC.push([bG,bF])}}else{if(!(bw.once&&bx)){e(bG,bF)}}}return this},fire:function(){bD.fireWith(this,arguments);return this},fired:function(){return !!bx}};return bD};var aJ=[].slice;b.extend({Deferred:function(by){var bx=b.Callbacks("once memory"),bw=b.Callbacks("once memory"),bv=b.Callbacks("memory"),e="pending",bA={resolve:bx,reject:bw,notify:bv},bC={done:bx.add,fail:bw.add,progress:bv.add,state:function(){return e},isResolved:bx.fired,isRejected:bw.fired,then:function(bE,bD,bF){bB.done(bE).fail(bD).progress(bF);return this},always:function(){bB.done.apply(bB,arguments).fail.apply(bB,arguments);return this},pipe:function(bF,bE,bD){return b.Deferred(function(bG){b.each({done:[bF,"resolve"],fail:[bE,"reject"],progress:[bD,"notify"]},function(bI,bL){var bH=bL[0],bK=bL[1],bJ;if(b.isFunction(bH)){bB[bI](function(){bJ=bH.apply(this,arguments);if(bJ&&b.isFunction(bJ.promise)){bJ.promise().then(bG.resolve,bG.reject,bG.notify)}else{bG[bK+"With"](this===bB?bG:this,[bJ])}})}else{bB[bI](bG[bK])}})}).promise()},promise:function(bE){if(bE==null){bE=bC}else{for(var bD in bC){bE[bD]=bC[bD]}}return bE}},bB=bC.promise({}),bz;for(bz in bA){bB[bz]=bA[bz].fire;bB[bz+"With"]=bA[bz].fireWith}bB.done(function(){e="resolved"},bw.disable,bv.lock).fail(function(){e="rejected"},bx.disable,bv.lock);if(by){by.call(bB,bB)}return bB},when:function(bA){var bx=aJ.call(arguments,0),bv=0,e=bx.length,bB=new Array(e),bw=e,by=e,bC=e<=1&&bA&&b.isFunction(bA.promise)?bA:b.Deferred(),bE=bC.promise();function bD(bF){return function(bG){bx[bF]=arguments.length>1?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv<e;bv++){if(bx[bv]&&bx[bv].promise&&b.isFunction(bx[bv].promise)){bx[bv].promise().then(bD(bv),bC.reject,bz(bv))}else{--bw}}if(!bw){bC.resolveWith(bC,bx)}}else{if(bC!==bA){bC.resolveWith(bC,e?[bA]:[])}}return bE}});b.support=(function(){var bJ,bI,bF,bG,bx,bE,bA,bD,bz,bK,bB,by,bw,bv=av.createElement("div"),bH=av.documentElement;bv.setAttribute("className","t");bv.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="<div "+e+"><div></div></div><table "+e+" cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="<div style='width:4px;'></div>";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA<bz;bA++){delete bB[bv[bA]]}if(!(by?S:b.isEmptyObject)(bB)){return}}}if(!by){delete e[bw].data;if(!S(e[bw])){return}}if(b.support.deleteExpando||!e.setInterval){delete e[bw]}else{e[bw]=null}if(bD){if(b.support.deleteExpando){delete bx[bC]}else{if(bx.removeAttribute){bx.removeAttribute(bC)}else{bx[bC]=null}}}},_data:function(bv,e,bw){return b.data(bv,e,bw,true)},acceptData:function(bv){if(bv.nodeName){var e=b.noData[bv.nodeName.toLowerCase()];if(e){return !(e===true||bv.getAttribute("classid")!==e)}}return true}});b.fn.extend({data:function(by,bA){var bB,e,bw,bz=null;if(typeof by==="undefined"){if(this.length){bz=b.data(this[0]);if(this[0].nodeType===1&&!b._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var bx=0,bv=e.length;bx<bv;bx++){bw=e[bx].name;if(bw.indexOf("data-")===0){bw=b.camelCase(bw.substring(5));a5(this[0],bw,bz[bw])}}b._data(this[0],"parsedAttrs",true)}}return bz}else{if(typeof by==="object"){return this.each(function(){b.data(this,by)})}}bB=by.split(".");bB[1]=bB[1]?"."+bB[1]:"";if(bA===L){bz=this.triggerHandler("getData"+bB[1]+"!",[bB[0]]);if(bz===L&&this.length){bz=b.data(this[0],by);bz=a5(this[0],by,bz)}return bz===L&&bB[1]?this.data(bB[0]):bz}else{return this.each(function(){var bC=b(this),bD=[bB[0],bA];bC.triggerHandler("setData"+bB[1]+"!",bD);b.data(this,by,bA);bC.triggerHandler("changeData"+bB[1]+"!",bD)})}},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function a5(bx,bw,by){if(by===L&&bx.nodeType===1){var bv="data-"+bw.replace(aA,"-$1").toLowerCase();by=bx.getAttribute(bv);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:b.isNumeric(by)?parseFloat(by):aS.test(by)?b.parseJSON(by):by}catch(bz){}b.data(bx,bw,by)}else{by=L}}return by}function S(bv){for(var e in bv){if(e==="data"&&b.isEmptyObject(bv[e])){continue}if(e!=="toJSON"){return false}}return true}function bi(by,bx,bA){var bw=bx+"defer",bv=bx+"queue",e=bx+"mark",bz=b._data(by,bw);if(bz&&(bA==="queue"||!b._data(by,bv))&&(bA==="mark"||!b._data(by,e))){setTimeout(function(){if(!b._data(by,bv)&&!b._data(by,e)){b.removeData(by,bw,true);bz.fire()}},0)}}b.extend({_mark:function(bv,e){if(bv){e=(e||"fx")+"mark";b._data(bv,e,(b._data(bv,e)||0)+1)}},_unmark:function(by,bx,bv){if(by!==true){bv=bx;bx=by;by=false}if(bx){bv=bv||"fx";var e=bv+"mark",bw=by?0:((b._data(bx,e)||1)-1);if(bw){b._data(bx,e,bw)}else{b.removeData(bx,e,true);bi(bx,bv,"mark")}}},queue:function(bv,e,bx){var bw;if(bv){e=(e||"fx")+"queue";bw=b._data(bv,e);if(bx){if(!bw||b.isArray(bx)){bw=b._data(bv,e,b.makeArray(bx))}else{bw.push(bx)}}return bw||[]}},dequeue:function(by,bx){bx=bx||"fx";var bv=b.queue(by,bx),bw=bv.shift(),e={};if(bw==="inprogress"){bw=bv.shift()}if(bw){if(bx==="fx"){bv.unshift("inprogress")}b._data(by,bx+".run",e);bw.call(by,function(){b.dequeue(by,bx)},e)}if(!bv.length){b.removeData(by,bx+"queue "+bx+".run",true);bi(by,bx,"queue")}}});b.fn.extend({queue:function(e,bv){if(typeof e!=="string"){bv=e;e="fx"}if(bv===L){return b.queue(this[0],e)}return this.each(function(){var bw=b.queue(this,e,bv);if(e==="fx"&&bw[0]!=="inprogress"){b.dequeue(this,e)}})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(bv,e){bv=b.fx?b.fx.speeds[bv]||bv:bv;e=e||"fx";return this.queue(e,function(bx,bw){var by=setTimeout(bx,bv);bw.stop=function(){clearTimeout(by)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(bD,bw){if(typeof bD!=="string"){bw=bD;bD=L}bD=bD||"fx";var e=b.Deferred(),bv=this,by=bv.length,bB=1,bz=bD+"defer",bA=bD+"queue",bC=bD+"mark",bx;function bE(){if(!(--bB)){e.resolveWith(bv,[bv])}}while(by--){if((bx=b.data(bv[by],bz,L,true)||(b.data(bv[by],bA,L,true)||b.data(bv[by],bC,L,true))&&b.data(bv[by],bz,b.Callbacks("once memory"),true))){bB++;bx.add(bE)}}bE();return e.promise()}});var aP=/[\n\t\r]/g,af=/\s+/,aU=/\r/g,g=/^(?:button|input)$/i,D=/^(?:button|input|object|select|textarea)$/i,l=/^a(?:rea)?$/i,ao=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,F=b.support.getSetAttribute,be,aY,aF;b.fn.extend({attr:function(e,bv){return b.access(this,e,bv,true,b.attr)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,bv){return b.access(this,e,bv,true,b.prop)},removeProp:function(e){e=b.propFix[e]||e;return this.each(function(){try{this[e]=L;delete this[e]}catch(bv){}})},addClass:function(by){var bA,bw,bv,bx,bz,bB,e;if(b.isFunction(by)){return this.each(function(bC){b(this).addClass(by.call(this,bC,this.className))})}if(by&&typeof by==="string"){bA=by.split(af);for(bw=0,bv=this.length;bw<bv;bw++){bx=this[bw];if(bx.nodeType===1){if(!bx.className&&bA.length===1){bx.className=by}else{bz=" "+bx.className+" ";for(bB=0,e=bA.length;bB<e;bB++){if(!~bz.indexOf(" "+bA[bB]+" ")){bz+=bA[bB]+" "}}bx.className=b.trim(bz)}}}}return this},removeClass:function(bz){var bA,bw,bv,by,bx,bB,e;if(b.isFunction(bz)){return this.each(function(bC){b(this).removeClass(bz.call(this,bC,this.className))})}if((bz&&typeof bz==="string")||bz===L){bA=(bz||"").split(af);for(bw=0,bv=this.length;bw<bv;bw++){by=this[bw];if(by.nodeType===1&&by.className){if(bz){bx=(" "+by.className+" ").replace(aP," ");for(bB=0,e=bA.length;bB<e;bB++){bx=bx.replace(" "+bA[bB]+" "," ")}by.className=b.trim(bx)}else{by.className=""}}}}return this},toggleClass:function(bx,bv){var bw=typeof bx,e=typeof bv==="boolean";if(b.isFunction(bx)){return this.each(function(by){b(this).toggleClass(bx.call(this,by,this.className,bv),bv)})}return this.each(function(){if(bw==="string"){var bA,bz=0,by=b(this),bB=bv,bC=bx.split(af);while((bA=bC[bz++])){bB=e?bB:!by.hasClass(bA);by[bB?"addClass":"removeClass"](bA)}}else{if(bw==="undefined"||bw==="boolean"){if(this.className){b._data(this,"__className__",this.className)}this.className=this.className||bx===false?"":b._data(this,"__className__")||""}}})},hasClass:function(e){var bx=" "+e+" ",bw=0,bv=this.length;for(;bw<bv;bw++){if(this[bw].nodeType===1&&(" "+this[bw].className+" ").replace(aP," ").indexOf(bx)>-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv<bz;bv++){bx=bC[bv];if(bx.selected&&(b.support.optDisabled?!bx.disabled:bx.getAttribute("disabled")===null)&&(!bx.parentNode.disabled||!b.nodeName(bx.parentNode,"optgroup"))){bA=b(bx).val();if(bw){return bA}bB.push(bA)}}if(bw&&!bB.length&&bC.length){return b(bC[by]).val()}return bB},set:function(bv,bw){var e=b.makeArray(bw);b(bv).find("option").each(function(){this.selected=b.inArray(b(this).val(),e)>=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw<e;bw++){bv=bA[bw];if(bv){by=b.propFix[bv]||bv;b.attr(bx,bv,"");bx.removeAttribute(F?bv:by);if(ao.test(bv)&&by in bx){bx[by]=false}}}}},attrHooks:{type:{set:function(e,bv){if(g.test(e.nodeName)&&e.parentNode){b.error("type property can't be changed")}else{if(!b.support.radioValue&&bv==="radio"&&b.nodeName(e,"input")){var bw=e.value;e.setAttribute("type",bv);if(bw){e.value=bw}return bv}}}},value:{get:function(bv,e){if(be&&b.nodeName(bv,"button")){return be.get(bv,e)}return e in bv?bv.value:null},set:function(bv,bw,e){if(be&&b.nodeName(bv,"button")){return be.set(bv,bw,e)}bv.value=bw}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bz,bx,bA){var bw,e,by,bv=bz.nodeType;if(!bz||bv===3||bv===8||bv===2){return}by=bv!==1||!b.isXMLDoc(bz);if(by){bx=b.propFix[bx]||bx;e=b.propHooks[bx]}if(bA!==L){if(e&&"set" in e&&(bw=e.set(bz,bA,bx))!==L){return bw}else{return(bz[bx]=bA)}}else{if(e&&"get" in e&&(bw=e.get(bz,bx))!==null){return bw}else{return bz[bx]}}},propHooks:{tabIndex:{get:function(bv){var e=bv.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):D.test(bv.nodeName)||l.test(bv.nodeName)&&bv.href?0:L}}}});b.attrHooks.tabindex=b.propHooks.tabIndex;aY={get:function(bv,e){var bx,bw=b.prop(bv,e);return bw===true||typeof bw!=="boolean"&&(bx=bv.getAttributeNode(e))&&bx.nodeValue!==false?e.toLowerCase():L},set:function(bv,bx,e){var bw;if(bx===false){b.removeAttr(bv,e)}else{bw=b.propFix[e]||e;if(bw in bv){bv[bw]=true}bv.setAttribute(e,e.toLowerCase())}return e}};if(!F){aF={name:true,id:true};be=b.valHooks.button={get:function(bw,bv){var e;e=bw.getAttributeNode(bv);return e&&(aF[bv]?e.nodeValue!=="":e.specified)?e.nodeValue:L},set:function(bw,bx,bv){var e=bw.getAttributeNode(bv);if(!e){e=av.createAttribute(bv);bw.setAttributeNode(e)}return(e.nodeValue=bx+"")}};b.attrHooks.tabindex.set=be.set;b.each(["width","height"],function(bv,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{set:function(bw,bx){if(bx===""){bw.setAttribute(e,"auto");return bx}}})});b.attrHooks.contenteditable={get:be.get,set:function(bv,bw,e){if(bw===""){bw="false"}be.set(bv,bw,e)}}}if(!b.support.hrefNormalized){b.each(["href","src","width","height"],function(bv,e){b.attrHooks[e]=b.extend(b.attrHooks[e],{get:function(bx){var bw=bx.getAttribute(e,2);return bw===null?L:bw}})})}if(!b.support.style){b.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||L},set:function(e,bv){return(e.style.cssText=""+bv)}}}if(!b.support.optSelected){b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(bv){var e=bv.parentNode;if(e){e.selectedIndex;if(e.parentNode){e.parentNode.selectedIndex}}return null}})}if(!b.support.enctype){b.propFix.enctype="encoding"}if(!b.support.checkOn){b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}})}b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,bv){if(b.isArray(bv)){return(e.checked=b.inArray(b(e).val(),bv)>=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI<bC.length;bI++){bH=n.exec(bC[bI])||[];bF=bH[1];e=(bH[2]||"").split(".").sort();bE=b.event.special[bF]||{};bF=(by?bE.delegateType:bE.bindType)||bF;bE=b.event.special[bF]||{};bG=b.extend({type:bF,origType:bH[1],data:bA,handler:bJ,guid:bJ.guid,selector:by,quick:Y(by),namespace:e.join(".")},bv);bw=bK[bF];if(!bw){bw=bK[bF]=[];bw.delegateCount=0;if(!bE.setup||bE.setup.call(bx,bA,e,bB)===false){if(bx.addEventListener){bx.addEventListener(bF,bB,false)}else{if(bx.attachEvent){bx.attachEvent("on"+bF,bB)}}}}if(bE.add){bE.add.call(bx,bG);if(!bG.handler.guid){bG.handler.guid=bJ.guid}}if(by){bw.splice(bw.delegateCount++,0,bG)}else{bw.push(bG)}b.event.global[bF]=true}bx=null},global:{},remove:function(bJ,bE,bv,bH,bB){var bI=b.hasData(bJ)&&b._data(bJ),bF,bx,bz,bL,bC,bA,bG,bw,by,bK,bD,e;if(!bI||!(bw=bI.events)){return}bE=b.trim(bt(bE||"")).split(" ");for(bF=0;bF<bE.length;bF++){bx=n.exec(bE[bF])||[];bz=bL=bx[1];bC=bx[2];if(!bz){for(bz in bw){b.event.remove(bJ,bz+bE[bF],bv,bH,true)}continue}by=b.event.special[bz]||{};bz=(bH?by.delegateType:by.bindType)||bz;bD=bw[bz]||[];bA=bD.length;bC=bC?new RegExp("(^|\\.)"+bC.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(bG=0;bG<bD.length;bG++){e=bD[bG];if((bB||bL===e.origType)&&(!bv||bv.guid===e.guid)&&(!bC||bC.test(e.namespace))&&(!bH||bH===e.selector||bH==="**"&&e.selector)){bD.splice(bG--,1);if(e.selector){bD.delegateCount--}if(by.remove){by.remove.call(bJ,e)}}}if(bD.length===0&&bA!==bD.length){if(!by.teardown||by.teardown.call(bJ,bC)===false){b.removeEvent(bJ,bz,bI.handle)}delete bw[bz]}}if(b.isEmptyObject(bw)){bK=bI.handle;if(bK){bK.elem=null}b.removeData(bJ,["events","handle"],true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(bv,bD,bA,bJ){if(bA&&(bA.nodeType===3||bA.nodeType===8)){return}var bG=bv.type||bv,bx=[],e,bw,bC,bH,bz,by,bF,bE,bB,bI;if(T.test(bG+b.event.triggered)){return}if(bG.indexOf("!")>=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bC<bB.length&&!bv.isPropagationStopped();bC++){bH=bB[bC][0];bv.type=bB[bC][1];bE=(b._data(bH,"events")||{})[bv.type]&&b._data(bH,"handle");if(bE){bE.apply(bH,bD)}bE=by&&bH[by];if(bE&&b.acceptData(bH)&&bE.apply(bH,bD)===false){bv.preventDefault()}}bv.type=bG;if(!bJ&&!bv.isDefaultPrevented()){if((!bF._default||bF._default.apply(bA.ownerDocument,bD)===false)&&!(bG==="click"&&b.nodeName(bA,"a"))&&b.acceptData(bA)){if(by&&bA[bG]&&((bG!=="focus"&&bG!=="blur")||bv.target.offsetWidth!==0)&&!b.isWindow(bA)){bz=bA[by];if(bz){bA[by]=null}b.event.triggered=bG;bA[bG]();b.event.triggered=L;if(bz){bA[by]=bz}}}}return bv.result},dispatch:function(e){e=b.event.fix(e||bb.event);var bz=((b._data(this,"events")||{})[e.type]||[]),bA=bz.delegateCount,bG=[].slice.call(arguments,0),by=!e.exclusive&&!e.namespace,bH=[],bC,bB,bK,bx,bF,bE,bv,bD,bI,bw,bJ;bG[0]=e;e.delegateTarget=this;if(bA&&!e.target.disabled&&!(e.button&&e.type==="click")){bx=b(this);bx.context=this.ownerDocument||this;for(bK=e.target;bK!=this;bK=bK.parentNode||this){bE={};bD=[];bx[0]=bK;for(bC=0;bC<bA;bC++){bI=bz[bC];bw=bI.selector;if(bE[bw]===L){bE[bw]=(bI.quick?j(bK,bI.quick):bx.is(bw))}if(bE[bw]){bD.push(bI)}}if(bD.length){bH.push({elem:bK,matches:bD})}}}if(bz.length>bA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC<bH.length&&!e.isPropagationStopped();bC++){bv=bH[bC];e.currentTarget=bv.elem;for(bB=0;bB<bv.matches.length&&!e.isImmediatePropagationStopped();bB++){bI=bv.matches[bB];if(by||(!e.namespace&&!bI.namespace)||e.namespace_re&&e.namespace_re.test(bI.namespace)){e.data=bI.data;e.handleObj=bI;bF=((b.event.special[bI.origType]||{}).handle||bI.handler).apply(bv.elem,bG);if(bF!==L){e.result=bF;if(bF===false){e.preventDefault();e.stopPropagation()}}}}}return e.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(bv,e){if(bv.which==null){bv.which=e.charCode!=null?e.charCode:e.keyCode}return bv}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(bx,bw){var by,bz,e,bv=bw.button,bA=bw.fromElement;if(bx.pageX==null&&bw.clientX!=null){by=bx.target.ownerDocument||av;bz=by.documentElement;e=by.body;bx.pageX=bw.clientX+(bz&&bz.scrollLeft||e&&e.scrollLeft||0)-(bz&&bz.clientLeft||e&&e.clientLeft||0);bx.pageY=bw.clientY+(bz&&bz.scrollTop||e&&e.scrollTop||0)-(bz&&bz.clientTop||e&&e.clientTop||0)}if(!bx.relatedTarget&&bA){bx.relatedTarget=bA===bx.target?bw.toElement:bA}if(!bx.which&&bv!==L){bx.which=(bv&1?1:(bv&2?3:(bv&4?2:0)))}return bx}},fix:function(bw){if(bw[b.expando]){return bw}var bv,bz,e=bw,bx=b.event.fixHooks[bw.type]||{},by=bx.props?this.props.concat(bx.props):this.props;bw=b.Event(e);for(bv=by.length;bv;){bz=by[--bv];bw[bz]=e[bz]}if(!bw.target){bw.target=e.srcElement||av}if(bw.target.nodeType===3){bw.target=bw.target.parentNode}if(bw.metaKey===L){bw.metaKey=bw.ctrlKey}return bx.filter?bx.filter(bw,e):bw},special:{ready:{setup:b.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(bw,bv,e){if(b.isWindow(this)){this.onbeforeunload=e}},teardown:function(bv,e){if(this.onbeforeunload===e){this.onbeforeunload=null}}}},simulate:function(bw,by,bx,bv){var bz=b.extend(new b.Event(),bx,{type:bw,isSimulated:true,originalEvent:{}});if(bv){b.event.trigger(bz,null,by)}else{b.event.dispatch.call(by,bz)}if(bz.isDefaultPrevented()){bx.preventDefault()}}};b.event.handle=b.event.dispatch;b.removeEvent=av.removeEventListener?function(bv,e,bw){if(bv.removeEventListener){bv.removeEventListener(e,bw,false)}}:function(bv,e,bw){if(bv.detachEvent){bv.detachEvent("on"+e,bw)}};b.Event=function(bv,e){if(!(this instanceof b.Event)){return new b.Event(bv,e)}if(bv&&bv.type){this.originalEvent=bv;this.type=bv.type;this.isDefaultPrevented=(bv.defaultPrevented||bv.returnValue===false||bv.getPreventDefault&&bv.getPreventDefault())?i:bk}else{this.type=bv}if(e){b.extend(this,e)}this.timeStamp=bv&&bv.timeStamp||b.now();this[b.expando]=true};function bk(){return false}function i(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=i;var bv=this.originalEvent;if(!bv){return}if(bv.preventDefault){bv.preventDefault()}else{bv.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=i;var bv=this.originalEvent;if(!bv){return}if(bv.stopPropagation){bv.stopPropagation()}bv.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i;this.stopPropagation()},isDefaultPrevented:bk,isPropagationStopped:bk,isImmediatePropagationStopped:bk};b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bv,e){b.event.special[bv]={delegateType:e,bindType:e,handle:function(bz){var bB=this,bA=bz.relatedTarget,by=bz.handleObj,bw=by.selector,bx;if(!bA||(bA!==bB&&!b.contains(bB,bA))){bz.type=by.origType;bx=by.handler.apply(this,arguments);bz.type=e}return bx}}});if(!b.support.submitBubbles){b.event.special.submit={setup:function(){if(b.nodeName(this,"form")){return false}b.event.add(this,"click._submit keypress._submit",function(bx){var bw=bx.target,bv=b.nodeName(bw,"input")||b.nodeName(bw,"button")?bw.form:L;if(bv&&!bv._submit_attached){b.event.add(bv,"submit._submit",function(e){if(this.parentNode&&!e.isTrigger){b.event.simulate("submit",this.parentNode,e,true)}});bv._submit_attached=true}})},teardown:function(){if(b.nodeName(this,"form")){return false}b.event.remove(this,"._submit")}}}if(!b.support.changeBubbles){b.event.special.change={setup:function(){if(bd.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){b.event.add(this,"propertychange._change",function(e){if(e.originalEvent.propertyName==="checked"){this._just_changed=true}});b.event.add(this,"click._change",function(e){if(this._just_changed&&!e.isTrigger){this._just_changed=false;b.event.simulate("change",this,e,true)}})}return false}b.event.add(this,"beforeactivate._change",function(bw){var bv=bw.target;if(bd.test(bv.nodeName)&&!bv._change_attached){b.event.add(bv,"change._change",function(e){if(this.parentNode&&!e.isSimulated&&!e.isTrigger){b.event.simulate("change",this.parentNode,e,true)}});bv._change_attached=true}})},handle:function(bv){var e=bv.target;if(this!==e||bv.isSimulated||bv.isTrigger||(e.type!=="radio"&&e.type!=="checkbox")){return bv.handleObj.handler.apply(this,arguments)}},teardown:function(){b.event.remove(this,"._change");return bd.test(this.nodeName)}}}if(!b.support.focusinBubbles){b.each({focus:"focusin",blur:"focusout"},function(bx,e){var bv=0,bw=function(by){b.event.simulate(e,by.target,b.event.fix(by),true)};b.event.special[e]={setup:function(){if(bv++===0){av.addEventListener(bx,bw,true)}},teardown:function(){if(--bv===0){av.removeEventListener(bx,bw,true)}}}})}b.fn.extend({on:function(bw,e,bz,by,bv){var bA,bx;if(typeof bw==="object"){if(typeof e!=="string"){bz=e;e=L}for(bx in bw){this.on(bx,e,bz,bw[bx],bv)}return this}if(bz==null&&by==null){by=e;bz=e=L}else{if(by==null){if(typeof e==="string"){by=bz;bz=L}else{by=bz;bz=e;e=L}}}if(by===false){by=bk}else{if(!by){return this}}if(bv===1){bA=by;by=function(bB){b().off(bB);return bA.apply(this,arguments)};by.guid=bA.guid||(bA.guid=b.guid++)}return this.each(function(){b.event.add(this,bw,by,bz,e)})},one:function(bv,e,bx,bw){return this.on.call(this,bv,e,bx,bw,1)},off:function(bw,e,by){if(bw&&bw.preventDefault&&bw.handleObj){var bv=bw.handleObj;b(bw.delegateTarget).off(bv.namespace?bv.type+"."+bv.namespace:bv.type,bv.selector,bv.handler);return this}if(typeof bw==="object"){for(var bx in bw){this.off(bx,e,bw[bx])}return this}if(e===false||typeof e==="function"){by=e;e=L}if(by===false){by=bk}return this.each(function(){b.event.remove(this,bw,by,e)})},bind:function(e,bw,bv){return this.on(e,null,bw,bv)},unbind:function(e,bv){return this.off(e,null,bv)},live:function(e,bw,bv){b(this.context).on(e,this.selector,bw,bv);return this},die:function(e,bv){b(this.context).off(e,this.selector||"**",bv);return this},delegate:function(e,bv,bx,bw){return this.on(bv,e,bx,bw)},undelegate:function(e,bv,bw){return arguments.length==1?this.off(e,"**"):this.off(bv,e,bw)},trigger:function(e,bv){return this.each(function(){b.event.trigger(e,bv,this)})},triggerHandler:function(e,bv){if(this[0]){return b.event.trigger(e,bv,this[0],true)}},toggle:function(bx){var bv=arguments,e=bx.guid||b.guid++,bw=0,by=function(bz){var bA=(b._data(this,"lastToggle"+bx.guid)||0)%bw;b._data(this,"lastToggle"+bx.guid,bA+1);bz.preventDefault();return bv[bA].apply(this,arguments)||false};by.guid=e;while(bw<bv.length){bv[bw++].guid=e}return this.click(by)},hover:function(e,bv){return this.mouseenter(e).mouseleave(bv||e)}});b.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu").split(" "),function(bv,e){b.fn[e]=function(bx,bw){if(bw==null){bw=bx;bx=null}return arguments.length>0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e<bR.length;e++){if(bR[e]===bR[e-1]){bR.splice(e--,1)}}}}return bR};by.matches=function(e,bR){return by(e,null,null,bR)};by.matchesSelector=function(e,bR){return by(bR,null,null,[e]).length>0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS<bU;bS++){bV=bE.order[bS];if((bT=bE.leftMatch[bV].exec(bX))){bR=bT[1];bT.splice(1,1);if(bR.substr(bR.length-1)!=="\\"){bT[1]=(bT[1]||"").replace(bK,"");bW=bE.find[bV](bT,e,bY);if(bW!=null){bX=bX.replace(bE.match[bV],"");break}}}}if(!bW){bW=typeof e.getElementsByTagName!=="undefined"?e.getElementsByTagName("*"):[]}return{set:bW,expr:bX}};by.filter=function(b1,b0,b4,bU){var bW,e,bZ,b6,b3,bR,bT,bV,b2,bS=b1,b5=[],bY=b0,bX=b0&&b0[0]&&by.isXML(b0[0]);while(b1&&b0.length){for(bZ in bE.filter){if((bW=bE.leftMatch[bZ].exec(b1))!=null&&bW[2]){bR=bE.filter[bZ];bT=bW[1];e=false;bW.splice(1,1);if(bT.substr(bT.length-1)==="\\"){continue}if(bY===b5){b5=[]}if(bE.preFilter[bZ]){bW=bE.preFilter[bZ](bW,bY,b4,b5,bU,bX);if(!bW){e=b6=true}else{if(bW===true){continue}}}if(bW){for(bV=0;(b3=bY[bV])!=null;bV++){if(b3){b6=bR(b3,bW,bV,bY);b2=bU^b6;if(b4&&b6!=null){if(b2){e=true}else{bY[bV]=false}}else{if(b2){b5.push(b3);e=true}}}}}if(b6!==L){if(!b4){bY=b5}b1=b1.replace(bE.match[bZ],"");if(!e){return[]}break}}}if(b1===bS){if(e==null){by.error(b1)}else{break}}bS=b1}return bY};by.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)};var bw=by.getText=function(bU){var bS,bT,e=bU.nodeType,bR="";if(e){if(e===1||e===9){if(typeof bU.textContent==="string"){return bU.textContent}else{if(typeof bU.innerText==="string"){return bU.innerText.replace(bO,"")}else{for(bU=bU.firstChild;bU;bU=bU.nextSibling){bR+=bw(bU)}}}}else{if(e===3||e===4){return bU.nodeValue}}}else{for(bS=0;(bT=bU[bS]);bS++){if(bT.nodeType!==8){bR+=bw(bT)}}}return bR};var bE=by.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(bW,bR){var bT=typeof bR==="string",bV=bT&&!bQ.test(bR),bX=bT&&!bV;if(bV){bR=bR.toLowerCase()}for(var bS=0,e=bW.length,bU;bS<e;bS++){if((bU=bW[bS])){while((bU=bU.previousSibling)&&bU.nodeType!==1){}bW[bS]=bX||bU&&bU.nodeName.toLowerCase()===bR?bU||false:bU===bR}}if(bX){by.filter(bR,bW,true)}},">":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS<e;bS++){bV=bW[bS];if(bV){var bT=bV.parentNode;bW[bS]=bT.nodeName.toLowerCase()===bR?bT:false}}}else{for(;bS<e;bS++){bV=bW[bS];if(bV){bW[bS]=bU?bV.parentNode:bV.parentNode===bR}}if(bU){by.filter(bR,bW,true)}}},"":function(bT,bR,bV){var bU,bS=bI++,e=bN;if(typeof bR==="string"&&!bQ.test(bR)){bR=bR.toLowerCase();bU=bR;e=bv}e("parentNode",bR,bS,bT,bU,bV)},"~":function(bT,bR,bV){var bU,bS=bI++,e=bN;if(typeof bR==="string"&&!bQ.test(bR)){bR=bR.toLowerCase();bU=bR;e=bv}e("previousSibling",bR,bS,bT,bU,bV)}},find:{ID:function(bR,bS,bT){if(typeof bS.getElementById!=="undefined"&&!bT){var e=bS.getElementById(bR[1]);return e&&e.parentNode?[e]:[]}},NAME:function(bS,bV){if(typeof bV.getElementsByName!=="undefined"){var bR=[],bU=bV.getElementsByName(bS[1]);for(var bT=0,e=bU.length;bT<e;bT++){if(bU[bT].getAttribute("name")===bS[1]){bR.push(bU[bT])}}return bR.length===0?null:bR}},TAG:function(e,bR){if(typeof bR.getElementsByTagName!=="undefined"){return bR.getElementsByTagName(e[1])}}},preFilter:{CLASS:function(bT,bR,bS,e,bW,bX){bT=" "+bT[1].replace(bK,"")+" ";if(bX){return bT}for(var bU=0,bV;(bV=bR[bU])!=null;bU++){if(bV){if(bW^(bV.className&&(" "+bV.className+" ").replace(/[\t\n\r]/g," ").indexOf(bT)>=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bR<e[3]-0},gt:function(bS,bR,e){return bR>e[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV<bU;bV++){if(bT[bV]===bS){return false}}return true}else{by.error(e)}}}},CHILD:function(bS,bU){var bT,b0,bW,bZ,e,bV,bY,bX=bU[1],bR=bS;switch(bX){case"only":case"first":while((bR=bR.previousSibling)){if(bR.nodeType===1){return false}}if(bX==="first"){return true}bR=bS;case"last":while((bR=bR.nextSibling)){if(bR.nodeType===1){return false}}return true;case"nth":bT=bU[2];b0=bU[3];if(bT===1&&b0===0){return true}bW=bU[0];bZ=bS.parentNode;if(bZ&&(bZ[bC]!==bW||!bS.nodeIndex)){bV=0;for(bR=bZ.firstChild;bR;bR=bR.nextSibling){if(bR.nodeType===1){bR.nodeIndex=++bV}}bZ[bC]=bW}bY=bS.nodeIndex-b0;if(bT===0){return bY===0}else{return(bY%bT===0&&bY/bT>=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS<e;bS++){bR.push(bU[bS])}}else{for(;bU[bS];bS++){bR.push(bU[bS])}}}return bR}}var bJ,bG;if(av.documentElement.compareDocumentPosition){bJ=function(bR,e){if(bR===e){bB=true;return 0}if(!bR.compareDocumentPosition||!e.compareDocumentPosition){return bR.compareDocumentPosition?-1:1}return bR.compareDocumentPosition(e)&4?-1:1}}else{bJ=function(bY,bX){if(bY===bX){bB=true;return 0}else{if(bY.sourceIndex&&bX.sourceIndex){return bY.sourceIndex-bX.sourceIndex}}var bV,bR,bS=[],e=[],bU=bY.parentNode,bW=bX.parentNode,bZ=bU;if(bU===bW){return bG(bY,bX)}else{if(!bU){return -1}else{if(!bW){return 1}}}while(bZ){bS.unshift(bZ);bZ=bZ.parentNode}bZ=bW;while(bZ){e.unshift(bZ);bZ=bZ.parentNode}bV=bS.length;bR=e.length;for(var bT=0;bT<bV&&bT<bR;bT++){if(bS[bT]!==e[bT]){return bG(bS[bT],e[bT])}}return bT===bV?bG(bY,e[bT],-1):bG(bS[bT],bX,1)};bG=function(bR,e,bS){if(bR===e){return bS}var bT=bR.nextSibling;while(bT){if(bT===e){return -1}bT=bT.nextSibling}return 1}}(function(){var bR=av.createElement("div"),bS="script"+(new Date()).getTime(),e=av.documentElement;bR.innerHTML="<a name='"+bS+"'/>";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="<p class='TEST'></p>";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT<bS;bT++){var e=bZ[bT];if(e){var bU=false;e=e[bR];while(e){if(e[bC]===bV){bU=bZ[e.sizset];break}if(e.nodeType===1&&!bY){e[bC]=bV;e.sizset=bT}if(e.nodeName.toLowerCase()===bW){bU=e;break}e=e[bR]}bZ[bT]=bU}}}function bN(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT<bS;bT++){var e=bZ[bT];if(e){var bU=false;e=e[bR];while(e){if(e[bC]===bV){bU=bZ[e.sizset];break}if(e.nodeType===1){if(!bY){e[bC]=bV;e.sizset=bT}if(typeof bW!=="string"){if(e===bW){bU=true;break}}else{if(by.filter(bW,[e]).length>0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT<bR;bT++){by(bS,bY[bT],bX,bW)}return by.filter(bU,bX)};by.attr=b.attr;by.selectors.attrMap={};b.find=by;b.expr=by.selectors;b.expr[":"]=b.expr.filters;b.unique=by.uniqueSort;b.text=by.getText;b.isXMLDoc=by.isXML;b.contains=by.contains})();var ab=/Until$/,aq=/^(?:parents|prevUntil|prevAll)/,a9=/,/,bp=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,H=b.expr.match.POS,ay={children:true,contents:true,next:true,prev:true};b.fn.extend({find:function(e){var bw=this,by,bv;if(typeof e!=="string"){return b(e).filter(function(){for(by=0,bv=bw.length;by<bv;by++){if(b.contains(bw[by],this)){return true}}})}var bx=this.pushStack("","find",e),bA,bB,bz;for(by=0,bv=this.length;by<bv;by++){bA=bx.length;b.find(e,this[by],bx);if(by>0){for(bB=bA;bB<bx.length;bB++){for(bz=0;bz<bA;bz++){if(bx[bz]===bx[bB]){bx.splice(bB--,1);break}}}}}return bx},has:function(bv){var e=b(bv);return this.filter(function(){for(var bx=0,bw=e.length;bx<bw;bx++){if(b.contains(this,e[bx])){return true}}})},not:function(e){return this.pushStack(aG(this,e,false),"not",e)},filter:function(e){return this.pushStack(aG(this,e,true),"filter",e)},is:function(e){return !!e&&(typeof e==="string"?H.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw<by.length;bw++){if(b(bz).is(by[bw])){bv.push({selector:by[bw],elem:bz,level:bB})}}bz=bz.parentNode;bB++}return bv}var bA=H.test(by)||typeof by!=="string"?b(by,bx||this.context):0;for(bw=0,e=this.length;bw<e;bw++){bz=this[bw];while(bz){if(bA?bA.index(bz)>-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/<tbody/i,W=/<|&#?\w+;/,ae=/<(?:script|style)/i,O=/<(?:script|object|embed|option|style)/i,ah=new RegExp("<(?:"+aR+")","i"),o=/checked\s*(?:[^=]|=\s*.checked.)/i,bm=/\/(java|ecma)script/i,aN=/^\s*<!(?:\[CDATA\[|\-\-)/,ax={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div<div>","</div>"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1></$2>");try{for(var bw=0,bv=this.length;bw<bv;bw++){if(this[bw].nodeType===1){b.cleanData(this[bw].getElementsByTagName("*"));this[bw].innerHTML=bx}}}catch(by){this.empty().append(bx)}}else{if(b.isFunction(bx)){this.each(function(bz){var e=b(this);e.html(bx.call(this,bz,e.html()))})}else{this.empty().append(bx)}}}return this},replaceWith:function(e){if(this[0]&&this[0].parentNode){if(b.isFunction(e)){return this.each(function(bx){var bw=b(this),bv=bw.html();bw.replaceWith(e.call(this,bx,bv))})}if(typeof e!=="string"){e=b(e).detach()}return this.each(function(){var bw=this.nextSibling,bv=this.parentNode;b(this).remove();if(bw){b(bw).before(e)}else{b(bv).append(e)}})}else{return this.length?this.pushStack(b(b.isFunction(e)?e():e),"replaceWith",e):this}},detach:function(e){return this.remove(e,true)},domManip:function(bB,bF,bE){var bx,by,bA,bD,bC=bB[0],bv=[];if(!b.support.checkClone&&arguments.length===3&&typeof bC==="string"&&o.test(bC)){return this.each(function(){b(this).domManip(bB,bF,bE,true)})}if(b.isFunction(bC)){return this.each(function(bH){var bG=b(this);bB[0]=bC.call(this,bH,bF?bG.html():L);bG.domManip(bB,bF,bE)})}if(this[0]){bD=bC&&bC.parentNode;if(b.support.parentNode&&bD&&bD.nodeType===11&&bD.childNodes.length===this.length){bx={fragment:bD}}else{bx=b.buildFragment(bB,this,bv)}bA=bx.fragment;if(bA.childNodes.length===1){by=bA=bA.firstChild}else{by=bA.firstChild}if(by){bF=bF&&b.nodeName(by,"tr");for(var bw=0,e=this.length,bz=e-1;bw<e;bw++){bE.call(bF?ba(this[bw],by):this[bw],bx.cacheable||(e>1&&bw<bz)?b.clone(bA,true,true):bA)}}if(bv.length){b.each(bv,bo)}}return this}});function ba(e,bv){return b.nodeName(e,"table")?(e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody"))):e}function t(bB,bv){if(bv.nodeType!==1||!b.hasData(bB)){return}var by,bx,e,bA=b._data(bB),bz=b._data(bv,bA),bw=bA.events;if(bw){delete bz.handle;bz.events={};for(by in bw){for(bx=0,e=bw[by].length;bx<e;bx++){b.event.add(bv,by+(bw[by][bx].namespace?".":"")+bw[by][bx].namespace,bw[by][bx],bw[by][bx].data)}}}if(bz.data){bz.data=b.extend({},bz.data)}}function ai(bv,e){var bw;if(e.nodeType!==1){return}if(e.clearAttributes){e.clearAttributes()}if(e.mergeAttributes){e.mergeAttributes(bv)}bw=e.nodeName.toLowerCase();if(bw==="object"){e.outerHTML=bv.outerHTML}else{if(bw==="input"&&(bv.type==="checkbox"||bv.type==="radio")){if(bv.checked){e.defaultChecked=e.checked=bv.checked}if(e.value!==bv.value){e.value=bv.value}}else{if(bw==="option"){e.selected=bv.defaultSelected}else{if(bw==="input"||bw==="textarea"){e.defaultValue=bv.defaultValue}}}}e.removeAttribute(b.expando)}b.buildFragment=function(bz,bx,bv){var by,e,bw,bA,bB=bz[0];if(bx&&bx[0]){bA=bx[0].ownerDocument||bx[0]}if(!bA.createDocumentFragment){bA=av}if(bz.length===1&&typeof bB==="string"&&bB.length<512&&bA===av&&bB.charAt(0)==="<"&&!O.test(bB)&&(b.support.checkClone||!o.test(bB))&&(b.support.html5Clone||!ah.test(bB))){e=true;bw=b.fragments[bB];if(bw&&bw!==1){by=bw}}if(!by){by=bA.createDocumentFragment();b.clean(bz,bA,by,bv)}if(e){b.fragments[bB]=bw?by:1}return{fragment:by,cacheable:e}};b.fragments={};b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,bv){b.fn[e]=function(bw){var bz=[],bC=b(bw),bB=this.length===1&&this[0].parentNode;if(bB&&bB.nodeType===11&&bB.childNodes.length===1&&bC.length===1){bC[bv](this[0]);return this}else{for(var bA=0,bx=bC.length;bA<bx;bA++){var by=(bA>0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1></$2>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]==="<table>"&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB<bG;bB++){E(bz[bB])}}else{E(bz)}}if(bz.nodeType){bI.push(bz)}else{bI=b.merge(bI,bz)}}if(bH){bF=function(bL){return !bL.type||bm.test(bL.type)};for(bE=0;bI[bE];bE++){if(bA&&b.nodeName(bI[bE],"script")&&(!bI[bE].type||bI[bE].type.toLowerCase()==="text/javascript")){bA.push(bI[bE].parentNode?bI[bE].parentNode.removeChild(bI[bE]):bI[bE])}else{if(bI[bE].nodeType===1){var bJ=b.grep(bI[bE].getElementsByTagName("script"),bF);bI.splice.apply(bI,[bE+1,0].concat(bJ))}bH.appendChild(bI[bE])}}}return bI},cleanData:function(bv){var by,bw,e=b.cache,bB=b.event.special,bA=b.support.deleteExpando;for(var bz=0,bx;(bx=bv[bz])!=null;bz++){if(bx.nodeName&&b.noData[bx.nodeName.toLowerCase()]){continue}bw=bx[b.expando];if(bw){by=e[bw];if(by&&by.events){for(var bC in by.events){if(bB[bC]){b.event.remove(bx,bC)}else{b.removeEvent(bx,bC,by.handle)}}if(by.handle){by.handle.elem=null}}if(bA){delete bx[b.expando]}else{if(bx.removeAttribute){bx.removeAttribute(b.expando)}}delete e[bw]}}}});function bo(e,bv){if(bv.src){b.ajax({url:bv.src,async:false,dataType:"script"})}else{b.globalEval((bv.text||bv.textContent||bv.innerHTML||"").replace(aN,"/*$0*/"))}if(bv.parentNode){bv.parentNode.removeChild(bv)}}var ak=/alpha\([^)]*\)/i,au=/opacity=([^)]*)/,z=/([A-Z]|^ms)/g,bc=/^-?\d+(?:px)?$/i,bn=/^-?\d/,I=/^([\-+])=([\-+.\de]+)/,a7={position:"absolute",visibility:"hidden",display:"block"},an=["Left","Right"],a1=["Top","Bottom"],Z,aI,aX;b.fn.css=function(e,bv){if(arguments.length===2&&bv===L){return this}return b.access(this,e,bv,true,function(bx,bw,by){return by!==L?b.style(bx,bw,by):b.css(bx,bw)})};b.extend({cssHooks:{opacity:{get:function(bw,bv){if(bv){var e=Z(bw,"opacity","opacity");return e===""?"1":e}else{return bw.style.opacity}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(bx,bw,bD,by){if(!bx||bx.nodeType===3||bx.nodeType===8||!bx.style){return}var bB,bC,bz=b.camelCase(bw),bv=bx.style,bE=b.cssHooks[bz];bw=b.cssProps[bz]||bz;if(bD!==L){bC=typeof bD;if(bC==="string"&&(bB=I.exec(bD))){bD=(+(bB[1]+1)*+bB[2])+parseFloat(b.css(bx,bw));bC="number"}if(bD==null||bC==="number"&&isNaN(bD)){return}if(bC==="number"&&!b.cssNumber[bz]){bD+="px"}if(!bE||!("set" in bE)||(bD=bE.set(bx,bD))!==L){try{bv[bw]=bD}catch(bA){}}}else{if(bE&&"get" in bE&&(bB=bE.get(bx,false,by))!==L){return bB}return bv[bw]}},css:function(by,bx,bv){var bw,e;bx=b.camelCase(bx);e=b.cssHooks[bx];bx=b.cssProps[bx]||bx;if(bx==="cssFloat"){bx="float"}if(e&&"get" in e&&(bw=e.get(by,true,bv))!==L){return bw}else{if(Z){return Z(by,bx)}}},swap:function(bx,bw,by){var e={};for(var bv in bw){e[bv]=bx.style[bv];bx.style[bv]=bw[bv]}by.call(bx);for(bv in bw){bx.style[bv]=e[bv]}}});b.curCSS=b.css;b.each(["height","width"],function(bv,e){b.cssHooks[e]={get:function(by,bx,bw){var bz;if(bx){if(by.offsetWidth!==0){return p(by,e,bw)}else{b.swap(by,a7,function(){bz=p(by,e,bw)})}return bz}},set:function(bw,bx){if(bc.test(bx)){bx=parseFloat(bx);if(bx>=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx<e;bx++){if(!bv){bA-=parseFloat(b.css(by,"padding"+bz[bx]))||0}if(bv==="margin"){bA+=parseFloat(b.css(by,bv+bz[bx]))||0}else{bA-=parseFloat(b.css(by,"border"+bz[bx]+"Width"))||0}}}return bA+"px"}bA=Z(by,bw,bw);if(bA<0||bA==null){bA=by.style[bw]||0}bA=parseFloat(bA)||0;if(bv){for(;bx<e;bx++){bA+=parseFloat(b.css(by,"padding"+bz[bx]))||0;if(bv!=="padding"){bA+=parseFloat(b.css(by,"border"+bz[bx]+"Width"))||0}if(bv==="margin"){bA+=parseFloat(b.css(by,bv+bz[bx]))||0}}}return bA+"px"}if(b.expr&&b.expr.filters){b.expr.filters.hidden=function(bw){var bv=bw.offsetWidth,e=bw.offsetHeight;return(bv===0&&e===0)||(!b.support.reliableHiddenOffsets&&((bw.style&&bw.style.display)||b.css(bw,"display"))==="none")};b.expr.filters.visible=function(e){return !b.expr.filters.hidden(e)}}var k=/%20/g,ap=/\[\]$/,bs=/\r?\n/g,bq=/#.*$/,aD=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,aZ=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aM=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,aQ=/^(?:GET|HEAD)$/,c=/^\/\//,M=/\?/,a6=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw<bz;bw++){bv=bx[bw];bC=/^\+/.test(bv);if(bC){bv=bv.substr(1)||"*"}bB=e[bv]=e[bv]||[];bB[bC?"unshift":"push"](bA)}}}}function aW(bv,bE,bz,bD,bB,bx){bB=bB||bE.dataTypes[0];bx=bx||{};bx[bB]=true;var bA=bv[bB],bw=0,e=bA?bA.length:0,by=(bv===aa),bC;for(;bw<e&&(by||!bC);bw++){bC=bA[bw](bE,bz,bD);if(typeof bC==="string"){if(!by||bx[bC]){bC=L}else{bE.dataTypes.unshift(bC);bC=aW(bv,bE,bz,bD,bC,bx)}}}if((by||!bC)&&!bx["*"]){bC=aW(bv,bE,bz,bD,"*",bx)}return bC}function am(bw,bx){var bv,e,by=b.ajaxSettings.flatOptions||{};for(bv in bx){if(bx[bv]!==L){(by[bv]?bw:(e||(e={})))[bv]=bx[bv]}}if(e){b.extend(true,bw,e)}}b.fn.extend({load:function(bw,bz,bA){if(typeof bw!=="string"&&A){return A.apply(this,arguments)}else{if(!this.length){return this}}var by=bw.indexOf(" ");if(by>=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("<div>").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA<bw;bA++){if(bA===1){for(bE in bH.converters){if(typeof bE==="string"){bG[bE.toLowerCase()]=bH.converters[bE]}}}bx=bC;bC=bD[bA];if(bC==="*"){bC=bx}else{if(bx!=="*"&&bx!==bC){by=bx+" "+bC;bF=bG[by]||bG["* "+bC];if(!bF){e=L;for(bv in bG){bB=bv.split(" ");if(bB[0]===bx||bB[0]==="*"){e=bG[bB[1]+" "+bC];if(e){bv=bG[bv];if(bv===true){bF=e}else{if(e===true){bF=bv}}break}}}}if(!(bF||e)){b.error("No conversion from "+by.replace(" "," to "))}if(bF!==true){bz=bF?bF(bz):e(bv(bz))}}}}return bz}var aC=b.now(),u=/(\=)\?(&|$)|\?\?/i;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return b.expando+"_"+(aC++)}});b.ajaxPrefilter("json jsonp",function(bD,bA,bC){var bx=bD.contentType==="application/x-www-form-urlencoded"&&(typeof bD.data==="string");if(bD.dataTypes[0]==="jsonp"||bD.jsonp!==false&&(u.test(bD.url)||bx&&u.test(bD.data))){var bB,bw=bD.jsonpCallback=b.isFunction(bD.jsonpCallback)?bD.jsonpCallback():bD.jsonpCallback,bz=bb[bw],e=bD.url,by=bD.data,bv="$1"+bw+"$2";if(bD.jsonp!==false){e=e.replace(u,bv);if(bD.url===e){if(bx){by=by.replace(u,bv)}if(bD.data===by){e+=(/\?/.test(e)?"&":"?")+bD.jsonp+"="+bw}}}bD.url=e;bD.data=by;bb[bw]=function(bE){bB=[bE]};bC.always(function(){bb[bw]=bz;if(bB&&b.isFunction(bz)){bb[bw](bB[0])}});bD.converters["script json"]=function(){if(!bB){b.error(bw+" was not called")}return bB[0]};bD.dataTypes[0]="json";return"script"}});b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){b.globalEval(e);return e}}});b.ajaxPrefilter("script",function(e){if(e.cache===L){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});b.ajaxTransport("script",function(bw){if(bw.crossDomain){var e,bv=av.head||av.getElementsByTagName("head")[0]||av.documentElement;return{send:function(bx,by){e=av.createElement("script");e.async="async";if(bw.scriptCharset){e.charset=bw.scriptCharset}e.src=bw.url;e.onload=e.onreadystatechange=function(bA,bz){if(bz||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(bv&&e.parentNode){bv.removeChild(e)}e=L;if(!bz){by(200,"success")}}};bv.insertBefore(e,bv.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var B=bb.ActiveXObject?function(){for(var e in N){N[e](0,1)}}:false,y=0,N;function aL(){try{return new bb.XMLHttpRequest()}catch(bv){}}function aj(){try{return new bb.ActiveXObject("Microsoft.XMLHTTP")}catch(bv){}}b.ajaxSettings.xhr=bb.ActiveXObject?function(){return !this.isLocal&&aL()||aj()}:aL;(function(e){b.extend(b.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})})(b.ajaxSettings.xhr());if(b.support.ajax){b.ajaxTransport(function(e){if(!e.crossDomain||b.support.cors){var bv;return{send:function(bB,bw){var bA=e.xhr(),bz,by;if(e.username){bA.open(e.type,e.url,e.async,e.username,e.password)}else{bA.open(e.type,e.url,e.async)}if(e.xhrFields){for(by in e.xhrFields){bA[by]=e.xhrFields[by]}}if(e.mimeType&&bA.overrideMimeType){bA.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!bB["X-Requested-With"]){bB["X-Requested-With"]="XMLHttpRequest"}try{for(by in bB){bA.setRequestHeader(by,bB[by])}}catch(bx){}bA.send((e.hasContent&&e.data)||null);bv=function(bK,bE){var bF,bD,bC,bI,bH;try{if(bv&&(bE||bA.readyState===4)){bv=L;if(bz){bA.onreadystatechange=b.noop;if(B){delete N[bz]}}if(bE){if(bA.readyState!==4){bA.abort()}}else{bF=bA.status;bC=bA.getAllResponseHeaders();bI={};bH=bA.responseXML;if(bH&&bH.documentElement){bI.xml=bH}bI.text=bA.responseText;try{bD=bA.statusText}catch(bJ){bD=""}if(!bF&&e.isLocal&&!e.crossDomain){bF=bI.text?200:404}else{if(bF===1223){bF=204}}}}}catch(bG){if(!bE){bw(-1,bG)}}if(bI){bw(bF,bD,bI,bC)}};if(!e.async||bA.readyState===4){bv()}else{bz=++y;if(B){if(!N){N={};b(bb).unload(B)}N[bz]=bv}bA.onreadystatechange=bv}},abort:function(){if(bv){bv(0,1)}}}}})}var Q={},a8,m,aB=/^(?:toggle|show|hide)$/,aT=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,a3,aH=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],a4;b.fn.extend({show:function(bx,bA,bz){var bw,by;if(bx||bx===0){return this.animate(a0("show",3),bx,bA,bz)}else{for(var bv=0,e=this.length;bv<e;bv++){bw=this[bv];if(bw.style){by=bw.style.display;if(!b._data(bw,"olddisplay")&&by==="none"){by=bw.style.display=""}if(by===""&&b.css(bw,"display")==="none"){b._data(bw,"olddisplay",x(bw.nodeName))}}}for(bv=0;bv<e;bv++){bw=this[bv];if(bw.style){by=bw.style.display;if(by===""||by==="none"){bw.style.display=b._data(bw,"olddisplay")||""}}}return this}},hide:function(bx,bA,bz){if(bx||bx===0){return this.animate(a0("hide",3),bx,bA,bz)}else{var bw,by,bv=0,e=this.length;for(;bv<e;bv++){bw=this[bv];if(bw.style){by=b.css(bw,"display");if(by!=="none"&&!b._data(bw,"olddisplay")){b._data(bw,"olddisplay",by)}}}for(bv=0;bv<e;bv++){if(this[bv].style){this[bv].style.display="none"}}return this}},_toggle:b.fn.toggle,toggle:function(bw,bv,bx){var e=typeof bw==="boolean";if(b.isFunction(bw)&&b.isFunction(bv)){this._toggle.apply(this,arguments)}else{if(bw==null||e){this.each(function(){var by=e?bw:b(this).is(":hidden");b(this)[by?"show":"hide"]()})}else{this.animate(a0("toggle",3),bw,bv,bx)}}return this},fadeTo:function(e,bx,bw,bv){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:bx},e,bw,bv)},animate:function(bz,bw,by,bx){var e=b.speed(bw,by,bx);if(b.isEmptyObject(bz)){return this.each(e.complete,[false])}bz=b.extend({},bz);function bv(){if(e.queue===false){b._mark(this)}var bE=b.extend({},e),bK=this.nodeType===1,bI=bK&&b(this).is(":hidden"),bB,bF,bD,bJ,bH,bC,bG,bL,bA;bE.animatedProperties={};for(bD in bz){bB=b.camelCase(bD);if(bD!==bB){bz[bB]=bz[bD];delete bz[bD]}bF=bz[bB];if(b.isArray(bF)){bE.animatedProperties[bB]=bF[1];bF=bz[bB]=bF[0]}else{bE.animatedProperties[bB]=bE.specialEasing&&bE.specialEasing[bB]||bE.easing||"swing"}if(bF==="hide"&&bI||bF==="show"&&!bI){return bE.complete.call(this)}if(bK&&(bB==="height"||bB==="width")){bE.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(b.css(this,"display")==="inline"&&b.css(this,"float")==="none"){if(!b.support.inlineBlockNeedsLayout||x(this.nodeName)==="inline"){this.style.display="inline-block"}else{this.style.zoom=1}}}}if(bE.overflow!=null){this.style.overflow="hidden"}for(bD in bz){bJ=new b.fx(this,bE,bD);bF=bz[bD];if(aB.test(bF)){bA=b._data(this,"toggle"+bD)||(bF==="toggle"?bI?"show":"hide":0);if(bA){b._data(this,"toggle"+bD,bA==="show"?"hide":"show");bJ[bA]()}else{bJ[bF]()}}else{bH=aT.exec(bF);bC=bJ.cur();if(bH){bG=parseFloat(bH[2]);bL=bH[3]||(b.cssNumber[bD]?"":"px");if(bL!=="px"){b.style(this,bD,(bG||1)+bL);bC=((bG||1)/bJ.cur())*bC;b.style(this,bD,bC+bL)}if(bH[1]){bG=((bH[1]==="-="?-1:1)*bG)+bC}bJ.custom(bC,bG,bL)}else{bJ.custom(bC,bF,"")}}}return true}return e.queue===false?this.each(bv):this.queue(e.queue,bv)},stop:function(bw,bv,e){if(typeof bw!=="string"){e=bv;bv=bw;bw=L}if(bv&&bw!==false){this.queue(bw||"fx",[])}return this.each(function(){var bx,by=false,bA=b.timers,bz=b._data(this);if(!e){b._unmark(true,this)}function bB(bE,bF,bD){var bC=bF[bD];b.removeData(bE,bD,true);bC.stop(e)}if(bw==null){for(bx in bz){if(bz[bx]&&bz[bx].stop&&bx.indexOf(".run")===bx.length-4){bB(this,bz,bx)}}}else{if(bz[bx=bw+".run"]&&bz[bx].stop){bB(this,bz,bx)}}for(bx=bA.length;bx--;){if(bA[bx].elem===this&&(bw==null||bA[bx].queue===bw)){if(e){bA[bx](true)}else{bA[bx].saveState()}by=true;bA.splice(bx,1)}}if(!(e&&by)){b.dequeue(this,bw)}})}});function bh(){setTimeout(at,0);return(a4=b.now())}function at(){a4=L}function a0(bv,e){var bw={};b.each(aH.concat.apply([],aH.slice(0,e)),function(){bw[this]=bv});return bw}b.each({slideDown:a0("show",1),slideUp:a0("hide",1),slideToggle:a0("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,bv){b.fn[e]=function(bw,by,bx){return this.animate(bv,bw,by,bx)}});b.extend({speed:function(bw,bx,bv){var e=bw&&typeof bw==="object"?b.extend({},bw):{complete:bv||!bv&&bx||b.isFunction(bw)&&bw,duration:bw,easing:bv&&bx||bx&&!b.isFunction(bx)&&bx};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in b.fx.speeds?b.fx.speeds[e.duration]:b.fx.speeds._default;if(e.queue==null||e.queue===true){e.queue="fx"}e.old=e.complete;e.complete=function(by){if(b.isFunction(e.old)){e.old.call(this)}if(e.queue){b.dequeue(this,e.queue)}else{if(by!==false){b._unmark(this)}}};return e},easing:{linear:function(bw,bx,e,bv){return e+bv*bw},swing:function(bw,bx,e,bv){return((-Math.cos(bw*Math.PI)/2)+0.5)*bv+e}},timers:[],fx:function(bv,e,bw){this.options=e;this.elem=bv;this.prop=bw;e.orig=e.orig||{}}});b.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(b.fx.step[this.prop]||b.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var e,bv=b.css(this.elem,this.prop);return isNaN(e=parseFloat(bv))?!bv||bv==="auto"?0:bv:e},custom:function(bz,by,bx){var e=this,bw=b.fx;this.startTime=a4||bh();this.end=by;this.now=this.start=bz;this.pos=this.state=0;this.unit=bx||this.unit||(b.cssNumber[this.prop]?"":"px");function bv(bA){return e.step(bA)}bv.queue=this.options.queue;bv.elem=this.elem;bv.saveState=function(){if(e.options.hide&&b._data(e.elem,"fxshow"+e.prop)===L){b._data(e.elem,"fxshow"+e.prop,e.start)}};if(bv()&&b.timers.push(bv)&&!a3){a3=setInterval(bw.tick,bw.interval)}},show:function(){var e=b._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||b.style(this.elem,this.prop);this.options.show=true;if(e!==L){this.custom(this.cur(),e)}else{this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur())}b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b._data(this.elem,"fxshow"+this.prop)||b.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(by){var bA,bB,bv,bx=a4||bh(),e=true,bz=this.elem,bw=this.options;if(by||bx>=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e<bv.length;e++){bw=bv[e];if(!bw()&&bv[e]===bw){bv.splice(e--,1)}}if(!bv.length){b.fx.stop()}},interval:13,stop:function(){clearInterval(a3);a3=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){b.style(e.elem,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=e.now+e.unit}else{e.elem[e.prop]=e.now}}}});b.each(["width","height"],function(e,bv){b.fx.step[bv]=function(bw){b.style(bw.elem,bv,Math.max(0,bw.now)+bw.unit)}});if(b.expr&&b.expr.filters){b.expr.filters.animated=function(e){return b.grep(b.timers,function(bv){return e===bv.elem}).length}}function x(bx){if(!Q[bx]){var e=av.body,bv=b("<"+bx+">").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! - * jQuery UI 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h<j.length;h++){if(e.options[j[h][0]]){j[h][1].apply(e.element,f)}}}},contains:function(f,e){return document.compareDocumentPosition?f.compareDocumentPosition(e)&16:f!==e&&f.contains(e)},hasScroll:function(h,f){if(a(h).css("overflow")==="hidden"){return false}var e=(f&&f==="left")?"scrollLeft":"scrollTop",g=false;if(h[e]>0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! - * jQuery UI Widget 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! - * jQuery UI Mouse 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g<l.length;g++){var j=c.trim(l[g]),e="ui-resizable-"+j;var h=c('<div class="ui-resizable-handle '+e+'"></div>');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(h<e.maxWidth){e.maxWidth=h}if(k<e.maxHeight){e.maxHeight=k}}this._vBoundaries=e},_updateCache:function(e){var f=this.options;this.offset=this.helper.offset();if(a(e.left)){this.position.left=e.left}if(a(e.top)){this.position.top=e.top}if(a(e.height)){this.size.height=e.height}if(a(e.width)){this.size.width=e.width}},_updateRatio:function(h,g){var i=this.options,j=this.position,f=this.size,e=this.axis;if(a(h.height)){h.width=(h.height*this.aspectRatio)}else{if(a(h.width)){h.height=(h.width/this.aspectRatio)}}if(e=="sw"){h.left=j.left+(f.width-h.width);h.top=null}if(e=="nw"){h.top=j.top+(f.height-h.height);h.left=j.left+(f.width-h.width)}return h},_respectSize:function(l,g){var j=this.helper,i=this._vBoundaries,r=this._aspectRatio||g.shiftKey,q=this.axis,t=a(l.width)&&i.maxWidth&&(i.maxWidth<l.width),m=a(l.height)&&i.maxHeight&&(i.maxHeight<l.height),h=a(l.width)&&i.minWidth&&(i.minWidth>l.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f<this._proportionallyResizeElements.length;f++){var h=this._proportionallyResizeElements[f];if(!this.borderDif){var e=[h.css("borderTopWidth"),h.css("borderRightWidth"),h.css("borderBottomWidth"),h.css("borderLeftWidth")],j=[h.css("paddingTop"),h.css("paddingRight"),h.css("paddingBottom"),h.css("paddingLeft")];this.borderDif=c.map(e,function(l,n){var m=parseInt(l,10)||0,o=parseInt(j[n],10)||0;return m+o})}if(c.browser.msie&&!(!(c(g).is(":hidden")||c(g).parents(":hidden").length))){continue}h.css({height:(g.height()-this.borderDif[0]-this.borderDif[2])||0,width:(g.width()-this.borderDif[1]-this.borderDif[3])||0})}},_renderProxy:function(){var f=this.element,i=this.options;this.elementOffset=f.offset();if(this._helper){this.helper=this.helper||c('<div style="overflow:hidden;"></div>');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! - * jQuery hashchange event - v1.3 - 7/21/2010 - * http://benalman.com/projects/jquery-hashchange-plugin/ - * - * Copyright (c) 2010 "Cowboy" Ben Alman - * Dual licensed under the MIT and GPL licenses. - * http://benalman.com/about/license/ - */ -(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(c){var a=c.scrollTo=function(f,e,d){c(window).scrollTo(f,e,d)};a.defaults={axis:"xy",duration:parseFloat(c.fn.jquery)>=1.3?0:1};a.window=function(d){return c(window)._scrollable()};c.fn._scrollable=function(){return this.map(function(){var e=this,d=!e.nodeName||c.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!d){return e}var f=(e.contentWindow||e).document||e.ownerDocument||e;return c.browser.safari||f.compatMode=="BackCompat"?f.body:f.documentElement})};c.fn.scrollTo=function(f,e,d){if(typeof e=="object"){d=e;e=0}if(typeof d=="function"){d={onAfter:d}}if(f=="max"){f=9000000000}d=c.extend({},a.defaults,d);e=e||d.speed||d.duration;d.queue=d.queue&&d.axis.length>1;if(d.queue){e/=2}d.offset=b(d.offset);d.over=b(d.over);return this._scrollable().each(function(){var l=this,j=c(l),k=f,i,g={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}k=c(k,this);case"object":if(k.is||k.style){i=(k=c(k)).offset()}}c.each(d.axis.split(""),function(q,r){var s=r=="x"?"Left":"Top",u=s.toLowerCase(),p="scroll"+s,o=l[p],n=a.max(l,r);if(i){g[p]=i[u]+(m?0:o-j.offset()[u]);if(d.margin){g[p]-=parseInt(k.css("margin"+s))||0;g[p]-=parseInt(k.css("border"+s+"Width"))||0}g[p]+=d.offset[u]||0;if(d.over[u]){g[p]+=k[r=="x"?"width":"height"]()*d.over[u]}}else{var t=k[u];g[p]=t.slice&&t.slice(-1)=="%"?parseFloat(t)/100*n:t}if(/^\d+$/.test(g[p])){g[p]=g[p]<=0?0:Math.min(g[p],n)}if(!q&&d.queue){if(o!=g[p]){h(d.onAfterFirst)}delete g[p]}});h(d.onAfter);function h(n){j.animate(g,e,d.easing,n&&function(){n.call(this,f,d)})}}).end()};a.max=function(j,i){var h=i=="x"?"Width":"Height",e="scroll"+h;if(!c(j).is("html,body")){return j[e]-c(j)[h.toLowerCase()]()}var g="client"+h,f=j.ownerDocument.documentElement,d=j.ownerDocument.body;return Math.max(f[e],d[e])-Math.min(f[g],d[g])};function b(d){return typeof d=="object"?d:{top:d,left:d}}})(jQuery);/*! - PowerTip - v1.2.0 - 2013-04-03 - http://stevenbenner.github.com/jquery-powertip/ - Copyright (c) 2013 Steven Benner (http://stevenbenner.com/). - Released under MIT license. - https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt -*/ -(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}}(function(k){var A=k(document),s=k(window),w=k("body");var n="displayController",e="hasActiveHover",d="forcedOpen",u="hasMouseMove",f="mouseOnToPopup",g="originalTitle",y="powertip",o="powertipjq",l="powertiptarget",E=180/Math.PI;var c={isTipOpen:false,isFixedTipOpen:false,isClosing:false,tipOpenImminent:false,activeHover:null,currentX:0,currentY:0,previousX:0,previousY:0,desyncTimeout:null,mouseTrackingActive:false,delayInProgress:false,windowWidth:0,windowHeight:0,scrollTop:0,scrollLeft:0};var p={none:0,top:1,bottom:2,left:4,right:8};k.fn.powerTip=function(F,N){if(!this.length){return this}if(k.type(F)==="string"&&k.powerTip[F]){return k.powerTip[F].call(this,this,N)}var O=k.extend({},k.fn.powerTip.defaults,F),G=new x(O);h();this.each(function M(){var R=k(this),Q=R.data(y),P=R.data(o),T=R.data(l),S;if(R.data(n)){k.powerTip.destroy(R)}S=R.attr("title");if(!Q&&!T&&!P&&S){R.data(y,S);R.data(g,S);R.removeAttr("title")}R.data(n,new t(R,O,G))});if(!O.manual){this.on({"mouseenter.powertip":function J(P){k.powerTip.show(this,P)},"mouseleave.powertip":function L(){k.powerTip.hide(this)},"focus.powertip":function K(){k.powerTip.show(this)},"blur.powertip":function H(){k.powerTip.hide(this,true)},"keydown.powertip":function I(P){if(P.keyCode===27){k.powerTip.hide(this,true)}}})}return this};k.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false};k.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};k.powerTip={show:function z(F,G){if(G){i(G);c.previousX=G.pageX;c.previousY=G.pageY;k(F).data(n).show()}else{k(F).first().data(n).show(true,true)}return F},reposition:function r(F){k(F).first().data(n).resetPosition();return F},hide:function D(G,F){if(G){k(G).first().data(n).hide(F)}else{if(c.activeHover){c.activeHover.data(n).hide(true)}}return G},destroy:function C(G){k(G).off(".powertip").each(function F(){var I=k(this),H=[g,n,e,d];if(I.data(g)){I.attr("title",I.data(g));H.push(y)}I.removeData(H)});return G}};k.powerTip.showTip=k.powerTip.show;k.powerTip.closeTip=k.powerTip.hide;function b(){var F=this;F.top="auto";F.left="auto";F.right="auto";F.bottom="auto";F.set=function(H,G){if(k.isNumeric(G)){F[H]=Math.round(G)}}}function t(K,N,F){var J=null;function L(P,Q){M();if(!K.data(e)){if(!P){c.tipOpenImminent=true;J=setTimeout(function O(){J=null;I()},N.intentPollInterval)}else{if(Q){K.data(d,true)}F.showTip(K)}}}function G(P){M();c.tipOpenImminent=false;if(K.data(e)){K.data(d,false);if(!P){c.delayInProgress=true;J=setTimeout(function O(){J=null;F.hideTip(K);c.delayInProgress=false},N.closeDelay)}else{F.hideTip(K)}}}function I(){var Q=Math.abs(c.previousX-c.currentX),O=Math.abs(c.previousY-c.currentY),P=Q+O;if(P<N.intentSensitivity){F.showTip(K)}else{c.previousX=c.currentX;c.previousY=c.currentY;L()}}function M(){J=clearTimeout(J);c.delayInProgress=false}function H(){F.resetPosition(K)}this.show=L;this.hide=G;this.cancel=M;this.resetPosition=H}function j(){function G(M,L,J,O,P){var K=L.split("-")[0],N=new b(),I;if(q(M)){I=H(M,K)}else{I=F(M,K)}switch(L){case"n":N.set("left",I.left-(J/2));N.set("bottom",c.windowHeight-I.top+P);break;case"e":N.set("left",I.left+P);N.set("top",I.top-(O/2));break;case"s":N.set("left",I.left-(J/2));N.set("top",I.top+P);break;case"w":N.set("top",I.top-(O/2));N.set("right",c.windowWidth-I.left+P);break;case"nw":N.set("bottom",c.windowHeight-I.top+P);N.set("right",c.windowWidth-I.left-20);break;case"nw-alt":N.set("left",I.left);N.set("bottom",c.windowHeight-I.top+P);break;case"ne":N.set("left",I.left-20);N.set("bottom",c.windowHeight-I.top+P);break;case"ne-alt":N.set("bottom",c.windowHeight-I.top+P);N.set("right",c.windowWidth-I.left);break;case"sw":N.set("top",I.top+P);N.set("right",c.windowWidth-I.left-20);break;case"sw-alt":N.set("left",I.left);N.set("top",I.top+P);break;case"se":N.set("left",I.left-20);N.set("top",I.top+P);break;case"se-alt":N.set("top",I.top+P);N.set("right",c.windowWidth-I.left);break}return N}function F(K,J){var O=K.offset(),N=K.outerWidth(),I=K.outerHeight(),M,L;switch(J){case"n":M=O.left+N/2;L=O.top;break;case"e":M=O.left+N;L=O.top+I/2;break;case"s":M=O.left+N/2;L=O.top+I;break;case"w":M=O.left;L=O.top+I/2;break;case"nw":M=O.left;L=O.top;break;case"ne":M=O.left+N;L=O.top;break;case"sw":M=O.left;L=O.top+I;break;case"se":M=O.left+N;L=O.top+I;break}return{top:L,left:M}}function H(O,K){var S=O.closest("svg")[0],N=O[0],W=S.createSVGPoint(),L=N.getBBox(),V=N.getScreenCTM(),M=L.width/2,Q=L.height/2,P=[],I=["nw","n","ne","e","se","s","sw","w"],U,X,R,T;function J(){P.push(W.matrixTransform(V))}W.x=L.x;W.y=L.y;J();W.x+=M;J();W.x+=M;J();W.y+=Q;J();W.y+=Q;J();W.x-=M;J();W.x-=M;J();W.y-=Q;J();if(P[0].y!==P[1].y||P[0].x!==P[7].x){X=Math.atan2(V.b,V.a)*E;R=Math.ceil(((X%360)-22.5)/45);if(R<1){R+=8}while(R--){I.push(I.shift())}}for(T=0;T<P.length;T++){if(I[T]===K){U=P[T];break}}return{top:U.y+c.scrollTop,left:U.x+c.scrollLeft}}this.compute=G}function x(Q){var P=new j(),O=k("#"+Q.popupId);if(O.length===0){O=k("<div/>",{id:Q.popupId});if(w.length===0){w=k("body")}w.append(O)}if(Q.followMouse){if(!O.data(u)){A.on("mousemove",M);s.on("scroll",M);O.data(u,true)}}if(Q.mouseOnToPopup){O.on({mouseenter:function L(){if(O.data(f)){if(c.activeHover){c.activeHover.data(n).cancel()}}},mouseleave:function N(){if(c.activeHover){c.activeHover.data(n).hide()}}})}function I(S){S.data(e,true);O.queue(function R(T){H(S);T()})}function H(S){var U;if(!S.data(e)){return}if(c.isTipOpen){if(!c.isClosing){K(c.activeHover)}O.delay(100).queue(function R(V){H(S);V()});return}S.trigger("powerTipPreRender");U=B(S);if(U){O.empty().append(U)}else{return}S.trigger("powerTipRender");c.activeHover=S;c.isTipOpen=true;O.data(f,Q.mouseOnToPopup);if(!Q.followMouse){G(S);c.isFixedTipOpen=true}else{M()}O.fadeIn(Q.fadeInTime,function T(){if(!c.desyncTimeout){c.desyncTimeout=setInterval(J,500)}S.trigger("powerTipOpen")})}function K(R){c.isClosing=true;c.activeHover=null;c.isTipOpen=false;c.desyncTimeout=clearInterval(c.desyncTimeout);R.data(e,false);R.data(d,false);O.fadeOut(Q.fadeOutTime,function S(){var T=new b();c.isClosing=false;c.isFixedTipOpen=false;O.removeClass();T.set("top",c.currentY+Q.offset);T.set("left",c.currentX+Q.offset);O.css(T);R.trigger("powerTipClose")})}function M(){if(!c.isFixedTipOpen&&(c.isTipOpen||(c.tipOpenImminent&&O.data(u)))){var R=O.outerWidth(),V=O.outerHeight(),U=new b(),S,T;U.set("top",c.currentY+Q.offset);U.set("left",c.currentX+Q.offset);S=m(U,R,V);if(S!==p.none){T=a(S);if(T===1){if(S===p.right){U.set("left",c.windowWidth-R)}else{if(S===p.bottom){U.set("top",c.scrollTop+c.windowHeight-V)}}}else{U.set("left",c.currentX-R-Q.offset);U.set("top",c.currentY-V-Q.offset)}}O.css(U)}}function G(S){var R,T;if(Q.smartPlacement){R=k.fn.powerTip.smartPlacementLists[Q.placement];k.each(R,function(U,W){var V=m(F(S,W),O.outerWidth(),O.outerHeight());T=W;if(V===p.none){return false}})}else{F(S,Q.placement);T=Q.placement}O.addClass(T)}function F(U,T){var R=0,S,W,V=new b();V.set("top",0);V.set("left",0);O.css(V);do{S=O.outerWidth();W=O.outerHeight();V=P.compute(U,T,S,W,Q.offset);O.css(V)}while(++R<=5&&(S!==O.outerWidth()||W!==O.outerHeight()));return V}function J(){var R=false;if(c.isTipOpen&&!c.isClosing&&!c.delayInProgress){if(c.activeHover.data(e)===false||c.activeHover.is(":disabled")){R=true}else{if(!v(c.activeHover)&&!c.activeHover.is(":focus")&&!c.activeHover.data(d)){if(O.data(f)){if(!v(O)){R=true}}else{R=true}}}if(R){K(c.activeHover)}}}this.showTip=I;this.hideTip=K;this.resetPosition=G}function q(F){return window.SVGElement&&F[0] instanceof SVGElement}function h(){if(!c.mouseTrackingActive){c.mouseTrackingActive=true;k(function H(){c.scrollLeft=s.scrollLeft();c.scrollTop=s.scrollTop();c.windowWidth=s.width();c.windowHeight=s.height()});A.on("mousemove",i);s.on({resize:function G(){c.windowWidth=s.width();c.windowHeight=s.height()},scroll:function F(){var I=s.scrollLeft(),J=s.scrollTop();if(I!==c.scrollLeft){c.currentX+=I-c.scrollLeft;c.scrollLeft=I}if(J!==c.scrollTop){c.currentY+=J-c.scrollTop;c.scrollTop=J}}})}}function i(F){c.currentX=F.pageX;c.currentY=F.pageY}function v(F){var H=F.offset(),J=F[0].getBoundingClientRect(),I=J.right-J.left,G=J.bottom-J.top;return c.currentX>=H.left&&c.currentX<=H.left+I&&c.currentY>=H.top&&c.currentY<=H.top+G}function B(I){var G=I.data(y),F=I.data(o),K=I.data(l),H,J;if(G){if(k.isFunction(G)){G=G.call(I[0])}J=G}else{if(F){if(k.isFunction(F)){F=F.call(I[0])}if(F.length>0){J=F.clone(true,true)}}else{if(K){H=k("#"+K);if(H.length>0){J=H.html()}}}}return J}function m(M,L,K){var G=c.scrollTop,J=c.scrollLeft,I=G+c.windowHeight,F=J+c.windowWidth,H=p.none;if(M.top<G||Math.abs(M.bottom-c.windowHeight)-K<G){H|=p.top}if(M.top+K>I||Math.abs(M.bottom-c.windowHeight)>I){H|=p.bottom}if(M.left<J||M.right+L>F){H|=p.left}if(M.left+L>F||M.right<J){H|=p.right}return H}function a(G){var F=0;while(G){G&=G-1;F++}return F}}));/*! - * jQuery UI Touch Punch 0.2.3 - * - * Copyright 2011–2014, Dave Furfero - * Dual licensed under the MIT or GPL Version 2 licenses. - * - * Depends: - * jquery.ui.widget.js - * jquery.ui.mouse.js - */ -(function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return}var d=b.ui.mouse.prototype,f=d._mouseInit,c=d._mouseDestroy,a;function e(h,i){if(h.originalEvent.touches.length>1){return}h.preventDefault();var j=h.originalEvent.changedTouches[0],g=document.createEvent("MouseEvents");g.initMouseEvent(i,true,true,window,1,j.screenX,j.screenY,j.clientX,j.clientY,false,false,false,false,0,null);h.target.dispatchEvent(g)}d._touchStart=function(h){var g=this;if(a||!g._mouseCapture(h.originalEvent.changedTouches[0])){return}a=true;g._touchMoved=false;e(h,"mouseover");e(h,"mousemove");e(h,"mousedown")};d._touchMove=function(g){if(!a){return}this._touchMoved=true;e(g,"mousemove")};d._touchEnd=function(g){if(!a){return}e(g,"mouseup");e(g,"mouseout");if(!this._touchMoved){e(g,"click")}a=false};d._mouseInit=function(){var g=this;g.element.bind({touchstart:b.proxy(g,"_touchStart"),touchmove:b.proxy(g,"_touchMove"),touchend:b.proxy(g,"_touchEnd")});f.call(g)};d._mouseDestroy=function(){var g=this;g.element.unbind({touchstart:b.proxy(g,"_touchStart"),touchmove:b.proxy(g,"_touchMove"),touchend:b.proxy(g,"_touchEnd")});c.call(g)}})(jQuery);/*! - * SmartMenus jQuery Plugin - v1.0.0 - January 27, 2016 - * http://www.smartmenus.org/ - * - * Copyright Vasil Dinkov, Vadikom Web Ltd. - * http://vadikom.com - * - * Licensed MIT - */ -(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof module==="object"&&typeof module.exports==="object"){module.exports=a(require("jquery"))}else{a(jQuery)}}}(function(a){var b=[],e=!!window.createPopup,f=false,d="ontouchstart" in window,h=false,g=window.requestAnimationFrame||function(l){return setTimeout(l,1000/60)},c=window.cancelAnimationFrame||function(l){clearTimeout(l)};function k(m){var n=".smartmenus_mouse";if(!h&&!m){var o=true,l=null;a(document).bind(i([["mousemove",function(s){var t={x:s.pageX,y:s.pageY,timeStamp:new Date().getTime()};if(l){var q=Math.abs(l.x-t.x),p=Math.abs(l.y-t.y);if((q>0||p>0)&&q<=2&&p<=2&&t.timeStamp-l.timeStamp<=300){f=true;if(o){var r=a(s.target).closest("a");if(r.is("a")){a.each(b,function(){if(a.contains(this.$root[0],r[0])){this.itemEnter({currentTarget:r[0]});return false}})}o=false}}}l=t}],[d?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut",function(p){if(j(p.originalEvent)){f=false}}]],n));h=true}else{if(h&&m){a(document).unbind(n);h=false}}}function j(l){return !/^(4|mouse)$/.test(l.pointerType)}function i(l,n){if(!n){n=""}var m={};a.each(l,function(o,p){m[p[0].split(" ").join(n+" ")+n]=p[1]});return m}a.SmartMenus=function(m,l){this.$root=a(m);this.opts=l;this.rootId="";this.accessIdPrefix="";this.$subArrow=null;this.activatedItems=[];this.visibleSubMenus=[];this.showTimeout=0;this.hideTimeout=0;this.scrollTimeout=0;this.clickActivated=false;this.focusActivated=false;this.zIndexInc=0;this.idInc=0;this.$firstLink=null;this.$firstSub=null;this.disabled=false;this.$disableOverlay=null;this.$touchScrollingSub=null;this.cssTransforms3d="perspective" in m.style||"webkitPerspective" in m.style;this.wasCollapsible=false;this.init()};a.extend(a.SmartMenus,{hideAll:function(){a.each(b,function(){this.menuHideAll()})},destroy:function(){while(b.length){b[0].destroy()}k(true)},prototype:{init:function(n){var l=this;if(!n){b.push(this);this.rootId=(new Date().getTime()+Math.random()+"").replace(/\D/g,"");this.accessIdPrefix="sm-"+this.rootId+"-";if(this.$root.hasClass("sm-rtl")){this.opts.rightToLeftSubMenus=true}var r=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).bind(i([["mouseover focusin",a.proxy(this.rootOver,this)],["mouseout focusout",a.proxy(this.rootOut,this)],["keydown",a.proxy(this.rootKeyDown,this)]],r)).delegate("a",i([["mouseenter",a.proxy(this.itemEnter,this)],["mouseleave",a.proxy(this.itemLeave,this)],["mousedown",a.proxy(this.itemDown,this)],["focus",a.proxy(this.itemFocus,this)],["blur",a.proxy(this.itemBlur,this)],["click",a.proxy(this.itemClick,this)]],r));r+=this.rootId;if(this.opts.hideOnClick){a(document).bind(i([["touchstart",a.proxy(this.docTouchStart,this)],["touchmove",a.proxy(this.docTouchMove,this)],["touchend",a.proxy(this.docTouchEnd,this)],["click",a.proxy(this.docClick,this)]],r))}a(window).bind(i([["resize orientationchange",a.proxy(this.winResize,this)]],r));if(this.opts.subIndicators){this.$subArrow=a("<span/>").addClass("sub-arrow");if(this.opts.subIndicatorsText){this.$subArrow.html(this.opts.subIndicatorsText)}}k()}this.$firstSub=this.$root.find("ul").each(function(){l.menuInit(a(this))}).eq(0);this.$firstLink=this.$root.find("a").eq(0);if(this.opts.markCurrentItem){var p=/(index|default)\.[^#\?\/]*/i,m=/#.*/,q=window.location.href.replace(p,""),o=q.replace(m,"");this.$root.find("a").each(function(){var s=this.href.replace(p,""),t=a(this);if(s==q||s==o){t.addClass("current");if(l.opts.markCurrentTree){t.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")})}}})}this.wasCollapsible=this.isCollapsible()},destroy:function(m){if(!m){var n=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").unbind(n).undelegate(n);n+=this.rootId;a(document).unbind(n);a(window).unbind(n);if(this.opts.subIndicators){this.$subArrow=null}}this.menuHideAll();var l=this;this.$root.find("ul").each(function(){var o=a(this);if(o.dataSM("scroll-arrows")){o.dataSM("scroll-arrows").remove()}if(o.dataSM("shown-before")){if(l.opts.subMenusMinWidth||l.opts.subMenusMaxWidth){o.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap")}if(o.dataSM("scroll-arrows")){o.dataSM("scroll-arrows").remove()}o.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})}if((o.attr("id")||"").indexOf(l.accessIdPrefix)==0){o.removeAttr("id")}}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("ie-shim").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded");this.$root.find("a.has-submenu").each(function(){var o=a(this);if(o.attr("id").indexOf(l.accessIdPrefix)==0){o.removeAttr("id")}}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub");if(this.opts.subIndicators){this.$root.find("span.sub-arrow").remove()}if(this.opts.markCurrentItem){this.$root.find("a.current").removeClass("current")}if(!m){this.$root=null;this.$firstLink=null;this.$firstSub=null;if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}b.splice(a.inArray(this,b),1)}},disable:function(l){if(!this.disabled){this.menuHideAll();if(!l&&!this.opts.isPopup&&this.$root.is(":visible")){var m=this.$root.offset();this.$disableOverlay=a('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:m.top,left:m.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(true),opacity:0}).appendTo(document.body)}this.disabled=true}},docClick:function(l){if(this.$touchScrollingSub){this.$touchScrollingSub=null;return}if(this.visibleSubMenus.length&&!a.contains(this.$root[0],l.target)||a(l.target).is("a")){this.menuHideAll()}},docTouchEnd:function(m){if(!this.lastTouch){return}if(this.visibleSubMenus.length&&(this.lastTouch.x2===undefined||this.lastTouch.x1==this.lastTouch.x2)&&(this.lastTouch.y2===undefined||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}var l=this;this.hideTimeout=setTimeout(function(){l.menuHideAll()},350)}this.lastTouch=null},docTouchMove:function(m){if(!this.lastTouch){return}var l=m.originalEvent.touches[0];this.lastTouch.x2=l.pageX;this.lastTouch.y2=l.pageY},docTouchStart:function(m){var l=m.originalEvent.touches[0];this.lastTouch={x1:l.pageX,y1:l.pageY,target:l.target}},enable:function(){if(this.disabled){if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}this.disabled=false}},getClosestMenu:function(m){var l=a(m).closest("ul");while(l.dataSM("in-mega")){l=l.parent().closest("ul")}return l[0]||null},getHeight:function(l){return this.getOffset(l,true)},getOffset:function(n,l){var m;if(n.css("display")=="none"){m={position:n[0].style.position,visibility:n[0].style.visibility};n.css({position:"absolute",visibility:"hidden"}).show()}var o=n[0].getBoundingClientRect&&n[0].getBoundingClientRect(),p=o&&(l?o.height||o.bottom-o.top:o.width||o.right-o.left);if(!p&&p!==0){p=l?n[0].offsetHeight:n[0].offsetWidth}if(m){n.hide().css(m)}return p},getStartZIndex:function(l){var m=parseInt(this[l?"$root":"$firstSub"].css("z-index"));if(!l&&isNaN(m)){m=parseInt(this.$root.css("z-index"))}return !isNaN(m)?m:1},getTouchPoint:function(l){return l.touches&&l.touches[0]||l.changedTouches&&l.changedTouches[0]||l},getViewport:function(l){var m=l?"Height":"Width",o=document.documentElement["client"+m],n=window["inner"+m];if(n){o=Math.min(o,n)}return o},getViewportHeight:function(){return this.getViewport(true)},getViewportWidth:function(){return this.getViewport()},getWidth:function(l){return this.getOffset(l)},handleEvents:function(){return !this.disabled&&this.isCSSOn()},handleItemEvents:function(l){return this.handleEvents()&&!this.isLinkInMegaMenu(l)},isCollapsible:function(){return this.$firstSub.css("position")=="static"},isCSSOn:function(){return this.$firstLink.css("display")=="block"},isFixed:function(){var l=this.$root.css("position")=="fixed";if(!l){this.$root.parentsUntil("body").each(function(){if(a(this).css("position")=="fixed"){l=true;return false}})}return l},isLinkInMegaMenu:function(l){return a(this.getClosestMenu(l[0])).hasClass("mega-menu")},isTouchMode:function(){return !f||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(p,l){var n=p.closest("ul"),q=n.dataSM("level");if(q>1&&(!this.activatedItems[q-2]||this.activatedItems[q-2][0]!=n.dataSM("parent-a")[0])){var m=this;a(n.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(n).each(function(){m.itemActivate(a(this).dataSM("parent-a"))})}if(!this.isCollapsible()||l){this.menuHideSubMenus(!this.activatedItems[q-1]||this.activatedItems[q-1][0]!=p[0]?q-1:q)}this.activatedItems[q-1]=p;if(this.$root.triggerHandler("activate.smapi",p[0])===false){return}var o=p.dataSM("sub");if(o&&(this.isTouchMode()||(!this.opts.showOnClick||this.clickActivated))){this.menuShow(o)}},itemBlur:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}this.$root.triggerHandler("blur.smapi",l[0])},itemClick:function(o){var n=a(o.currentTarget);if(!this.handleItemEvents(n)){return}if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==n.closest("ul")[0]){this.$touchScrollingSub=null;o.stopPropagation();return false}if(this.$root.triggerHandler("click.smapi",n[0])===false){return false}var p=a(o.target).is("span.sub-arrow"),m=n.dataSM("sub"),l=m?m.dataSM("level")==2:false;if(m&&!m.is(":visible")){if(this.opts.showOnClick&&l){this.clickActivated=true}this.itemActivate(n);if(m.is(":visible")){this.focusActivated=true;return false}}else{if(this.isCollapsible()&&p){this.itemActivate(n);this.menuHide(m);return false}}if(this.opts.showOnClick&&l||n.hasClass("disabled")||this.$root.triggerHandler("select.smapi",n[0])===false){return false}},itemDown:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}l.dataSM("mousedown",true)},itemEnter:function(n){var m=a(n.currentTarget);if(!this.handleItemEvents(m)){return}if(!this.isTouchMode()){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}var l=this;this.showTimeout=setTimeout(function(){l.itemActivate(m)},this.opts.showOnClick&&m.closest("ul").dataSM("level")==1?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",m[0])},itemFocus:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}if(this.focusActivated&&(!this.isTouchMode()||!l.dataSM("mousedown"))&&(!this.activatedItems.length||this.activatedItems[this.activatedItems.length-1][0]!=l[0])){this.itemActivate(l,true)}this.$root.triggerHandler("focus.smapi",l[0])},itemLeave:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}if(!this.isTouchMode()){l[0].blur();if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}}l.removeDataSM("mousedown");this.$root.triggerHandler("mouseleave.smapi",l[0])},menuHide:function(m){if(this.$root.triggerHandler("beforehide.smapi",m[0])===false){return}m.stop(true,true);if(m.css("display")!="none"){var l=function(){m.css("z-index","")};if(this.isCollapsible()){if(this.opts.collapsibleHideFunction){this.opts.collapsibleHideFunction.call(this,m,l)}else{m.hide(this.opts.collapsibleHideDuration,l)}}else{if(this.opts.hideFunction){this.opts.hideFunction.call(this,m,l)}else{m.hide(this.opts.hideDuration,l)}}if(m.dataSM("ie-shim")){m.dataSM("ie-shim").remove().css({"-webkit-transform":"",transform:""})}if(m.dataSM("scroll")){this.menuScrollStop(m);m.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).unbind(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()}m.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false");m.attr({"aria-expanded":"false","aria-hidden":"true"});var n=m.dataSM("level");this.activatedItems.splice(n-1,1);this.visibleSubMenus.splice(a.inArray(m,this.visibleSubMenus),1);this.$root.triggerHandler("hide.smapi",m[0])}},menuHideAll:function(){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}var m=this.opts.isPopup?1:0;for(var l=this.visibleSubMenus.length-1;l>=m;l--){this.menuHide(this.visibleSubMenus[l])}if(this.opts.isPopup){this.$root.stop(true,true);if(this.$root.is(":visible")){if(this.opts.hideFunction){this.opts.hideFunction.call(this,this.$root)}else{this.$root.hide(this.opts.hideDuration)}if(this.$root.dataSM("ie-shim")){this.$root.dataSM("ie-shim").remove()}}}this.activatedItems=[];this.visibleSubMenus=[];this.clickActivated=false;this.focusActivated=false;this.zIndexInc=0;this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(n){for(var l=this.activatedItems.length-1;l>=n;l--){var m=this.activatedItems[l].dataSM("sub");if(m){this.menuHide(m)}}},menuIframeShim:function(l){if(e&&this.opts.overlapControlsInIE&&!l.dataSM("ie-shim")){l.dataSM("ie-shim",a("<iframe/>").attr({src:"javascript:0",tabindex:-9}).css({position:"absolute",top:"auto",left:"0",opacity:0,border:"0"}))}},menuInit:function(l){if(!l.dataSM("in-mega")){if(l.hasClass("mega-menu")){l.find("ul").dataSM("in-mega",true)}var q=2,m=l[0];while((m=m.parentNode.parentNode)!=this.$root[0]){q++}var n=l.prevAll("a").eq(-1);if(!n.length){n=l.prevAll().find("a").eq(-1)}n.addClass("has-submenu").dataSM("sub",l);l.dataSM("parent-a",n).dataSM("level",q).parent().dataSM("sub",l);var o=n.attr("id")||this.accessIdPrefix+(++this.idInc),p=l.attr("id")||this.accessIdPrefix+(++this.idInc);n.attr({id:o,"aria-haspopup":"true","aria-controls":p,"aria-expanded":"false"});l.attr({id:p,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"});if(this.opts.subIndicators){n[this.opts.subIndicatorsPos](this.$subArrow.clone())}}},menuPosition:function(K){var r=K.dataSM("parent-a"),D=r.closest("li"),E=D.parent(),l=K.dataSM("level"),t=this.getWidth(K),J=this.getHeight(K),u=r.offset(),o=u.left,m=u.top,q=this.getWidth(r),F=this.getHeight(r),H=a(window),v=H.scrollLeft(),s=H.scrollTop(),z=this.getViewportWidth(),L=this.getViewportHeight(),w=E.parent().is("[data-sm-horizontal-sub]")||l==2&&!E.hasClass("sm-vertical"),B=this.opts.rightToLeftSubMenus&&!D.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&D.is("[data-sm-reverse]"),p=l==2?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,n=l==2?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY,C,A;if(w){C=B?q-t-p:p;A=this.opts.bottomToTopSubMenus?-J-n:F+n}else{C=B?p-t:q-p;A=this.opts.bottomToTopSubMenus?F-n-J:n}if(this.opts.keepInViewport){var N=o+C,M=m+A;if(B&&N<v){C=w?v-N+C:q-p}else{if(!B&&N+t>v+z){C=w?v+z-t-N+C:p-t}}if(!w){if(J<L&&M+J>s+L){A+=s+L-J-M}else{if(J>=L||M<s){A+=s-M}}}if(w&&(M+J>s+L+0.49||M<s)||!w&&J>L+0.49){var G=this;if(!K.dataSM("scroll-arrows")){K.dataSM("scroll-arrows",a([a('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],a('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).bind({mouseenter:function(){K.dataSM("scroll").up=a(this).hasClass("scroll-up");G.menuScroll(K)},mouseleave:function(x){G.menuScrollStop(K);G.menuScrollOut(K,x)},"mousewheel DOMMouseScroll":function(x){x.preventDefault()}}).insertAfter(K))}var I=".smartmenus_scroll";K.dataSM("scroll",{y:this.cssTransforms3d?0:A-F,step:1,itemH:F,subH:J,arrowDownH:this.getHeight(K.dataSM("scroll-arrows").eq(1))}).bind(i([["mouseover",function(x){G.menuScrollOver(K,x)}],["mouseout",function(x){G.menuScrollOut(K,x)}],["mousewheel DOMMouseScroll",function(x){G.menuScrollMousewheel(K,x)}]],I)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:C+(parseInt(K.css("border-left-width"))||0),width:t-(parseInt(K.css("border-left-width"))||0)-(parseInt(K.css("border-right-width"))||0),zIndex:K.css("z-index")}).eq(w&&this.opts.bottomToTopSubMenus?0:1).show();if(this.isFixed()){K.css({"touch-action":"none","-ms-touch-action":"none"}).bind(i([[d?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp",function(x){G.menuScrollTouch(K,x)}]],I))}}}K.css({top:"auto",left:"0",marginLeft:C,marginTop:A-F});this.menuIframeShim(K);if(K.dataSM("ie-shim")){K.dataSM("ie-shim").css({zIndex:K.css("z-index"),width:t,height:J,marginLeft:C,marginTop:A-F})}},menuScroll:function(r,m,n){var p=r.dataSM("scroll"),q=r.dataSM("scroll-arrows"),o=p.up?p.upEnd:p.downEnd,s;if(!m&&p.momentum){p.momentum*=0.92;s=p.momentum;if(s<0.5){this.menuScrollStop(r);return}}else{s=n||(m||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(p.step))}var l=r.dataSM("level");if(this.activatedItems[l-1]&&this.activatedItems[l-1].dataSM("sub")&&this.activatedItems[l-1].dataSM("sub").is(":visible")){this.menuHideSubMenus(l-1)}p.y=p.up&&o<=p.y||!p.up&&o>=p.y?p.y:(Math.abs(o-p.y)>s?p.y+(p.up?s:-s):o);r.add(r.dataSM("ie-shim")).css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+p.y+"px, 0)",transform:"translate3d(0, "+p.y+"px, 0)"}:{marginTop:p.y});if(f&&(p.up&&p.y>p.downEnd||!p.up&&p.y<p.upEnd)){q.eq(p.up?1:0).show()}if(p.y==o){if(f){q.eq(p.up?0:1).hide()}this.menuScrollStop(r)}else{if(!m){if(this.opts.scrollAccelerate&&p.step<this.opts.scrollStep){p.step+=0.2}var t=this;this.scrollTimeout=g(function(){t.menuScroll(r)})}}},menuScrollMousewheel:function(m,n){if(this.getClosestMenu(n.target)==m[0]){n=n.originalEvent;var l=(n.wheelDelta||-n.detail)>0;if(m.dataSM("scroll-arrows").eq(l?0:1).is(":visible")){m.dataSM("scroll").up=l;this.menuScroll(m,true)}}n.preventDefault()},menuScrollOut:function(l,m){if(f){if(!/^scroll-(up|down)/.test((m.relatedTarget||"").className)&&(l[0]!=m.relatedTarget&&!a.contains(l[0],m.relatedTarget)||this.getClosestMenu(m.relatedTarget)!=l[0])){l.dataSM("scroll-arrows").css("visibility","hidden")}}},menuScrollOver:function(n,o){if(f){if(!/^scroll-(up|down)/.test(o.target.className)&&this.getClosestMenu(o.target)==n[0]){this.menuScrollRefreshData(n);var m=n.dataSM("scroll"),l=a(window).scrollTop()-n.dataSM("parent-a").offset().top-m.itemH;n.dataSM("scroll-arrows").eq(0).css("margin-top",l).end().eq(1).css("margin-top",l+this.getViewportHeight()-m.arrowDownH).end().css("visibility","visible")}}},menuScrollRefreshData:function(n){var m=n.dataSM("scroll"),l=a(window).scrollTop()-n.dataSM("parent-a").offset().top-m.itemH;if(this.cssTransforms3d){l=-(parseFloat(n.css("margin-top"))-l)}a.extend(m,{upEnd:l,downEnd:l+this.getViewportHeight()-m.subH})},menuScrollStop:function(l){if(this.scrollTimeout){c(this.scrollTimeout);this.scrollTimeout=0;l.dataSM("scroll").step=1;return true}},menuScrollTouch:function(p,q){q=q.originalEvent;if(j(q)){var m=this.getTouchPoint(q);if(this.getClosestMenu(m.target)==p[0]){var o=p.dataSM("scroll");if(/(start|down)$/i.test(q.type)){if(this.menuScrollStop(p)){q.preventDefault();this.$touchScrollingSub=p}else{this.$touchScrollingSub=null}this.menuScrollRefreshData(p);a.extend(o,{touchStartY:m.pageY,touchStartTime:q.timeStamp})}else{if(/move$/i.test(q.type)){var n=o.touchY!==undefined?o.touchY:o.touchStartY;if(n!==undefined&&n!=m.pageY){this.$touchScrollingSub=p;var l=n<m.pageY;if(o.up!==undefined&&o.up!=l){a.extend(o,{touchStartY:m.pageY,touchStartTime:q.timeStamp})}a.extend(o,{up:l,touchY:m.pageY});this.menuScroll(p,true,Math.abs(m.pageY-n))}q.preventDefault()}else{if(o.touchY!==undefined){if(o.momentum=Math.pow(Math.abs(m.pageY-o.touchStartY)/(q.timeStamp-o.touchStartTime),2)*15){this.menuScrollStop(p);this.menuScroll(p);q.preventDefault()}delete o.touchY}}}}}},menuShow:function(n){if(!n.dataSM("beforefirstshowfired")){n.dataSM("beforefirstshowfired",true);if(this.$root.triggerHandler("beforefirstshow.smapi",n[0])===false){return}}if(this.$root.triggerHandler("beforeshow.smapi",n[0])===false){return}n.dataSM("shown-before",true).stop(true,true);if(!n.is(":visible")){var m=n.dataSM("parent-a");if(this.opts.keepHighlighted||this.isCollapsible()){m.addClass("highlighted")}if(this.isCollapsible()){n.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""})}else{n.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1);if(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth){n.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap");if(this.opts.subMenusMinWidth){n.css("min-width",this.opts.subMenusMinWidth)}if(this.opts.subMenusMaxWidth){var o=this.getWidth(n);n.css("max-width",this.opts.subMenusMaxWidth);if(o>this.getWidth(n)){n.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}}}this.menuPosition(n);if(n.dataSM("ie-shim")){n.dataSM("ie-shim").insertBefore(n)}}var l=function(){n.css("overflow","")};if(this.isCollapsible()){if(this.opts.collapsibleShowFunction){this.opts.collapsibleShowFunction.call(this,n,l)}else{n.show(this.opts.collapsibleShowDuration,l)}}else{if(this.opts.showFunction){this.opts.showFunction.call(this,n,l)}else{n.show(this.opts.showDuration,l)}}m.attr("aria-expanded","true");n.attr({"aria-expanded":"true","aria-hidden":"false"});this.visibleSubMenus.push(n);this.$root.triggerHandler("show.smapi",n[0])}},popupHide:function(l){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}var m=this;this.hideTimeout=setTimeout(function(){m.menuHideAll()},l?1:this.opts.hideTimeout)},popupShow:function(o,n){if(!this.opts.isPopup){alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');return}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}this.$root.dataSM("shown-before",true).stop(true,true);if(!this.$root.is(":visible")){this.$root.css({left:o,top:n});this.menuIframeShim(this.$root);if(this.$root.dataSM("ie-shim")){this.$root.dataSM("ie-shim").css({zIndex:this.$root.css("z-index"),width:this.getWidth(this.$root),height:this.getHeight(this.$root),left:o,top:n}).insertBefore(this.$root)}var m=this,l=function(){m.$root.css("overflow","")};if(this.opts.showFunction){this.opts.showFunction.call(this,this.$root,l)}else{this.$root.show(this.opts.showDuration,l)}this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(true);this.init(true)},rootKeyDown:function(o){if(!this.handleEvents()){return}switch(o.keyCode){case 27:var m=this.activatedItems[0];if(m){this.menuHideAll();m[0].focus();var n=m.dataSM("sub");if(n){this.menuHide(n)}}break;case 32:var l=a(o.target);if(l.is("a")&&this.handleItemEvents(l)){var n=l.dataSM("sub");if(n&&!n.is(":visible")){this.itemClick({currentTarget:o.target});o.preventDefault()}}break}},rootOut:function(m){if(!this.handleEvents()||this.isTouchMode()||m.target==this.$root[0]){return}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}if(!this.opts.showOnClick||!this.opts.hideOnClick){var l=this;this.hideTimeout=setTimeout(function(){l.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(l){if(!this.handleEvents()||this.isTouchMode()||l.target==this.$root[0]){return}if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}},winResize:function(m){if(!this.handleEvents()){if(this.$disableOverlay){var n=this.$root.offset();this.$disableOverlay.css({top:n.top,left:n.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}return}if(!("onorientationchange" in window)||m.type=="orientationchange"){var l=this.isCollapsible();if(!(this.wasCollapsible&&l)){if(this.activatedItems.length){this.activatedItems[this.activatedItems.length-1][0].blur()}this.menuHideAll()}this.wasCollapsible=l}}}});a.fn.dataSM=function(l,m){if(m){return this.data(l+"_smartmenus",m)}return this.data(l+"_smartmenus")};a.fn.removeDataSM=function(l){return this.removeData(l+"_smartmenus")};a.fn.smartmenus=function(m){if(typeof m=="string"){var l=arguments,o=m;Array.prototype.shift.call(l);return this.each(function(){var p=a(this).data("smartmenus");if(p&&p[o]){p[o].apply(p,l)}})}var n=a.extend({},a.fn.smartmenus.defaults,m);return this.each(function(){new a.SmartMenus(this,n)})};a.fn.smartmenus.defaults={isPopup:false,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:true,subIndicatorsPos:"prepend",subIndicatorsText:"+",scrollStep:30,scrollAccelerate:true,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(m,l){m.fadeOut(200,l)},collapsibleShowDuration:0,collapsibleShowFunction:function(m,l){m.slideDown(200,l)},collapsibleHideDuration:0,collapsibleHideFunction:function(m,l){m.slideUp(200,l)},showOnClick:false,hideOnClick:true,noMouseOver:false,keepInViewport:true,keepHighlighted:true,markCurrentItem:false,markCurrentTree:true,rightToLeftSubMenus:false,bottomToTopSubMenus:false,overlapControlsInIE:true};return a})); diff --git a/HW1-FA18/html/menu.js b/HW1-FA18/html/menu.js deleted file mode 100644 index 89aaf575c62a7610cd83ddc0a230de8a2697a18e..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/menu.js +++ /dev/null @@ -1,50 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { - function makeTree(data,relPath) { - var result=''; - if ('children' in data) { - result+='<ul>'; - for (var i in data.children) { - result+='<li><a href="'+relPath+data.children[i].url+'">'+ - data.children[i].text+'</a>'+ - makeTree(data.children[i],relPath)+'</li>'; - } - result+='</ul>'; - } - return result; - } - - $('#main-nav').append(makeTree(menudata,relPath)); - $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); - if (searchEnabled) { - if (serverSide) { - $('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><div class="left"><form id="FSearchBox" action="'+searchPage+'" method="get"><img id="MSearchSelect" src="'+relPath+'search/mag.png" alt=""/><input type="text" id="MSearchField" name="query" value="'+search+'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"></form></div><div class="right"></div></div></li>'); - } else { - $('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><span class="left"><img id="MSearchSelect" src="'+relPath+'search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/><input type="text" id="MSearchField" value="'+search+'" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/></span><span class="right"><a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="'+relPath+'search/close.png" alt=""/></a></span></div></li>'); - } - } - $('#main-menu').smartmenus(); -} -/* @license-end */ diff --git a/HW1-FA18/html/menudata.js b/HW1-FA18/html/menudata.js deleted file mode 100644 index b5f1d90c59327706a56e6cedbb093f63b7ecf968..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/menudata.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -@ @licstart The following is the entire license notice for the -JavaScript code in this file. - -Copyright (C) 1997-2017 by Dimitri van Heesch - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program; if not, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -@licend The above is the entire license notice -for the JavaScript code in this file -*/ -var menudata={children:[ -{text:"Main Page",url:"index.html"}, -{text:"Namespaces",url:"namespaces.html",children:[ -{text:"Namespace List",url:"namespaces.html"}]}, -{text:"Classes",url:"annotated.html",children:[ -{text:"Class List",url:"annotated.html"}, -{text:"Class Index",url:"classes.html"}, -{text:"Class Hierarchy",url:"hierarchy.html"}, -{text:"Class Members",url:"functions.html",children:[ -{text:"All",url:"functions.html"}, -{text:"Functions",url:"functions_func.html"}]}]}]} diff --git a/HW1-FA18/html/namespacechess_board.html b/HW1-FA18/html/namespacechess_board.html deleted file mode 100644 index 65b6ff9fe924c9000501cb0aa3bc47b3a7828397..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/namespacechess_board.html +++ /dev/null @@ -1,89 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Package chessBoard</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#nested-classes">Classes</a> </div> - <div class="headertitle"> -<div class="title">Package chessBoard</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> -Classes</h2></td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_board_1_1_board.html">Board</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> -<div class="textblock"><p>Below is a chess board graph for the ease of implementation.</p> -<p>k: knight K: king</p> -<p>0 1 2 3 4 5 6 7 0 r k b K q b k r 1 p p p p p p p p <---— player 0 2 3 4 5 6 p p p p p p p p <---— player 1 7 r k b K q b k r</p> -<p><a class="el" href="classchess_board_1_1_board.html">Board</a> class supports creating a game board for the game, and completing a series of chess pieces movements. </p> -</div></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/namespacechess_pieces.html b/HW1-FA18/html/namespacechess_pieces.html deleted file mode 100644 index e74c0f0d686fd723e1434ada48ca3ece3f205128..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/namespacechess_pieces.html +++ /dev/null @@ -1,99 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Package chessPieces</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -</div><!-- top --> -<div class="header"> - <div class="summary"> -<a href="#nested-classes">Classes</a> </div> - <div class="headertitle"> -<div class="title">Package chessPieces</div> </div> -</div><!--header--> -<div class="contents"> -<table class="memberdecls"> -<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> -Classes</h2></td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_bishop.html">Bishop</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_chess_piece.html">ChessPiece</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_king.html">King</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_knight.html">Knight</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_pawn.html">Pawn</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_queen.html">Queen</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classchess_pieces_1_1_rook.html">Rook</a></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -</table> -<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> -<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Dorothy Yu </dd></dl> -<dl class="section version"><dt>Version</dt><dd>1.00 </dd></dl> -</div></div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/namespaces.html b/HW1-FA18/html/namespaces.html deleted file mode 100644 index e3a23e60cb423ba1a44dfaef0a7a6608ed138c6a..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/namespaces.html +++ /dev/null @@ -1,82 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<meta name="viewport" content="width=device-width, initial-scale=1"/> -<title>My Project: Namespace List</title> -<link href="tabs.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="jquery.js"></script> -<script type="text/javascript" src="dynsections.js"></script> -<link href="search/search.css" rel="stylesheet" type="text/css"/> -<script type="text/javascript" src="search/searchdata.js"></script> -<script type="text/javascript" src="search/search.js"></script> -<link href="doxygen.css" rel="stylesheet" type="text/css" /> -</head> -<body> -<div id="top"><!-- do not remove this div, it is closed by doxygen! --> -<div id="titlearea"> -<table cellspacing="0" cellpadding="0"> - <tbody> - <tr style="height: 56px;"> - <td id="projectalign" style="padding-left: 0.5em;"> - <div id="projectname">My Project - </div> - </td> - </tr> - </tbody> -</table> -</div> -<!-- end header part --> -<!-- Generated by Doxygen 1.8.14 --> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); -/* @license-end */ -</script> -<script type="text/javascript" src="menudata.js"></script> -<script type="text/javascript" src="menu.js"></script> -<script type="text/javascript"> -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -$(function() { - initMenu('',true,false,'search.php','Search'); - $(document).ready(function() { init_search(); }); -}); -/* @license-end */</script> -<div id="main-nav"></div> -</div><!-- top --> -<!-- window showing the filter options --> -<div id="MSearchSelectWindow" - onmouseover="return searchBox.OnSearchSelectShow()" - onmouseout="return searchBox.OnSearchSelectHide()" - onkeydown="return searchBox.OnSearchSelectKey(event)"> -</div> - -<!-- iframe showing the search results (closed by default) --> -<div id="MSearchResultsWindow"> -<iframe src="javascript:void(0)" frameborder="0" - name="MSearchResults" id="MSearchResults"> -</iframe> -</div> - -<div class="header"> - <div class="headertitle"> -<div class="title">Namespace List</div> </div> -</div><!--header--> -<div class="contents"> -<div class="textblock">Here is a list of all documented namespaces with brief descriptions:</div><div class="directory"> -<table class="directory"> -<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacechess_board.html" target="_self">chessBoard</a></td><td class="desc"></td></tr> -<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespacechess_pieces.html" target="_self">chessPieces</a></td><td class="desc"></td></tr> -</table> -</div><!-- directory --> -</div><!-- contents --> -<!-- start footer part --> -<hr class="footer"/><address class="footer"><small> -Generated by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.14 -</small></address> -</body> -</html> diff --git a/HW1-FA18/html/nav_f.png b/HW1-FA18/html/nav_f.png deleted file mode 100644 index 72a58a529ed3a9ed6aa0c51a79cf207e026deee2..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/nav_f.png and /dev/null differ diff --git a/HW1-FA18/html/nav_g.png b/HW1-FA18/html/nav_g.png deleted file mode 100644 index 2093a237a94f6c83e19ec6e5fd42f7ddabdafa81..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/nav_g.png and /dev/null differ diff --git a/HW1-FA18/html/nav_h.png b/HW1-FA18/html/nav_h.png deleted file mode 100644 index 33389b101d9cd9b4c98ad286b5d9c46a6671f650..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/nav_h.png and /dev/null differ diff --git a/HW1-FA18/html/open.png b/HW1-FA18/html/open.png deleted file mode 100644 index 30f75c7efe2dd0c9e956e35b69777a02751f048b..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/open.png and /dev/null differ diff --git a/HW1-FA18/html/search/all_0.html b/HW1-FA18/html/search/all_0.html deleted file mode 100644 index 5125b94009caa859823e3cf33daf7cab235f6b48..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_0.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_0.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_0.js b/HW1-FA18/html/search/all_0.js deleted file mode 100644 index a9486bd52a35d33bc7832e4255adf2bda27b96a7..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_0.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['bishop',['Bishop',['../classchess_pieces_1_1_bishop.html',1,'chessPieces']]], - ['board',['Board',['../classchess_board_1_1_board.html',1,'chessBoard.Board'],['../classchess_board_1_1_board.html#a22f4b93edd9167eba25213c376b76680',1,'chessBoard.Board.Board()']]], - ['boardtest',['BoardTest',['../classchess_tests_1_1_board_test.html',1,'chessTests']]] -]; diff --git a/HW1-FA18/html/search/all_1.html b/HW1-FA18/html/search/all_1.html deleted file mode 100644 index b8ff871118c11d26447c212c069782af292d0679..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_1.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_1.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_1.js b/HW1-FA18/html/search/all_1.js deleted file mode 100644 index 39f702dc7cafb39d4a762cf30df727791d835c92..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_1.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['checkmate',['checkmate',['../classchess_board_1_1_board.html#a3c97c91ad60e17a9196663827fe9ab5e',1,'chessBoard::Board']]], - ['checkmatehelper',['checkmateHelper',['../classchess_board_1_1_board.html#a05ebc940fda9817b0c2b5cb5c8e8347b',1,'chessBoard::Board']]], - ['checkrule',['checkRule',['../classchess_pieces_1_1_bishop.html#a89a7baed811029b61bb663b9ef271474',1,'chessPieces.Bishop.checkRule()'],['../classchess_pieces_1_1_king.html#ac456b043dee627335edfc6ca452f8e61',1,'chessPieces.King.checkRule()'],['../classchess_pieces_1_1_knight.html#a6128f7b61750e3f5598af558950e8176',1,'chessPieces.Knight.checkRule()'],['../classchess_pieces_1_1_queen.html#aed3b9c2b21cf90526473552e43473bce',1,'chessPieces.Queen.checkRule()'],['../classchess_pieces_1_1_rook.html#a80d4b7c3b01455715528c6eae36206be',1,'chessPieces.Rook.checkRule()']]], - ['chessboard',['chessBoard',['../namespacechess_board.html',1,'']]], - ['chesspiece',['ChessPiece',['../classchess_pieces_1_1_chess_piece.html',1,'chessPieces']]], - ['chesspieces',['chessPieces',['../namespacechess_pieces.html',1,'']]], - ['chesspiecetest',['ChessPieceTest',['../classchess_tests_1_1_chess_piece_test.html',1,'chessTests']]] -]; diff --git a/HW1-FA18/html/search/all_2.html b/HW1-FA18/html/search/all_2.html deleted file mode 100644 index 2f17735ef0d2569ce4048ad92cf0c91203322998..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_2.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_2.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_2.js b/HW1-FA18/html/search/all_2.js deleted file mode 100644 index a70bea3d9b094cb99191c12647ad5e476038e0b7..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_2.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['getcurrentturn',['getCurrentTurn',['../classchess_board_1_1_board.html#a4745d2421ba288848cd4da8a741460db',1,'chessBoard::Board']]], - ['getking',['getKing',['../classchess_board_1_1_board.html#afe038863a9781eab41467b56df5a9096',1,'chessBoard::Board']]], - ['getkingposition',['getKingPosition',['../classchess_board_1_1_board.html#a482a8501881ed63644b25982142583d5',1,'chessBoard::Board']]], - ['getopponentpieces',['getOpponentPieces',['../classchess_board_1_1_board.html#a57f78442bc647f610e70f17acbf043be',1,'chessBoard::Board']]], - ['getpieceat',['getPieceAt',['../classchess_board_1_1_board.html#a5fd4e61f4d95df2ee8979f1c39310ce7',1,'chessBoard::Board']]], - ['getrowposition',['getRowPosition',['../classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870',1,'chessPieces::ChessPiece']]] -]; diff --git a/HW1-FA18/html/search/all_3.html b/HW1-FA18/html/search/all_3.html deleted file mode 100644 index a3e6f7dbbea4a37606a2540fa2deff4ace269b2f..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_3.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_3.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_3.js b/HW1-FA18/html/search/all_3.js deleted file mode 100644 index 85f44fa25f00ecf0afc9fa2f03075dbc823b1958..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_3.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['initiateboard',['initiateBoard',['../classchess_tests_1_1_board_test.html#a7a276983800089da009215ae21ec81a2',1,'chessTests::BoardTest']]], - ['isinboard',['isInBoard',['../classchess_board_1_1_board.html#a1d0bace033689da532b49ab02320bdbe',1,'chessBoard::Board']]], - ['isincheck',['isInCheck',['../classchess_board_1_1_board.html#a1a53c8899843ff4409c0ce0e6ec35900',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/all_4.html b/HW1-FA18/html/search/all_4.html deleted file mode 100644 index 6452295dceb69603d947b17bcb4c0fdcaed713e3..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_4.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_4.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_4.js b/HW1-FA18/html/search/all_4.js deleted file mode 100644 index 148a38be4e9cb1c064772eed02d0e9910ccff9f0..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_4.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['killed',['killed',['../classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675',1,'chessPieces::ChessPiece']]], - ['killpiece',['killPiece',['../classchess_board_1_1_board.html#a4382ed91c48a316d631bcb709ab1c7f0',1,'chessBoard::Board']]], - ['king',['King',['../classchess_pieces_1_1_king.html',1,'chessPieces']]], - ['knight',['Knight',['../classchess_pieces_1_1_knight.html',1,'chessPieces']]] -]; diff --git a/HW1-FA18/html/search/all_5.html b/HW1-FA18/html/search/all_5.html deleted file mode 100644 index e59e1d5363678265ca4c681044aa76d5384532d7..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_5.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_5.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_5.js b/HW1-FA18/html/search/all_5.js deleted file mode 100644 index f9998cd886cf1bb9706df073bbcef22acfa1e168..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_5.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['movehelper',['moveHelper',['../classchess_board_1_1_board.html#a019a1d66626479f7fec15530b370cbed',1,'chessBoard::Board']]], - ['moveto',['moveTo',['../classchess_board_1_1_board.html#a43c19164ee867e4922c5460bd3a1cfd5',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/all_6.html b/HW1-FA18/html/search/all_6.html deleted file mode 100644 index f75a754e92d9d6db610bf30d356c525ca23af90a..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_6.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_6.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_6.js b/HW1-FA18/html/search/all_6.js deleted file mode 100644 index 89b08f4b23b9fbb55fc05a8582c9b085d2e0b314..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_6.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['pawn',['Pawn',['../classchess_pieces_1_1_pawn.html',1,'chessPieces']]], - ['pieceinboardtest',['pieceInBoardTest',['../classchess_tests_1_1_chess_piece_test.html#a59982f0319b68ca6b62057d061afb762',1,'chessTests::ChessPieceTest']]], - ['piecesettest',['pieceSetTest',['../classchess_tests_1_1_chess_piece_test.html#ac5737f78d619cbe613e29f90ea27e98f',1,'chessTests::ChessPieceTest']]] -]; diff --git a/HW1-FA18/html/search/all_7.html b/HW1-FA18/html/search/all_7.html deleted file mode 100644 index 88acd946639ea217f361bb1122328d965e19b27f..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_7.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_7.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_7.js b/HW1-FA18/html/search/all_7.js deleted file mode 100644 index fea2f1832c048b0906d19f72a4f4a661678f5031..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_7.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['queen',['Queen',['../classchess_pieces_1_1_queen.html',1,'chessPieces']]] -]; diff --git a/HW1-FA18/html/search/all_8.html b/HW1-FA18/html/search/all_8.html deleted file mode 100644 index b74d5fd807b3f51ed43ec91d0e0124bfdc83b9b5..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_8.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_8.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_8.js b/HW1-FA18/html/search/all_8.js deleted file mode 100644 index 0fdcf3445e21dbaa741a3c919065bfa0d733473e..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_8.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['rook',['Rook',['../classchess_pieces_1_1_rook.html',1,'chessPieces']]] -]; diff --git a/HW1-FA18/html/search/all_9.html b/HW1-FA18/html/search/all_9.html deleted file mode 100644 index 95e88dd25c9424e5a160e786b08645107048f259..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_9.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_9.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_9.js b/HW1-FA18/html/search/all_9.js deleted file mode 100644 index 39359f7a514dd2f45bf32ee8909fc3fa20615bf9..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_9.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['setturn',['setTurn',['../classchess_board_1_1_board.html#a7c10a7ed99a1a761b1d4ae3ec51c22c2',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/all_a.html b/HW1-FA18/html/search/all_a.html deleted file mode 100644 index 3148a8e513e553cdd599882b45f2e67780c6e9e6..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_a.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="all_a.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/all_a.js b/HW1-FA18/html/search/all_a.js deleted file mode 100644 index a4486f0746097ffd5a2bdb82ee382f9bbe3f6311..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/all_a.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['validmovefilter',['validMoveFilter',['../classchess_board_1_1_board.html#a601235f2aec8c70c1e620b26d096ab8a',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/classes_0.html b/HW1-FA18/html/search/classes_0.html deleted file mode 100644 index e935fdf727c8482dca1198756fa67bf898f2567a..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_0.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_0.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/classes_0.js b/HW1-FA18/html/search/classes_0.js deleted file mode 100644 index 008d3795d4f21fa7b2e041b430815a179ebe58c8..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_0.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['bishop',['Bishop',['../classchess_pieces_1_1_bishop.html',1,'chessPieces']]], - ['board',['Board',['../classchess_board_1_1_board.html',1,'chessBoard']]], - ['boardtest',['BoardTest',['../classchess_tests_1_1_board_test.html',1,'chessTests']]] -]; diff --git a/HW1-FA18/html/search/classes_1.html b/HW1-FA18/html/search/classes_1.html deleted file mode 100644 index 3df6e80acf590e44fa2fe9a3e20a5d654a6558b8..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_1.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_1.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/classes_1.js b/HW1-FA18/html/search/classes_1.js deleted file mode 100644 index 7a3be8c616195d94555f5e6eaaee59c74a952d81..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_1.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['chesspiece',['ChessPiece',['../classchess_pieces_1_1_chess_piece.html',1,'chessPieces']]], - ['chesspiecetest',['ChessPieceTest',['../classchess_tests_1_1_chess_piece_test.html',1,'chessTests']]] -]; diff --git a/HW1-FA18/html/search/classes_2.html b/HW1-FA18/html/search/classes_2.html deleted file mode 100644 index 028694ffaaf62591b98fee00f8b0cf21376f1c77..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_2.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_2.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/classes_2.js b/HW1-FA18/html/search/classes_2.js deleted file mode 100644 index fa3411821a85a21aff559f82e1d62627d91a100a..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_2.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['king',['King',['../classchess_pieces_1_1_king.html',1,'chessPieces']]], - ['knight',['Knight',['../classchess_pieces_1_1_knight.html',1,'chessPieces']]] -]; diff --git a/HW1-FA18/html/search/classes_3.html b/HW1-FA18/html/search/classes_3.html deleted file mode 100644 index 2b1abe383a503bcd6aac86cdb063fed01a42ddc9..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_3.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_3.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/classes_3.js b/HW1-FA18/html/search/classes_3.js deleted file mode 100644 index 6d8b692c67142fb8d42bfd6937d48322d146d815..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_3.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['pawn',['Pawn',['../classchess_pieces_1_1_pawn.html',1,'chessPieces']]] -]; diff --git a/HW1-FA18/html/search/classes_4.html b/HW1-FA18/html/search/classes_4.html deleted file mode 100644 index 8735214942441ce30e71bbe850c578156497d3ff..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_4.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_4.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/classes_4.js b/HW1-FA18/html/search/classes_4.js deleted file mode 100644 index fea2f1832c048b0906d19f72a4f4a661678f5031..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_4.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['queen',['Queen',['../classchess_pieces_1_1_queen.html',1,'chessPieces']]] -]; diff --git a/HW1-FA18/html/search/classes_5.html b/HW1-FA18/html/search/classes_5.html deleted file mode 100644 index ba8b1c69bf17b9a8ebaa1c76a428cd24218c4996..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_5.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="classes_5.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/classes_5.js b/HW1-FA18/html/search/classes_5.js deleted file mode 100644 index 0fdcf3445e21dbaa741a3c919065bfa0d733473e..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/classes_5.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['rook',['Rook',['../classchess_pieces_1_1_rook.html',1,'chessPieces']]] -]; diff --git a/HW1-FA18/html/search/close.png b/HW1-FA18/html/search/close.png deleted file mode 100644 index 9342d3dfeea7b7c4ee610987e717804b5a42ceb9..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/search/close.png and /dev/null differ diff --git a/HW1-FA18/html/search/functions_0.html b/HW1-FA18/html/search/functions_0.html deleted file mode 100644 index 0539c8cede156c763e37612f804c40c8b16cbc68..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_0.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_0.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_0.js b/HW1-FA18/html/search/functions_0.js deleted file mode 100644 index 44bb5bde688fe1f585bdc9f2194e9376cf106a8f..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['board',['Board',['../classchess_board_1_1_board.html#a22f4b93edd9167eba25213c376b76680',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/functions_1.html b/HW1-FA18/html/search/functions_1.html deleted file mode 100644 index 4878b3d12deab5874217ba6453ed1cd9db83cac4..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_1.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_1.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_1.js b/HW1-FA18/html/search/functions_1.js deleted file mode 100644 index 847185041476c7078133073293fde3af2878f49f..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_1.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['checkmate',['checkmate',['../classchess_board_1_1_board.html#a3c97c91ad60e17a9196663827fe9ab5e',1,'chessBoard::Board']]], - ['checkmatehelper',['checkmateHelper',['../classchess_board_1_1_board.html#a05ebc940fda9817b0c2b5cb5c8e8347b',1,'chessBoard::Board']]], - ['checkrule',['checkRule',['../classchess_pieces_1_1_bishop.html#a89a7baed811029b61bb663b9ef271474',1,'chessPieces.Bishop.checkRule()'],['../classchess_pieces_1_1_king.html#ac456b043dee627335edfc6ca452f8e61',1,'chessPieces.King.checkRule()'],['../classchess_pieces_1_1_knight.html#a6128f7b61750e3f5598af558950e8176',1,'chessPieces.Knight.checkRule()'],['../classchess_pieces_1_1_queen.html#aed3b9c2b21cf90526473552e43473bce',1,'chessPieces.Queen.checkRule()'],['../classchess_pieces_1_1_rook.html#a80d4b7c3b01455715528c6eae36206be',1,'chessPieces.Rook.checkRule()']]] -]; diff --git a/HW1-FA18/html/search/functions_2.html b/HW1-FA18/html/search/functions_2.html deleted file mode 100644 index 67d2a392cb0b10d81bcb63286ae53d6c1194ee3b..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_2.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_2.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_2.js b/HW1-FA18/html/search/functions_2.js deleted file mode 100644 index a70bea3d9b094cb99191c12647ad5e476038e0b7..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_2.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['getcurrentturn',['getCurrentTurn',['../classchess_board_1_1_board.html#a4745d2421ba288848cd4da8a741460db',1,'chessBoard::Board']]], - ['getking',['getKing',['../classchess_board_1_1_board.html#afe038863a9781eab41467b56df5a9096',1,'chessBoard::Board']]], - ['getkingposition',['getKingPosition',['../classchess_board_1_1_board.html#a482a8501881ed63644b25982142583d5',1,'chessBoard::Board']]], - ['getopponentpieces',['getOpponentPieces',['../classchess_board_1_1_board.html#a57f78442bc647f610e70f17acbf043be',1,'chessBoard::Board']]], - ['getpieceat',['getPieceAt',['../classchess_board_1_1_board.html#a5fd4e61f4d95df2ee8979f1c39310ce7',1,'chessBoard::Board']]], - ['getrowposition',['getRowPosition',['../classchess_pieces_1_1_chess_piece.html#abdb413c34996697a8852d8026348a870',1,'chessPieces::ChessPiece']]] -]; diff --git a/HW1-FA18/html/search/functions_3.html b/HW1-FA18/html/search/functions_3.html deleted file mode 100644 index 1f0eedb334b08114a461b901e165270ecc4d5829..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_3.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_3.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_3.js b/HW1-FA18/html/search/functions_3.js deleted file mode 100644 index 85f44fa25f00ecf0afc9fa2f03075dbc823b1958..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_3.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['initiateboard',['initiateBoard',['../classchess_tests_1_1_board_test.html#a7a276983800089da009215ae21ec81a2',1,'chessTests::BoardTest']]], - ['isinboard',['isInBoard',['../classchess_board_1_1_board.html#a1d0bace033689da532b49ab02320bdbe',1,'chessBoard::Board']]], - ['isincheck',['isInCheck',['../classchess_board_1_1_board.html#a1a53c8899843ff4409c0ce0e6ec35900',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/functions_4.html b/HW1-FA18/html/search/functions_4.html deleted file mode 100644 index c5bf87a47351d65e4613c72a3d39aeb810149a20..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_4.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_4.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_4.js b/HW1-FA18/html/search/functions_4.js deleted file mode 100644 index 0a30c318c3455b5d94d6b484108ec27a19ae8c24..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_4.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['killed',['killed',['../classchess_pieces_1_1_chess_piece.html#af63e8b2920952a98025eb84dfc44c675',1,'chessPieces::ChessPiece']]], - ['killpiece',['killPiece',['../classchess_board_1_1_board.html#a4382ed91c48a316d631bcb709ab1c7f0',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/functions_5.html b/HW1-FA18/html/search/functions_5.html deleted file mode 100644 index a34446ce73bbe0927dbf74dd846e9434ff4409eb..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_5.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_5.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_5.js b/HW1-FA18/html/search/functions_5.js deleted file mode 100644 index f9998cd886cf1bb9706df073bbcef22acfa1e168..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_5.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['movehelper',['moveHelper',['../classchess_board_1_1_board.html#a019a1d66626479f7fec15530b370cbed',1,'chessBoard::Board']]], - ['moveto',['moveTo',['../classchess_board_1_1_board.html#a43c19164ee867e4922c5460bd3a1cfd5',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/functions_6.html b/HW1-FA18/html/search/functions_6.html deleted file mode 100644 index 6fd4b1f3739bccac2d8a421922afbbaa84e6bdb5..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_6.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_6.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_6.js b/HW1-FA18/html/search/functions_6.js deleted file mode 100644 index 33a752772620829ee82154471450162a56d109d6..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_6.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['pieceinboardtest',['pieceInBoardTest',['../classchess_tests_1_1_chess_piece_test.html#a59982f0319b68ca6b62057d061afb762',1,'chessTests::ChessPieceTest']]], - ['piecesettest',['pieceSetTest',['../classchess_tests_1_1_chess_piece_test.html#ac5737f78d619cbe613e29f90ea27e98f',1,'chessTests::ChessPieceTest']]] -]; diff --git a/HW1-FA18/html/search/functions_7.html b/HW1-FA18/html/search/functions_7.html deleted file mode 100644 index 6e09abf1b2aee23737c5aa102dc8f0d9906ef7b6..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_7.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_7.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_7.js b/HW1-FA18/html/search/functions_7.js deleted file mode 100644 index 39359f7a514dd2f45bf32ee8909fc3fa20615bf9..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_7.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['setturn',['setTurn',['../classchess_board_1_1_board.html#a7c10a7ed99a1a761b1d4ae3ec51c22c2',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/functions_8.html b/HW1-FA18/html/search/functions_8.html deleted file mode 100644 index d59ea971982729f475d91089ce033fc9b915cbca..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_8.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="functions_8.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/functions_8.js b/HW1-FA18/html/search/functions_8.js deleted file mode 100644 index a4486f0746097ffd5a2bdb82ee382f9bbe3f6311..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/functions_8.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['validmovefilter',['validMoveFilter',['../classchess_board_1_1_board.html#a601235f2aec8c70c1e620b26d096ab8a',1,'chessBoard::Board']]] -]; diff --git a/HW1-FA18/html/search/mag_sel.png b/HW1-FA18/html/search/mag_sel.png deleted file mode 100644 index 81f6040a2092402b4d98f9ffa8855d12a0d4ca17..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/search/mag_sel.png and /dev/null differ diff --git a/HW1-FA18/html/search/namespaces_0.html b/HW1-FA18/html/search/namespaces_0.html deleted file mode 100644 index f55ca63aa22610d74dd01ee029df5bda1ba7ac72..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/namespaces_0.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<meta name="generator" content="Doxygen 1.8.14"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="namespaces_0.js"></script> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="Loading">Loading...</div> -<div id="SRResults"></div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -createResults(); -/* @license-end */ ---></script> -<div class="SRStatus" id="Searching">Searching...</div> -<div class="SRStatus" id="NoMatches">No Matches</div> -<script type="text/javascript"><!-- -/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -document.getElementById("Loading").style.display="none"; -document.getElementById("NoMatches").style.display="none"; -var searchResults = new SearchResults("searchResults"); -searchResults.Search(); -/* @license-end */ ---></script> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/namespaces_0.js b/HW1-FA18/html/search/namespaces_0.js deleted file mode 100644 index 5efaa1494c04c081f5231d0e59f076ce932211b2..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/namespaces_0.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['chessboard',['chessBoard',['../namespacechess_board.html',1,'']]], - ['chesspieces',['chessPieces',['../namespacechess_pieces.html',1,'']]] -]; diff --git a/HW1-FA18/html/search/nomatches.html b/HW1-FA18/html/search/nomatches.html deleted file mode 100644 index b1ded27e9ad6af3a2ac11e6b21ce159dcaf87e0c..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html><head><title></title> -<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> -<link rel="stylesheet" type="text/css" href="search.css"/> -<script type="text/javascript" src="search.js"></script> -</head> -<body class="SRPage"> -<div id="SRIndex"> -<div class="SRStatus" id="NoMatches">No Matches</div> -</div> -</body> -</html> diff --git a/HW1-FA18/html/search/search.css b/HW1-FA18/html/search/search.css deleted file mode 100644 index 3cf9df94a419c3175edbf2ca1719a2deb7a497dd..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/search.css +++ /dev/null @@ -1,271 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#MSearchBox { - white-space : nowrap; - float: none; - margin-top: 8px; - right: 0px; - width: 170px; - height: 24px; - z-index: 102; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:115px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; - -webkit-border-radius: 0px; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:8px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 10001; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; - z-index:10000; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.searchresult { - background-color: #F0F3F8; -} - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/HW1-FA18/html/search/search.js b/HW1-FA18/html/search/search.js deleted file mode 100644 index a554ab9cb5265ccf73adf8a7d278827ff8b2fbdd..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/search.js +++ /dev/null @@ -1,814 +0,0 @@ -/* - @licstart The following is the entire license notice for the - JavaScript code in this file. - - Copyright (C) 1997-2017 by Dimitri van Heesch - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - @licend The above is the entire license notice - for the JavaScript code in this file - */ -function convertToId(search) -{ - var result = ''; - for (i=0;i<search.length;i++) - { - var c = search.charAt(i); - var cn = c.charCodeAt(0); - if (c.match(/[a-z0-9\u0080-\uFFFF]/)) - { - result+=c; - } - else if (cn<16) - { - result+="_0"+cn.toString(16); - } - else - { - result+="_"+cn.toString(16); - } - } - return result; -} - -function getXPos(item) -{ - var x = 0; - if (item.offsetWidth) - { - while (item && item!=document.body) - { - x += item.offsetLeft; - item = item.offsetParent; - } - } - return x; -} - -function getYPos(item) -{ - var y = 0; - if (item.offsetWidth) - { - while (item && item!=document.body) - { - y += item.offsetTop; - item = item.offsetParent; - } - } - return y; -} - -/* A class handling everything associated with the search panel. - - Parameters: - name - The name of the global variable that will be - storing this instance. Is needed to be able to set timeouts. - resultPath - path to use for external files -*/ -function SearchBox(name, resultsPath, inFrame, label) -{ - if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); } - - // ---------- Instance variables - this.name = name; - this.resultsPath = resultsPath; - this.keyTimeout = 0; - this.keyTimeoutLength = 500; - this.closeSelectionTimeout = 300; - this.lastSearchValue = ""; - this.lastResultsPage = ""; - this.hideTimeout = 0; - this.searchIndex = 0; - this.searchActive = false; - this.insideFrame = inFrame; - this.searchLabel = label; - - // ----------- DOM Elements - - this.DOMSearchField = function() - { return document.getElementById("MSearchField"); } - - this.DOMSearchSelect = function() - { return document.getElementById("MSearchSelect"); } - - this.DOMSearchSelectWindow = function() - { return document.getElementById("MSearchSelectWindow"); } - - this.DOMPopupSearchResults = function() - { return document.getElementById("MSearchResults"); } - - this.DOMPopupSearchResultsWindow = function() - { return document.getElementById("MSearchResultsWindow"); } - - this.DOMSearchClose = function() - { return document.getElementById("MSearchClose"); } - - this.DOMSearchBox = function() - { return document.getElementById("MSearchBox"); } - - // ------------ Event Handlers - - // Called when focus is added or removed from the search field. - this.OnSearchFieldFocus = function(isActive) - { - this.Activate(isActive); - } - - this.OnSearchSelectShow = function() - { - var searchSelectWindow = this.DOMSearchSelectWindow(); - var searchField = this.DOMSearchSelect(); - - if (this.insideFrame) - { - var left = getXPos(searchField); - var top = getYPos(searchField); - left += searchField.offsetWidth + 6; - top += searchField.offsetHeight; - - // show search selection popup - searchSelectWindow.style.display='block'; - left -= searchSelectWindow.offsetWidth; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; - } - else - { - var left = getXPos(searchField); - var top = getYPos(searchField); - top += searchField.offsetHeight; - - // show search selection popup - searchSelectWindow.style.display='block'; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; - } - - // stop selection hide timer - if (this.hideTimeout) - { - clearTimeout(this.hideTimeout); - this.hideTimeout=0; - } - return false; // to avoid "image drag" default event - } - - this.OnSearchSelectHide = function() - { - this.hideTimeout = setTimeout(this.name +".CloseSelectionWindow()", - this.closeSelectionTimeout); - } - - // Called when the content of the search field is changed. - this.OnSearchFieldChange = function(evt) - { - if (this.keyTimeout) // kill running timer - { - clearTimeout(this.keyTimeout); - this.keyTimeout = 0; - } - - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 || e.keyCode==13) - { - if (e.shiftKey==1) - { - this.OnSearchSelectShow(); - var win=this.DOMSearchSelectWindow(); - for (i=0;i<win.childNodes.length;i++) - { - var child = win.childNodes[i]; // get span within a - if (child.className=='SelectItem') - { - child.focus(); - return; - } - } - return; - } - else if (window.frames.MSearchResults.searchResults) - { - var elem = window.frames.MSearchResults.searchResults.NavNext(0); - if (elem) elem.focus(); - } - } - else if (e.keyCode==27) // Escape out of the search field - { - this.DOMSearchField().blur(); - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.lastSearchValue = ''; - this.Activate(false); - return; - } - - // strip whitespaces - var searchValue = this.DOMSearchField().value.replace(/ +/g, ""); - - if (searchValue != this.lastSearchValue) // search value has changed - { - if (searchValue != "") // non-empty search - { - // set timer for search update - this.keyTimeout = setTimeout(this.name + '.Search()', - this.keyTimeoutLength); - } - else // empty search field - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.lastSearchValue = ''; - } - } - } - - this.SelectItemCount = function(id) - { - var count=0; - var win=this.DOMSearchSelectWindow(); - for (i=0;i<win.childNodes.length;i++) - { - var child = win.childNodes[i]; // get span within a - if (child.className=='SelectItem') - { - count++; - } - } - return count; - } - - this.SelectItemSet = function(id) - { - var i,j=0; - var win=this.DOMSearchSelectWindow(); - for (i=0;i<win.childNodes.length;i++) - { - var child = win.childNodes[i]; // get span within a - if (child.className=='SelectItem') - { - var node = child.firstChild; - if (j==id) - { - node.innerHTML='•'; - } - else - { - node.innerHTML=' '; - } - j++; - } - } - } - - // Called when an search filter selection is made. - // set item with index id as the active item - this.OnSelectItem = function(id) - { - this.searchIndex = id; - this.SelectItemSet(id); - var searchValue = this.DOMSearchField().value.replace(/ +/g, ""); - if (searchValue!="" && this.searchActive) // something was found -> do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down - { - this.searchIndex++; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==38 && this.searchIndex>0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair - { - idxChar = searchValue.substr(0, 2); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) - { - var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of <Search()>. - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults() -{ - var results = document.getElementById("SRResults"); - for (var e=0; e<searchData.length; e++) - { - var id = searchData[e][0]; - var srResult = document.createElement('div'); - srResult.setAttribute('id','SR_'+id); - setClassAttr(srResult,'SRResult'); - var srEntry = document.createElement('div'); - setClassAttr(srEntry,'SREntry'); - var srLink = document.createElement('a'); - srLink.setAttribute('id','Item'+e); - setKeyActions(srLink,'return searchResults.Nav(event,'+e+')'); - setClassAttr(srLink,'SRSymbol'); - srLink.innerHTML = searchData[e][1][0]; - srEntry.appendChild(srLink); - if (searchData[e][1].length==2) // single result - { - srLink.setAttribute('href',searchData[e][1][1][0]); - if (searchData[e][1][1][1]) - { - srLink.setAttribute('target','_parent'); - } - var srScope = document.createElement('span'); - setClassAttr(srScope,'SRScope'); - srScope.innerHTML = searchData[e][1][1][2]; - srEntry.appendChild(srScope); - } - else // multiple results - { - srLink.setAttribute('href','javascript:searchResults.Toggle("SR_'+id+'")'); - var srChildren = document.createElement('div'); - setClassAttr(srChildren,'SRChildren'); - for (var c=0; c<searchData[e][1].length-1; c++) - { - var srChild = document.createElement('a'); - srChild.setAttribute('id','Item'+e+'_c'+c); - setKeyActions(srChild,'return searchResults.NavChild(event,'+e+','+c+')'); - setClassAttr(srChild,'SRScope'); - srChild.setAttribute('href',searchData[e][1][c+1][0]); - if (searchData[e][1][c+1][1]) - { - srChild.setAttribute('target','_parent'); - } - srChild.innerHTML = searchData[e][1][c+1][2]; - srChildren.appendChild(srChild); - } - srEntry.appendChild(srChildren); - } - srResult.appendChild(srEntry); - results.appendChild(srResult); - } -} - -function init_search() -{ - var results = document.getElementById("MSearchSelectWindow"); - for (var key in indexSectionLabels) - { - var link = document.createElement('a'); - link.setAttribute('class','SelectItem'); - link.setAttribute('onclick','searchBox.OnSelectItem('+key+')'); - link.href='javascript:void(0)'; - link.innerHTML='<span class="SelectionMark"> </span>'+indexSectionLabels[key]; - results.appendChild(link); - } - searchBox.OnSelectItem(0); -} -/* @license-end */ diff --git a/HW1-FA18/html/search/search_l.png b/HW1-FA18/html/search/search_l.png deleted file mode 100644 index c872f4da4a01d0754f923e6c94fd8159c0621bd1..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/search/search_l.png and /dev/null differ diff --git a/HW1-FA18/html/search/search_m.png b/HW1-FA18/html/search/search_m.png deleted file mode 100644 index b429a16ba641960da1e52e5da85dc80fd82635c8..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/search/search_m.png and /dev/null differ diff --git a/HW1-FA18/html/search/search_r.png b/HW1-FA18/html/search/search_r.png deleted file mode 100644 index 97ee8b439687084201b79c6f776a41f495c6392a..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/search/search_r.png and /dev/null differ diff --git a/HW1-FA18/html/search/searchdata.js b/HW1-FA18/html/search/searchdata.js deleted file mode 100644 index 0bdacb9a9439250b48534f4ba3799c7cbb4f30dc..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/search/searchdata.js +++ /dev/null @@ -1,24 +0,0 @@ -var indexSectionsWithContent = -{ - 0: "bcgikmpqrsv", - 1: "bckpqr", - 2: "c", - 3: "bcgikmpsv" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "namespaces", - 3: "functions" -}; - -var indexSectionLabels = -{ - 0: "All", - 1: "Classes", - 2: "Namespaces", - 3: "Functions" -}; - diff --git a/HW1-FA18/html/splitbar.png b/HW1-FA18/html/splitbar.png deleted file mode 100644 index fe895f2c58179b471a22d8320b39a4bd7312ec8e..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/splitbar.png and /dev/null differ diff --git a/HW1-FA18/html/sync_off.png b/HW1-FA18/html/sync_off.png deleted file mode 100644 index 3b443fc62892114406e3d399421b2a881b897acc..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/sync_off.png and /dev/null differ diff --git a/HW1-FA18/html/sync_on.png b/HW1-FA18/html/sync_on.png deleted file mode 100644 index e08320fb64e6fa33b573005ed6d8fe294e19db76..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/sync_on.png and /dev/null differ diff --git a/HW1-FA18/html/tab_a.png b/HW1-FA18/html/tab_a.png deleted file mode 100644 index 3b725c41c5a527a3a3e40097077d0e206a681247..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/tab_a.png and /dev/null differ diff --git a/HW1-FA18/html/tab_b.png b/HW1-FA18/html/tab_b.png deleted file mode 100644 index e2b4a8638cb3496a016eaed9e16ffc12846dea18..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/tab_b.png and /dev/null differ diff --git a/HW1-FA18/html/tab_h.png b/HW1-FA18/html/tab_h.png deleted file mode 100644 index fd5cb705488e60fcf30f56fcc951dee74f3b095b..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/tab_h.png and /dev/null differ diff --git a/HW1-FA18/html/tab_s.png b/HW1-FA18/html/tab_s.png deleted file mode 100644 index ab478c95b67371d700a20869f7de1ddd73522d50..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/html/tab_s.png and /dev/null differ diff --git a/HW1-FA18/html/tabs.css b/HW1-FA18/html/tabs.css deleted file mode 100644 index a28614b8e3d040d2031627d286e64fbe419a6688..0000000000000000000000000000000000000000 --- a/HW1-FA18/html/tabs.css +++ /dev/null @@ -1 +0,0 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#doc-content{overflow:auto;display:block;padding:0;margin:0;-webkit-overflow-scrolling:touch}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/HW1-FA18/latex/Makefile b/HW1-FA18/latex/Makefile deleted file mode 100644 index 8cc3866f4a039e77b793bd33774ce84e52a9ae16..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -all: refman.pdf - -pdf: refman.pdf - -refman.pdf: clean refman.tex - pdflatex refman - makeindex refman.idx - pdflatex refman - latex_count=8 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - pdflatex refman ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - makeindex refman.idx - pdflatex refman - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff --git a/HW1-FA18/latex/annotated.tex b/HW1-FA18/latex/annotated.tex deleted file mode 100644 index 2b595dfcf954725673c479b384d557adfe2713ea..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/annotated.tex +++ /dev/null @@ -1,13 +0,0 @@ -\section{Class List} -Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList} -\item\contentsline{section}{\mbox{\hyperlink{classchess_pieces_1_1_bishop}{chess\+Pieces.\+Bishop}} }{\pageref{classchess_pieces_1_1_bishop}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_board_1_1_board}{chess\+Board.\+Board}} }{\pageref{classchess_board_1_1_board}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_tests_1_1_board_test}{chess\+Tests.\+Board\+Test}} }{\pageref{classchess_tests_1_1_board_test}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{chess\+Pieces.\+Chess\+Piece}} }{\pageref{classchess_pieces_1_1_chess_piece}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_tests_1_1_chess_piece_test}{chess\+Tests.\+Chess\+Piece\+Test}} }{\pageref{classchess_tests_1_1_chess_piece_test}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_pieces_1_1_king}{chess\+Pieces.\+King}} }{\pageref{classchess_pieces_1_1_king}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_pieces_1_1_knight}{chess\+Pieces.\+Knight}} }{\pageref{classchess_pieces_1_1_knight}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_pieces_1_1_pawn}{chess\+Pieces.\+Pawn}} }{\pageref{classchess_pieces_1_1_pawn}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_pieces_1_1_queen}{chess\+Pieces.\+Queen}} }{\pageref{classchess_pieces_1_1_queen}}{} -\item\contentsline{section}{\mbox{\hyperlink{classchess_pieces_1_1_rook}{chess\+Pieces.\+Rook}} }{\pageref{classchess_pieces_1_1_rook}}{} -\end{DoxyCompactList} diff --git a/HW1-FA18/latex/classchess_board_1_1_board.tex b/HW1-FA18/latex/classchess_board_1_1_board.tex deleted file mode 100644 index 83554909c1fa47f99b7a3f7b00a77b0fbf499017..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_board_1_1_board.tex +++ /dev/null @@ -1,257 +0,0 @@ -\hypertarget{classchess_board_1_1_board}{}\section{chess\+Board.\+Board Class Reference} -\label{classchess_board_1_1_board}\index{chess\+Board.\+Board@{chess\+Board.\+Board}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\hyperlink{classchess_board_1_1_board_a22f4b93edd9167eba25213c376b76680}{Board}} () -\item -void \mbox{\hyperlink{classchess_board_1_1_board_a43c19164ee867e4922c5460bd3a1cfd5}{move\+To}} (\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} chess\+Piece, int row\+\_\+position, int col\+\_\+position) -\item -void \mbox{\hyperlink{classchess_board_1_1_board_a4382ed91c48a316d631bcb709ab1c7f0}{kill\+Piece}} (int row\+\_\+position, int col\+\_\+position) -\item -boolean \mbox{\hyperlink{classchess_board_1_1_board_a1a53c8899843ff4409c0ce0e6ec35900}{is\+In\+Check}} (int player) -\item -int \mbox{\hyperlink{classchess_board_1_1_board_a3c97c91ad60e17a9196663827fe9ab5e}{checkmate}} () -\item -int \mbox{\hyperlink{classchess_board_1_1_board_a05ebc940fda9817b0c2b5cb5c8e8347b}{checkmate\+Helper}} (int player) -\item -\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} \mbox{\hyperlink{classchess_board_1_1_board_a5fd4e61f4d95df2ee8979f1c39310ce7}{get\+Piece\+At}} (int row\+\_\+position, int col\+\_\+position) -\item -int \mbox{[}$\,$\mbox{]} \mbox{\hyperlink{classchess_board_1_1_board_a482a8501881ed63644b25982142583d5}{get\+King\+Position}} (int player) -\item -\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} \mbox{\hyperlink{classchess_board_1_1_board_afe038863a9781eab41467b56df5a9096}{get\+King}} (int player) -\item -Array\+List$<$ \mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} $>$ \mbox{\hyperlink{classchess_board_1_1_board_a57f78442bc647f610e70f17acbf043be}{get\+Opponent\+Pieces}} (int player) -\item -Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ \mbox{\hyperlink{classchess_board_1_1_board_a601235f2aec8c70c1e620b26d096ab8a}{valid\+Move\+Filter}} (int player, \mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} chess\+Piece) -\item -int \mbox{\hyperlink{classchess_board_1_1_board_a4745d2421ba288848cd4da8a741460db}{get\+Current\+Turn}} () -\item -void \mbox{\hyperlink{classchess_board_1_1_board_a7c10a7ed99a1a761b1d4ae3ec51c22c2}{set\+Turn}} (int turn) -\end{DoxyCompactItemize} -\subsection*{Static Public Member Functions} -\begin{DoxyCompactItemize} -\item -static boolean \mbox{\hyperlink{classchess_board_1_1_board_a1d0bace033689da532b49ab02320bdbe}{is\+In\+Board}} (int row\+\_\+position, int col\+\_\+position) -\end{DoxyCompactItemize} -\subsection*{Static Public Attributes} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_board_1_1_board_ac194b1580b1151ad7be0c690cbca85b5}\label{classchess_board_1_1_board_ac194b1580b1151ad7be0c690cbca85b5}} -static int {\bfseries S\+I\+ZE} = 8 -\end{DoxyCompactItemize} -\subsection*{Protected Member Functions} -\begin{DoxyCompactItemize} -\item -void \mbox{\hyperlink{classchess_board_1_1_board_a019a1d66626479f7fec15530b370cbed}{move\+Helper}} (\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} chess\+Piece, int row\+\_\+position, int col\+\_\+position) -\end{DoxyCompactItemize} -\subsection*{Protected Attributes} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_board_1_1_board_a9b2f1ae54d27d33c8083514c0f5a96a8}\label{classchess_board_1_1_board_a9b2f1ae54d27d33c8083514c0f5a96a8}} -int {\bfseries turn} = 0 -\end{DoxyCompactItemize} - - -\subsection{Constructor \& Destructor Documentation} -\mbox{\Hypertarget{classchess_board_1_1_board_a22f4b93edd9167eba25213c376b76680}\label{classchess_board_1_1_board_a22f4b93edd9167eba25213c376b76680}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!Board@{Board}} -\index{Board@{Board}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{Board()}{Board()}} -{\footnotesize\ttfamily chess\+Board.\+Board.\+Board (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -\mbox{\hyperlink{classchess_board_1_1_board}{Board}} constructor\+: initialize all \mbox{\hyperlink{namespacechess_pieces}{chess\+Pieces}} for both players. - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_board_1_1_board_a3c97c91ad60e17a9196663827fe9ab5e}\label{classchess_board_1_1_board_a3c97c91ad60e17a9196663827fe9ab5e}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!checkmate@{checkmate}} -\index{checkmate@{checkmate}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{checkmate()}{checkmate()}} -{\footnotesize\ttfamily int chess\+Board.\+Board.\+checkmate (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -If the games ends, then returns the winner, else returns -\/1. This function uses a helper function\+: checkmate\+Helper. \begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_a05ebc940fda9817b0c2b5cb5c8e8347b}\label{classchess_board_1_1_board_a05ebc940fda9817b0c2b5cb5c8e8347b}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!checkmate\+Helper@{checkmate\+Helper}} -\index{checkmate\+Helper@{checkmate\+Helper}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{checkmate\+Helper()}{checkmateHelper()}} -{\footnotesize\ttfamily int chess\+Board.\+Board.\+checkmate\+Helper (\begin{DoxyParamCaption}\item[{int}]{player }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Helper function\+: This function decides whether there\textquotesingle{}s no legal\+Moves possible for king w.\+r.\+t input player. If none is left, end game, print and return winner. -\begin{DoxyParams}{Parameters} -{\em player} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_a4745d2421ba288848cd4da8a741460db}\label{classchess_board_1_1_board_a4745d2421ba288848cd4da8a741460db}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!get\+Current\+Turn@{get\+Current\+Turn}} -\index{get\+Current\+Turn@{get\+Current\+Turn}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{get\+Current\+Turn()}{getCurrentTurn()}} -{\footnotesize\ttfamily int chess\+Board.\+Board.\+get\+Current\+Turn (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -For game to use. \begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_afe038863a9781eab41467b56df5a9096}\label{classchess_board_1_1_board_afe038863a9781eab41467b56df5a9096}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!get\+King@{get\+King}} -\index{get\+King@{get\+King}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{get\+King()}{getKing()}} -{\footnotesize\ttfamily \mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} chess\+Board.\+Board.\+get\+King (\begin{DoxyParamCaption}\item[{int}]{player }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Helper function\+: return the whole king piece w.\+r.\+t a player. -\begin{DoxyParams}{Parameters} -{\em player} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_a482a8501881ed63644b25982142583d5}\label{classchess_board_1_1_board_a482a8501881ed63644b25982142583d5}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!get\+King\+Position@{get\+King\+Position}} -\index{get\+King\+Position@{get\+King\+Position}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{get\+King\+Position()}{getKingPosition()}} -{\footnotesize\ttfamily int \mbox{[}$\,$\mbox{]} chess\+Board.\+Board.\+get\+King\+Position (\begin{DoxyParamCaption}\item[{int}]{player }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Helper function\+: return King location of an input player. -\begin{DoxyParams}{Parameters} -{\em player} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_a57f78442bc647f610e70f17acbf043be}\label{classchess_board_1_1_board_a57f78442bc647f610e70f17acbf043be}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!get\+Opponent\+Pieces@{get\+Opponent\+Pieces}} -\index{get\+Opponent\+Pieces@{get\+Opponent\+Pieces}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{get\+Opponent\+Pieces()}{getOpponentPieces()}} -{\footnotesize\ttfamily Array\+List$<$\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}}$>$ chess\+Board.\+Board.\+get\+Opponent\+Pieces (\begin{DoxyParamCaption}\item[{int}]{player }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Helper function\+: With respect to current player, get all its alive opponent pieces in an array. -\begin{DoxyParams}{Parameters} -{\em player} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_a5fd4e61f4d95df2ee8979f1c39310ce7}\label{classchess_board_1_1_board_a5fd4e61f4d95df2ee8979f1c39310ce7}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!get\+Piece\+At@{get\+Piece\+At}} -\index{get\+Piece\+At@{get\+Piece\+At}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{get\+Piece\+At()}{getPieceAt()}} -{\footnotesize\ttfamily \mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} chess\+Board.\+Board.\+get\+Piece\+At (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Helper function\+: return a chess\+Piece at an input location -\begin{DoxyParams}{Parameters} -{\em row\+\_\+position} & \\ -\hline -{\em col\+\_\+position} & \\ -\hline -\end{DoxyParams} -\mbox{\Hypertarget{classchess_board_1_1_board_a1d0bace033689da532b49ab02320bdbe}\label{classchess_board_1_1_board_a1d0bace033689da532b49ab02320bdbe}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!is\+In\+Board@{is\+In\+Board}} -\index{is\+In\+Board@{is\+In\+Board}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{is\+In\+Board()}{isInBoard()}} -{\footnotesize\ttfamily static boolean chess\+Board.\+Board.\+is\+In\+Board (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}} - -This functions checks if an input location satisfies board boundaries. -\begin{DoxyParams}{Parameters} -{\em row\+\_\+position} & \\ -\hline -{\em col\+\_\+position} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_a1a53c8899843ff4409c0ce0e6ec35900}\label{classchess_board_1_1_board_a1a53c8899843ff4409c0ce0e6ec35900}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!is\+In\+Check@{is\+In\+Check}} -\index{is\+In\+Check@{is\+In\+Check}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{is\+In\+Check()}{isInCheck()}} -{\footnotesize\ttfamily boolean chess\+Board.\+Board.\+is\+In\+Check (\begin{DoxyParamCaption}\item[{int}]{player }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Check if king of an input player is putting in check. -\begin{DoxyParams}{Parameters} -{\em player} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_board_1_1_board_a4382ed91c48a316d631bcb709ab1c7f0}\label{classchess_board_1_1_board_a4382ed91c48a316d631bcb709ab1c7f0}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!kill\+Piece@{kill\+Piece}} -\index{kill\+Piece@{kill\+Piece}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{kill\+Piece()}{killPiece()}} -{\footnotesize\ttfamily void chess\+Board.\+Board.\+kill\+Piece (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -This function removes a piece from board, and update board -\begin{DoxyParams}{Parameters} -{\em row\+\_\+position} & \\ -\hline -{\em col\+\_\+position} & \\ -\hline -\end{DoxyParams} -\mbox{\Hypertarget{classchess_board_1_1_board_a019a1d66626479f7fec15530b370cbed}\label{classchess_board_1_1_board_a019a1d66626479f7fec15530b370cbed}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!move\+Helper@{move\+Helper}} -\index{move\+Helper@{move\+Helper}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{move\+Helper()}{moveHelper()}} -{\footnotesize\ttfamily void chess\+Board.\+Board.\+move\+Helper (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}}}]{chess\+Piece, }\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}} - -This is the helper function to directly move one piece to a place in the board, including updating the board and the living chess\+Piece. It doesn\textquotesingle{}t check any conditions, and it should N\+OT be used outside this class. -\begin{DoxyParams}{Parameters} -{\em chess\+Piece} & \\ -\hline -{\em row\+\_\+position} & \\ -\hline -{\em col\+\_\+position} & \\ -\hline -\end{DoxyParams} -\mbox{\Hypertarget{classchess_board_1_1_board_a43c19164ee867e4922c5460bd3a1cfd5}\label{classchess_board_1_1_board_a43c19164ee867e4922c5460bd3a1cfd5}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!move\+To@{move\+To}} -\index{move\+To@{move\+To}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{move\+To()}{moveTo()}} -{\footnotesize\ttfamily void chess\+Board.\+Board.\+move\+To (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}}}]{chess\+Piece, }\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -This function updates board and related \mbox{\hyperlink{namespacechess_pieces}{chess\+Pieces}} if a player moves one chess piece. Includes a helper function -\begin{DoxyParams}{Parameters} -{\em chess\+Piece} & \\ -\hline -{\em row\+\_\+position} & \\ -\hline -{\em col\+\_\+position} & \\ -\hline -\end{DoxyParams} -\mbox{\Hypertarget{classchess_board_1_1_board_a7c10a7ed99a1a761b1d4ae3ec51c22c2}\label{classchess_board_1_1_board_a7c10a7ed99a1a761b1d4ae3ec51c22c2}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!set\+Turn@{set\+Turn}} -\index{set\+Turn@{set\+Turn}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{set\+Turn()}{setTurn()}} -{\footnotesize\ttfamily void chess\+Board.\+Board.\+set\+Turn (\begin{DoxyParamCaption}\item[{int}]{turn }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Update turn of a game. For game to use. -\begin{DoxyParams}{Parameters} -{\em turn} & \\ -\hline -\end{DoxyParams} -\mbox{\Hypertarget{classchess_board_1_1_board_a601235f2aec8c70c1e620b26d096ab8a}\label{classchess_board_1_1_board_a601235f2aec8c70c1e620b26d096ab8a}} -\index{chess\+Board\+::\+Board@{chess\+Board\+::\+Board}!valid\+Move\+Filter@{valid\+Move\+Filter}} -\index{valid\+Move\+Filter@{valid\+Move\+Filter}!chess\+Board\+::\+Board@{chess\+Board\+::\+Board}} -\subsubsection{\texorpdfstring{valid\+Move\+Filter()}{validMoveFilter()}} -{\footnotesize\ttfamily Array\+List$<$int\mbox{[}$\,$\mbox{]}$>$ chess\+Board.\+Board.\+valid\+Move\+Filter (\begin{DoxyParamCaption}\item[{int}]{player, }\item[{\mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}}}]{chess\+Piece }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Helper function\+: make sure one won\textquotesingle{}t capture its own piece. Restricting valid movements to empty spaces and opponent capturing. -\begin{DoxyParams}{Parameters} -{\em player} & \\ -\hline -{\em chess\+Piece} & \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} - -\end{DoxyReturn} - - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Board/Board.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_pieces_1_1_bishop.eps b/HW1-FA18/latex/classchess_pieces_1_1_bishop.eps deleted file mode 100644 index b74c6103213160e4b5ff864ba734f43628819ebb..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_bishop.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 246.913580 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 2.025000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(chessPieces.Bishop) cw -(chessPieces.ChessPiece) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (chessPieces.Bishop) 0.000000 0.000000 box - (chessPieces.ChessPiece) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/HW1-FA18/latex/classchess_pieces_1_1_bishop.tex b/HW1-FA18/latex/classchess_pieces_1_1_bishop.tex deleted file mode 100644 index 911f5806266168cd8da78cf387e8f9a1ec8e737a..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_bishop.tex +++ /dev/null @@ -1,34 +0,0 @@ -\hypertarget{classchess_pieces_1_1_bishop}{}\section{chess\+Pieces.\+Bishop Class Reference} -\label{classchess_pieces_1_1_bishop}\index{chess\+Pieces.\+Bishop@{chess\+Pieces.\+Bishop}} -Inheritance diagram for chess\+Pieces.\+Bishop\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classchess_pieces_1_1_bishop} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_bishop_a80d1eedc936b42223cafbf2c5609e3e7}\label{classchess_pieces_1_1_bishop_a80d1eedc936b42223cafbf2c5609e3e7}} -{\bfseries Bishop} (int player, int row\+\_\+position, int col\+\_\+position) -\item -boolean \mbox{\hyperlink{classchess_pieces_1_1_bishop_a89a7baed811029b61bb663b9ef271474}{check\+Rule}} (int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_bishop_a34188f2818defb6f4526cecb8db9c95d}\label{classchess_pieces_1_1_bishop_a34188f2818defb6f4526cecb8db9c95d}} -Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ {\bfseries get\+Next\+Possible\+Positions} () -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_pieces_1_1_bishop_a89a7baed811029b61bb663b9ef271474}\label{classchess_pieces_1_1_bishop_a89a7baed811029b61bb663b9ef271474}} -\index{chess\+Pieces\+::\+Bishop@{chess\+Pieces\+::\+Bishop}!check\+Rule@{check\+Rule}} -\index{check\+Rule@{check\+Rule}!chess\+Pieces\+::\+Bishop@{chess\+Pieces\+::\+Bishop}} -\subsubsection{\texorpdfstring{check\+Rule()}{checkRule()}} -{\footnotesize\ttfamily boolean chess\+Pieces.\+Bishop.\+check\+Rule (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -\mbox{\hyperlink{classchess_pieces_1_1_bishop}{Bishop}} only moves diagonally. - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Pieces/Bishop.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_pieces_1_1_chess_piece.eps b/HW1-FA18/latex/classchess_pieces_1_1_chess_piece.eps deleted file mode 100644 index e3f41859d434f419ec15edf27173374584983af0..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_chess_piece.eps +++ /dev/null @@ -1,219 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 41.152263 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 12.150000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 6 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(chessPieces.ChessPiece) cw -(chessPieces.Bishop) cw -(chessPieces.King) cw -(chessPieces.Knight) cw -(chessPieces.Pawn) cw -(chessPieces.Queen) cw -(chessPieces.Rook) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (chessPieces.ChessPiece) 2.500000 1.000000 box - (chessPieces.Bishop) 0.000000 0.000000 box - (chessPieces.King) 1.000000 0.000000 box - (chessPieces.Knight) 2.000000 0.000000 box - (chessPieces.Pawn) 3.000000 0.000000 box - (chessPieces.Queen) 4.000000 0.000000 box - (chessPieces.Rook) 5.000000 0.000000 box - -% ----- relations ----- - -solid -1 2.500000 0.250000 out -solid -0.000000 5.000000 1.000000 conn -solid -0 0.000000 0.750000 in -solid -0 1.000000 0.750000 in -solid -0 2.000000 0.750000 in -solid -0 3.000000 0.750000 in -solid -0 4.000000 0.750000 in -solid -0 5.000000 0.750000 in diff --git a/HW1-FA18/latex/classchess_pieces_1_1_chess_piece.tex b/HW1-FA18/latex/classchess_pieces_1_1_chess_piece.tex deleted file mode 100644 index 265cf95c42e6caf9b25bb0efe7ea63da3391c70f..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_chess_piece.tex +++ /dev/null @@ -1,83 +0,0 @@ -\hypertarget{classchess_pieces_1_1_chess_piece}{}\section{chess\+Pieces.\+Chess\+Piece Class Reference} -\label{classchess_pieces_1_1_chess_piece}\index{chess\+Pieces.\+Chess\+Piece@{chess\+Pieces.\+Chess\+Piece}} -Inheritance diagram for chess\+Pieces.\+Chess\+Piece\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=1.152263cm]{classchess_pieces_1_1_chess_piece} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_aca9847a8487ec0e5382d2a16b1ba115a}\label{classchess_pieces_1_1_chess_piece_aca9847a8487ec0e5382d2a16b1ba115a}} -{\bfseries Chess\+Piece} (int player, int row\+\_\+position, int col\+\_\+position) -\item -int \mbox{\hyperlink{classchess_pieces_1_1_chess_piece_abdb413c34996697a8852d8026348a870}{get\+Row\+Position}} () -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a1956c711fd808c82de9673b45dd5a9cd}\label{classchess_pieces_1_1_chess_piece_a1956c711fd808c82de9673b45dd5a9cd}} -int {\bfseries get\+Col\+Position} () -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_ab14e487054a20fafd97fca6c5e3f06e5}\label{classchess_pieces_1_1_chess_piece_ab14e487054a20fafd97fca6c5e3f06e5}} -boolean {\bfseries is\+Captured} () -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a349d8c91b640666f3d8d912430171f4e}\label{classchess_pieces_1_1_chess_piece_a349d8c91b640666f3d8d912430171f4e}} -int {\bfseries get\+Player} () -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_aaf1b9d2f203e4eec67195c7c66e2eaea}\label{classchess_pieces_1_1_chess_piece_aaf1b9d2f203e4eec67195c7c66e2eaea}} -void {\bfseries set\+Row\+Position} (int row\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a5fffc3e3ab3352f294f3f73c396e9c1d}\label{classchess_pieces_1_1_chess_piece_a5fffc3e3ab3352f294f3f73c396e9c1d}} -void {\bfseries set\+Col\+Position} (int col\+\_\+position) -\item -void \mbox{\hyperlink{classchess_pieces_1_1_chess_piece_af63e8b2920952a98025eb84dfc44c675}{killed}} () -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a9fc2e36cd7ff61ab2f51e03c4f181140}\label{classchess_pieces_1_1_chess_piece_a9fc2e36cd7ff61ab2f51e03c4f181140}} -char {\bfseries get\+Type} () -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a8c8db5834e2d3e395031c9c79a39828f}\label{classchess_pieces_1_1_chess_piece_a8c8db5834e2d3e395031c9c79a39828f}} -abstract boolean {\bfseries check\+Rule} (int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a8df3b13a52055cb3a6cb94014067364e}\label{classchess_pieces_1_1_chess_piece_a8df3b13a52055cb3a6cb94014067364e}} -abstract Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ {\bfseries get\+Next\+Possible\+Positions} () -\end{DoxyCompactItemize} -\subsection*{Protected Attributes} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a3075cf14a9ea3e96f9905e1e8e4736ba}\label{classchess_pieces_1_1_chess_piece_a3075cf14a9ea3e96f9905e1e8e4736ba}} -int {\bfseries player} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a404216f935e88109beded323b7169a52}\label{classchess_pieces_1_1_chess_piece_a404216f935e88109beded323b7169a52}} -char {\bfseries type} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_aec89844c211ec5e857ea388f93dec641}\label{classchess_pieces_1_1_chess_piece_aec89844c211ec5e857ea388f93dec641}} -int {\bfseries row\+\_\+position} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a7e810e133e206583f8242db0f6bc75dc}\label{classchess_pieces_1_1_chess_piece_a7e810e133e206583f8242db0f6bc75dc}} -int {\bfseries col\+\_\+position} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_a790010a9ec1e5408151a241ad7fbac40}\label{classchess_pieces_1_1_chess_piece_a790010a9ec1e5408151a241ad7fbac40}} -boolean {\bfseries captured} -\end{DoxyCompactItemize} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_abdb413c34996697a8852d8026348a870}\label{classchess_pieces_1_1_chess_piece_abdb413c34996697a8852d8026348a870}} -\index{chess\+Pieces\+::\+Chess\+Piece@{chess\+Pieces\+::\+Chess\+Piece}!get\+Row\+Position@{get\+Row\+Position}} -\index{get\+Row\+Position@{get\+Row\+Position}!chess\+Pieces\+::\+Chess\+Piece@{chess\+Pieces\+::\+Chess\+Piece}} -\subsubsection{\texorpdfstring{get\+Row\+Position()}{getRowPosition()}} -{\footnotesize\ttfamily int chess\+Pieces.\+Chess\+Piece.\+get\+Row\+Position (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Protected method for other classes to use \begin{DoxyReturn}{Returns} - -\end{DoxyReturn} -\mbox{\Hypertarget{classchess_pieces_1_1_chess_piece_af63e8b2920952a98025eb84dfc44c675}\label{classchess_pieces_1_1_chess_piece_af63e8b2920952a98025eb84dfc44c675}} -\index{chess\+Pieces\+::\+Chess\+Piece@{chess\+Pieces\+::\+Chess\+Piece}!killed@{killed}} -\index{killed@{killed}!chess\+Pieces\+::\+Chess\+Piece@{chess\+Pieces\+::\+Chess\+Piece}} -\subsubsection{\texorpdfstring{killed()}{killed()}} -{\footnotesize\ttfamily void chess\+Pieces.\+Chess\+Piece.\+killed (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -When this chess piece is captured, delete it from the board. - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Pieces/Chess\+Piece.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_pieces_1_1_king.eps b/HW1-FA18/latex/classchess_pieces_1_1_king.eps deleted file mode 100644 index ba7cf39911a5b7246a77de0cbbe8b7909f068579..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_king.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 246.913580 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 2.025000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(chessPieces.King) cw -(chessPieces.ChessPiece) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (chessPieces.King) 0.000000 0.000000 box - (chessPieces.ChessPiece) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/HW1-FA18/latex/classchess_pieces_1_1_king.tex b/HW1-FA18/latex/classchess_pieces_1_1_king.tex deleted file mode 100644 index 0f70fa2c327258af500d33e154f80c1082209779..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_king.tex +++ /dev/null @@ -1,34 +0,0 @@ -\hypertarget{classchess_pieces_1_1_king}{}\section{chess\+Pieces.\+King Class Reference} -\label{classchess_pieces_1_1_king}\index{chess\+Pieces.\+King@{chess\+Pieces.\+King}} -Inheritance diagram for chess\+Pieces.\+King\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classchess_pieces_1_1_king} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_king_aec073c9a8ef35dd9389dc870d106c816}\label{classchess_pieces_1_1_king_aec073c9a8ef35dd9389dc870d106c816}} -{\bfseries King} (int player, int row\+\_\+position, int col\+\_\+position) -\item -boolean \mbox{\hyperlink{classchess_pieces_1_1_king_ac456b043dee627335edfc6ca452f8e61}{check\+Rule}} (int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_king_ad55b71d967b779c91d9d6b92b0216745}\label{classchess_pieces_1_1_king_ad55b71d967b779c91d9d6b92b0216745}} -Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ {\bfseries get\+Next\+Possible\+Positions} () -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_pieces_1_1_king_ac456b043dee627335edfc6ca452f8e61}\label{classchess_pieces_1_1_king_ac456b043dee627335edfc6ca452f8e61}} -\index{chess\+Pieces\+::\+King@{chess\+Pieces\+::\+King}!check\+Rule@{check\+Rule}} -\index{check\+Rule@{check\+Rule}!chess\+Pieces\+::\+King@{chess\+Pieces\+::\+King}} -\subsubsection{\texorpdfstring{check\+Rule()}{checkRule()}} -{\footnotesize\ttfamily boolean chess\+Pieces.\+King.\+check\+Rule (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -\mbox{\hyperlink{classchess_pieces_1_1_king}{King}} moves 1 step to any direction. - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Pieces/King.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_pieces_1_1_knight.eps b/HW1-FA18/latex/classchess_pieces_1_1_knight.eps deleted file mode 100644 index 9e9bb63db41313d210d5d66a243fadd0a4df6afd..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_knight.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 246.913580 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 2.025000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(chessPieces.Knight) cw -(chessPieces.ChessPiece) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (chessPieces.Knight) 0.000000 0.000000 box - (chessPieces.ChessPiece) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/HW1-FA18/latex/classchess_pieces_1_1_knight.tex b/HW1-FA18/latex/classchess_pieces_1_1_knight.tex deleted file mode 100644 index 4dccb19b07d110d8dbff5b2a3709b69f9ff0aca1..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_knight.tex +++ /dev/null @@ -1,34 +0,0 @@ -\hypertarget{classchess_pieces_1_1_knight}{}\section{chess\+Pieces.\+Knight Class Reference} -\label{classchess_pieces_1_1_knight}\index{chess\+Pieces.\+Knight@{chess\+Pieces.\+Knight}} -Inheritance diagram for chess\+Pieces.\+Knight\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classchess_pieces_1_1_knight} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_knight_a9dc437f36433968144f3331cfbb870ac}\label{classchess_pieces_1_1_knight_a9dc437f36433968144f3331cfbb870ac}} -{\bfseries Knight} (int player, int row\+\_\+position, int col\+\_\+position) -\item -boolean \mbox{\hyperlink{classchess_pieces_1_1_knight_a6128f7b61750e3f5598af558950e8176}{check\+Rule}} (int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_knight_a962f4c0e3975950d713d984cc05db72b}\label{classchess_pieces_1_1_knight_a962f4c0e3975950d713d984cc05db72b}} -Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ {\bfseries get\+Next\+Possible\+Positions} () -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_pieces_1_1_knight_a6128f7b61750e3f5598af558950e8176}\label{classchess_pieces_1_1_knight_a6128f7b61750e3f5598af558950e8176}} -\index{chess\+Pieces\+::\+Knight@{chess\+Pieces\+::\+Knight}!check\+Rule@{check\+Rule}} -\index{check\+Rule@{check\+Rule}!chess\+Pieces\+::\+Knight@{chess\+Pieces\+::\+Knight}} -\subsubsection{\texorpdfstring{check\+Rule()}{checkRule()}} -{\footnotesize\ttfamily boolean chess\+Pieces.\+Knight.\+check\+Rule (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -Check if new position satisfies a vertical or horizontal \textquotesingle{}L\textquotesingle{}. - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Pieces/Knight.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_pieces_1_1_pawn.eps b/HW1-FA18/latex/classchess_pieces_1_1_pawn.eps deleted file mode 100644 index 6ba757fda6bd31dafad0df257015b9704ad3d385..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_pawn.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 246.913580 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 2.025000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(chessPieces.Pawn) cw -(chessPieces.ChessPiece) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (chessPieces.Pawn) 0.000000 0.000000 box - (chessPieces.ChessPiece) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/HW1-FA18/latex/classchess_pieces_1_1_pawn.tex b/HW1-FA18/latex/classchess_pieces_1_1_pawn.tex deleted file mode 100644 index 76aaafc1bb82933335766114f4befadb2b4e1070..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_pawn.tex +++ /dev/null @@ -1,26 +0,0 @@ -\hypertarget{classchess_pieces_1_1_pawn}{}\section{chess\+Pieces.\+Pawn Class Reference} -\label{classchess_pieces_1_1_pawn}\index{chess\+Pieces.\+Pawn@{chess\+Pieces.\+Pawn}} -Inheritance diagram for chess\+Pieces.\+Pawn\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classchess_pieces_1_1_pawn} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_pawn_abb2872c713d35d5c84fcc42f1b2e8bb0}\label{classchess_pieces_1_1_pawn_abb2872c713d35d5c84fcc42f1b2e8bb0}} -{\bfseries Pawn} (int player, int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_pawn_a5b8cd94841a72b51068b520c8f51521c}\label{classchess_pieces_1_1_pawn_a5b8cd94841a72b51068b520c8f51521c}} -boolean {\bfseries check\+Rule} (int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_pawn_af2692da362d95d6aee9851882ead4a57}\label{classchess_pieces_1_1_pawn_af2692da362d95d6aee9851882ead4a57}} -Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ {\bfseries get\+Next\+Possible\+Positions} () -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Pieces/Pawn.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_pieces_1_1_queen.eps b/HW1-FA18/latex/classchess_pieces_1_1_queen.eps deleted file mode 100644 index f6a1fc4dfd8f9feec431b55289020f6d54cea88d..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_queen.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 246.913580 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 2.025000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(chessPieces.Queen) cw -(chessPieces.ChessPiece) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (chessPieces.Queen) 0.000000 0.000000 box - (chessPieces.ChessPiece) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/HW1-FA18/latex/classchess_pieces_1_1_queen.tex b/HW1-FA18/latex/classchess_pieces_1_1_queen.tex deleted file mode 100644 index 33300dad34a4460e68631e19defde460740a1d10..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_queen.tex +++ /dev/null @@ -1,34 +0,0 @@ -\hypertarget{classchess_pieces_1_1_queen}{}\section{chess\+Pieces.\+Queen Class Reference} -\label{classchess_pieces_1_1_queen}\index{chess\+Pieces.\+Queen@{chess\+Pieces.\+Queen}} -Inheritance diagram for chess\+Pieces.\+Queen\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classchess_pieces_1_1_queen} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_queen_a3d37b5e69a86bd00c4038b02e82a8ace}\label{classchess_pieces_1_1_queen_a3d37b5e69a86bd00c4038b02e82a8ace}} -{\bfseries Queen} (int player, int row\+\_\+position, int col\+\_\+position) -\item -boolean \mbox{\hyperlink{classchess_pieces_1_1_queen_aed3b9c2b21cf90526473552e43473bce}{check\+Rule}} (int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_queen_a0daf19040b7e29d53092c54605e153fc}\label{classchess_pieces_1_1_queen_a0daf19040b7e29d53092c54605e153fc}} -Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ {\bfseries get\+Next\+Possible\+Positions} () -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_pieces_1_1_queen_aed3b9c2b21cf90526473552e43473bce}\label{classchess_pieces_1_1_queen_aed3b9c2b21cf90526473552e43473bce}} -\index{chess\+Pieces\+::\+Queen@{chess\+Pieces\+::\+Queen}!check\+Rule@{check\+Rule}} -\index{check\+Rule@{check\+Rule}!chess\+Pieces\+::\+Queen@{chess\+Pieces\+::\+Queen}} -\subsubsection{\texorpdfstring{check\+Rule()}{checkRule()}} -{\footnotesize\ttfamily boolean chess\+Pieces.\+Queen.\+check\+Rule (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -\mbox{\hyperlink{classchess_pieces_1_1_queen}{Queen}} moves any direction with any steps. - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Pieces/Queen.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_pieces_1_1_rook.eps b/HW1-FA18/latex/classchess_pieces_1_1_rook.eps deleted file mode 100644 index 4114bb83d713df824ed42ab87b9b131279d1a565..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_rook.eps +++ /dev/null @@ -1,197 +0,0 @@ -%!PS-Adobe-2.0 EPSF-2.0 -%%Title: ClassName -%%Creator: Doxygen -%%CreationDate: Time -%%For: -%Magnification: 1.00 -%%Orientation: Portrait -%%BoundingBox: 0 0 500 246.913580 -%%Pages: 0 -%%BeginSetup -%%EndSetup -%%EndComments - -% ----- variables ----- - -/boxwidth 0 def -/boxheight 40 def -/fontheight 24 def -/marginwidth 10 def -/distx 20 def -/disty 40 def -/boundaspect 2.025000 def % aspect ratio of the BoundingBox (width/height) -/boundx 500 def -/boundy boundx boundaspect div def -/xspacing 0 def -/yspacing 0 def -/rows 2 def -/cols 1 def -/scalefactor 0 def -/boxfont /Times-Roman findfont fontheight scalefont def - -% ----- procedures ----- - -/dotted { [1 4] 0 setdash } def -/dashed { [5] 0 setdash } def -/solid { [] 0 setdash } def - -/max % result = MAX(arg1,arg2) -{ - /a exch def - /b exch def - a b gt {a} {b} ifelse -} def - -/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2) -{ - 0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max -} def - -/cw % boxwidth = MAX(boxwidth, stringwidth(arg1)) -{ - /str exch def - /boxwidth boxwidth str stringwidth pop max def -} def - -/box % draws a box with text `arg1' at grid pos (arg2,arg3) -{ gsave - 2 setlinewidth - newpath - exch xspacing mul xoffset add - exch yspacing mul - moveto - boxwidth 0 rlineto - 0 boxheight rlineto - boxwidth neg 0 rlineto - 0 boxheight neg rlineto - closepath - dup stringwidth pop neg boxwidth add 2 div - boxheight fontheight 2 div sub 2 div - rmoveto show stroke - grestore -} def - -/mark -{ newpath - exch xspacing mul xoffset add boxwidth add - exch yspacing mul - moveto - 0 boxheight 4 div rlineto - boxheight neg 4 div boxheight neg 4 div rlineto - closepath - eofill - stroke -} def - -/arrow -{ newpath - moveto - 3 -8 rlineto - -6 0 rlineto - 3 8 rlineto - closepath - eofill - stroke -} def - -/out % draws an output connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight add - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/in % draws an input connector for the block at (arg1,arg2) -{ - newpath - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul disty 2 div sub - /y exch def - /x exch def - x y moveto - 0 disty 2 div rlineto - stroke - 1 eq { x y disty 2 div add arrow } if -} def - -/hedge -{ - exch xspacing mul xoffset add boxwidth 2 div add - exch yspacing mul boxheight 2 div sub - /y exch def - /x exch def - newpath - x y moveto - boxwidth 2 div distx add 0 rlineto - stroke - 1 eq - { newpath x boxwidth 2 div distx add add y moveto - -8 3 rlineto - 0 -6 rlineto - 8 3 rlineto - closepath - eofill - stroke - } if -} def - -/vedge -{ - /ye exch def - /ys exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add dup - ys yspacing mul boxheight 2 div sub - moveto - ye yspacing mul boxheight 2 div sub - lineto - stroke -} def - -/conn % connections the blocks from col `arg1' to `arg2' of row `arg3' -{ - /ys exch def - /xe exch def - /xs exch def - newpath - xs xspacing mul xoffset add boxwidth 2 div add - ys yspacing mul disty 2 div sub - moveto - xspacing xe xs sub mul 0 - rlineto - stroke -} def - -% ----- main ------ - -boxfont setfont -1 boundaspect scale -(chessPieces.Rook) cw -(chessPieces.ChessPiece) cw -/boxwidth boxwidth marginwidth 2 mul add def -/xspacing boxwidth distx add def -/yspacing boxheight disty add def -/scalefactor - boxwidth cols mul distx cols 1 sub mul add - boxheight rows mul disty rows 1 sub mul add boundaspect mul - max def -boundx scalefactor div boundy scalefactor div scale - -% ----- classes ----- - - (chessPieces.Rook) 0.000000 0.000000 box - (chessPieces.ChessPiece) 0.000000 1.000000 box - -% ----- relations ----- - -solid -0 0.000000 0.000000 out -solid -1 0.000000 1.000000 in diff --git a/HW1-FA18/latex/classchess_pieces_1_1_rook.tex b/HW1-FA18/latex/classchess_pieces_1_1_rook.tex deleted file mode 100644 index a331e1d394fed09282c2ebc92d44d87f16edce8d..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_pieces_1_1_rook.tex +++ /dev/null @@ -1,34 +0,0 @@ -\hypertarget{classchess_pieces_1_1_rook}{}\section{chess\+Pieces.\+Rook Class Reference} -\label{classchess_pieces_1_1_rook}\index{chess\+Pieces.\+Rook@{chess\+Pieces.\+Rook}} -Inheritance diagram for chess\+Pieces.\+Rook\+:\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[height=2.000000cm]{classchess_pieces_1_1_rook} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_pieces_1_1_rook_a0f2b8ee3284abe39dde0178c339fc908}\label{classchess_pieces_1_1_rook_a0f2b8ee3284abe39dde0178c339fc908}} -{\bfseries Rook} (int player, int row\+\_\+position, int col\+\_\+position) -\item -boolean \mbox{\hyperlink{classchess_pieces_1_1_rook_a80d4b7c3b01455715528c6eae36206be}{check\+Rule}} (int row\+\_\+position, int col\+\_\+position) -\item -\mbox{\Hypertarget{classchess_pieces_1_1_rook_aa0765f8b7b518fe21b8c91ad09815248}\label{classchess_pieces_1_1_rook_aa0765f8b7b518fe21b8c91ad09815248}} -Array\+List$<$ int\mbox{[}$\,$\mbox{]}$>$ {\bfseries get\+Next\+Possible\+Positions} () -\end{DoxyCompactItemize} -\subsection*{Additional Inherited Members} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_pieces_1_1_rook_a80d4b7c3b01455715528c6eae36206be}\label{classchess_pieces_1_1_rook_a80d4b7c3b01455715528c6eae36206be}} -\index{chess\+Pieces\+::\+Rook@{chess\+Pieces\+::\+Rook}!check\+Rule@{check\+Rule}} -\index{check\+Rule@{check\+Rule}!chess\+Pieces\+::\+Rook@{chess\+Pieces\+::\+Rook}} -\subsubsection{\texorpdfstring{check\+Rule()}{checkRule()}} -{\footnotesize\ttfamily boolean chess\+Pieces.\+Rook.\+check\+Rule (\begin{DoxyParamCaption}\item[{int}]{row\+\_\+position, }\item[{int}]{col\+\_\+position }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} - -\mbox{\hyperlink{classchess_pieces_1_1_rook}{Rook}} only moves along file or rank with any steps. - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Pieces/Rook.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_tests_1_1_board_test.tex b/HW1-FA18/latex/classchess_tests_1_1_board_test.tex deleted file mode 100644 index c7bf443914688cfc8aa464ee648aded7f49f7604..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_tests_1_1_board_test.tex +++ /dev/null @@ -1,41 +0,0 @@ -\hypertarget{classchess_tests_1_1_board_test}{}\section{chess\+Tests.\+Board\+Test Class Reference} -\label{classchess_tests_1_1_board_test}\index{chess\+Tests.\+Board\+Test@{chess\+Tests.\+Board\+Test}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_tests_1_1_board_test_af304b8ba240e715ae323474dd68c87a0}\label{classchess_tests_1_1_board_test_af304b8ba240e715ae323474dd68c87a0}} -void {\bfseries turn\+Test} () throws Exception -\item -\mbox{\Hypertarget{classchess_tests_1_1_board_test_a83c700e5e2f2629b19072fcb1a6c3b37}\label{classchess_tests_1_1_board_test_a83c700e5e2f2629b19072fcb1a6c3b37}} -void {\bfseries capture\+Test} () throws Exception -\item -\mbox{\Hypertarget{classchess_tests_1_1_board_test_ad1d7d45cacb906c8497e86a0bc8a0ca2}\label{classchess_tests_1_1_board_test_ad1d7d45cacb906c8497e86a0bc8a0ca2}} -void {\bfseries check\+King\+Test} () throws Exception -\item -\mbox{\Hypertarget{classchess_tests_1_1_board_test_a8d629519a96129d32cd885044c5f839a}\label{classchess_tests_1_1_board_test_a8d629519a96129d32cd885044c5f839a}} -void {\bfseries valid\+Movement\+Test} () throws Exception -\item -void \mbox{\hyperlink{classchess_tests_1_1_board_test_a7a276983800089da009215ae21ec81a2}{initiate\+Board}} () throws Exception -\item -\mbox{\Hypertarget{classchess_tests_1_1_board_test_a4a8e2c13ff47ec2dd21464c1463097e0}\label{classchess_tests_1_1_board_test_a4a8e2c13ff47ec2dd21464c1463097e0}} -void {\bfseries move\+To\+Test} () throws Exception -\end{DoxyCompactItemize} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_tests_1_1_board_test_a7a276983800089da009215ae21ec81a2}\label{classchess_tests_1_1_board_test_a7a276983800089da009215ae21ec81a2}} -\index{chess\+Tests\+::\+Board\+Test@{chess\+Tests\+::\+Board\+Test}!initiate\+Board@{initiate\+Board}} -\index{initiate\+Board@{initiate\+Board}!chess\+Tests\+::\+Board\+Test@{chess\+Tests\+::\+Board\+Test}} -\subsubsection{\texorpdfstring{initiate\+Board()}{initiateBoard()}} -{\footnotesize\ttfamily void chess\+Tests.\+Board\+Test.\+initiate\+Board (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws Exception\hspace{0.3cm}{\ttfamily [inline]}} - -Check if a board is correctly initiated. -\begin{DoxyExceptions}{Exceptions} -{\em Exception} & \\ -\hline -\end{DoxyExceptions} - - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Tests/Board\+Test.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/classchess_tests_1_1_chess_piece_test.tex b/HW1-FA18/latex/classchess_tests_1_1_chess_piece_test.tex deleted file mode 100644 index 9763edf821cd54903952cc425b4732b830ef2b05..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/classchess_tests_1_1_chess_piece_test.tex +++ /dev/null @@ -1,45 +0,0 @@ -\hypertarget{classchess_tests_1_1_chess_piece_test}{}\section{chess\+Tests.\+Chess\+Piece\+Test Class Reference} -\label{classchess_tests_1_1_chess_piece_test}\index{chess\+Tests.\+Chess\+Piece\+Test@{chess\+Tests.\+Chess\+Piece\+Test}} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -\mbox{\Hypertarget{classchess_tests_1_1_chess_piece_test_a0b30c1f13f94152ca594f70c8ade20b1}\label{classchess_tests_1_1_chess_piece_test_a0b30c1f13f94152ca594f70c8ade20b1}} -void {\bfseries piece\+Contructor\+Test} () throws Exception -\item -void \mbox{\hyperlink{classchess_tests_1_1_chess_piece_test_ac5737f78d619cbe613e29f90ea27e98f}{piece\+Set\+Test}} () throws Exception -\item -\mbox{\Hypertarget{classchess_tests_1_1_chess_piece_test_abab20869b28353178884babc50640def}\label{classchess_tests_1_1_chess_piece_test_abab20869b28353178884babc50640def}} -void {\bfseries piece\+Rule\+Test} () throws Exception -\item -void \mbox{\hyperlink{classchess_tests_1_1_chess_piece_test_a59982f0319b68ca6b62057d061afb762}{piece\+In\+Board\+Test}} () throws Exception -\end{DoxyCompactItemize} - - -\subsection{Member Function Documentation} -\mbox{\Hypertarget{classchess_tests_1_1_chess_piece_test_a59982f0319b68ca6b62057d061afb762}\label{classchess_tests_1_1_chess_piece_test_a59982f0319b68ca6b62057d061afb762}} -\index{chess\+Tests\+::\+Chess\+Piece\+Test@{chess\+Tests\+::\+Chess\+Piece\+Test}!piece\+In\+Board\+Test@{piece\+In\+Board\+Test}} -\index{piece\+In\+Board\+Test@{piece\+In\+Board\+Test}!chess\+Tests\+::\+Chess\+Piece\+Test@{chess\+Tests\+::\+Chess\+Piece\+Test}} -\subsubsection{\texorpdfstring{piece\+In\+Board\+Test()}{pieceInBoardTest()}} -{\footnotesize\ttfamily void chess\+Tests.\+Chess\+Piece\+Test.\+piece\+In\+Board\+Test (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws Exception\hspace{0.3cm}{\ttfamily [inline]}} - -User intends to move a piece off board. -\begin{DoxyExceptions}{Exceptions} -{\em Exception} & \\ -\hline -\end{DoxyExceptions} -\mbox{\Hypertarget{classchess_tests_1_1_chess_piece_test_ac5737f78d619cbe613e29f90ea27e98f}\label{classchess_tests_1_1_chess_piece_test_ac5737f78d619cbe613e29f90ea27e98f}} -\index{chess\+Tests\+::\+Chess\+Piece\+Test@{chess\+Tests\+::\+Chess\+Piece\+Test}!piece\+Set\+Test@{piece\+Set\+Test}} -\index{piece\+Set\+Test@{piece\+Set\+Test}!chess\+Tests\+::\+Chess\+Piece\+Test@{chess\+Tests\+::\+Chess\+Piece\+Test}} -\subsubsection{\texorpdfstring{piece\+Set\+Test()}{pieceSetTest()}} -{\footnotesize\ttfamily void chess\+Tests.\+Chess\+Piece\+Test.\+piece\+Set\+Test (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) throws Exception\hspace{0.3cm}{\ttfamily [inline]}} - -User intends to move a piece to valid empty space. -\begin{DoxyExceptions}{Exceptions} -{\em Exception} & \\ -\hline -\end{DoxyExceptions} - - -The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} -\item -src/chess\+Tests/Chess\+Piece\+Test.\+java\end{DoxyCompactItemize} diff --git a/HW1-FA18/latex/doxygen.sty b/HW1-FA18/latex/doxygen.sty deleted file mode 100644 index e457acc1b89ef5cd0844b70a8db5eb29a0a57c75..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/doxygen.sty +++ /dev/null @@ -1,503 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{float} -\RequirePackage{ifthen} -\RequirePackage{verbatim} -\RequirePackage[table]{xcolor} -\RequirePackage{longtable} -\RequirePackage{tabu} -\RequirePackage{tabularx} -\RequirePackage{multirow} - -%---------- Internal commands used in this style file ---------------- - -\newcommand{\ensurespace}[1]{% - \begingroup% - \setlength{\dimen@}{#1}% - \vskip\z@\@plus\dimen@% - \penalty -100\vskip\z@\@plus -\dimen@% - \vskip\dimen@% - \penalty 9999% - \vskip -\dimen@% - \vskip\z@skip% hide the previous |\vskip| from |\addvspace| - \endgroup% -} - -\newcommand{\DoxyLabelFont}{} -\newcommand{\entrylabel}[1]{% - {% - \parbox[b]{\labelwidth-4pt}{% - \makebox[0pt][l]{\DoxyLabelFont#1}% - \vspace{1.5\baselineskip}% - }% - }% -} - -\newenvironment{DoxyDesc}[1]{% - \ensurespace{4\baselineskip}% - \begin{list}{}{% - \settowidth{\labelwidth}{20pt}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{0pt}% - \setlength{\leftmargin}{\labelwidth+\labelsep}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -\newsavebox{\xrefbox} -\newlength{\xreflength} -\newcommand{\xreflabel}[1]{% - \sbox{\xrefbox}{#1}% - \setlength{\xreflength}{\wd\xrefbox}% - \ifthenelse{\xreflength>\labelwidth}{% - \begin{minipage}{\textwidth}% - \setlength{\parindent}{0pt}% - \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% - \end{minipage}% - }{% - \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% - }% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by <pre> ... </pre> -\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - \par% - \scriptsize% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or <ol> ... </ol>) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or <ul> ... </ul>) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using <dl> ... </dl>) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% - \begin{center}% -}{% - \end{center}% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @copyright -\newenvironment{DoxyCopyright}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return and @returns -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \paragraph*{#1}% -}{% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}{% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[2][]{% - \tabulinesep=1mm% - \par% - \ifthenelse{\equal{#1}{}}% - {\begin{longtabu} spread 0pt [l]{|X[-1,l]|X[-1,l]|}}% name + description - {\ifthenelse{\equal{#1}{1}}% - {\begin{longtabu} spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + name + desc - {\begin{longtabu} spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + type + name + desc - } - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]% - \hline% - \endfirsthead% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]% - \hline% - \endhead% -}{% - \end{longtabu}% - \vspace{6pt}% -} - -% Used for fields of simple structs -\newenvironment{DoxyFields}[1]{% - \tabulinesep=1mm% - \par% - \begin{longtabu} spread 0pt [l]{|X[-1,r]|X[-1,l]|X[-1,l]|}% - \multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endfirsthead% - \multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endhead% -}{% - \end{longtabu}% - \vspace{6pt}% -} - -% Used for fields simple class style enums -\newenvironment{DoxyEnumFields}[1]{% - \tabulinesep=1mm% - \par% - \begin{longtabu} spread 0pt [l]{|X[-1,r]|X[-1,l]|}% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endfirsthead% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endhead% -}{% - \end{longtabu}% - \vspace{6pt}% -} - -% Used for parameters within a detailed function description -\newenvironment{DoxyParamCaption}{% - \renewcommand{\item}[2][]{\\ \hspace*{2.0cm} ##1 {\em ##2}}% -}{% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \tabulinesep=1mm% - \par% - \begin{longtabu} spread 0pt [l]{|X[-1,r]|X[-1,l]|}% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endfirsthead% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endhead% -}{% - \end{longtabu}% - \vspace{6pt}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \tabulinesep=1mm% - \par% - \begin{longtabu} spread 0pt [l]{|X[-1,r]|X[-1,l]|}% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endfirsthead% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endhead% -}{% - \end{longtabu}% - \vspace{6pt}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \tabulinesep=1mm% - \par% - \begin{longtabu} spread 0pt [l]{|X[-1,r]|X[-1,l]|}% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endfirsthead% - \multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]% - \hline% - \endhead% -}{% - \end{longtabu}% - \vspace{6pt}% -} - -% Used for member lists -\newenvironment{DoxyCompactItemize}{% - \begin{itemize}% - \setlength{\itemsep}{-3pt}% - \setlength{\parsep}{0pt}% - \setlength{\topsep}{0pt}% - \setlength{\partopsep}{0pt}% -}{% - \end{itemize}% -} - -% Used for member descriptions -\newenvironment{DoxyCompactList}{% - \begin{list}{}{% - \setlength{\leftmargin}{0.5cm}% - \setlength{\itemsep}{0pt}% - \setlength{\parsep}{0pt}% - \setlength{\topsep}{0pt}% - \renewcommand{\makelabel}{\hfill}% - }% -}{% - \end{list}% -} - -% Used for reference lists (@bug, @deprecated, @todo, etc.) -\newenvironment{DoxyRefList}{% - \begin{list}{}{% - \setlength{\labelwidth}{10pt}% - \setlength{\leftmargin}{\labelwidth}% - \addtolength{\leftmargin}{\labelsep}% - \renewcommand{\makelabel}{\xreflabel}% - }% -}{% - \end{list}% -} - -% Used by @bug, @deprecated, @todo, etc. -\newenvironment{DoxyRefDesc}[1]{% - \begin{list}{}{% - \renewcommand\makelabel[1]{\textbf{##1}}% - \settowidth\labelwidth{\makelabel{#1}}% - \setlength\leftmargin{\labelwidth+\labelsep}% - }% -}{% - \end{list}% -} - -% Used by parameter lists and simple sections -\newenvironment{Desc} -{\begin{list}{}{% - \settowidth{\labelwidth}{20pt}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{0pt}% - \setlength{\leftmargin}{\labelwidth+\labelsep}% - \renewcommand{\makelabel}{\entrylabel}% - } -}{% - \end{list}% -} - -% Used by tables -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}% -\newenvironment{TabularC}[1]% -{\tabulinesep=1mm -\begin{longtabu} spread 0pt [c]{*#1{|X[-1]}|}}% -{\end{longtabu}\par}% - -\newenvironment{TabularNC}[1]% -{\begin{tabu} spread 0pt [l]{*#1{|X[-1]}|}}% -{\end{tabu}\par}% - -% Used for member group headers -\newenvironment{Indent}{% - \begin{list}{}{% - \setlength{\leftmargin}{0.5cm}% - }% - \item[]\ignorespaces% -}{% - \unskip% - \end{list}% -} - -% Used when hyperlinks are turned off -\newcommand{\doxyref}[3]{% - \textbf{#1} (\textnormal{#2}\,\pageref{#3})% -} - -% Used to link to a table when hyperlinks are turned on -\newcommand{\doxytablelink}[2]{% - \ref{#1}% -} - -% Used to link to a table when hyperlinks are turned off -\newcommand{\doxytableref}[3]{% - \ref{#3}% -} - -% Used by @addindex -\newcommand{\lcurly}{\{} -\newcommand{\rcurly}{\}} - -% Colors used for syntax highlighting -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} - -% Color used for table heading -\newcommand{\tableheadbgcolor}{lightgray}% - -% Version of hypertarget with correct landing location -\newcommand{\Hypertarget}[1]{\Hy@raisedlink{\hypertarget{#1}{}}} - -% Define caption that is also suitable in a table -\makeatletter -\def\doxyfigcaption{% -\refstepcounter{figure}% -\@dblarg{\@caption{figure}}} -\makeatother diff --git a/HW1-FA18/latex/hierarchy.tex b/HW1-FA18/latex/hierarchy.tex deleted file mode 100644 index 146bd34135090ffce8c6d99aaaeb52d355002bec..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/hierarchy.tex +++ /dev/null @@ -1,15 +0,0 @@ -\section{Class Hierarchy} -This inheritance list is sorted roughly, but not completely, alphabetically\+:\begin{DoxyCompactList} -\item \contentsline{section}{chess\+Board.\+Board}{\pageref{classchess_board_1_1_board}}{} -\item \contentsline{section}{chess\+Tests.\+Board\+Test}{\pageref{classchess_tests_1_1_board_test}}{} -\item \contentsline{section}{chess\+Pieces.\+Chess\+Piece}{\pageref{classchess_pieces_1_1_chess_piece}}{} -\begin{DoxyCompactList} -\item \contentsline{section}{chess\+Pieces.\+Bishop}{\pageref{classchess_pieces_1_1_bishop}}{} -\item \contentsline{section}{chess\+Pieces.\+King}{\pageref{classchess_pieces_1_1_king}}{} -\item \contentsline{section}{chess\+Pieces.\+Knight}{\pageref{classchess_pieces_1_1_knight}}{} -\item \contentsline{section}{chess\+Pieces.\+Pawn}{\pageref{classchess_pieces_1_1_pawn}}{} -\item \contentsline{section}{chess\+Pieces.\+Queen}{\pageref{classchess_pieces_1_1_queen}}{} -\item \contentsline{section}{chess\+Pieces.\+Rook}{\pageref{classchess_pieces_1_1_rook}}{} -\end{DoxyCompactList} -\item \contentsline{section}{chess\+Tests.\+Chess\+Piece\+Test}{\pageref{classchess_tests_1_1_chess_piece_test}}{} -\end{DoxyCompactList} diff --git a/HW1-FA18/latex/namespacechess_board.tex b/HW1-FA18/latex/namespacechess_board.tex deleted file mode 100644 index 603a4da3a90a68711ea7b0a717da4e2dff9bcab9..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/namespacechess_board.tex +++ /dev/null @@ -1,17 +0,0 @@ -\hypertarget{namespacechess_board}{}\section{Package chess\+Board} -\label{namespacechess_board}\index{chess\+Board@{chess\+Board}} -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -class \mbox{\hyperlink{classchess_board_1_1_board}{Board}} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Below is a chess board graph for the ease of implementation. - -k\+: knight K\+: king - -0 1 2 3 4 5 6 7 0 r k b K q b k r 1 p p p p p p p p $<$-\/-\/-\/--- player 0 2 3 4 5 6 p p p p p p p p $<$-\/-\/-\/--- player 1 7 r k b K q b k r - -\mbox{\hyperlink{classchess_board_1_1_board}{Board}} class supports creating a game board for the game, and completing a series of chess pieces movements. \ No newline at end of file diff --git a/HW1-FA18/latex/namespacechess_pieces.tex b/HW1-FA18/latex/namespacechess_pieces.tex deleted file mode 100644 index c322eee71c9a56f3a3f574bfd1eb6c20795065ad..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/namespacechess_pieces.tex +++ /dev/null @@ -1,28 +0,0 @@ -\hypertarget{namespacechess_pieces}{}\section{Package chess\+Pieces} -\label{namespacechess_pieces}\index{chess\+Pieces@{chess\+Pieces}} -\subsection*{Classes} -\begin{DoxyCompactItemize} -\item -class \mbox{\hyperlink{classchess_pieces_1_1_bishop}{Bishop}} -\item -class \mbox{\hyperlink{classchess_pieces_1_1_chess_piece}{Chess\+Piece}} -\item -class \mbox{\hyperlink{classchess_pieces_1_1_king}{King}} -\item -class \mbox{\hyperlink{classchess_pieces_1_1_knight}{Knight}} -\item -class \mbox{\hyperlink{classchess_pieces_1_1_pawn}{Pawn}} -\item -class \mbox{\hyperlink{classchess_pieces_1_1_queen}{Queen}} -\item -class \mbox{\hyperlink{classchess_pieces_1_1_rook}{Rook}} -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -\begin{DoxyAuthor}{Author} -Dorothy Yu -\end{DoxyAuthor} -\begin{DoxyVersion}{Version} -1.\+00 -\end{DoxyVersion} diff --git a/HW1-FA18/latex/namespaces.tex b/HW1-FA18/latex/namespaces.tex deleted file mode 100644 index 5385590fb2c35befce1a0171d6378cd6dee74b3a..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/namespaces.tex +++ /dev/null @@ -1,5 +0,0 @@ -\section{Namespace List} -Here is a list of all documented namespaces with brief descriptions\+:\begin{DoxyCompactList} -\item\contentsline{section}{\mbox{\hyperlink{namespacechess_board}{chess\+Board}} }{\pageref{namespacechess_board}}{} -\item\contentsline{section}{\mbox{\hyperlink{namespacechess_pieces}{chess\+Pieces}} }{\pageref{namespacechess_pieces}}{} -\end{DoxyCompactList} diff --git a/HW1-FA18/latex/refman.tex b/HW1-FA18/latex/refman.tex deleted file mode 100644 index 16b3926f11d2c91d6ff262ae4cdc05c7991a5ada..0000000000000000000000000000000000000000 --- a/HW1-FA18/latex/refman.tex +++ /dev/null @@ -1,171 +0,0 @@ -\documentclass[twoside]{book} - -% Packages required by doxygen -\usepackage{fixltx2e} -\usepackage{calc} -\usepackage{doxygen} -\usepackage[export]{adjustbox} % also loads graphicx -\usepackage{graphicx} -\usepackage[utf8]{inputenc} -\usepackage{makeidx} -\usepackage{multicol} -\usepackage{multirow} -\PassOptionsToPackage{warn}{textcomp} -\usepackage{textcomp} -\usepackage[nointegrals]{wasysym} -\usepackage[table]{xcolor} - -% Font selection -\usepackage[T1]{fontenc} -\usepackage[scaled=.90]{helvet} -\usepackage{courier} -\usepackage{amssymb} -\usepackage{sectsty} -\renewcommand{\familydefault}{\sfdefault} -\allsectionsfont{% - \fontseries{bc}\selectfont% - \color{darkgray}% -} -\renewcommand{\DoxyLabelFont}{% - \fontseries{bc}\selectfont% - \color{darkgray}% -} -\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}} - -% Page & text layout -\usepackage{geometry} -\geometry{% - a4paper,% - top=2.5cm,% - bottom=2.5cm,% - left=2.5cm,% - right=2.5cm% -} -\tolerance=750 -\hfuzz=15pt -\hbadness=750 -\setlength{\emergencystretch}{15pt} -\setlength{\parindent}{0cm} -\setlength{\parskip}{3ex plus 2ex minus 2ex} -\makeatletter -\renewcommand{\paragraph}{% - \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% - \normalfont\normalsize\bfseries\SS@parafont% - }% -} -\renewcommand{\subparagraph}{% - \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% - \normalfont\normalsize\bfseries\SS@subparafont% - }% -} -\makeatother - -% Headers & footers -\usepackage{fancyhdr} -\pagestyle{fancyplain} -\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} -\fancyhead[CE]{\fancyplain{}{}} -\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} -\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} -\fancyhead[CO]{\fancyplain{}{}} -\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} -\fancyfoot[LE]{\fancyplain{}{}} -\fancyfoot[CE]{\fancyplain{}{}} -\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated by Doxygen }} -\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated by Doxygen }} -\fancyfoot[CO]{\fancyplain{}{}} -\fancyfoot[RO]{\fancyplain{}{}} -\renewcommand{\footrulewidth}{0.4pt} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} - -% Indices & bibliography -\usepackage{natbib} -\usepackage[titles]{tocloft} -\setcounter{tocdepth}{3} -\setcounter{secnumdepth}{5} -\makeindex - -% Hyperlinks (required, but should be loaded last) -\usepackage{ifpdf} -\ifpdf - \usepackage[pdftex,pagebackref=true]{hyperref} -\else - \usepackage[ps2pdf,pagebackref=true]{hyperref} -\fi -\hypersetup{% - colorlinks=true,% - linkcolor=blue,% - citecolor=blue,% - unicode% -} - -% Custom commands -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} - -\usepackage{caption} -\captionsetup{labelsep=space,justification=centering,font={bf},singlelinecheck=off,skip=4pt,position=top} - -%===== C O N T E N T S ===== - -\begin{document} - -% Titlepage & ToC -\hypersetup{pageanchor=false, - bookmarksnumbered=true, - pdfencoding=unicode - } -\pagenumbering{alph} -\begin{titlepage} -\vspace*{7cm} -\begin{center}% -{\Large My Project }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.8.14}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\hypersetup{pageanchor=true} - -%--- Begin generated contents --- -\chapter{Namespace Index} -\input{namespaces} -\chapter{Hierarchical Index} -\input{hierarchy} -\chapter{Class Index} -\input{annotated} -\chapter{Namespace Documentation} -\input{namespacechess_board} -\input{namespacechess_pieces} -\chapter{Class Documentation} -\input{classchess_pieces_1_1_bishop} -\input{classchess_board_1_1_board} -\input{classchess_tests_1_1_board_test} -\input{classchess_pieces_1_1_chess_piece} -\input{classchess_tests_1_1_chess_piece_test} -\input{classchess_pieces_1_1_king} -\input{classchess_pieces_1_1_knight} -\input{classchess_pieces_1_1_pawn} -\input{classchess_pieces_1_1_queen} -\input{classchess_pieces_1_1_rook} -%--- End generated contents --- - -% Index -\backmatter -\newpage -\phantomsection -\clearemptydoublepage -\addcontentsline{toc}{chapter}{Index} -\printindex - -\end{document} diff --git a/HW1-FA18/src/TestPlan.txt b/HW1-FA18/src/TestPlan.txt deleted file mode 100644 index eb78ef7c748bf6212d7ecea7bacf9be1cab0923d..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/TestPlan.txt +++ /dev/null @@ -1,10 +0,0 @@ -Assignment 1.2 test plan: - -1. Compare the static chess board to a standard (online) chess board, to see - if the size of the board is correct (it should contain 64 grids); - if the grid color is clear and makes sense; - if different player chess pieces have different colors; - if the arrangement of the chess pieces is correct in an initial state. - -** My static board is incomplete without chess pieces correct display, thus I didn't include a screenshot here. - \ No newline at end of file diff --git a/HW1-FA18/src/chessBoard/Board.java b/HW1-FA18/src/chessBoard/Board.java deleted file mode 100644 index 5a7daef084441488a6e989c5e78d40d801f2cb71..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessBoard/Board.java +++ /dev/null @@ -1,383 +0,0 @@ -/** -Below is a chess board graph for the ease of implementation. - -k: knight -K: king - - 0 1 2 3 4 5 6 7 -0 r k b K q b k r -1 p p p p p p p p <------ player 0 -2 -3 -4 -5 -6 p p p p p p p p <------ player 1 -7 r k b K q b k r - -Board class supports creating a game board for the game, and completing a series of -chess pieces movements. -**/ -package chessBoard; - -//import java.io.Console; -import java.util.*; - -import chessPieces.Bishop; -import chessPieces.ChessPiece; -import chessPieces.King; -import chessPieces.Knight; -import chessPieces.Pawn; -import chessPieces.Queen; -import chessPieces.Rook; - -public class Board{ - - public static int SIZE = 8; - - ChessPiece[][] board; - - // Current turn. Default: player 0 moves first. - protected int turn = 0; - - - /** - * Board constructor: initialize all chessPieces for both players. - */ - public Board(){ - this.board = new ChessPiece[SIZE][SIZE]; - - // Initiate chess for player 0 - black - int rowIdx = 0; - int player = 0; - initiateBoardChessPieces(rowIdx, player); - - // Initiate chess for player 1 - white - rowIdx = 7; - player = 1; - initiateBoardChessPieces(rowIdx, player); - - //Initiate pawns for both players. - for (int col = 0; col < SIZE; col++){ - this.board[1][col] = new Pawn(0,1,col); - this.board[6][col] = new Pawn(1,6,col); - } - } - - - /** - * Helper function. - * @param rowIdx - */ - private void initiateBoardChessPieces(int rowIdx, int player) { - this.board[rowIdx][0] = new Rook(player,rowIdx,0); - this.board[rowIdx][1] = new Knight(player,rowIdx,1); - this.board[rowIdx][2] = new Bishop(player,rowIdx,2); - this.board[rowIdx][3] = new Queen(player,rowIdx,3); - this.board[rowIdx][4] = new King(player,rowIdx,4); - this.board[rowIdx][5] = new Bishop(player,rowIdx,5); - this.board[rowIdx][6] = new Knight(player,rowIdx,6); - this.board[rowIdx][7] = new Rook(player,rowIdx,7); - } - - - /** - * This functions checks if an input location satisfies board boundaries. - * * TA: explain return values - * @param row_position - * @param col_position - * @return - */ - public static boolean isInBoard(int row_position, int col_position){ - return row_position >= 0 && row_position < SIZE && col_position >= 0 && col_position < SIZE; - } - - - /** - * This function updates board and related chessPieces if a player moves one chess piece. - * Includes a helper function - * @param chessPiece - * @param row_position - * @param col_position - */ - public void moveTo(ChessPiece chessPiece, int row_position, int col_position) { - - //If new position is outside the board, then do nothing - //Remain the same turn - if (!isInBoard(row_position, col_position)) { - return; - } - - //If new position is possessed by the same player, then do nothing - //Remain the same turn - if (this.getPieceAt(row_position, col_position) != null && this.getPieceAt(row_position, col_position).getPlayer() == this.turn) { - return; - } - - //If new position is legal for this chessPiece - if (chessPiece.checkRule(row_position, col_position)) { - - //Check if it's empty, then move and Update directly - //Else if it's possessed by the opponent, then delete the opponent, and update - if (this.board[row_position][col_position] != null) { - this.killPiece(row_position, col_position); - } - this.moveHelper(chessPiece, row_position, col_position); - - //Update turn - this.turn = 1-this.turn; - } - } - - - /** - * This is the helper function to directly move one piece to a place in the board, including - * updating the board and the living chessPiece. - * It doesn't check any conditions, and it should NOT be used outside this class. - * @param chessPiece - * @param row_position - * @param col_position - */ - protected void moveHelper(ChessPiece chessPiece, int row_position, int col_position) { - - //Move and update board - int old_row_position = chessPiece.getRowPosition(); - int old_col_position = chessPiece.getColPosition(); - this.board[old_row_position][old_col_position] = null; - this.board[row_position][col_position] = chessPiece; - - //Update living chessPiece - chessPiece.setRowPosition(row_position); - chessPiece.setColPosition(col_position); - } - - - /** - * This function removes a piece from board, and update board - * @param row_position - * @param col_position - */ - public void killPiece(int row_position, int col_position) { - this.board[row_position][col_position].killed(); - this.board[row_position][col_position] = null; - } - - - /** - * Check if king of an input player is putting in check. - * * TA's suggestion: use moveTo - * @param player - * @return - */ - public boolean isInCheck(int player){ - - int[] kingPos = getKingPosition(player); - ArrayList<ChessPiece> opponentPieces = getOpponentPieces(player); - - // Loop through all opponent possible moves, check if at least one of the - // opponent is checking input player's king. - for (int i = 0; i < opponentPieces.size(); i++) { - ChessPiece currentOpponent = opponentPieces.get(i); - ArrayList<int[]> possibleMoves = currentOpponent.getNextPossiblePositions(); - for (int j = 0; j < possibleMoves.size(); j++) { - int[] currentPos = possibleMoves.get(j); - if (currentPos[0] == kingPos[0] && currentPos[1] == kingPos[1]) { - System.out.println("Player " + player + " is in check!"); - return true; - } - } - } - - return false; - } - - - /** - * If the games ends, then returns the winner, else returns -1. - * This function uses a helper function: checkmateHelper. - * @return - */ - public int checkmate() { - - if (isInCheck(0)) { // Player 0 - return checkmateHelper(0); - - } else if (isInCheck(1)) { // Player 1 - return checkmateHelper(1); - } - - return -1; - } - - - /** - * Helper function: This function decides whether there's no - * legalMoves possible for king w.r.t input player. If none is left, - * end game, print and return winner. - * * TA's suggestion: in a game, remember that moving other chess pieces may save the king. - * @param player - * @return - */ - public int checkmateHelper(int player) { - - ChessPiece king; - int legalPlaces; - int illegalCount = 0; - - king = getKing(player); - - ArrayList<int[]> legalMoves = king.getNextPossiblePositions(); - legalPlaces = legalMoves.size(); - - ArrayList<ChessPiece> opponentPieces = getOpponentPieces(player); - - // Check for each legal move of king whether it is already targeted by any opponent chessPiece. - for (int i = 0; i < legalPlaces; i++) { - for (int j = 0; j < opponentPieces.size(); j++) { - ArrayList<int[]> opponentMoves = opponentPieces.get(i).getNextPossiblePositions(); - if (opponentMoves.contains(legalMoves.get(i))) { - illegalCount ++; - } - } - } - - // All legal places are targeted, king cannot escape. End of game. - if (legalPlaces <= illegalCount) { - System.out.println("Checkmate player "+ player+ ", Player "+ (1-player) +" won!"); - return (1-player); - } - return -1; - } - - - /** - * Helper function: return a chessPiece at an input location - * @param row_position - * @param col_position - */ - public ChessPiece getPieceAt(int row_position, int col_position) { - return this.board[row_position][col_position]; - } - - - /** - * Helper function: return King location of an input player. - * @param player - * @return - */ - public int[] getKingPosition(int player) { - int[] kingPos = new int[2]; - kingPos[0] = -1; - - - ChessPiece king = getKing(player); - - if (king != null) { - kingPos[0] = king.getRowPosition(); - kingPos[1] = king.getColPosition(); - } - - // Defensive coding: just in case king has been mistakenly removed but - // game hasn't ended yet. - if (kingPos[0] != -1) { - return kingPos; - } else { - return null; - } - } - - - /** - * Helper function: return the whole king piece w.r.t a player. - * @param player - * @return - */ - public ChessPiece getKing(int player) { - ChessPiece king; - - // Loop through board to find king for player. - for (int row = 0; row < SIZE; row++) { - for (int col = 0; col < SIZE; col++) { - ChessPiece tempPiece = getPieceAt(row, col); - if (tempPiece != null && tempPiece.getType() == 'K' && tempPiece.getPlayer() == player) { - king = tempPiece; - return king; - } - } - } - return null; - } - - - /** - * Helper function: With respect to current player, get all its - * alive opponent pieces in an array. - * @param player - * @return - */ - public ArrayList<ChessPiece> getOpponentPieces(int player){ - - ArrayList<ChessPiece> opponentPieces = new ArrayList<ChessPiece>(); - - int opponent = 1-player; - - // loop through board to add all valid chess pieces belonged to opponent to an array. - for (int row = 0; row < SIZE; row++) { - for (int col = 0; col < SIZE; col++) { - ChessPiece temp = getPieceAt(row, col); - if (temp != null && temp.getPlayer() == opponent) { - opponentPieces.add(temp); - } - } - } - - if (!opponentPieces.isEmpty()) { - return opponentPieces; - } else { - return null; - } - } - - - /** - * Helper function: make sure one won't capture its own piece. Restricting valid movements to empty spaces and opponent capturing. - * @param player - * @param chessPiece - * @return - */ - public ArrayList<int[]> validMoveFilter(int player, ChessPiece chessPiece){ - - ArrayList<int[]> validMoves = new ArrayList<int[]>(); - - // Get moves which are possible for chessPiece i.e satisfies rules - ArrayList<int[]> possibleMoves = chessPiece.getNextPossiblePositions(); - - // Get rid of places occupied by player himself/herself. - for (int i = 0; i < possibleMoves.size(); i++) { - int[] tempPos = possibleMoves.get(i); - ChessPiece piece = getPieceAt(tempPos[0], tempPos[1]); - if (piece != null && piece.getPlayer() != player) { - validMoves.add(tempPos); - } - } - return validMoves; - } - - - /** - * For game to use. - * @return - */ - public int getCurrentTurn() { - return this.turn; - } - - - /** - * Update turn of a game. For game to use. - * @param turn - */ - public void setTurn(int turn) { - this.turn = turn; - } - -} diff --git a/HW1-FA18/src/chessPieces/Bishop.java b/HW1-FA18/src/chessPieces/Bishop.java deleted file mode 100644 index 8607215ddfcb41d3f1ee14a24d76377725d9d56a..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/Bishop.java +++ /dev/null @@ -1,45 +0,0 @@ -package chessPieces; - -import java.util.*; - -import chessBoard.Board; - -import static java.lang.Math.abs; - -public class Bishop extends ChessPiece{ - - public Bishop(int player, int row_position, int col_position) { - super(player, row_position, col_position); - this.type = 'b'; - } - - - /** - * Bishop only moves diagonally. - */ - @Override - public boolean checkRule(int row_position, int col_position) { - return abs(row_position - this.row_position) == abs(col_position - this.col_position); - } - - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - - // Loop through board to find possible places i.e satisfy rule and is in board. - for (int row = 0; row < Board.SIZE; row++) { - for (int col = 0; col < Board.SIZE; col++) { - int[] tempPos = new int[2]; - if (Board.isInBoard(row, col)) { - if (checkRule(row, col)) { - tempPos[0] = row; - tempPos[1] = col; - nextPos.add(tempPos); - } - } - } - } - return nextPos; - } - -} \ No newline at end of file diff --git a/HW1-FA18/src/chessPieces/ChessPiece.java b/HW1-FA18/src/chessPieces/ChessPiece.java deleted file mode 100644 index 57b9a8c56521a021eaf7e0979a8635d6fc809efc..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/ChessPiece.java +++ /dev/null @@ -1,84 +0,0 @@ -/** -* @author Dorothy Yu -* @version 1.00 -*/ - -package chessPieces; - -import java.util.*; - -public abstract class ChessPiece { - - // Using 0,1 to represent different player - protected int player; - - // Specific chessPiece type. e.g King, Queen ... - protected char type; - - protected int row_position; - protected int col_position; - - // Represent chess piece's current validity - protected boolean captured; - - - public ChessPiece(int player, int row_position, int col_position) { - this.player = player; - this.row_position = row_position; - this.col_position = col_position; - this.captured = false; - } - - /** - * Protected method for other classes to use - * @return - */ - public int getRowPosition(){ - return this.row_position; - } - - - public int getColPosition(){ - return this.col_position; - } - - - public boolean isCaptured(){ - return this.captured; - } - - - public int getPlayer(){ - return this.player; - } - - - public void setRowPosition(int row_position){ - this.row_position = row_position; - } - - - public void setColPosition(int col_position){ - this.col_position = col_position; - } - - - /** - * When this chess piece is captured, delete it from the board. - */ - public void killed(){ - this.captured = true; - this.setRowPosition(-1); - this.setColPosition(-1); - } - - - public char getType() { - return this.type; - } - - - public abstract boolean checkRule(int row_position, int col_position); - public abstract ArrayList<int[]> getNextPossiblePositions(); - -} diff --git a/HW1-FA18/src/chessPieces/CustomHopper.java b/HW1-FA18/src/chessPieces/CustomHopper.java deleted file mode 100644 index f9da3efb5b4a1ad1d5a61e8c071f2b4232682861..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/CustomHopper.java +++ /dev/null @@ -1,74 +0,0 @@ -package chessPieces; - -import java.util.*; -import static java.lang.Math.abs; -import chessBoard.Board; - -public class CustomHopper extends ChessPiece{ - - public CustomHopper(int player, int row_position, int col_position) { - super(player, row_position, col_position); - this.type = 'h'; - } - - - /** - * Hopper only hops one-step forward in 3 directions (\|/). - * It doesn't care whether the cell that it hops across is empty. - * * Notice: checkRule assumes the given position is validated by isInBoard. - * * But if other positions are used within the method, checkRule will check their in-board condition. - * * Example: CustomNightrider's checkRule method. - */ - @Override - public boolean checkRule(int row_pos, int col_pos) { - int forward_direct = getForwardDirect(); - - if (this.col_position == col_pos && this.row_position+2*forward_direct == row_pos) { - return true; - } else if (this.row_position+2*forward_direct == row_pos && abs(this.col_position - col_pos) == 2) { - return true; - } - return false; - } - - - private int getForwardDirect() { - int forward_direct; - - if (this.player == 0) { - forward_direct = 1; - } else { - forward_direct = -1; - } - return forward_direct; - } - - - /** - * CustomHopper could have at most 3 next possible positions. - */ - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - int[] tempPos = new int[2]; - int forward_direct = this.getForwardDirect(); - - if (Board.isInBoard(this.row_position+2*forward_direct, this.col_position)) { - tempPos[0] = this.row_position+2*forward_direct; - tempPos[1] = this.col_position; - nextPos.add(tempPos); - } - if (Board.isInBoard(this.row_position+2*forward_direct, this.col_position+2)) { - tempPos[0] = this.row_position+2*forward_direct; - tempPos[1] = this.col_position+2; - nextPos.add(tempPos); - } - if (Board.isInBoard(this.row_position+2*forward_direct, this.col_position-2)) { - tempPos[0] = this.row_position+2*forward_direct; - tempPos[1] = this.col_position-2; - nextPos.add(tempPos); - } - - return nextPos; - } -} \ No newline at end of file diff --git a/HW1-FA18/src/chessPieces/CustomNightrider.java b/HW1-FA18/src/chessPieces/CustomNightrider.java deleted file mode 100644 index f56326deef7c59631a7ad57543a001a27e794348..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/CustomNightrider.java +++ /dev/null @@ -1,134 +0,0 @@ - -package chessPieces; - -import java.util.*; - -import chessBoard.Board; - -public class CustomNightrider extends ChessPiece { - - //Position_queue is specifically for calls within CustomNightrider. - private ArrayList<int[]> position_queue = new ArrayList<int[]>(); - - public CustomNightrider(int player, int row_position, int col_position){ - super(player, row_position, col_position); - this.type = 'n'; - } - - - /** - * Helper function to check whether position given is the same as the chess piece's current position. - * @param row_position - * @param col_position - * @return - */ - private boolean positionIsMatched(int row_position, int col_position) { - return (this.row_position == row_position && this.col_position == col_position); - } - - - /** - * Helper function: first check if the next position is in board, - * then check if it matches chess piece's current position, return true. - * Otherwise, add this position and it's moving direction as a integer array tempPos to position_queue. - * @param next_row_position: tempPos[0] - * @param next_col_position: tempPos[1] - * @param row_direct: tempPos[2], row's moving direction - * @param col_direct: tempPos[3], col's moving direction - * @return - */ - private boolean checkRuleHelper(int next_row_position, int next_col_position, int row_direct, int col_direct) { - if (Board.isInBoard(next_row_position+row_direct, next_col_position+col_direct)) { - if (this.positionIsMatched(next_row_position+row_direct, next_col_position+col_direct)) { - return true; - } else { - int[] tempPos = new int[4]; - tempPos[0] = next_row_position+row_direct; - tempPos[1] = next_col_position+col_direct; - tempPos[2] = row_direct; - tempPos[3] = col_direct; - position_queue.add(tempPos); - } - } - return false; - } - - - /** - * The simple night rider moves any number of steps as a knight in the same direction. - * It does not require vacant in-between cells to complete the movement. - * CheckRule is supposed to be called after in-board checking. - * @return Whether the new position satisfies the rule. - */ - @Override - public boolean checkRule(int row_position, int col_position) { - - //Use this boolean as a flag to avoid code redundancy. - boolean satisfied = false; - - /** - * Starting from new position, search for each direction. - * If found current position matching chess piece's position during searching, then empty the queue and return true - * Else, if this position is in board, push this position to the queue. - * And loop through queue to find other possible positions in the same direction with current one. - * If no matching appears, and queue is empty, then return false. - */ - if (this.checkRuleHelper(row_position, col_position, -1, -2)) { - satisfied = true; - } else if (this.checkRuleHelper(row_position, col_position, -1, 2)) { - satisfied = true; - } else if (this.checkRuleHelper(row_position, col_position, 1, -2)) { - satisfied = true; - } else if (this.checkRuleHelper(row_position, col_position, 1, 2)) { - satisfied = true; - } else if (this.checkRuleHelper(row_position, col_position, -2, 1)) { - satisfied = true; - } else if (this.checkRuleHelper(row_position, col_position, -2, -1)) { - satisfied = true; - } else if (this.checkRuleHelper(row_position, col_position, 2, -1)) { - satisfied = true; - } else if (this.checkRuleHelper(row_position, col_position, 2, 1)) { - satisfied = true; - } - - if (satisfied) { - //clean position_queue and return true - position_queue.clear(); - return true; - } else { - satisfied = false; - while (!position_queue.isEmpty()) { - int[] tempPos = position_queue.remove(0); - if (this.checkRuleHelper(tempPos[0], tempPos[1], tempPos[2], tempPos[3])) { - satisfied = true; - } - } - } - return satisfied; - - } - - - /** - * This function doesn't know about board conditions other than isInBoard. - */ - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - - //Loop through the whole board to find positions that are valid through checkRule. - for (int row=0; row<Board.SIZE; row++) { - for (int col=0; col<Board.SIZE; col++) { - int[] tempPos = new int[2]; - if (Board.isInBoard(row, col) && this.checkRule(row, col)) { - tempPos[0] = row; - tempPos[1] = col; - nextPos.add(tempPos); - } - } - } - - position_queue.clear(); - return nextPos; - } -} \ No newline at end of file diff --git a/HW1-FA18/src/chessPieces/King.java b/HW1-FA18/src/chessPieces/King.java deleted file mode 100644 index 9a4beec80501e6879f76941baf238d4097029259..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/King.java +++ /dev/null @@ -1,53 +0,0 @@ - -package chessPieces; - -import java.util.*; - -import chessBoard.Board; - -import static java.lang.Math.abs; - -public class King extends ChessPiece { - public King(int player, int row_position, int col_position){ - super(player, row_position, col_position); - this.type = 'K'; - } - - - /** - * King moves 1 step to any direction. - */ - @Override - public boolean checkRule(int row_position, int col_position){ - return (abs(row_position - this.row_position) <= 1 && abs(col_position - this.col_position) <= 1); - } - - - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - - // Since king only moves one step, setting boundaries helps avoid large loop. - int row_lower_bound = this.row_position - 1; - int row_higher_bound = this.row_position + 1; - int col_lower_bound = this.col_position - 1; - int col_higher_bound = this.col_position + 1; - - //Loop through boundaries to find possible moves. - for (int row = row_lower_bound; row <= row_higher_bound; row++){ - for (int col = col_lower_bound; col <= col_higher_bound; col++){ - int[] tempPos = new int[2]; - if (Board.isInBoard(row, col)){ - if (checkRule(row, col)){ - tempPos[0] = row; - tempPos[1] = col; - nextPos.add(tempPos); - } - } - } - } - return nextPos; - } - -} diff --git a/HW1-FA18/src/chessPieces/Knight.java b/HW1-FA18/src/chessPieces/Knight.java deleted file mode 100644 index 18ed5a0a6b7563b54775cc58851afc22b98c31e2..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/Knight.java +++ /dev/null @@ -1,54 +0,0 @@ -package chessPieces; - -import java.util.*; - -import chessBoard.Board; - -import static java.lang.Math.abs; - -public class Knight extends ChessPiece{ - public Knight(int player, int row_position, int col_position) { - super(player, row_position, col_position); - this.type = 'k'; - } - - - /** - * Check if new position satisfies a vertical or horizontal 'L'. - */ - @Override - public boolean checkRule(int row_position, int col_position) { - return ( (abs(row_position - this.row_position) == 1 && abs(col_position - this.col_position) == 2) || (abs(row_position - this.row_position)==2 && abs(col_position - this.col_position) == 1)); - } - - - /** - * This function doesn't know about board conditions other than if a position is in board. - */ - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - - // Set boundaries to avoid large loop. - int row_lower_bound = this.row_position - 2; - int row_higher_bound = this.row_position + 2; - int col_lower_bound = this.col_position - 2; - int col_higher_bound = this.col_position + 2; - - // Loop through to find next possible moves. - for (int row = row_lower_bound; row <= row_higher_bound; row++) { - for (int col = col_lower_bound; col <= col_higher_bound; col++) { - int[] tempPos = new int[2]; - if (Board.isInBoard(row, col)) { - if (checkRule(row, col)) { - tempPos[0] = row; - tempPos[1] = col; - nextPos.add(tempPos); - } - } - } - } - return nextPos; - } - -} \ No newline at end of file diff --git a/HW1-FA18/src/chessPieces/Pawn.java b/HW1-FA18/src/chessPieces/Pawn.java deleted file mode 100644 index 21a05c1b1164441b60e8b16ec3dff910bea78ea3..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/Pawn.java +++ /dev/null @@ -1,73 +0,0 @@ -package chessPieces; - -import java.util.*; - -import chessBoard.Board; - -import static java.lang.Math.abs; - - -public class Pawn extends ChessPiece{ - - private boolean first_move = true; - - - public Pawn(int player, int row_position, int col_position) { - super(player, row_position, col_position); - this.type = 'p'; - } - - - @Override - public boolean checkRule(int row_position, int col_position) { - - int forward_direction; - - // Top player moves downwards: row index increases; - // Bottom player moves upwards: row index decreases. - if (this.player == 0) { - forward_direction = 1; - } else { - forward_direction = -1; - } - - // Check if input location satisfies rule of moving forward. - if (col_position == this.col_position) { - if (this.first_move) { - this.first_move = false; - if (row_position == (this.row_position + forward_direction) - ||(row_position == (this.row_position + 2*forward_direction))) { - return true; - } - } else { //not first move, can only forward 1 step - if (row_position == (this.row_position + forward_direction)) { - return true; - } - } - } else if (row_position == (this.row_position + forward_direction) - && abs(col_position - this.col_position) == 1) { // Check if input location satisfies rule of moving diagonally. - return true; - } - return false; - } - - - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - - for (int row = 0; row < Board.SIZE; row++) { - for (int col = 0; col < Board.SIZE; col++) { - int[] tempPos = new int[2]; - if (Board.isInBoard(row, col)) { - if (checkRule(row, col)) { - tempPos[0] = row; - tempPos[1] = col; - nextPos.add(tempPos); - } - } - } - } - return nextPos; - } -} \ No newline at end of file diff --git a/HW1-FA18/src/chessPieces/Queen.java b/HW1-FA18/src/chessPieces/Queen.java deleted file mode 100644 index e26e7bce047d3fb5745d1370884613996f71bba4..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/Queen.java +++ /dev/null @@ -1,45 +0,0 @@ -package chessPieces; - -import java.util.*; - -import chessBoard.Board; - -import static java.lang.Math.abs; - -public class Queen extends ChessPiece { - - public Queen(int player, int row_position, int col_position) { - super(player, row_position, col_position); - this.type = 'q'; - } - - /** - * Queen moves any direction with any steps. - */ - @Override - public boolean checkRule(int row_position, int col_position) { - return (row_position == this.row_position)||(col_position == this.col_position)||(abs(col_position - this.col_position) == abs(row_position - this.row_position)); - } - - - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - - for (int row = 0; row < Board.SIZE; row++) { - for (int col = 0; col < Board.SIZE; col++) { - int[] tempPos = new int[2]; - if (Board.isInBoard(row, col)) { - if (checkRule(row, col)) { - tempPos[0] = row; - tempPos[1] = col; - nextPos.add(tempPos); - } - } - } - } - return nextPos; - } - -} \ No newline at end of file diff --git a/HW1-FA18/src/chessPieces/Rook.java b/HW1-FA18/src/chessPieces/Rook.java deleted file mode 100644 index e739614afbc0eb4fceaf12ee403e2876d6f9eff2..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessPieces/Rook.java +++ /dev/null @@ -1,54 +0,0 @@ -package chessPieces; - -import java.util.*; - -import chessBoard.Board; - -public class Rook extends ChessPiece{ - public Rook (int player, int row_position, int col_position) { - super(player, row_position, col_position); - this.type = 'r'; - } - - - /** - * Rook only moves along file or rank with any steps. - */ - @Override - public boolean checkRule(int row_position, int col_position) { - return (row_position == this.row_position)||(col_position == this.col_position); - } - - - @Override - public ArrayList<int[]> getNextPossiblePositions(){ - ArrayList<int[]> nextPos = new ArrayList<int[]>(); - - // File check to find possible moves - for (int row = 0; row < Board.SIZE; row++) { - int[] tempPos = new int[2]; - if (Board.isInBoard(row, this.col_position)) { - if (row != this.row_position) { - tempPos[0] = row; - tempPos[1] = this.col_position; - nextPos.add(tempPos); - } - } - } - - // Rank check to find possible moves - for (int col = 0; col < Board.SIZE; col++) { - int[] tempPos = new int[2]; - if (Board.isInBoard(this.row_position, col)) { - if (col != this.col_position) { - tempPos[0] = this.row_position; - tempPos[1] = col; - nextPos.add(tempPos); - } - } - } - - return nextPos; - } - -} \ No newline at end of file diff --git a/HW1-FA18/src/chessTests/BoardTest.java b/HW1-FA18/src/chessTests/BoardTest.java deleted file mode 100644 index d654c431056c5da069af3f0158b7088a2968606c..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessTests/BoardTest.java +++ /dev/null @@ -1,189 +0,0 @@ -package chessTests; - -import static org.junit.Assert.*; - -import chessBoard.Board; -import chessPieces.ChessPiece; - -import java.util.*; - -import org.junit.Test; - -public class BoardTest { - - @Test - public void turnTest() throws Exception { - Board board = new Board(); - assertEquals(board.getCurrentTurn(), 0); - } - - - @Test - public void captureTest() throws Exception{ - Board board = new Board(); - ChessPiece pawn = board.getPieceAt(1,0); - assertEquals(pawn.getType(), 'p'); - board.killPiece(pawn.getRowPosition(), pawn.getColPosition()); - assertEquals(pawn.isCaptured(), true); - assertEquals(null, board.getPieceAt(1, 0)); - } - - - @Test - public void checkKingTest() throws Exception{ - Board board = new Board(); - int player = 1; - assertEquals(false, board.isInCheck(player)); - } - - - @Test - public void validMovementTest() throws Exception{ - Board board = new Board(); - int player = 1; - ChessPiece king = board.getKing(player); - ArrayList<int[]> validMoves = board.validMoveFilter(player, king); - int[] illegalPlace = new int[2]; - illegalPlace[0] = 6; - illegalPlace[1] = 3; - assertEquals(false, validMoves.contains(illegalPlace)); - } - - - /** - * Check if a board is correctly initiated. - * @throws Exception - */ - @Test - public void initiateBoard() throws Exception{ - Board board = new Board(); - - //player 0's chess pieces - //0 to 7 -> left to right - ChessPiece black_pawn0 = board.getPieceAt(1, 0); - ChessPiece black_pawn1 = board.getPieceAt(1, 1); - ChessPiece black_pawn2 = board.getPieceAt(1, 2); - ChessPiece black_pawn3 = board.getPieceAt(1, 3); - ChessPiece black_pawn4 = board.getPieceAt(1, 4); - ChessPiece black_pawn5 = board.getPieceAt(1, 5); - ChessPiece black_pawn6 = board.getPieceAt(1, 6); - ChessPiece black_pawn7 = board.getPieceAt(1, 7); - - ChessPiece black_rook0 = board.getPieceAt(0, 0); - ChessPiece black_rook1 = board.getPieceAt(0, 7); - - ChessPiece black_knight0 = board.getPieceAt(0, 1); - ChessPiece black_knight1 = board.getPieceAt(0, 6); - - ChessPiece black_bishop0 = board.getPieceAt(0, 2); - ChessPiece black_bishop1 = board.getPieceAt(0, 5); - - ChessPiece black_queen = board.getPieceAt(0, 3); - ChessPiece black_king = board.getPieceAt(0, 4); - - //player 1's chess pieces - ChessPiece white_pawn0 = board.getPieceAt(6, 0); - ChessPiece white_pawn1 = board.getPieceAt(6, 1); - ChessPiece white_pawn2 = board.getPieceAt(6, 2); - ChessPiece white_pawn3 = board.getPieceAt(6, 3); - ChessPiece white_pawn4 = board.getPieceAt(6, 4); - ChessPiece white_pawn5 = board.getPieceAt(6, 5); - ChessPiece white_pawn6 = board.getPieceAt(6, 6); - ChessPiece white_pawn7 = board.getPieceAt(6, 7); - - ChessPiece white_rook0 = board.getPieceAt(7, 0); - ChessPiece white_rook1 = board.getPieceAt(7, 7); - - ChessPiece white_knight0 = board.getPieceAt(7, 1); - ChessPiece white_knight1 = board.getPieceAt(7, 6); - - ChessPiece white_bishop0 = board.getPieceAt(7, 2); - ChessPiece white_bishop1 = board.getPieceAt(7, 5); - - ChessPiece white_queen = board.getPieceAt(7, 3); - ChessPiece white_king = board.getPieceAt(7, 4); - - //test - assertEquals(black_pawn0.getType(), 'p'); - assertEquals(black_pawn1.getType(), 'p'); - assertEquals(black_pawn2.getType(), 'p'); - assertEquals(black_pawn3.getType(), 'p'); - assertEquals(black_pawn4.getType(), 'p'); - assertEquals(black_pawn5.getType(), 'p'); - assertEquals(black_pawn6.getType(), 'p'); - assertEquals(black_pawn7.getType(), 'p'); - - assertEquals(black_rook0.getType(), 'r'); - assertEquals(black_rook1.getType(), 'r'); - - assertEquals(black_bishop0.getType(), 'b'); - assertEquals(black_bishop1.getType(), 'b'); - - assertEquals(black_knight0.getType(), 'k'); - assertEquals(black_knight1.getType(), 'k'); - - assertEquals(black_queen.getType(), 'q'); - assertEquals(black_king.getType(), 'K'); - - assertEquals(white_pawn0.getType(), 'p'); - assertEquals(white_pawn1.getType(), 'p'); - assertEquals(white_pawn2.getType(), 'p'); - assertEquals(white_pawn3.getType(), 'p'); - assertEquals(white_pawn4.getType(), 'p'); - assertEquals(white_pawn5.getType(), 'p'); - assertEquals(white_pawn6.getType(), 'p'); - assertEquals(white_pawn7.getType(), 'p'); - - assertEquals(white_rook0.getType(), 'r'); - assertEquals(white_rook1.getType(), 'r'); - - assertEquals(white_bishop0.getType(), 'b'); - assertEquals(white_bishop1.getType(), 'b'); - - assertEquals(white_knight0.getType(), 'k'); - assertEquals(white_knight1.getType(), 'k'); - - assertEquals(white_queen.getType(), 'q'); - assertEquals(white_king.getType(), 'K'); - } - - - @Test - public void moveToTest() throws Exception{ - Board board = new Board(); - - //Player 0 goes first. - ChessPiece black_pawn4 = board.getPieceAt(1, 3); - - //illegal move - board.moveTo(black_pawn4, 8, 8); - assertNotEquals(board.getPieceAt(1, 3), null); - assertEquals(board.getPieceAt(2, 3), null); - assertEquals(board.getPieceAt(1, 3).getType(), 'p'); - - //Remains the same turn - assertEquals(board.getCurrentTurn(), 0); - - assertEquals(black_pawn4.getPlayer(), 0); - - //Now try legal move for player 0: first move, move one step forward - board.moveTo(black_pawn4, 2, 3); - assertEquals(board.getPieceAt(1, 3), null); - assertNotEquals(board.getPieceAt(2, 3), null); - assertEquals(board.getPieceAt(2, 3).getType(), 'p'); - - //Try legal first move for player 1: first move, move two steps forward - ChessPiece white_pawn0 = board.getPieceAt(6, 0); - assertEquals(board.getCurrentTurn(), 1); - board.moveTo(white_pawn0, 4, 0); - assertEquals(board.getPieceAt(6, 0), null); - assertNotEquals(board.getPieceAt(4, 0), null); - assertEquals(board.getPieceAt(4, 0).getType(), 'p'); - - //Neither player is check-mating - assertEquals(board.checkmateHelper(0), -1); - assertEquals(board.checkmateHelper(1), -1); - assertEquals(board.checkmate(), -1); - } - -} diff --git a/HW1-FA18/src/chessTests/ChessPieceTest.java b/HW1-FA18/src/chessTests/ChessPieceTest.java deleted file mode 100644 index 38d2428ac622b5f84440c9b83e4c0ba14d908f36..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessTests/ChessPieceTest.java +++ /dev/null @@ -1,65 +0,0 @@ -package chessTests; - -import static org.junit.Assert.*; - -import org.junit.Test; - -import chessBoard.Board; -import chessPieces.Bishop; -import chessPieces.Knight; -import chessPieces.Pawn; -import chessPieces.Queen; - -public class ChessPieceTest { - - @Test - public void pieceContructorTest() throws Exception{ - int player = 1; - int row_position = 2; - int col_position = 6; - Queen queen = new Queen(player, row_position, col_position); - assertEquals(player, queen.getPlayer()); - assertEquals(row_position, queen.getRowPosition()); - assertEquals(col_position, queen.getColPosition()); - assertEquals('q', queen.getType()); - } - - /** - * User intends to move a piece to valid empty space. - * @throws Exception - */ - @Test - public void pieceSetTest() throws Exception{ - Knight knight = new Knight(0, 5, 3); - int new_row_position = 0; - int new_col_position = 7; - knight.setRowPosition(new_row_position); - knight.setColPosition(new_col_position); - assertEquals(new_row_position, knight.getRowPosition()); - assertEquals(new_col_position, knight.getColPosition()); - } - - - @Test - public void pieceRuleTest() throws Exception{ - Pawn pawn = new Pawn(0,6,0); - int new_row_position = 4; - int new_col_position = 3; - boolean valid = pawn.checkRule(new_row_position, new_col_position); - assertEquals(false, valid); - } - - - /** - * User intends to move a piece off board. - * @throws Exception - */ - @Test - public void pieceInBoardTest() throws Exception{ - int row_position = 8; - int col_position = 8; - Bishop bishop = new Bishop(0, row_position, col_position); - assertEquals(false, Board.isInBoard(bishop.getRowPosition(), bishop.getColPosition())); - } - -} diff --git a/HW1-FA18/src/chessTests/CustomerPieceTest.java b/HW1-FA18/src/chessTests/CustomerPieceTest.java deleted file mode 100644 index 3b91d0f56c97c15310b279fb6fcdcc3034c856f4..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/chessTests/CustomerPieceTest.java +++ /dev/null @@ -1,79 +0,0 @@ -package chessTests; - -import java.util.*; -import static org.junit.Assert.*; -import org.junit.Test; - -import chessPieces.ChessPiece; -import chessPieces.CustomNightrider; -import chessBoard.Board; -import chessPieces.CustomHopper; - -public class CustomerPieceTest { - - - /** - * Given a position, check simpleNightrider's rule. - * @throws Exception - */ - @Test - public void simpleNightRuleTest() throws Exception{ - ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; - - testBoard[4][4] = new CustomNightrider(0, 4, 4); - - assertEquals(true, testBoard[4][4].checkRule(2, 3)); - assertEquals(true, testBoard[4][4].checkRule(3, 2)); - assertEquals(true, testBoard[4][4].checkRule(2, 5)); - assertEquals(true, testBoard[4][4].checkRule(3, 6)); - assertEquals(true, testBoard[4][4].checkRule(5, 6)); - assertEquals(true, testBoard[4][4].checkRule(6, 5)); - assertEquals(true, testBoard[4][4].checkRule(6, 3)); - assertEquals(true, testBoard[4][4].checkRule(5, 2)); - - assertEquals(false, testBoard[4][4].checkRule(1, 0)); - assertEquals(false, testBoard[4][4].checkRule(7, 5)); - } - - - /** - * Check if all valid simpleNightrier's next positions collected are correct. - * @throws Exception - */ - @Test - public void simpleNightPosTest() throws Exception{ - ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; - - testBoard[4][4] = new CustomNightrider(0, 4, 4); - - ArrayList<int[]> possiblePos = testBoard[4][4].getNextPossiblePositions(); - for (int i=0; i<possiblePos.size(); i++) { - int[] tempPos = possiblePos.get(i); - System.out.println("The "+(i+1)+"th possible position is: "+tempPos[0]+" ,"+tempPos[1]); - } - - assertEquals(12, possiblePos.size()); - } - - - @Test - public void simpleHopperRuleTest() throws Exception{ - ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; - testBoard[6][4] = new CustomHopper(1, 6, 4); - assertEquals(true, testBoard[6][4].checkRule(4, 2)); - assertEquals(true, testBoard[6][4].checkRule(4, 4)); - assertEquals(true, testBoard[6][4].checkRule(4, 6)); - assertEquals(false, testBoard[6][4].checkRule(0, 0)); - assertEquals(false, testBoard[6][4].checkRule(7, 2)); - } - - - @Test - public void simpleHopperPosTest() throws Exception{ - ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; - testBoard[6][4] = new CustomHopper(1, 6, 4); - ArrayList<int[]> nextPos = testBoard[6][4].getNextPossiblePositions(); - assertEquals(3, nextPos.size()); - } - -} diff --git a/HW1-FA18/src/graphGUI/Display.java b/HW1-FA18/src/graphGUI/Display.java deleted file mode 100644 index e2e7dd9185263a6caa1ba3a50eb4b09d2c80ca01..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/graphGUI/Display.java +++ /dev/null @@ -1,14 +0,0 @@ -package graphGUI; - -import java.awt.image.BufferedImage; -import java.io.File; - -import javax.imageio.ImageIO; - -import graphGUI.StaticGUI; - -public class Display { - public static void main(String[] args) { - StaticGUI staticGUI = new StaticGUI(); - } -} \ No newline at end of file diff --git a/HW1-FA18/src/graphGUI/StaticGUI.java b/HW1-FA18/src/graphGUI/StaticGUI.java deleted file mode 100644 index 473841f026e5c9fe4d7497919ab4fa6c67d2e5e6..0000000000000000000000000000000000000000 --- a/HW1-FA18/src/graphGUI/StaticGUI.java +++ /dev/null @@ -1,163 +0,0 @@ -package graphGUI; - -import javax.imageio.ImageIO; -import javax.swing.*; - -import chessBoard.Board; - -import java.awt.*; -import java.awt.image.BufferedImage; -//import java.io.File; -import java.io.IOException; -import java.util.*; - -public class StaticGUI { - - private JFrame gameFrame; - private BoardPanel boardPanel; - - private static Dimension WINDOW_DIMENSION = new Dimension(600, 600); - private static Dimension BOARD_DIMENSION = new Dimension(400, 400); - private static Dimension TILE_DIMENSION = new Dimension(10, 10); - - private Color light_tile_color = Color.decode("#FDEBD0"); - private Color dark_tile_color = Color.decode("#CC9966"); - - - /** - * This is the canvas for a chess board. - */ - public StaticGUI(){ - - this.gameFrame = new JFrame("Chess Board"); - this.gameFrame.setSize(WINDOW_DIMENSION); - this.gameFrame.setLayout(new BorderLayout()); - - this.boardPanel = new BoardPanel(); - this.gameFrame.add(this.boardPanel, BorderLayout.CENTER); - this.gameFrame.setVisible(true); - - } - - - /** - * Board Panel contains default 64 Tile Panels. - * @author Dorothy - * - */ - private class BoardPanel extends JPanel{ - - //Default serial versionUID - private static final long serialVersionUID = 1L; - private ArrayList<TilePanel> boardTiles; - - BoardPanel(){ - super(new GridLayout(Board.SIZE, Board.SIZE)); - this.boardTiles = new ArrayList<TilePanel>(); - - for (int rowId = 0; rowId < Board.SIZE; rowId ++) { - for (int colId = 0; colId < Board.SIZE; colId ++) { - TilePanel tilePanel = new TilePanel(this, rowId, colId); - this.boardTiles.add(tilePanel); - this.add(tilePanel); - } - } - - this.setPreferredSize(BOARD_DIMENSION); - this.validate(); - } - } - - - /** - * Used by board panel, will change when game starts. - * @author Dorothy - * - */ - private class TilePanel extends JPanel{ - - //Default serial versionUID - private static final long serialVersionUID = 1L; - private int rowId; - private int colId; - - - TilePanel(BoardPanel boardPanel, int rowId, int colId){ - super(new GridBagLayout()); - - this.rowId = rowId; - this.colId = colId; - - this.setPreferredSize(TILE_DIMENSION); - this.assignTileColor(); - this.assignTileIcon(); - this.validate(); - } - - - /** - * According to a standard chess board, color of each tile alternates conseutively. - */ - private void assignTileColor() { - if (this.rowId % 2 == 0) { - if (this.colId % 2 == 0) { - this.setBackground(light_tile_color); - } else { - this.setBackground(dark_tile_color); - } - } else { - if (this.colId % 2 == 0) { - this.setBackground(dark_tile_color); - } else { - this.setBackground(light_tile_color); - } - } - } - - - /** - * Initialize chess piece on the board display. - */ - private void assignTileIcon() { - this.removeAll(); - - String player = "undefined"; - BufferedImage img = null; //Use an image buffer to store source chess image - - try { - if (this.rowId == 1) { - img = ImageIO.read(getClass().getResource("/images/BP.gif")); - } else if (this.rowId == 6) { - img = ImageIO.read(getClass().getResource("/images/WP.gif")); - } else { - if (this.rowId == 0) { - player = "B"; - } else if (this.rowId == 7){ - player = "W"; - } else { - player = "undefined"; - } - - if (player != "undefined") { - if (this.colId == 0 || this.colId == 7) { - img = ImageIO.read(getClass().getResource("/images/"+player+"R.gif")); - } else if (this.colId == 1 || this.colId == 6) { - img = ImageIO.read(getClass().getResource("/images/"+player+"N.gif")); - } else if (this.colId == 2 || this.colId == 5) { - img = ImageIO.read(getClass().getResource("/images/"+player+"B.gif")); - } else if (this.colId == 3) { - img = ImageIO.read(getClass().getResource("/images/"+player+"Q.gif")); - } else { - img = ImageIO.read(getClass().getResource("/images/"+player+"K.gif")); - } - } - } - - this.add(new JLabel(new ImageIcon(img))); - } catch(IOException e) { - e.printStackTrace(); - } - } - } - -} \ No newline at end of file diff --git a/HW1-FA18/src/graphGUI/images/BB.gif b/HW1-FA18/src/graphGUI/images/BB.gif deleted file mode 100644 index d99bb169d7bb80662b35f1039afcf91a7450cb83..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/BB.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/BK.gif b/HW1-FA18/src/graphGUI/images/BK.gif deleted file mode 100644 index a98f5c6a11e2a618ac339a3983dc69ff9dc91490..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/BK.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/BN.gif b/HW1-FA18/src/graphGUI/images/BN.gif deleted file mode 100644 index 9bfeeafcd089e4aa9b88f8b72be8b2d170fbba61..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/BN.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/BP.gif b/HW1-FA18/src/graphGUI/images/BP.gif deleted file mode 100644 index 5345949330d7e479c8552050ff434bd54a2d0db7..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/BP.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/BQ.gif b/HW1-FA18/src/graphGUI/images/BQ.gif deleted file mode 100644 index bcabe9a0eebf291f9f909fa90cdaf51d375641e2..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/BQ.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/BR.gif b/HW1-FA18/src/graphGUI/images/BR.gif deleted file mode 100644 index 5e6598ee96aaa70cbc0aaddacec9dde714c8addd..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/BR.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/WB.gif b/HW1-FA18/src/graphGUI/images/WB.gif deleted file mode 100644 index 27d1fe5c99ea5ae55327dbddbabd29da110f5fc2..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/WB.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/WK.gif b/HW1-FA18/src/graphGUI/images/WK.gif deleted file mode 100644 index 447f9be7f9caaeb662326e9038a14be43a7a1ae9..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/WK.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/WN.gif b/HW1-FA18/src/graphGUI/images/WN.gif deleted file mode 100644 index 1ea97a4edfcd59bc356bc27830e792f5c22b73d2..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/WN.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/WP.gif b/HW1-FA18/src/graphGUI/images/WP.gif deleted file mode 100644 index a85683a4173a6a8a35b0029379c491ca1732ce1b..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/WP.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/WQ.gif b/HW1-FA18/src/graphGUI/images/WQ.gif deleted file mode 100644 index ec772043340e44309d0e48083d12d76287c5b68a..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/WQ.gif and /dev/null differ diff --git a/HW1-FA18/src/graphGUI/images/WR.gif b/HW1-FA18/src/graphGUI/images/WR.gif deleted file mode 100644 index 8ddfe2d2ed4d043067a1c791db48b93a9389222a..0000000000000000000000000000000000000000 Binary files a/HW1-FA18/src/graphGUI/images/WR.gif and /dev/null differ diff --git a/HW1-FA18/.DS_Store b/HW1.3/.DS_Store similarity index 86% rename from HW1-FA18/.DS_Store rename to HW1.3/.DS_Store index 6e0e76cbe5d4a229b8344840d78ce0c67e41adc6..9a874b5768f336915163bb88cd434575b859f936 100644 Binary files a/HW1-FA18/.DS_Store and b/HW1.3/.DS_Store differ diff --git a/HW1.3/.idea/libraries/junit_junit_4_11.xml b/HW1.3/.idea/libraries/junit_junit_4_11.xml new file mode 100644 index 0000000000000000000000000000000000000000..9f6f368028121f9d1f4dbe1af4a9d7267d4efb8b --- /dev/null +++ b/HW1.3/.idea/libraries/junit_junit_4_11.xml @@ -0,0 +1,11 @@ +<component name="libraryTable"> + <library name="junit:junit:4.11" type="repository"> + <properties maven-id="junit:junit:4.11" /> + <CLASSES> + <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.11/junit-4.11.jar!/" /> + <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" /> + </CLASSES> + <JAVADOC /> + <SOURCES /> + </library> +</component> \ No newline at end of file diff --git a/HW1.3/.idea/misc.xml b/HW1.3/.idea/misc.xml new file mode 100644 index 0000000000000000000000000000000000000000..05483570e041eb648703359441d61bf9a5feeb13 --- /dev/null +++ b/HW1.3/.idea/misc.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> + <output url="file://$PROJECT_DIR$/out" /> + </component> +</project> \ No newline at end of file diff --git a/HW1.3/.idea/modules.xml b/HW1.3/.idea/modules.xml new file mode 100644 index 0000000000000000000000000000000000000000..9be610a6f127a072530162cdf7968ac36925fe47 --- /dev/null +++ b/HW1.3/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/HW1.3.iml" filepath="$PROJECT_DIR$/HW1.3.iml" /> + </modules> + </component> +</project> \ No newline at end of file diff --git a/HW1.3/.idea/uiDesigner.xml b/HW1.3/.idea/uiDesigner.xml new file mode 100644 index 0000000000000000000000000000000000000000..e96534fb27b68192f27f985d3879e173ec77adb8 --- /dev/null +++ b/HW1.3/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="Palette2"> + <group name="Swing"> + <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> + </item> + <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> + </item> + <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> + <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> + <initial-values> + <property name="text" value="Button" /> + </initial-values> + </item> + <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="RadioButton" /> + </initial-values> + </item> + <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="CheckBox" /> + </initial-values> + </item> + <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> + <initial-values> + <property name="text" value="Label" /> + </initial-values> + </item> + <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> + <preferred-size width="150" height="-1" /> + </default-constraints> + </item> + <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> + <preferred-size width="150" height="50" /> + </default-constraints> + </item> + <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> + <preferred-size width="200" height="200" /> + </default-constraints> + </item> + <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> + <preferred-size width="200" height="200" /> + </default-constraints> + </item> + <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> + </item> + <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> + </item> + <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> + </item> + <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> + <preferred-size width="-1" height="20" /> + </default-constraints> + </item> + <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> + <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> + </item> + <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> + <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> + </item> + </group> + </component> +</project> \ No newline at end of file diff --git a/HW1.3/.idea/workspace.xml b/HW1.3/.idea/workspace.xml new file mode 100644 index 0000000000000000000000000000000000000000..29114abc9dc6547b17b3a37ccf7d24b881b9c7c9 --- /dev/null +++ b/HW1.3/.idea/workspace.xml @@ -0,0 +1,769 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ChangeListManager"> + <list default="true" id="32aed56f-58aa-4f5a-91ab-a0cce79b041a" name="Default Changelist" comment="" /> + <ignored path="$PROJECT_DIR$/out/" /> + <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> + <option name="SHOW_DIALOG" value="false" /> + <option name="HIGHLIGHT_CONFLICTS" value="true" /> + <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> + <option name="LAST_RESOLUTION" value="IGNORE" /> + </component> + <component name="CoverageDataManager"> + <SUITE FILE_PATH="coverage/HW1_3$model_chessTests_in_HW1_3.ic" NAME="model.chessTests in HW1.3 Coverage Results" MODIFIED="1538408633101" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false"> + <FILTER>model.chessTests.*</FILTER> + </SUITE> + <SUITE FILE_PATH="coverage/HW1_3$chessTests_in_HW1_3.ic" NAME="chessTests in HW1.3 Coverage Results" MODIFIED="1538009197805" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false"> + <FILTER>chessTests.*</FILTER> + </SUITE> + </component> + <component name="CoverageViewManager"> + <option name="myElementSize" value="15" /> + </component> + <component name="ErrorTreeViewConfiguration"> + <option name="hideWarnings" value="true" /> + <option name="HIDE_WARNINGS" value="true" /> + </component> + <component name="FUSProjectUsageTrigger"> + <session id="-1678586432"> + <usages-collector id="statistics.lifecycle.project"> + <counts> + <entry key="project.open.time.4" value="1" /> + <entry key="project.opened" value="1" /> + </counts> + </usages-collector> + <usages-collector id="statistics.file.extensions.open"> + <counts> + <entry key="ChessPiece" value="1" /> + <entry key="java" value="35" /> + <entry key="png" value="4" /> + </counts> + </usages-collector> + <usages-collector id="statistics.file.types.open"> + <counts> + <entry key="Image" value="4" /> + <entry key="JAVA" value="36" /> + </counts> + </usages-collector> + <usages-collector id="statistics.file.extensions.edit"> + <counts> + <entry key="dummy" value="3" /> + <entry key="java" value="11642" /> + </counts> + </usages-collector> + <usages-collector id="statistics.file.types.edit"> + <counts> + <entry key="JAVA" value="11642" /> + <entry key="PLAIN_TEXT" value="3" /> + </counts> + </usages-collector> + </session> + </component> + <component name="FileEditorManager"> + <leaf SIDE_TABS_SIZE_LIMIT_KEY="111"> + <file pinned="false" current-in-tab="true"> + <entry file="file://$PROJECT_DIR$/src/view/graphGUI/GUI.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="5225"> + <caret line="275" lean-forward="true" selection-start-line="275" selection-end-line="275" /> + <folding> + <element signature="imports" expanded="true" /> + <element signature="e#10223#10224#0" expanded="true" /> + <element signature="e#10306#10307#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> + <file pinned="false" current-in-tab="false"> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/King.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="132"> + <caret line="12" column="22" selection-start-line="12" selection-start-column="22" selection-end-line="12" selection-end-column="22" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> + <file pinned="false" current-in-tab="false"> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/Knight.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="266"> + <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> + <file pinned="false" current-in-tab="false"> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/ChessPiece.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="171"> + <caret line="9" column="22" selection-start-line="9" selection-start-column="22" selection-end-line="9" selection-end-column="22" /> + <folding> + <element signature="n#!!doc" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> + <file pinned="false" current-in-tab="false"> + <entry file="file://$PROJECT_DIR$/src/model/chessBoard/Board.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="221"> + <caret line="115" column="135" selection-start-line="115" selection-start-column="135" selection-end-line="115" selection-end-column="135" /> + <folding> + <element signature="n#!!doc" expanded="true" /> + <element signature="imports" expanded="true" /> + <element signature="e#11689#11690#0" expanded="true" /> + <element signature="e#11721#11722#0" expanded="true" /> + <element signature="e#11841#11842#0" expanded="true" /> + <element signature="e#11873#11874#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> + <file pinned="false" current-in-tab="false"> + <entry file="file://$PROJECT_DIR$/src/model/chessTests/BoardTest.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="3215"> + <caret line="176" column="46" selection-start-line="176" selection-start-column="46" selection-end-line="176" selection-end-column="46" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> + <file pinned="false" current-in-tab="false"> + <entry file="file://$PROJECT_DIR$/src/controller/Game.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="477"> + <caret line="76" column="48" selection-start-line="76" selection-start-column="48" selection-end-line="76" selection-end-column="48" /> + <folding> + <element signature="imports" expanded="true" /> + <element signature="e#1779#1780#0" expanded="true" /> + <element signature="e#1816#1817#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> + </leaf> + </component> + <component name="FileTemplateManagerImpl"> + <option name="RECENT_TEMPLATES"> + <list> + <option value="Class" /> + </list> + </option> + </component> + <component name="FindInProjectRecents"> + <findStrings> + <find>this.colId</find> + <find>basePath</find> + <find>getPieceAt</find> + </findStrings> + <replaceStrings> + <replace>i</replace> + <replace>j</replace> + <replace>BASE_PATH</replace> + </replaceStrings> + <dirStrings> + <dir>$PROJECT_DIR$</dir> + </dirStrings> + </component> + <component name="IdeDocumentHistory"> + <option name="CHANGED_PATHS"> + <list> + <option value="$PROJECT_DIR$/src/model/chessPieces/ChessPiece" /> + <option value="$PROJECT_DIR$/src/chessBoard/ChessPiece.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/King.java" /> + <option value="$PROJECT_DIR$/src/chessBoard/Board.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/Bishop.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/CustomHopper.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/CustomNightrider.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/Knight.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/Pawn.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/Queen.java" /> + <option value="$PROJECT_DIR$/src/chessPieces/Rook.java" /> + <option value="$PROJECT_DIR$/src/chessTests/BoardTest.java" /> + <option value="$PROJECT_DIR$/src/chessTests/ChessPieceTest.java" /> + <option value="$PROJECT_DIR$/src/chessTests/CustomerPieceTest.java" /> + <option value="$PROJECT_DIR$/src/view/staticGUI/StaticGUI.java" /> + <option value="$PROJECT_DIR$/src/view/staticGUI/Display.java" /> + <option value="$PROJECT_DIR$/src/model/chessPieces/King.java" /> + <option value="$PROJECT_DIR$/src/model/chessPieces/Knight.java" /> + <option value="$PROJECT_DIR$/src/view/graphGUI/Display.java" /> + <option value="$PROJECT_DIR$/src/view/graphGUI/StaticGUI.java" /> + <option value="$PROJECT_DIR$/src/model/chessBoard/Board.java" /> + <option value="$PROJECT_DIR$/src/model/chessTests/BoardTest.java" /> + <option value="$PROJECT_DIR$/src/controller/Game.java" /> + <option value="$PROJECT_DIR$/src/view/graphGUI/GUI.java" /> + </list> + </option> + </component> + <component name="ProjectFrameBounds" extendedState="6" fullScreen="true"> + <option name="width" value="1440" /> + <option name="height" value="900" /> + </component> + <component name="ProjectView"> + <navigator proportions="" version="1"> + <foldersAlwaysOnTop value="true" /> + </navigator> + <panes> + <pane id="PackagesPane" /> + <pane id="Scope" /> + <pane id="ProjectPane"> + <subPane> + <expand> + <path> + <item name="HW1.3" type="b2602c69:ProjectViewProjectNode" /> + <item name="HW1.3" type="462c0819:PsiDirectoryNode" /> + </path> + <path> + <item name="HW1.3" type="b2602c69:ProjectViewProjectNode" /> + <item name="HW1.3" type="462c0819:PsiDirectoryNode" /> + <item name="src" type="462c0819:PsiDirectoryNode" /> + </path> + <path> + <item name="HW1.3" type="b2602c69:ProjectViewProjectNode" /> + <item name="HW1.3" type="462c0819:PsiDirectoryNode" /> + <item name="src" type="462c0819:PsiDirectoryNode" /> + <item name="model" type="462c0819:PsiDirectoryNode" /> + </path> + <path> + <item name="HW1.3" type="b2602c69:ProjectViewProjectNode" /> + <item name="HW1.3" type="462c0819:PsiDirectoryNode" /> + <item name="src" type="462c0819:PsiDirectoryNode" /> + <item name="model" type="462c0819:PsiDirectoryNode" /> + <item name="chessTests" type="462c0819:PsiDirectoryNode" /> + </path> + <path> + <item name="HW1.3" type="b2602c69:ProjectViewProjectNode" /> + <item name="HW1.3" type="462c0819:PsiDirectoryNode" /> + <item name="src" type="462c0819:PsiDirectoryNode" /> + <item name="graphGUI" type="462c0819:PsiDirectoryNode" /> + </path> + </expand> + <select /> + </subPane> + </pane> + </panes> + </component> + <component name="PropertiesComponent"> + <property name="Downloaded.Files.Path.Enabled" value="false" /> + <property name="Repository.Attach.JavaDocs" value="false" /> + <property name="Repository.Attach.Sources" value="false" /> + <property name="SearchEverywhereHistoryKey" value="keymap	PSI	JAVA://javax.swing.text.Keymap" /> + <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1538409375087" /> + <property name="project.structure.last.edited" value="Libraries" /> + <property name="project.structure.proportion" value="0.15" /> + <property name="project.structure.side.proportion" value="0.2" /> + <property name="settings.editor.selected.configurable" value="editor.preferences.fonts.default" /> + </component> + <component name="RecentsManager"> + <key name="MoveFile.RECENT_KEYS"> + <recent name="$PROJECT_DIR$/src/view/graphGUI/chessImages" /> + <recent name="$PROJECT_DIR$/src/view/graphGUI" /> + <recent name="$PROJECT_DIR$/src/view/graphGUI/images" /> + <recent name="$PROJECT_DIR$/src" /> + </key> + </component> + <component name="RunDashboard"> + <option name="ruleStates"> + <list> + <RuleState> + <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> + </RuleState> + <RuleState> + <option name="name" value="StatusDashboardGroupingRule" /> + </RuleState> + </list> + </option> + </component> + <component name="RunManager" selected="JUnit.model.chessTests in HW1.3"> + <configuration name="Display" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true"> + <option name="MAIN_CLASS_NAME" value="view.graphGUI.Display" /> + <module name="HW1.3" /> + <extension name="coverage"> + <pattern> + <option name="PATTERN" value="view.graphGUI.*" /> + <option name="ENABLED" value="true" /> + </pattern> + </extension> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <configuration name="Game" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true"> + <option name="MAIN_CLASS_NAME" value="controller.Game" /> + <module name="HW1.3" /> + <extension name="coverage"> + <pattern> + <option name="PATTERN" value="controller.*" /> + <option name="ENABLED" value="true" /> + </pattern> + </extension> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <configuration name="chessTests in HW1.3" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true"> + <module name="HW1.3" /> + <extension name="coverage"> + <pattern> + <option name="PATTERN" value="chessTests.*" /> + <option name="ENABLED" value="true" /> + </pattern> + </extension> + <option name="PACKAGE_NAME" value="chessTests" /> + <option name="TEST_OBJECT" value="package" /> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <configuration name="model.chessTests in HW1.3" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true"> + <module name="HW1.3" /> + <extension name="coverage"> + <pattern> + <option name="PATTERN" value="model.chessTests.*" /> + <option name="ENABLED" value="true" /> + </pattern> + </extension> + <option name="PACKAGE_NAME" value="model.chessTests" /> + <option name="TEST_OBJECT" value="package" /> + <method v="2"> + <option name="Make" enabled="true" /> + </method> + </configuration> + <list> + <item itemvalue="JUnit.chessTests in HW1.3" /> + <item itemvalue="Application.Display" /> + <item itemvalue="Application.Game" /> + <item itemvalue="JUnit.model.chessTests in HW1.3" /> + </list> + <recent_temporary> + <list> + <item itemvalue="JUnit.model.chessTests in HW1.3" /> + <item itemvalue="Application.Game" /> + <item itemvalue="Application.Display" /> + <item itemvalue="JUnit.chessTests in HW1.3" /> + </list> + </recent_temporary> + </component> + <component name="SvnConfiguration"> + <configuration /> + </component> + <component name="TaskManager"> + <task active="true" id="Default" summary="Default task"> + <changelist id="32aed56f-58aa-4f5a-91ab-a0cce79b041a" name="Default Changelist" comment="" /> + <created>1537993963928</created> + <option name="number" value="Default" /> + <option name="presentableId" value="Default" /> + <updated>1537993963928</updated> + </task> + <servers /> + </component> + <component name="TestHistory"> + <history-entry file="chessTests_in_HW1_3 - 2018.09.26 at 19h 46m 39s.xml"> + <configuration name="chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 08h 11m 00s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 08h 12m 02s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 08h 12m 46s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 08h 12m 58s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 08h 14m 26s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 08h 15m 06s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 08h 15m 24s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + <history-entry file="model_chessTests_in_HW1_3 - 2018.10.01 at 10h 43m 54s.xml"> + <configuration name="model.chessTests in HW1.3" configurationId="JUnit" /> + </history-entry> + </component> + <component name="TodoView"> + <todo-panel id="selected-file"> + <is-autoscroll-to-source value="true" /> + </todo-panel> + <todo-panel id="all"> + <are-packages-shown value="true" /> + <is-autoscroll-to-source value="true" /> + </todo-panel> + </component> + <component name="ToolWindowManager"> + <frame x="0" y="0" width="1440" height="900" extended-state="6" /> + <editor active="true" /> + <layout> + <window_info id="Designer" order="0" /> + <window_info id="UI Designer" order="1" /> + <window_info id="Capture Tool" order="2" /> + <window_info id="Favorites" order="3" side_tool="true" /> + <window_info id="Image Layers" order="4" /> + <window_info active="true" content_ui="combo" id="Project" order="5" visible="true" weight="0.16630669" /> + <window_info id="Structure" order="6" side_tool="true" weight="0.25" /> + <window_info anchor="bottom" id="Messages" order="0" sideWeight="0.49676025" weight="0.32883435" /> + <window_info anchor="bottom" id="Event Log" order="1" sideWeight="0.51403886" side_tool="true" weight="0.15214723" /> + <window_info anchor="bottom" id="Terminal" order="2" sideWeight="0.49964002" weight="0.3286432" /> + <window_info anchor="bottom" id="Version Control" order="3" show_stripe_button="false" /> + <window_info anchor="bottom" id="Message" order="4" /> + <window_info anchor="bottom" id="Find" order="5" sideWeight="0.4960403" weight="0.32883435" /> + <window_info anchor="bottom" id="Run" order="6" sideWeight="0.4859611" visible="true" weight="0.18527608" /> + <window_info anchor="bottom" id="Debug" order="7" sideWeight="0.49964002" weight="0.4" /> + <window_info anchor="bottom" id="Cvs" order="8" weight="0.25" /> + <window_info anchor="bottom" id="Inspection" order="9" weight="0.4" /> + <window_info anchor="bottom" id="TODO" order="10" sideWeight="0.49892008" weight="0.32883435" /> + <window_info anchor="right" id="Capture Analysis" order="0" /> + <window_info anchor="right" id="Theme Preview" order="1" /> + <window_info anchor="right" id="Palette	" order="2" /> + <window_info anchor="right" id="Coverage" order="3" side_tool="true" visible="true" weight="0.052555796" /> + <window_info anchor="right" id="Maven Projects" order="4" /> + <window_info anchor="right" id="Palette" order="5" /> + <window_info anchor="right" id="Commander" internal_type="SLIDING" order="6" type="SLIDING" weight="0.4" /> + <window_info anchor="right" id="Ant Build" order="7" weight="0.25" /> + <window_info anchor="right" content_ui="combo" id="Hierarchy" order="8" weight="0.25" /> + </layout> + </component> + <component name="VcsContentAnnotationSettings"> + <option name="myLimit" value="2678400000" /> + </component> + <component name="editorHistoryManager"> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/ChessPiece"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="1260"> + <caret line="84" lean-forward="true" selection-start-line="84" selection-end-line="84" /> + <folding> + <element signature="n#!!doc" expanded="true" /> + <element signature="e#764#765#0" expanded="true" /> + <element signature="e#804#805#0" expanded="true" /> + <element signature="e#839#840#0" expanded="true" /> + <element signature="e#879#880#0" expanded="true" /> + <element signature="e#914#915#0" expanded="true" /> + <element signature="e#950#951#0" expanded="true" /> + <element signature="e#980#981#0" expanded="true" /> + <element signature="e#1014#1015#0" expanded="true" /> + <element signature="e#1066#1067#0" expanded="true" /> + <element signature="e#1114#1115#0" expanded="true" /> + <element signature="e#1166#1167#0" expanded="true" /> + <element signature="e#1214#1215#0" expanded="true" /> + <element signature="e#1458#1459#0" expanded="true" /> + <element signature="e#1490#1491#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/King.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="60"> + <caret line="4" lean-forward="true" selection-start-line="4" selection-end-line="4" /> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/Bishop.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="660"> + <caret line="44" column="1" selection-start-line="44" selection-start-column="1" selection-end-line="44" selection-end-column="1" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/CustomHopper.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="75"> + <caret line="5" lean-forward="true" selection-start-line="5" selection-end-line="5" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/CustomNightrider.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="1995"> + <caret line="133" column="1" selection-start-line="133" selection-start-column="1" selection-end-line="133" selection-end-column="1" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/Queen.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="660"> + <caret line="44" column="1" selection-start-line="44" selection-start-column="1" selection-end-line="44" selection-end-column="1" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/Pawn.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="668"> + <caret line="72" column="1" selection-start-line="72" selection-start-column="1" selection-end-line="72" selection-end-column="1" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/Rook.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="668"> + <caret line="53" column="1" selection-start-line="53" selection-start-column="1" selection-end-line="53" selection-end-column="1" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessTests/CustomerPieceTest.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="1185"> + <caret line="79" selection-start-line="79" selection-end-line="79" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessTests/ChessPieceTest.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="975"> + <caret line="65" selection-start-line="65" selection-end-line="65" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/src.zip!/javax/swing/text/Keymap.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="-1239"> + <caret line="33" column="2" selection-start-line="33" selection-start-column="1" selection-end-line="33" selection-end-column="2" /> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/chessImages/0p.png"> + <provider selected="true" editor-type-id="images" /> + </entry> + <entry file="file://$PROJECT_DIR$/src/chessImages/0b.png"> + <provider selected="true" editor-type-id="images" /> + </entry> + <entry file="file://$PROJECT_DIR$/src/chessImages/1k.png"> + <provider selected="true" editor-type-id="images" /> + </entry> + <entry file="file://$PROJECT_DIR$/src/chessImages/0q.png"> + <provider selected="true" editor-type-id="images" /> + </entry> + <entry file="file://$PROJECT_DIR$/src/controller/Play.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="19"> + <caret line="1" lean-forward="true" selection-start-line="1" selection-end-line="1" /> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/view/graphGUI/GUI.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="637"> + <caret line="142" selection-start-line="142" selection-end-line="142" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/src.zip!/java/awt/event/MouseListener.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="265"> + <caret line="65" column="13" selection-start-line="65" selection-start-column="13" selection-end-line="65" selection-end-column="13" /> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/King.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="132"> + <caret line="12" column="22" selection-start-line="12" selection-start-column="22" selection-end-line="12" selection-end-column="22" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/view/graphGUI/Display.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="95"> + <caret line="5" column="5" lean-forward="true" selection-start-line="3" selection-start-column="4" selection-end-line="5" selection-end-column="5" /> + <folding> + <element signature="e#197#198#0" expanded="true" /> + <element signature="e#250#251#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/Knight.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="266"> + <caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessPieces/ChessPiece.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="171"> + <caret line="9" column="22" selection-start-line="9" selection-start-column="22" selection-end-line="9" selection-end-column="22" /> + <folding> + <element signature="n#!!doc" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessBoard/Board.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="221"> + <caret line="115" column="135" selection-start-line="115" selection-start-column="135" selection-end-line="115" selection-end-column="135" /> + <folding> + <element signature="n#!!doc" expanded="true" /> + <element signature="imports" expanded="true" /> + <element signature="e#11689#11690#0" expanded="true" /> + <element signature="e#11721#11722#0" expanded="true" /> + <element signature="e#11841#11842#0" expanded="true" /> + <element signature="e#11873#11874#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/controller/Game.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="477"> + <caret line="76" column="48" selection-start-line="76" selection-start-column="48" selection-end-line="76" selection-end-column="48" /> + <folding> + <element signature="imports" expanded="true" /> + <element signature="e#1779#1780#0" expanded="true" /> + <element signature="e#1816#1817#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/model/chessTests/BoardTest.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="3215"> + <caret line="176" column="46" selection-start-line="176" selection-start-column="46" selection-end-line="176" selection-end-column="46" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/view/graphGUI/GUI.java"> + <provider selected="true" editor-type-id="text-editor"> + <state relative-caret-position="5225"> + <caret line="275" lean-forward="true" selection-start-line="275" selection-end-line="275" /> + <folding> + <element signature="imports" expanded="true" /> + <element signature="e#10223#10224#0" expanded="true" /> + <element signature="e#10306#10307#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </component> + <component name="masterDetails"> + <states> + <state key="ArtifactsStructureConfigurable.UI"> + <settings> + <artifact-editor /> + <splitter-proportions> + <option name="proportions"> + <list> + <option value="0.2" /> + </list> + </option> + </splitter-proportions> + </settings> + </state> + <state key="FacetStructureConfigurable.UI"> + <settings> + <last-edited>No facets are configured</last-edited> + <splitter-proportions> + <option name="proportions"> + <list> + <option value="0.2" /> + </list> + </option> + </splitter-proportions> + </settings> + </state> + <state key="GlobalLibrariesConfigurable.UI"> + <settings> + <splitter-proportions> + <option name="proportions"> + <list> + <option value="0.2" /> + </list> + </option> + </splitter-proportions> + </settings> + </state> + <state key="JdkListConfigurable.UI"> + <settings> + <last-edited>1.8</last-edited> + <splitter-proportions> + <option name="proportions"> + <list> + <option value="0.2" /> + </list> + </option> + </splitter-proportions> + </settings> + </state> + <state key="ModuleStructureConfigurable.UI"> + <settings> + <last-edited>HW1.3</last-edited> + <splitter-proportions> + <option name="proportions"> + <list> + <option value="0.2" /> + <option value="0.6" /> + </list> + </option> + </splitter-proportions> + </settings> + </state> + <state key="ProjectLibrariesConfigurable.UI"> + <settings> + <last-edited>junit:junit:4.11</last-edited> + <splitter-proportions> + <option name="proportions"> + <list> + <option value="0.2" /> + </list> + </option> + </splitter-proportions> + </settings> + </state> + </states> + </component> +</project> \ No newline at end of file diff --git a/HW1.3/HW1.3.iml b/HW1.3/HW1.3.iml new file mode 100644 index 0000000000000000000000000000000000000000..014961f59254f2ce146df3fd9dcd189b9581fa6a --- /dev/null +++ b/HW1.3/HW1.3.iml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="library" name="junit:junit:4.11" level="project" /> + </component> +</module> \ No newline at end of file diff --git a/HW1.3/out/production/HW1.3/chessImages/0K.png b/HW1.3/out/production/HW1.3/chessImages/0K.png new file mode 100644 index 0000000000000000000000000000000000000000..225f869e9cc481683eae10622c0dad885c3aa3d4 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/0K.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/0b.png b/HW1.3/out/production/HW1.3/chessImages/0b.png new file mode 100644 index 0000000000000000000000000000000000000000..453cb32355348ceadcc41e5c371130e7be1dc45e Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/0b.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/0n.png b/HW1.3/out/production/HW1.3/chessImages/0n.png new file mode 100644 index 0000000000000000000000000000000000000000..8e3d04e6fa29d261b11356ebf3503e09d20f3781 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/0n.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/0p.png b/HW1.3/out/production/HW1.3/chessImages/0p.png new file mode 100644 index 0000000000000000000000000000000000000000..c432d38aeda8c8a49c772c9d7295d0359add9c01 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/0p.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/0q.png b/HW1.3/out/production/HW1.3/chessImages/0q.png new file mode 100644 index 0000000000000000000000000000000000000000..0d94a1c29a50896a6fbe017e1eeda9b5a42fe0a4 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/0q.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/0r.png b/HW1.3/out/production/HW1.3/chessImages/0r.png new file mode 100644 index 0000000000000000000000000000000000000000..b9748e87f29861cb4ca00c7ce03df54f3f6b35a0 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/0r.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/1b.png b/HW1.3/out/production/HW1.3/chessImages/1b.png new file mode 100644 index 0000000000000000000000000000000000000000..26dae01cf054534b4f5c56ac60f334a7ab575f10 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/1b.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/1k.png b/HW1.3/out/production/HW1.3/chessImages/1k.png new file mode 100644 index 0000000000000000000000000000000000000000..d7341649bbfa2508149d8f57562503e6076aaab6 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/1k.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/1n.png b/HW1.3/out/production/HW1.3/chessImages/1n.png new file mode 100644 index 0000000000000000000000000000000000000000..2d716b15b180f2a9b194cd78df3a5e7e9a0c22b0 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/1n.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/1p.png b/HW1.3/out/production/HW1.3/chessImages/1p.png new file mode 100644 index 0000000000000000000000000000000000000000..e98fae2bd8dd89313781f3107fe1b156e4674907 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/1p.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/1q.png b/HW1.3/out/production/HW1.3/chessImages/1q.png new file mode 100644 index 0000000000000000000000000000000000000000..a4fe68c80f79ab7b0b2ed6147383cda435407ea1 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/1q.png differ diff --git a/HW1.3/out/production/HW1.3/chessImages/1r.png b/HW1.3/out/production/HW1.3/chessImages/1r.png new file mode 100644 index 0000000000000000000000000000000000000000..a805de496f4d152dd02026bed09b45548b6e88d8 Binary files /dev/null and b/HW1.3/out/production/HW1.3/chessImages/1r.png differ diff --git a/HW1.3/out/production/HW1.3/controller/Game.class b/HW1.3/out/production/HW1.3/controller/Game.class new file mode 100644 index 0000000000000000000000000000000000000000..48aa26c62f074ca31602a832e293da56eaaf9682 Binary files /dev/null and b/HW1.3/out/production/HW1.3/controller/Game.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessBoard/Board.class b/HW1.3/out/production/HW1.3/model/chessBoard/Board.class new file mode 100644 index 0000000000000000000000000000000000000000..c871ff6b966406529723bd3efcd5120d344cfab2 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessBoard/Board.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/Bishop.class b/HW1.3/out/production/HW1.3/model/chessPieces/Bishop.class new file mode 100644 index 0000000000000000000000000000000000000000..be49109a5eba9330ebc74a4fa8a62c7d24067816 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/Bishop.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/ChessPiece.class b/HW1.3/out/production/HW1.3/model/chessPieces/ChessPiece.class new file mode 100644 index 0000000000000000000000000000000000000000..47fa400c41f6327b563240f434996b96380e271d Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/ChessPiece.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/CustomHopper.class b/HW1.3/out/production/HW1.3/model/chessPieces/CustomHopper.class new file mode 100644 index 0000000000000000000000000000000000000000..6e3b5f26a8de770c8a6614c9c0b203c40900b259 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/CustomHopper.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/CustomNightrider.class b/HW1.3/out/production/HW1.3/model/chessPieces/CustomNightrider.class new file mode 100644 index 0000000000000000000000000000000000000000..7192f7c98f18800a0fc12ddc747e1ca0feb7ad4b Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/CustomNightrider.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/King.class b/HW1.3/out/production/HW1.3/model/chessPieces/King.class new file mode 100644 index 0000000000000000000000000000000000000000..7e16aad515db49009ac30ab1d2401f96deadd0b9 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/King.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/Knight.class b/HW1.3/out/production/HW1.3/model/chessPieces/Knight.class new file mode 100644 index 0000000000000000000000000000000000000000..39bfda4533cd1ef25cef3911950d1c09b0e1e7c6 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/Knight.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/Pawn.class b/HW1.3/out/production/HW1.3/model/chessPieces/Pawn.class new file mode 100644 index 0000000000000000000000000000000000000000..ca81cf15345af9ceeb05bb0be951158cebc17d69 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/Pawn.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/Queen.class b/HW1.3/out/production/HW1.3/model/chessPieces/Queen.class new file mode 100644 index 0000000000000000000000000000000000000000..c795e189a2dc55f6b7af1b6ec0b4a5fcf4453b78 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/Queen.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessPieces/Rook.class b/HW1.3/out/production/HW1.3/model/chessPieces/Rook.class new file mode 100644 index 0000000000000000000000000000000000000000..f63c7c8071d6eb70b5c10afef320809ff8dbe3c7 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessPieces/Rook.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessTests/BoardTest.class b/HW1.3/out/production/HW1.3/model/chessTests/BoardTest.class new file mode 100644 index 0000000000000000000000000000000000000000..bfed2d432112ceb4d008788e38622d8cba0bb99d Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessTests/BoardTest.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessTests/ChessPieceTest.class b/HW1.3/out/production/HW1.3/model/chessTests/ChessPieceTest.class new file mode 100644 index 0000000000000000000000000000000000000000..876f4642bfd9900795844ccf886b9d493446b0cb Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessTests/ChessPieceTest.class differ diff --git a/HW1.3/out/production/HW1.3/model/chessTests/CustomerPieceTest.class b/HW1.3/out/production/HW1.3/model/chessTests/CustomerPieceTest.class new file mode 100644 index 0000000000000000000000000000000000000000..69e5ee754971c9e3ee05e7c0fe28d6d09563f196 Binary files /dev/null and b/HW1.3/out/production/HW1.3/model/chessTests/CustomerPieceTest.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$1.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$1.class new file mode 100644 index 0000000000000000000000000000000000000000..dc04bd9710e11362bd48d1a2bde8792f8d53c4a5 Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$1.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$2.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$2.class new file mode 100644 index 0000000000000000000000000000000000000000..fb40df01ee59a5610b0d88812ffb0b10587e8e4b Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$2.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$3.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$3.class new file mode 100644 index 0000000000000000000000000000000000000000..c8caaa69af7db8a7e3926a6ed5188d6b616a3d28 Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$3.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$4.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$4.class new file mode 100644 index 0000000000000000000000000000000000000000..808758e128b5740926ef97b4e4babc6c3286bdae Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$4.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$5.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$5.class new file mode 100644 index 0000000000000000000000000000000000000000..aee427d21b22c14f18b83a39a1b4dfb4d751606e Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$5.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$BoardPanel.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$BoardPanel.class new file mode 100644 index 0000000000000000000000000000000000000000..fcf16262bbd17fc3c381faf9fc0f67e767dbbac1 Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$BoardPanel.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel$1$1.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel$1$1.class new file mode 100644 index 0000000000000000000000000000000000000000..ca50f57b4217c65158b8403060eec78d9f6362f1 Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel$1$1.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel$1.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel$1.class new file mode 100644 index 0000000000000000000000000000000000000000..d471de5602e2a6ee15fbacc40b49bc8534580aae Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel$1.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel.class new file mode 100644 index 0000000000000000000000000000000000000000..369a0311603a16799daa4bddd8b4da69743c06d6 Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI$TilePanel.class differ diff --git a/HW1.3/out/production/HW1.3/view/graphGUI/GUI.class b/HW1.3/out/production/HW1.3/view/graphGUI/GUI.class new file mode 100644 index 0000000000000000000000000000000000000000..00147e9bb351ccc6991d25e1e01cd9a5e899ad0e Binary files /dev/null and b/HW1.3/out/production/HW1.3/view/graphGUI/GUI.class differ diff --git a/HW1-FA18/src/.DS_Store b/HW1.3/src/.DS_Store similarity index 76% rename from HW1-FA18/src/.DS_Store rename to HW1.3/src/.DS_Store index 493309ea35a4436417673afdb8a43c658f4813b1..f86d4b492589f09ac6ba9df35dc33ac841899007 100644 Binary files a/HW1-FA18/src/.DS_Store and b/HW1.3/src/.DS_Store differ diff --git a/HW1.3/src/chessImages/0K.png b/HW1.3/src/chessImages/0K.png new file mode 100644 index 0000000000000000000000000000000000000000..225f869e9cc481683eae10622c0dad885c3aa3d4 Binary files /dev/null and b/HW1.3/src/chessImages/0K.png differ diff --git a/HW1.3/src/chessImages/0b.png b/HW1.3/src/chessImages/0b.png new file mode 100644 index 0000000000000000000000000000000000000000..453cb32355348ceadcc41e5c371130e7be1dc45e Binary files /dev/null and b/HW1.3/src/chessImages/0b.png differ diff --git a/HW1.3/src/chessImages/0n.png b/HW1.3/src/chessImages/0n.png new file mode 100644 index 0000000000000000000000000000000000000000..8e3d04e6fa29d261b11356ebf3503e09d20f3781 Binary files /dev/null and b/HW1.3/src/chessImages/0n.png differ diff --git a/HW1.3/src/chessImages/0p.png b/HW1.3/src/chessImages/0p.png new file mode 100644 index 0000000000000000000000000000000000000000..c432d38aeda8c8a49c772c9d7295d0359add9c01 Binary files /dev/null and b/HW1.3/src/chessImages/0p.png differ diff --git a/HW1.3/src/chessImages/0q.png b/HW1.3/src/chessImages/0q.png new file mode 100644 index 0000000000000000000000000000000000000000..0d94a1c29a50896a6fbe017e1eeda9b5a42fe0a4 Binary files /dev/null and b/HW1.3/src/chessImages/0q.png differ diff --git a/HW1.3/src/chessImages/0r.png b/HW1.3/src/chessImages/0r.png new file mode 100644 index 0000000000000000000000000000000000000000..b9748e87f29861cb4ca00c7ce03df54f3f6b35a0 Binary files /dev/null and b/HW1.3/src/chessImages/0r.png differ diff --git a/HW1.3/src/chessImages/1b.png b/HW1.3/src/chessImages/1b.png new file mode 100644 index 0000000000000000000000000000000000000000..26dae01cf054534b4f5c56ac60f334a7ab575f10 Binary files /dev/null and b/HW1.3/src/chessImages/1b.png differ diff --git a/HW1.3/src/chessImages/1k.png b/HW1.3/src/chessImages/1k.png new file mode 100644 index 0000000000000000000000000000000000000000..d7341649bbfa2508149d8f57562503e6076aaab6 Binary files /dev/null and b/HW1.3/src/chessImages/1k.png differ diff --git a/HW1.3/src/chessImages/1n.png b/HW1.3/src/chessImages/1n.png new file mode 100644 index 0000000000000000000000000000000000000000..2d716b15b180f2a9b194cd78df3a5e7e9a0c22b0 Binary files /dev/null and b/HW1.3/src/chessImages/1n.png differ diff --git a/HW1.3/src/chessImages/1p.png b/HW1.3/src/chessImages/1p.png new file mode 100644 index 0000000000000000000000000000000000000000..e98fae2bd8dd89313781f3107fe1b156e4674907 Binary files /dev/null and b/HW1.3/src/chessImages/1p.png differ diff --git a/HW1.3/src/chessImages/1q.png b/HW1.3/src/chessImages/1q.png new file mode 100644 index 0000000000000000000000000000000000000000..a4fe68c80f79ab7b0b2ed6147383cda435407ea1 Binary files /dev/null and b/HW1.3/src/chessImages/1q.png differ diff --git a/HW1.3/src/chessImages/1r.png b/HW1.3/src/chessImages/1r.png new file mode 100644 index 0000000000000000000000000000000000000000..a805de496f4d152dd02026bed09b45548b6e88d8 Binary files /dev/null and b/HW1.3/src/chessImages/1r.png differ diff --git a/HW1.3/src/controller/Game.java b/HW1.3/src/controller/Game.java new file mode 100644 index 0000000000000000000000000000000000000000..d7b43a574bc6241bd1933b98c4bcfce2cbd6aea8 --- /dev/null +++ b/HW1.3/src/controller/Game.java @@ -0,0 +1,98 @@ +package controller; + +import model.chessBoard.*; +import view.graphGUI.GUI; + +import javax.swing.*; + + +public class Game { + + public Board board; + public GUI table; + public int turn; + public static int wScore = 0; //White chess score history + public static int bScore = 0; //Black chess score history + public boolean endGame = false; + public String player; + + + public void gameLoop(){ + + //Start a new game + this.table = new GUI(); + this.board = new Board(); + this.player = ""; + + this.wScore = 0; + this.bScore = 0; + this.turn = this.board.turn; + + String opponentName = JOptionPane.showInputDialog(null, "Black chess name: "); + String playerName = JOptionPane.showInputDialog(null, "White chess name: "); + + this.table.addPlayerLabel(opponentName, playerName); + + while (!endGame){ + + /** + * If player1 intends to move one piece, + * check: if player1 is inCheck, or is checkmated + * check: if the piece belongs to player1 + * check: if the move is legal, then move and update GUI & movement stack + * check: if the opponent king is killed, then endGame + * Update turn + */ + + if (this.board.isInCheck(this.turn)){ + JOptionPane.showMessageDialog(null, "You're in check!"); + } + if (this.board.checkmate() != -1){ + JOptionPane.showMessageDialog(null, "Checkmate reminder!"); + } + if (this.board.getKing(this.turn).isCaptured()){ + + //Opponent player wins + //record score history + endGame = true; + if (this.turn == 0){ + this.wScore += 1; + this.player = "White chess"; + } else { + this.bScore += 1; + this.player = "Black chess"; + } + JOptionPane.showMessageDialog(null, + "Congratulations! "+this.player+" wins!"); + } else if (this.board.getKing((this.turn+1)%2).isCaptured()){ + + //Turn player wins + //record score history + endGame = true; + if (this.turn == 0){ + this.bScore += 1; + this.player = "Black chess"; + } else { + this.wScore += 1; + this.player = "White chess"; + } + JOptionPane.showMessageDialog(null, + "Congratulations! "+this.player+" wins!"); + } + + if (!GUI.endTurn){ + try { + Thread.sleep(500); + } catch (InterruptedException e){ + } + } else { + GUI.endTurn = false; + this.turn = 1-this.turn; + } + } + } + + public static void main(String[] args) { + new Game().gameLoop(); + } +} diff --git a/HW1.3/src/model/chessBoard/Board.java b/HW1.3/src/model/chessBoard/Board.java new file mode 100644 index 0000000000000000000000000000000000000000..99a0d2e793ac56041ac3ad407fb330990c46d474 --- /dev/null +++ b/HW1.3/src/model/chessBoard/Board.java @@ -0,0 +1,391 @@ +/** + Below is a chess board graph for the ease of implementation. + + k: knight + K: king + + 0 1 2 3 4 5 6 7 + 0 r k b K q b k r + 1 p p p p p p p p <------ player 0 + 2 + 3 + 4 + 5 + 6 p p p p p p p p <------ player 1 + 7 r k b K q b k r + + Board class supports creating a game board for the game, and completing a series of + chess pieces movements. + **/ +package model.chessBoard; + +//import java.io.Console; +import java.util.*; + +import model.chessPieces.Bishop; +import model.chessPieces.ChessPiece; +import model.chessPieces.King; +import model.chessPieces.Knight; +import model.chessPieces.Pawn; +import model.chessPieces.Queen; +import model.chessPieces.Rook; + +public class Board{ + + public static int SIZE = 8; + + ChessPiece[][] board; + + // Current turn. Default: player 1 moves first. + public int turn = 1; + + + /** + * Board constructor: initialize all chessPieces for both players. + */ + public Board(){ + this.board = new ChessPiece[SIZE][SIZE]; + + // Initiate chess for player 0 - black + int rowIdx = 0; + int player = 0; + initiateBoardChessPieces(rowIdx, player); + + // Initiate chess for player 1 - white + rowIdx = 7; + player = 1; + initiateBoardChessPieces(rowIdx, player); + + //Initiate pawns for both players. + for (int col = 0; col < SIZE; col++){ + this.board[1][col] = new Pawn(0,1,col); + this.board[6][col] = new Pawn(1,6,col); + } + } + + + /** + * Helper function. + * @param rowIdx + */ + private void initiateBoardChessPieces(int rowIdx, int player) { + this.board[rowIdx][0] = new Rook(player,rowIdx,0); + this.board[rowIdx][1] = new Knight(player,rowIdx,1); + this.board[rowIdx][2] = new Bishop(player,rowIdx,2); + this.board[rowIdx][3] = new Queen(player,rowIdx,3); + this.board[rowIdx][4] = new King(player,rowIdx,4); + this.board[rowIdx][5] = new Bishop(player,rowIdx,5); + this.board[rowIdx][6] = new Knight(player,rowIdx,6); + this.board[rowIdx][7] = new Rook(player,rowIdx,7); + } + + + /** + * This functions checks if an input location satisfies board boundaries. + * * TA: explain return values + * @param row_position + * @param col_position + * @return + */ + public static boolean isInBoard(int row_position, int col_position){ + return row_position >= 0 && row_position < SIZE && col_position >= 0 && col_position < SIZE; + } + + + /** + * This function updates board and related chessPieces if a player moves one chess piece. + * Includes a helper function + * @param chessPiece: piece that we want to move + * @param row_position: destination row we want to move to + * @param col_position: destination col we want to move to + * @return -1: illegal; 0: legal and not capturing; 1: legal and captured opponent + */ + public int moveTo(ChessPiece chessPiece, int row_position, int col_position) { + + //A flag which indicates whether player captures its opponent during this move. + int capturedOpponent = 0; + + //If new position is outside the board, then do nothing + //Remain the same turn + if (!isInBoard(row_position, col_position)) { + return -1; + } + + //If new position is possessed by the same player, then do nothing + //Remain the same turn + if (this.getPieceAt(row_position, col_position) != null && this.getPieceAt(row_position, col_position).getPlayer() == this.turn) { + return -1; + } + + //If new position is legal for this chessPiece + if (chessPiece.checkRule(row_position, col_position)) { + + //Check if it's empty, then move and Update directly + //Else if it's possessed by the opponent, then delete the opponent, and update + if (this.board[row_position][col_position] != null) { + this.killPiece(row_position, col_position); + capturedOpponent = 1; + } + this.moveHelper(chessPiece, row_position, col_position); + + //Update turn + this.turn = 1-this.turn; + return capturedOpponent; + } + return -1; + } + + + /** + * This is the helper function to directly move one piece to a place in the board, including + * updating the board and the living chessPiece. + * It doesn't check any conditions, and it should NOT be used outside this class. + * @param chessPiece + * @param row_position + * @param col_position + */ + protected void moveHelper(ChessPiece chessPiece, int row_position, int col_position) { + + //Move and update board + int old_row_position = chessPiece.getRowPosition(); + int old_col_position = chessPiece.getColPosition(); + this.board[old_row_position][old_col_position] = null; + this.board[row_position][col_position] = chessPiece; + + //Update living chessPiece + chessPiece.setRowPosition(row_position); + chessPiece.setColPosition(col_position); + } + + + /** + * This function removes a piece from board, and update board + * @param row_position + * @param col_position + */ + public void killPiece(int row_position, int col_position) { + this.board[row_position][col_position].killed(); + this.board[row_position][col_position] = null; + } + + + /** + * Check if king of an input player is putting in check. + * * TA's suggestion: use moveTo + * @param player + * @return + */ + public boolean isInCheck(int player){ + + int[] kingPos = this.getKingPosition(player); + ArrayList<ChessPiece> opponentPieces = getOpponentPieces(player); + + // Loop through all opponent possible moves, check if at least one of the + // opponent is checking input player's king. + for (int i = 0; i < opponentPieces.size(); i++) { + ChessPiece currentOpponent = opponentPieces.get(i); + ArrayList<int[]> possibleMoves = currentOpponent.getNextPossiblePositions(); + for (int j = 0; j < possibleMoves.size(); j++) { + int[] currentPos = possibleMoves.get(j); + if (currentPos[0] != -1 && currentPos[0] == kingPos[0] && currentPos[1] == kingPos[1]) { + System.out.println("Player " + player + " is in check!"); + return true; + } + } + } + + return false; + } + + + /** + * If the games ends, then returns the winner, else returns -1. + * This function uses a helper function: checkmateHelper. + * @return + */ + public int checkmate() { + + if (isInCheck(0)) { // Player 0 + return checkmateHelper(0); + + } else if (isInCheck(1)) { // Player 1 + return checkmateHelper(1); + } + + return -1; + } + + + /** + * Helper function: This function decides whether there's no + * legalMoves possible for king w.r.t input player. If none is left, + * end game, print and return winner. + * * TA's suggestion: in a game, remember that moving other chess pieces may save the king. + * @param player + * @return + */ + public int checkmateHelper(int player) { + + ChessPiece king; + int legalPlaces; + int illegalCount = 0; + + king = getKing(player); + + ArrayList<int[]> legalMoves = king.getNextPossiblePositions(); + legalPlaces = legalMoves.size(); + + ArrayList<ChessPiece> opponentPieces = getOpponentPieces(player); + + // Check for each legal move of king whether it is already targeted by any opponent chessPiece. + for (int i = 0; i < legalPlaces; i++) { + for (int j = 0; j < opponentPieces.size(); j++) { + ArrayList<int[]> opponentMoves = opponentPieces.get(i).getNextPossiblePositions(); + if (opponentMoves.contains(legalMoves.get(i))) { + illegalCount ++; + } + } + } + + // All legal places are targeted, king cannot escape. End of game. + if (legalPlaces <= illegalCount) { + System.out.println("Checkmate player "+ player+ ", Player "+ (1-player) +" won!"); + return (1-player); + } + return -1; + } + + + /** + * Helper function: return a chessPiece at an input location + * @param row_position + * @param col_position + */ + public ChessPiece getPieceAt(int row_position, int col_position) { + + return this.board[row_position][col_position]; + } + + + /** + * Helper function: return King location of an input player. + * @param player + * @return + */ + public int[] getKingPosition(int player) { + int[] kingPos = new int[2]; + kingPos[0] = -1; + + + ChessPiece king = this.getKing(player); + + if (king != null) { + kingPos[0] = king.getRowPosition(); + kingPos[1] = king.getColPosition(); + } + + // Defensive coding: just in case king has been mistakenly removed but + // game hasn't ended yet. + if (kingPos[0] != -1) { + return kingPos; + } else { + return null; + } + } + + + /** + * Helper function: return the whole king piece w.r.t a player. + * @param player + * @return + */ + public ChessPiece getKing(int player) { + ChessPiece king; + + // Loop through board to find king for player. + for (int row = 0; row < SIZE; row++) { + for (int col = 0; col < SIZE; col++) { + ChessPiece tempPiece = this.getPieceAt(row, col); + if (tempPiece != null && tempPiece.getType() == 'k' && tempPiece.getPlayer() == player) { + king = tempPiece; + return king; + } + } + } + return null; + } + + + /** + * Helper function: With respect to current player, get all its + * alive opponent pieces in an array. + * @param player + * @return + */ + public ArrayList<ChessPiece> getOpponentPieces(int player){ + + ArrayList<ChessPiece> opponentPieces = new ArrayList<>(); + + int opponent = 1-player; + + // loop through board to add all valid chess pieces belonged to opponent to an array. + for (int row = 0; row < SIZE; row++) { + for (int col = 0; col < SIZE; col++) { + ChessPiece temp = this.getPieceAt(row, col); + if (temp != null && temp.getPlayer() == opponent) { + opponentPieces.add(temp); + } + } + } + + if (!opponentPieces.isEmpty()) { + return opponentPieces; + } else { + return null; + } + } + + + /** + * Helper function: make sure one won't capture its own piece. Restricting valid movements to empty spaces and opponent capturing. + * @param player + * @param chessPiece + * @return + */ + public ArrayList<int[]> validMoveFilter(int player, ChessPiece chessPiece){ + + ArrayList<int[]> validMoves = new ArrayList<int[]>(); + + // Get moves which are possible for chessPiece i.e satisfies rules + ArrayList<int[]> possibleMoves = chessPiece.getNextPossiblePositions(); + + // Get rid of places occupied by player himself/herself. + for (int i = 0; i < possibleMoves.size(); i++) { + int[] tempPos = possibleMoves.get(i); + ChessPiece piece = getPieceAt(tempPos[0], tempPos[1]); + if (piece != null && piece.getPlayer() != player) { + validMoves.add(tempPos); + } + } + return validMoves; + } + + + /** + * For game to use. + * @return + */ + public int getCurrentTurn() { + return this.turn; + } + + + /** + * Update turn of a game. For game to use. + * @param turn + */ + public void setTurn(int turn) { + this.turn = turn; + } + +} diff --git a/HW1.3/src/model/chessPieces/Bishop.java b/HW1.3/src/model/chessPieces/Bishop.java new file mode 100644 index 0000000000000000000000000000000000000000..56e6bca11f55f2d5210d0dbf687f1b90d887b4ee --- /dev/null +++ b/HW1.3/src/model/chessPieces/Bishop.java @@ -0,0 +1,45 @@ +package model.chessPieces; + +import java.util.*; + +import model.chessBoard.Board; + +import static java.lang.Math.abs; + +public class Bishop extends ChessPiece{ + + public Bishop(int player, int row_position, int col_position) { + super(player, row_position, col_position); + this.type = 'b'; + } + + + /** + * Bishop only moves diagonally. + */ + @Override + public boolean checkRule(int row_position, int col_position) { + return abs(row_position - this.row_position) == abs(col_position - this.col_position); + } + + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + + // Loop through board to find possible places i.e satisfy rule and is in board. + for (int row = 0; row < Board.SIZE; row++) { + for (int col = 0; col < Board.SIZE; col++) { + int[] tempPos = new int[2]; + if (Board.isInBoard(row, col)) { + if (checkRule(row, col)) { + tempPos[0] = row; + tempPos[1] = col; + nextPos.add(tempPos); + } + } + } + } + return nextPos; + } + +} \ No newline at end of file diff --git a/HW1.3/src/model/chessPieces/ChessPiece.java b/HW1.3/src/model/chessPieces/ChessPiece.java new file mode 100644 index 0000000000000000000000000000000000000000..f20e70ee29e3d46f9366eb3da38346aaf2ba3d1e --- /dev/null +++ b/HW1.3/src/model/chessPieces/ChessPiece.java @@ -0,0 +1,84 @@ +/** + * @author Dorothy Yu + * @version 1.00 + */ + +package model.chessPieces; + +import java.util.*; + +public abstract class ChessPiece { + + // Using 0,1 to represent different player + protected int player; + + // Specific chessPiece type. e.g King, Queen ... + protected char type; + + protected int row_position; + protected int col_position; + + // Represent chess piece's current validity + protected boolean captured; + + + public ChessPiece(int player, int row_position, int col_position) { + this.player = player; + this.row_position = row_position; + this.col_position = col_position; + this.captured = false; + } + + /** + * Protected method for other classes to use + * @return + */ + public int getRowPosition(){ + return this.row_position; + } + + + public int getColPosition(){ + return this.col_position; + } + + + public boolean isCaptured(){ + return this.captured; + } + + + public int getPlayer(){ + return this.player; + } + + + public void setRowPosition(int row_position){ + this.row_position = row_position; + } + + + public void setColPosition(int col_position){ + this.col_position = col_position; + } + + + /** + * When this chess piece is captured, delete it from the board. + */ + public void killed(){ + this.captured = true; + this.setRowPosition(-1); + this.setColPosition(-1); + } + + + public char getType() { + return this.type; + } + + + public abstract boolean checkRule(int row_position, int col_position); + public abstract ArrayList<int[]> getNextPossiblePositions(); + +} diff --git a/HW1.3/src/model/chessPieces/CustomHopper.java b/HW1.3/src/model/chessPieces/CustomHopper.java new file mode 100644 index 0000000000000000000000000000000000000000..293c19abc95c52fcc7e5ef5c4fa65ba2c2be5568 --- /dev/null +++ b/HW1.3/src/model/chessPieces/CustomHopper.java @@ -0,0 +1,74 @@ +package model.chessPieces; + +import java.util.*; +import static java.lang.Math.abs; +import model.chessBoard.Board; + +public class CustomHopper extends ChessPiece{ + + public CustomHopper(int player, int row_position, int col_position) { + super(player, row_position, col_position); + this.type = 'h'; + } + + + /** + * Hopper only hops one-step forward in 3 directions (\|/). + * It doesn't care whether the cell that it hops across is empty. + * * Notice: checkRule assumes the given position is validated by isInBoard. + * * But if other positions are used within the method, checkRule will check their in-board condition. + * * Example: CustomNightrider's checkRule method. + */ + @Override + public boolean checkRule(int row_pos, int col_pos) { + int forward_direct = getForwardDirect(); + + if (this.col_position == col_pos && this.row_position+2*forward_direct == row_pos) { + return true; + } else if (this.row_position+2*forward_direct == row_pos && abs(this.col_position - col_pos) == 2) { + return true; + } + return false; + } + + + private int getForwardDirect() { + int forward_direct; + + if (this.player == 0) { + forward_direct = 1; + } else { + forward_direct = -1; + } + return forward_direct; + } + + + /** + * CustomHopper could have at most 3 next possible positions. + */ + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + int[] tempPos = new int[2]; + int forward_direct = this.getForwardDirect(); + + if (Board.isInBoard(this.row_position+2*forward_direct, this.col_position)) { + tempPos[0] = this.row_position+2*forward_direct; + tempPos[1] = this.col_position; + nextPos.add(tempPos); + } + if (Board.isInBoard(this.row_position+2*forward_direct, this.col_position+2)) { + tempPos[0] = this.row_position+2*forward_direct; + tempPos[1] = this.col_position+2; + nextPos.add(tempPos); + } + if (Board.isInBoard(this.row_position+2*forward_direct, this.col_position-2)) { + tempPos[0] = this.row_position+2*forward_direct; + tempPos[1] = this.col_position-2; + nextPos.add(tempPos); + } + + return nextPos; + } +} \ No newline at end of file diff --git a/HW1.3/src/model/chessPieces/CustomNightrider.java b/HW1.3/src/model/chessPieces/CustomNightrider.java new file mode 100644 index 0000000000000000000000000000000000000000..900022a9d337255ec7401a6d8725b48468a28b62 --- /dev/null +++ b/HW1.3/src/model/chessPieces/CustomNightrider.java @@ -0,0 +1,134 @@ + +package model.chessPieces; + +import java.util.*; + +import model.chessBoard.Board; + +public class CustomNightrider extends ChessPiece { + + //Position_queue is specifically for calls within CustomNightrider. + private ArrayList<int[]> position_queue = new ArrayList<int[]>(); + + public CustomNightrider(int player, int row_position, int col_position){ + super(player, row_position, col_position); + this.type = 'n'; + } + + + /** + * Helper function to check whether position given is the same as the chess piece's current position. + * @param row_position + * @param col_position + * @return + */ + private boolean positionIsMatched(int row_position, int col_position) { + return (this.row_position == row_position && this.col_position == col_position); + } + + + /** + * Helper function: first check if the next position is in board, + * then check if it matches chess piece's current position, return true. + * Otherwise, add this position and it's moving direction as a integer array tempPos to position_queue. + * @param next_row_position: tempPos[0] + * @param next_col_position: tempPos[1] + * @param row_direct: tempPos[2], row's moving direction + * @param col_direct: tempPos[3], col's moving direction + * @return + */ + private boolean checkRuleHelper(int next_row_position, int next_col_position, int row_direct, int col_direct) { + if (Board.isInBoard(next_row_position+row_direct, next_col_position+col_direct)) { + if (this.positionIsMatched(next_row_position+row_direct, next_col_position+col_direct)) { + return true; + } else { + int[] tempPos = new int[4]; + tempPos[0] = next_row_position+row_direct; + tempPos[1] = next_col_position+col_direct; + tempPos[2] = row_direct; + tempPos[3] = col_direct; + position_queue.add(tempPos); + } + } + return false; + } + + + /** + * The simple night rider moves any number of steps as a knight in the same direction. + * It does not require vacant in-between cells to complete the movement. + * CheckRule is supposed to be called after in-board checking. + * @return Whether the new position satisfies the rule. + */ + @Override + public boolean checkRule(int row_position, int col_position) { + + //Use this boolean as a flag to avoid code redundancy. + boolean satisfied = false; + + /** + * Starting from new position, search for each direction. + * If found current position matching chess piece's position during searching, then empty the queue and return true + * Else, if this position is in board, push this position to the queue. + * And loop through queue to find other possible positions in the same direction with current one. + * If no matching appears, and queue is empty, then return false. + */ + if (this.checkRuleHelper(row_position, col_position, -1, -2)) { + satisfied = true; + } else if (this.checkRuleHelper(row_position, col_position, -1, 2)) { + satisfied = true; + } else if (this.checkRuleHelper(row_position, col_position, 1, -2)) { + satisfied = true; + } else if (this.checkRuleHelper(row_position, col_position, 1, 2)) { + satisfied = true; + } else if (this.checkRuleHelper(row_position, col_position, -2, 1)) { + satisfied = true; + } else if (this.checkRuleHelper(row_position, col_position, -2, -1)) { + satisfied = true; + } else if (this.checkRuleHelper(row_position, col_position, 2, -1)) { + satisfied = true; + } else if (this.checkRuleHelper(row_position, col_position, 2, 1)) { + satisfied = true; + } + + if (satisfied) { + //clean position_queue and return true + position_queue.clear(); + return true; + } else { + satisfied = false; + while (!position_queue.isEmpty()) { + int[] tempPos = position_queue.remove(0); + if (this.checkRuleHelper(tempPos[0], tempPos[1], tempPos[2], tempPos[3])) { + satisfied = true; + } + } + } + return satisfied; + + } + + + /** + * This function doesn't know about board conditions other than isInBoard. + */ + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + + //Loop through the whole board to find positions that are valid through checkRule. + for (int row=0; row<Board.SIZE; row++) { + for (int col=0; col<Board.SIZE; col++) { + int[] tempPos = new int[2]; + if (Board.isInBoard(row, col) && this.checkRule(row, col)) { + tempPos[0] = row; + tempPos[1] = col; + nextPos.add(tempPos); + } + } + } + + position_queue.clear(); + return nextPos; + } +} \ No newline at end of file diff --git a/HW1.3/src/model/chessPieces/King.java b/HW1.3/src/model/chessPieces/King.java new file mode 100644 index 0000000000000000000000000000000000000000..8f03f6c97415c9f49c508bed2c2f385e62594285 --- /dev/null +++ b/HW1.3/src/model/chessPieces/King.java @@ -0,0 +1,53 @@ + +package model.chessPieces; + +import java.util.*; + +import model.chessBoard.Board; + +import static java.lang.Math.abs; + +public class King extends ChessPiece { + public King(int player, int row_position, int col_position){ + super(player, row_position, col_position); + this.type = 'k'; + } + + + /** + * King moves 1 step to any direction. + */ + @Override + public boolean checkRule(int row_position, int col_position){ + return (abs(row_position - this.row_position) <= 1 && abs(col_position - this.col_position) <= 1); + } + + + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + + // Since king only moves one step, setting boundaries helps avoid large loop. + int row_lower_bound = this.row_position - 1; + int row_higher_bound = this.row_position + 1; + int col_lower_bound = this.col_position - 1; + int col_higher_bound = this.col_position + 1; + + //Loop through boundaries to find possible moves. + for (int row = row_lower_bound; row <= row_higher_bound; row++){ + for (int col = col_lower_bound; col <= col_higher_bound; col++){ + int[] tempPos = new int[2]; + if (Board.isInBoard(row, col)){ + if (checkRule(row, col)){ + tempPos[0] = row; + tempPos[1] = col; + nextPos.add(tempPos); + } + } + } + } + return nextPos; + } + +} diff --git a/HW1.3/src/model/chessPieces/Knight.java b/HW1.3/src/model/chessPieces/Knight.java new file mode 100644 index 0000000000000000000000000000000000000000..6818c943399808d90110cbb034238767d868d18f --- /dev/null +++ b/HW1.3/src/model/chessPieces/Knight.java @@ -0,0 +1,54 @@ +package model.chessPieces; + +import java.util.*; + +import model.chessBoard.Board; + +import static java.lang.Math.abs; + +public class Knight extends ChessPiece{ + public Knight(int player, int row_position, int col_position) { + super(player, row_position, col_position); + this.type = 'n'; + } + + + /** + * Check if new position satisfies a vertical or horizontal 'L'. + */ + @Override + public boolean checkRule(int row_position, int col_position) { + return ( (abs(row_position - this.row_position) == 1 && abs(col_position - this.col_position) == 2) || (abs(row_position - this.row_position)==2 && abs(col_position - this.col_position) == 1)); + } + + + /** + * This function doesn't know about board conditions other than if a position is in board. + */ + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + + // Set boundaries to avoid large loop. + int row_lower_bound = this.row_position - 2; + int row_higher_bound = this.row_position + 2; + int col_lower_bound = this.col_position - 2; + int col_higher_bound = this.col_position + 2; + + // Loop through to find next possible moves. + for (int row = row_lower_bound; row <= row_higher_bound; row++) { + for (int col = col_lower_bound; col <= col_higher_bound; col++) { + int[] tempPos = new int[2]; + if (Board.isInBoard(row, col)) { + if (checkRule(row, col)) { + tempPos[0] = row; + tempPos[1] = col; + nextPos.add(tempPos); + } + } + } + } + return nextPos; + } + +} \ No newline at end of file diff --git a/HW1.3/src/model/chessPieces/Pawn.java b/HW1.3/src/model/chessPieces/Pawn.java new file mode 100644 index 0000000000000000000000000000000000000000..4f3edce18b40a8cd8c4ab9105136900a35959bf4 --- /dev/null +++ b/HW1.3/src/model/chessPieces/Pawn.java @@ -0,0 +1,73 @@ +package model.chessPieces; + +import java.util.*; + +import model.chessBoard.Board; + +import static java.lang.Math.abs; + + +public class Pawn extends ChessPiece{ + + private boolean first_move = true; + + + public Pawn(int player, int row_position, int col_position) { + super(player, row_position, col_position); + this.type = 'p'; + } + + + @Override + public boolean checkRule(int row_position, int col_position) { + + int forward_direction; + + // Top player moves downwards: row index increases; + // Bottom player moves upwards: row index decreases. + if (this.player == 0) { + forward_direction = 1; + } else { + forward_direction = -1; + } + + // Check if input location satisfies rule of moving forward. + if (col_position == this.col_position) { + if (this.first_move) { + this.first_move = false; + if (row_position == (this.row_position + forward_direction) + ||(row_position == (this.row_position + 2*forward_direction))) { + return true; + } + } else { //not first move, can only forward 1 step + if (row_position == (this.row_position + forward_direction)) { + return true; + } + } + } else if (row_position == (this.row_position + forward_direction) + && abs(col_position - this.col_position) == 1) { // Check if input location satisfies rule of moving diagonally. + return true; + } + return false; + } + + + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + + for (int row = 0; row < Board.SIZE; row++) { + for (int col = 0; col < Board.SIZE; col++) { + int[] tempPos = new int[2]; + if (Board.isInBoard(row, col)) { + if (checkRule(row, col)) { + tempPos[0] = row; + tempPos[1] = col; + nextPos.add(tempPos); + } + } + } + } + return nextPos; + } +} \ No newline at end of file diff --git a/HW1.3/src/model/chessPieces/Queen.java b/HW1.3/src/model/chessPieces/Queen.java new file mode 100644 index 0000000000000000000000000000000000000000..6f27a21c5fbc92b92a125145c6e1edbfd7b2bade --- /dev/null +++ b/HW1.3/src/model/chessPieces/Queen.java @@ -0,0 +1,45 @@ +package model.chessPieces; + +import java.util.*; + +import model.chessBoard.Board; + +import static java.lang.Math.abs; + +public class Queen extends ChessPiece { + + public Queen(int player, int row_position, int col_position) { + super(player, row_position, col_position); + this.type = 'q'; + } + + /** + * Queen moves any direction with any steps. + */ + @Override + public boolean checkRule(int row_position, int col_position) { + return (row_position == this.row_position)||(col_position == this.col_position)||(abs(col_position - this.col_position) == abs(row_position - this.row_position)); + } + + + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + + for (int row = 0; row < Board.SIZE; row++) { + for (int col = 0; col < Board.SIZE; col++) { + int[] tempPos = new int[2]; + if (Board.isInBoard(row, col)) { + if (checkRule(row, col)) { + tempPos[0] = row; + tempPos[1] = col; + nextPos.add(tempPos); + } + } + } + } + return nextPos; + } + +} \ No newline at end of file diff --git a/HW1.3/src/model/chessPieces/Rook.java b/HW1.3/src/model/chessPieces/Rook.java new file mode 100644 index 0000000000000000000000000000000000000000..d9cd2b7b9889177dab15c091c8217207bb1ab94f --- /dev/null +++ b/HW1.3/src/model/chessPieces/Rook.java @@ -0,0 +1,54 @@ +package model.chessPieces; + +import java.util.*; + +import model.chessBoard.Board; + +public class Rook extends ChessPiece{ + public Rook (int player, int row_position, int col_position) { + super(player, row_position, col_position); + this.type = 'r'; + } + + + /** + * Rook only moves along file or rank with any steps. + */ + @Override + public boolean checkRule(int row_position, int col_position) { + return (row_position == this.row_position)||(col_position == this.col_position); + } + + + @Override + public ArrayList<int[]> getNextPossiblePositions(){ + ArrayList<int[]> nextPos = new ArrayList<int[]>(); + + // File check to find possible moves + for (int row = 0; row < Board.SIZE; row++) { + int[] tempPos = new int[2]; + if (Board.isInBoard(row, this.col_position)) { + if (row != this.row_position) { + tempPos[0] = row; + tempPos[1] = this.col_position; + nextPos.add(tempPos); + } + } + } + + // Rank check to find possible moves + for (int col = 0; col < Board.SIZE; col++) { + int[] tempPos = new int[2]; + if (Board.isInBoard(this.row_position, col)) { + if (col != this.col_position) { + tempPos[0] = this.row_position; + tempPos[1] = col; + nextPos.add(tempPos); + } + } + } + + return nextPos; + } + +} \ No newline at end of file diff --git a/HW1.3/src/model/chessTests/BoardTest.java b/HW1.3/src/model/chessTests/BoardTest.java new file mode 100644 index 0000000000000000000000000000000000000000..4092b2fa20724a5d5ae51dc241b9e89c3e37ae83 --- /dev/null +++ b/HW1.3/src/model/chessTests/BoardTest.java @@ -0,0 +1,189 @@ +package model.chessTests; + +import static org.junit.Assert.*; + +import model.chessBoard.Board; +import model.chessPieces.ChessPiece; + +import java.util.*; + +import org.junit.Test; + +public class BoardTest { + + @Test + public void turnTest() throws Exception { + Board board = new Board(); + assertEquals(board.getCurrentTurn(), 1); + } + + + @Test + public void captureTest() throws Exception{ + Board board = new Board(); + ChessPiece pawn = board.getPieceAt(1,0); + assertEquals(pawn.getType(), 'p'); + board.killPiece(pawn.getRowPosition(), pawn.getColPosition()); + assertEquals(pawn.isCaptured(), true); + assertEquals(null, board.getPieceAt(1, 0)); + } + + + @Test + public void checkKingTest() throws Exception{ + Board board = new Board(); + int player = 1; + assertEquals(false, board.isInCheck(player)); + } + + + @Test + public void validMovementTest() throws Exception{ + Board board = new Board(); + int player = 1; + ChessPiece king = board.getKing(player); + ArrayList<int[]> validMoves = board.validMoveFilter(player, king); + int[] illegalPlace = new int[2]; + illegalPlace[0] = 6; + illegalPlace[1] = 3; + assertEquals(false, validMoves.contains(illegalPlace)); + } + + + /** + * Check if a board is correctly initiated. + * @throws Exception + */ + @Test + public void initiateBoard() throws Exception{ + Board board = new Board(); + + //player 0's chess pieces + //0 to 7 -> left to right + ChessPiece black_pawn0 = board.getPieceAt(1, 0); + ChessPiece black_pawn1 = board.getPieceAt(1, 1); + ChessPiece black_pawn2 = board.getPieceAt(1, 2); + ChessPiece black_pawn3 = board.getPieceAt(1, 3); + ChessPiece black_pawn4 = board.getPieceAt(1, 4); + ChessPiece black_pawn5 = board.getPieceAt(1, 5); + ChessPiece black_pawn6 = board.getPieceAt(1, 6); + ChessPiece black_pawn7 = board.getPieceAt(1, 7); + + ChessPiece black_rook0 = board.getPieceAt(0, 0); + ChessPiece black_rook1 = board.getPieceAt(0, 7); + + ChessPiece black_knight0 = board.getPieceAt(0, 1); + ChessPiece black_knight1 = board.getPieceAt(0, 6); + + ChessPiece black_bishop0 = board.getPieceAt(0, 2); + ChessPiece black_bishop1 = board.getPieceAt(0, 5); + + ChessPiece black_queen = board.getPieceAt(0, 3); + ChessPiece black_king = board.getPieceAt(0, 4); + + //player 1's chess pieces + ChessPiece white_pawn0 = board.getPieceAt(6, 0); + ChessPiece white_pawn1 = board.getPieceAt(6, 1); + ChessPiece white_pawn2 = board.getPieceAt(6, 2); + ChessPiece white_pawn3 = board.getPieceAt(6, 3); + ChessPiece white_pawn4 = board.getPieceAt(6, 4); + ChessPiece white_pawn5 = board.getPieceAt(6, 5); + ChessPiece white_pawn6 = board.getPieceAt(6, 6); + ChessPiece white_pawn7 = board.getPieceAt(6, 7); + + ChessPiece white_rook0 = board.getPieceAt(7, 0); + ChessPiece white_rook1 = board.getPieceAt(7, 7); + + ChessPiece white_knight0 = board.getPieceAt(7, 1); + ChessPiece white_knight1 = board.getPieceAt(7, 6); + + ChessPiece white_bishop0 = board.getPieceAt(7, 2); + ChessPiece white_bishop1 = board.getPieceAt(7, 5); + + ChessPiece white_queen = board.getPieceAt(7, 3); + ChessPiece white_king = board.getPieceAt(7, 4); + + //test + assertEquals(black_pawn0.getType(), 'p'); + assertEquals(black_pawn1.getType(), 'p'); + assertEquals(black_pawn2.getType(), 'p'); + assertEquals(black_pawn3.getType(), 'p'); + assertEquals(black_pawn4.getType(), 'p'); + assertEquals(black_pawn5.getType(), 'p'); + assertEquals(black_pawn6.getType(), 'p'); + assertEquals(black_pawn7.getType(), 'p'); + + assertEquals(black_rook0.getType(), 'r'); + assertEquals(black_rook1.getType(), 'r'); + + assertEquals(black_bishop0.getType(), 'b'); + assertEquals(black_bishop1.getType(), 'b'); + + assertEquals(black_knight0.getType(), 'n'); + assertEquals(black_knight1.getType(), 'n'); + + assertEquals(black_queen.getType(), 'q'); + assertEquals(black_king.getType(), 'k'); + + assertEquals(white_pawn0.getType(), 'p'); + assertEquals(white_pawn1.getType(), 'p'); + assertEquals(white_pawn2.getType(), 'p'); + assertEquals(white_pawn3.getType(), 'p'); + assertEquals(white_pawn4.getType(), 'p'); + assertEquals(white_pawn5.getType(), 'p'); + assertEquals(white_pawn6.getType(), 'p'); + assertEquals(white_pawn7.getType(), 'p'); + + assertEquals(white_rook0.getType(), 'r'); + assertEquals(white_rook1.getType(), 'r'); + + assertEquals(white_bishop0.getType(), 'b'); + assertEquals(white_bishop1.getType(), 'b'); + + assertEquals(white_knight0.getType(), 'n'); + assertEquals(white_knight1.getType(), 'n'); + + assertEquals(white_queen.getType(), 'q'); + assertEquals(white_king.getType(), 'k'); + } + + + @Test + public void moveToTest() throws Exception{ + Board board = new Board(); + + //Player 0 goes first. + ChessPiece black_pawn4 = board.getPieceAt(1, 3); + + //illegal move + board.moveTo(black_pawn4, 8, 8); + assertNotEquals(board.getPieceAt(1, 3), null); + assertEquals(board.getPieceAt(2, 3), null); + assertEquals(board.getPieceAt(1, 3).getType(), 'p'); + + //Remains the same turn + assertEquals(board.getCurrentTurn(), 1); + + assertEquals(black_pawn4.getPlayer(), 0); + + //Now try legal move for player 0: first move, move one step forward + board.moveTo(black_pawn4, 2, 3); + assertEquals(board.getPieceAt(1, 3), null); + assertNotEquals(board.getPieceAt(2, 3), null); + assertEquals(board.getPieceAt(2, 3).getType(), 'p'); + + //Try legal first move for player 1: first move, move two steps forward + ChessPiece white_pawn0 = board.getPieceAt(6, 0); + assertEquals(board.getCurrentTurn(), 0); + board.moveTo(white_pawn0, 4, 0); + assertEquals(board.getPieceAt(6, 0), null); + assertNotEquals(board.getPieceAt(4, 0), null); + assertEquals(board.getPieceAt(4, 0).getType(), 'p'); + + //Neither player is check-mating + assertEquals(board.checkmateHelper(0), -1); + assertEquals(board.checkmateHelper(1), -1); + assertEquals(board.checkmate(), -1); + } + +} diff --git a/HW1.3/src/model/chessTests/ChessPieceTest.java b/HW1.3/src/model/chessTests/ChessPieceTest.java new file mode 100644 index 0000000000000000000000000000000000000000..5017029ad34b431e4aed494e4d05320f87be6ef9 --- /dev/null +++ b/HW1.3/src/model/chessTests/ChessPieceTest.java @@ -0,0 +1,65 @@ +package model.chessTests; + +import static org.junit.Assert.*; + +import org.junit.Test; + +import model.chessBoard.Board; +import model.chessPieces.Bishop; +import model.chessPieces.Knight; +import model.chessPieces.Pawn; +import model.chessPieces.Queen; + +public class ChessPieceTest { + + @Test + public void pieceContructorTest() throws Exception{ + int player = 1; + int row_position = 2; + int col_position = 6; + Queen queen = new Queen(player, row_position, col_position); + assertEquals(player, queen.getPlayer()); + assertEquals(row_position, queen.getRowPosition()); + assertEquals(col_position, queen.getColPosition()); + assertEquals('q', queen.getType()); + } + + /** + * User intends to move a piece to valid empty space. + * @throws Exception + */ + @Test + public void pieceSetTest() throws Exception{ + Knight knight = new Knight(0, 5, 3); + int new_row_position = 0; + int new_col_position = 7; + knight.setRowPosition(new_row_position); + knight.setColPosition(new_col_position); + assertEquals(new_row_position, knight.getRowPosition()); + assertEquals(new_col_position, knight.getColPosition()); + } + + + @Test + public void pieceRuleTest() throws Exception{ + Pawn pawn = new Pawn(0,6,0); + int new_row_position = 4; + int new_col_position = 3; + boolean valid = pawn.checkRule(new_row_position, new_col_position); + assertEquals(false, valid); + } + + + /** + * User intends to move a piece off board. + * @throws Exception + */ + @Test + public void pieceInBoardTest() throws Exception{ + int row_position = 8; + int col_position = 8; + Bishop bishop = new Bishop(0, row_position, col_position); + assertEquals(false, Board.isInBoard(bishop.getRowPosition(), bishop.getColPosition())); + } + +} diff --git a/HW1.3/src/model/chessTests/CustomerPieceTest.java b/HW1.3/src/model/chessTests/CustomerPieceTest.java new file mode 100644 index 0000000000000000000000000000000000000000..1eb5f8901b525a8ceed21220a16af4ad98b468ec --- /dev/null +++ b/HW1.3/src/model/chessTests/CustomerPieceTest.java @@ -0,0 +1,79 @@ +package model.chessTests; + +import java.util.*; +import static org.junit.Assert.*; +import org.junit.Test; + +import model.chessPieces.ChessPiece; +import model.chessPieces.CustomNightrider; +import model.chessBoard.Board; +import model.chessPieces.CustomHopper; + +public class CustomerPieceTest { + + + /** + * Given a position, check simpleNightrider's rule. + * @throws Exception + */ + @Test + public void simpleNightRuleTest() throws Exception{ + ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; + + testBoard[4][4] = new CustomNightrider(0, 4, 4); + + assertEquals(true, testBoard[4][4].checkRule(2, 3)); + assertEquals(true, testBoard[4][4].checkRule(3, 2)); + assertEquals(true, testBoard[4][4].checkRule(2, 5)); + assertEquals(true, testBoard[4][4].checkRule(3, 6)); + assertEquals(true, testBoard[4][4].checkRule(5, 6)); + assertEquals(true, testBoard[4][4].checkRule(6, 5)); + assertEquals(true, testBoard[4][4].checkRule(6, 3)); + assertEquals(true, testBoard[4][4].checkRule(5, 2)); + + assertEquals(false, testBoard[4][4].checkRule(1, 0)); + assertEquals(false, testBoard[4][4].checkRule(7, 5)); + } + + + /** + * Check if all valid simpleNightrier's next positions collected are correct. + * @throws Exception + */ + @Test + public void simpleNightPosTest() throws Exception{ + ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; + + testBoard[4][4] = new CustomNightrider(0, 4, 4); + + ArrayList<int[]> possiblePos = testBoard[4][4].getNextPossiblePositions(); + for (int i=0; i<possiblePos.size(); i++) { + int[] tempPos = possiblePos.get(i); + System.out.println("The "+(i+1)+"th possible position is: "+tempPos[0]+" ,"+tempPos[1]); + } + + assertEquals(12, possiblePos.size()); + } + + + @Test + public void simpleHopperRuleTest() throws Exception{ + ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; + testBoard[6][4] = new CustomHopper(1, 6, 4); + assertEquals(true, testBoard[6][4].checkRule(4, 2)); + assertEquals(true, testBoard[6][4].checkRule(4, 4)); + assertEquals(true, testBoard[6][4].checkRule(4, 6)); + assertEquals(false, testBoard[6][4].checkRule(0, 0)); + assertEquals(false, testBoard[6][4].checkRule(7, 2)); + } + + + @Test + public void simpleHopperPosTest() throws Exception{ + ChessPiece[][] testBoard = new ChessPiece[Board.SIZE][Board.SIZE]; + testBoard[6][4] = new CustomHopper(1, 6, 4); + ArrayList<int[]> nextPos = testBoard[6][4].getNextPossiblePositions(); + assertEquals(3, nextPos.size()); + } + +} diff --git a/HW1.3/src/view/.DS_Store b/HW1.3/src/view/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c79d3118b5c567c93681b0db4c53eecd322f7790 Binary files /dev/null and b/HW1.3/src/view/.DS_Store differ diff --git a/HW1.3/src/view/graphGUI/GUI.java b/HW1.3/src/view/graphGUI/GUI.java new file mode 100644 index 0000000000000000000000000000000000000000..031a068cb47ded5c96f8ab6e180ff28c2abaac16 --- /dev/null +++ b/HW1.3/src/view/graphGUI/GUI.java @@ -0,0 +1,387 @@ +package view.graphGUI; + +import javax.imageio.ImageIO; +import javax.swing.*; +import javax.swing.SwingUtilities; + +import controller.Game; +import model.chessBoard.Board; +import model.chessPieces.ChessPiece; + +import java.awt.*; +import java.awt.event.MouseEvent; +import java.awt.event.MouseListener; +import java.awt.event.ActionListener; +import java.awt.event.ActionEvent; +import java.awt.image.BufferedImage; +import java.io.File; +import java.io.IOException; +import java.util.*; + +public class GUI { + + private JFrame gameFrame; + private BoardPanel boardPanel; + + private static Dimension WINDOW_DIMENSION = new Dimension(800, 600); + private static Dimension BOARD_DIMENSION = new Dimension(600, 600); + private static Dimension USER_BOARD_DIMENSION = new Dimension(200, 600); + private static Dimension TILE_DIMENSION = new Dimension(10, 10); + private String BASE_PATH = "/Users/Dorothy/Documents/CS242FA18/HW1.3/src/chessImages/"; + + private Color light_tile_color = Color.decode("#FDEBD0"); + private Color dark_tile_color = Color.decode("#CC9966"); + + private ChessPiece sourceTile; + + public Board board; + public static ArrayList<ChessPiece> historyW; //White player history + public static ArrayList<ChessPiece> historyB; //Black player history + public static boolean endTurn; + + + /** + * This is the canvas for a chess board. + */ + public GUI(){ + + this.board = new Board(); + endTurn = false; + + this.gameFrame = new JFrame("Chess Board"); + JMenuBar tableMenuBar = new JMenuBar(); + this.populateMenuBar(tableMenuBar); + this.gameFrame.setJMenuBar(tableMenuBar); + this.gameFrame.setSize(WINDOW_DIMENSION); + this.gameFrame.setLayout(new BorderLayout()); + + this.boardPanel = new BoardPanel(board); + this.gameFrame.add(this.boardPanel, BorderLayout.WEST); + + + this.gameFrame.setVisible(true); + + } + + + private void populateMenuBar(JMenuBar tableMenuBar) { + tableMenuBar.add(createGameMenu()); + tableMenuBar.add(createOperationMenu()); + tableMenuBar.add(createScoreMenu()); + } + + + private JMenu createGameMenu(){ + JMenu gameMenu = new JMenu("Game"); + + JMenuItem start = new JMenuItem("Start/Restart"); + start.addActionListener(new ActionListener() { + @Override + public void actionPerformed(final ActionEvent e) { + int option = JOptionPane.showConfirmDialog(null, + "Are you sure to start/restart the game?"); + if (option == JOptionPane.YES_OPTION) { + new GUI(); + } + } + }); + gameMenu.add(start); + + JMenuItem forfeit = new JMenuItem("Forfeit"); + forfeit.addActionListener(new ActionListener() { + @Override + public void actionPerformed(final ActionEvent e) { + int option = JOptionPane.showConfirmDialog(null, + "Do you want to stop the game?"); + if (option == JOptionPane.YES_OPTION){ + JOptionPane.showMessageDialog(null, "OK. Here is your score: " + + Game.wScore + + "You can start a new game by clicking 'menu -> start/restart'."); + } + + } + }); + gameMenu.add(forfeit); + + JMenuItem quit = new JMenuItem("Quit Game"); + quit.addActionListener(new ActionListener() { + @Override + public void actionPerformed(final ActionEvent e) { + int option = JOptionPane.showConfirmDialog(null, + "Do you want to exit?"); + if (option == JOptionPane.YES_OPTION){ + System.exit(0); + } + } + }); + gameMenu.add(quit); + + return gameMenu; + } + + + private JMenu createOperationMenu(){ + JMenu operationMenu = new JMenu("Options"); + + JMenuItem undo = new JMenuItem("Undo"); + undo.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + + } + }); + operationMenu.add(undo); + + + //PlaceHolder + JMenuItem redo = new JMenuItem("Redo"); + operationMenu.add(redo); + + return operationMenu; + } + + + private JMenu createScoreMenu(){ + JMenu scoreMenu = new JMenu("Score History"); + + JMenuItem display = new JMenuItem("Display score history"); + display.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + JOptionPane.showMessageDialog(null, + "Score History: B " + Game.bScore + "; W: "+ Game.wScore); + } + }); + scoreMenu.add(display); + + return scoreMenu; + } + + + /** + * This is called in Game after getting player names + * @param opponentName + * @param playerName + */ + public void addPlayerLabel(String opponentName, String playerName){ + + JPanel userBoard = new JPanel(); + userBoard.setPreferredSize(USER_BOARD_DIMENSION); + + JLabel opponent = new JLabel(opponentName); + JLabel player = new JLabel(playerName); + + //By default, player is shown bold in the panel + Font f = player.getFont(); + player.setFont(f.deriveFont(f.getStyle() | Font.BOLD)); + + userBoard.add(opponent); + userBoard.add(player); + + this.gameFrame.add(userBoard); + this.gameFrame.setVisible(true); + } + + + /** + * Board Panel contains default 64 Tile Panels. + * @author Dorothy + * + */ + private class BoardPanel extends JPanel{ + + //Default serial versionUID + private static final long serialVersionUID = 1L; + private ArrayList<TilePanel> boardTiles; + private Board board; + + BoardPanel(Board board){ + super(new GridLayout(Board.SIZE, Board.SIZE)); + this.boardTiles = new ArrayList<>(); + this.board = board; + + for (int rowId = 0; rowId < Board.SIZE; rowId ++) { + for (int colId = 0; colId < Board.SIZE; colId ++) { + TilePanel tilePanel = new TilePanel(this.board, rowId, colId); + this.boardTiles.add(tilePanel); + this.add(tilePanel); + } + } + + this.setPreferredSize(BOARD_DIMENSION); + this.validate(); + } + + public void drawBoard(Board board){ + removeAll(); + for (TilePanel tilePanel: boardTiles){ + tilePanel.drawTile(board); + this.add(tilePanel); + } + validate(); + repaint(); + } + } + + + /** + * Used by board panel, will change when game starts. + * @author Dorothy + * + */ + private class TilePanel extends JPanel{ + + //Default serial versionUID + private static final long serialVersionUID = 1L; + private int rowId; + private int colId; + + + TilePanel(Board board, int rowId, int colId){ + super(new GridBagLayout()); + + this.rowId = rowId; + this.colId = colId; + + this.setPreferredSize(TILE_DIMENSION); + //Add tile color + this.assignTileColor(); + //Add chess pieces as JLabels + this.assignTileIcon(board); + + this.addMouseListener(new MouseListener() { + @Override + public void mouseClicked(MouseEvent e) { + if (SwingUtilities.isRightMouseButton(e)){ //Right click to un-select a chess piece + sourceTile = null; + } else if (SwingUtilities.isLeftMouseButton(e)){ //Left click to select a chess piece + if (sourceTile == null){ + sourceTile = board.getPieceAt(rowId, colId); + } else { + + /** + * Line 283-288: intends to push a piece + * into history stack for undo/redo. + */ + int player = sourceTile.getPlayer(); +// if (player == 0){ // add to black chess history +// historyB.add(sourceTile); +// } else { // add to white chess +// historyW.add(sourceTile); +// } + + int moveIsSuccessful = board.moveTo(sourceTile, rowId, colId); + if (moveIsSuccessful == -1){ + endTurn = false; + + /** + * If move fails, gameState won't change + * Remove intended pushing history + */ +// if (player == 0){ +// historyB.remove(historyB.size()-1); +// } else { +// historyW.remove(historyW.size()-1); +// } + + JOptionPane.showMessageDialog(null, + "Please choose a legal move using your color piece!"); + } else if (moveIsSuccessful == 1){ + endTurn = true; + if (board.getKing(1-player) == null){ + JOptionPane.showMessageDialog(null, "You win!"); + } + } else { + endTurn = true; + } + sourceTile = null; + } + } + + //Update GUI painting + SwingUtilities.invokeLater(new Runnable() { + @Override + public void run() { + boardPanel.drawBoard(board); + } + }); + } + + @Override + public void mousePressed(MouseEvent e) { + + } + + @Override + public void mouseReleased(MouseEvent e) { + + } + + @Override + public void mouseEntered(MouseEvent e) { + + } + + @Override + public void mouseExited(MouseEvent e) { + + } + }); + + this.validate(); + } + + + private void drawTile(Board board){ + assignTileColor(); + assignTileIcon(board); + validate(); + repaint(); + } + + + /** + * According to a standard chess board, color of each tile alternates conseutively. + */ + private void assignTileColor() { + if (this.rowId % 2 == 0) { + if (this.colId % 2 == 0) { + this.setBackground(light_tile_color); + } else { + this.setBackground(dark_tile_color); + } + } else { + if (this.colId % 2 == 0) { + this.setBackground(dark_tile_color); + } else { + this.setBackground(light_tile_color); + } + } + } + + + /** + * Initialize chess piece on the board display. + */ + private void assignTileIcon(Board board) { + + this.removeAll(); + ChessPiece piece = board.getPieceAt(this.rowId, this.colId); + int player; + char type; + + if(piece != null) { + player = piece.getPlayer(); + type = piece.getType(); + try{ + final BufferedImage image = ImageIO.read(new File(BASE_PATH + + player + type + ".png")); + add(new JLabel(new ImageIcon(image))); + } catch(final IOException e) { + e.printStackTrace(); + } + } + } + } + +} \ No newline at end of file