- 授权协议: 未知
- 开发语言: Ruby
- 操作系统: 跨平台
- 软件首页: http://searchlogic.rubyforge.org/
软件介绍
SearchLogic 是基于 Ruby ActiveRecord 的搜索、分页、排序等操作的类库。
安装方法:sudo gem install searchlogic
一个简单的搜索示例代码:
User.all(
:conditions => {
:first_name_contains => "Ben", # first_name like '%Ben%'
:email_ends_with => "binarylogic.com", # email like '%binarylogic.com'
:created_after => Time.now, # created_at > Time.now
:hour_of_created_at => 5 # HOUR(created_at) > 5 (depends on DB type)
},
:per_page => 20, # limit 20
:page => 3, # offset 40, which starts us on page 3
:order_as => "ASC",
:order_by => {:user_group => :name} # order user_groups.name ASC
)
Introduction to Linear Optimization
Dimitris Bertsimas、John N. Tsitsiklis / Athena Scientific / 1997-02-01 / USD 89.00
"The true merit of this book, however, lies in its pedagogical qualities which are so impressive..." "Throughout the book, the authors make serious efforts to give geometric and intuitive explanations......一起来看看 《Introduction to Linear Optimization》 这本书的介绍吧!
