Skip to content

Commit

Permalink
Edited documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfleischman105 committed Dec 28, 2017
1 parent d0f57f9 commit dd34534
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 16 deletions.
8 changes: 1 addition & 7 deletions pleco/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pleco"
# REMINDER TO CHANGE IN README
version = "0.3.0"
authors = ["Stephen Fleischman <stephenf@cs.washington.edu>"]
description = "A blazingly-fast chess engine and Chess AI."
description = "A blazingly-fast chess library."
homepage = "https://github.com/sfleischman105/Pleco"
documentation = "https://docs.rs/pleco/"
readme = "README.md"
Expand Down Expand Up @@ -85,9 +85,3 @@ failure_derive = "0.1.1"
[features]
default = []
dev = ["clippy"]


#
#[[bench]]
#path = "benches/bench.rs"
#name = "integration_benches"
4 changes: 2 additions & 2 deletions pleco_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ pleco = { path = "../pleco", version = "0.3.0" }
clippy = {version = "0.0.177", optional = true}
lazy_static = "1.0.0"
chrono = "0.4.0"
rand = "0.3"
rand = "0.4.1"
rayon = "0.9.0"
num_cpus = "1.0"
num_cpus = "1.7.0"


[features]
Expand Down
4 changes: 3 additions & 1 deletion pleco_engine/src/pleco_searcher/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
//! The main searching structure.

pub mod misc;
pub mod options;
pub mod threads;
pub mod thread_search;
pub mod search;
pub mod root_moves;
pub mod sync;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ use std::ptr::Unique;
use std::sync::Arc;
use std::sync::atomic::{Ordering,AtomicUsize,fence,compiler_fence};
use std::ops::{Deref, DerefMut,Index,IndexMut};
use std::mem;
use std::thread;

use std::iter::{Iterator,IntoIterator};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! The main searching function.

use super::threads::Thread;
use super::misc::Limits;



//use test::{self,Bencher};

use std::cmp::{min,max};
Expand Down
5 changes: 3 additions & 2 deletions pleco_engine/src/pleco_searcher/threads.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
//! Contains the ThreadPool and the individual Threads.

use std::sync::{Arc,RwLock};
use std::sync::atomic::{AtomicBool,Ordering};
use std::thread::{JoinHandle,self};
use std::sync::mpsc::{channel,Receiver,Sender};


use std::{mem,time};

use pleco::board::*;
use pleco::core::piece_move::BitMove;
use pleco::tools::tt::*;


use super::thread_search::ThreadSearcher;
use super::search::ThreadSearcher;
use super::misc::*;
use super::{TT_TABLE,THREAD_STACK_SIZE};
use super::root_moves::RootMove;
Expand Down

0 comments on commit dd34534

Please sign in to comment.