I hereby claim:
- I am medhiwidjaja on github.
- I am medhiw (https://keybase.io/medhiw) on keybase.
- I have a public key ASALTNQoqFGLbV2uw_nKcjTQdAcV1Hgs8V2SbZ5RQguWZQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
* jQuery UI Slider Range extension 0.5 | |
* Author: Medhi Widjaja | |
* Extended to include new range option "zero-based" | |
* Licensed under the terms of the MIT and GPL-2.0 license | |
* http://www.opensource.org/licenses/mit-license.php | |
* http://www.opensource.org/licenses/GPL-2.0 | |
* | |
*/ |
# Copyright (c) 2012 Medhi Widjaja | |
## This is an extension of Mongoid::Tree module in mongoid-tree gem | |
module Mongoid | |
module TreeExt | |
## | |
# Returns an Array containing all leaves of this document. It's cheaper than leaves method. | |
# Caution: Can't be chained, since it returns Array instead of Mongoid Criteria object |
# Copyright (c) 2012 Medhi Widjaja | |
module AnalysisMethods | |
module Ahp | |
module PairwiseComparable | |
class PairwiseComparison | |
include Mongoid::Document | |
field :id1, type: Moped::BSON::ObjectId | |
field :id2, type: Moped::BSON::ObjectId |
# Copyright (c) 2012 Medhi Widjaja | |
require 'matrix' | |
# require 'analysis_methods/pairwise_comparison.rb' | |
# require 'analysis_methods/pairwise_rank_comparison.rb' | |
# Ahp Module contains the classes for modeling and calculating decision hierarchy using the AHP | |
# (Analytic Hierarchy Process) method. | |
# For background theory, see http://en.wikipedia.org/wiki/Analytic_hierarchy_process | |
# |
# Copyright (c) 2012 Medhi Widjaja | |
# Magiq Module contains the classes for modeling and calculating rank scores using MAGIQ method | |
# | |
# For background theory of Multi-Attribute Global Inference of Quality (MAGIQ), see the article by | |
# Dr. James McCaffrey | |
# http://msdn.microsoft.com/en-us/magazine/cc300812.aspx | |
# | |
# MAGIQ method uses Rank Order Centroid to determine rank scores, this module implements 3 more | |
# methods to calculate to rank scores: Rank Sum, Rank Reciprocal, and Rank Exponential |
# Copyright (c) 2012 Medhi Widjaja | |
module AnalysisMethods | |
module Magiq | |
module RankComparable | |
class OrdinalComparison | |
include Mongoid::Document | |
field :id1, type: Moped::BSON::ObjectId | |
field :title, type: String |