Code coverage report for lib/MMDP.js

Statements: 100% (7 / 7)      Branches: 100% (0 / 0)      Functions: 100% (2 / 2)      Lines: 100% (7 / 7)      Ignored: none     

All files » lib/ » MMDP.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29                        1 1   1   1       1     6       1
/**
 * MMDP function with Fitness function signature
 * 
 * @license GPL v3
 * @package nodeo
 * @author J. J. Merelo <jjmerelo@gmail.com>
 */
 
// To avoid uncomprehensible radix complaint at charAt
/*jshint -W065 */
/*jshint smarttabs:true */
 
var functions = require('./functions');
var mmdp = exports;
 
function MMDP() {
    // Methods
    this.apply = apply;
}
 
// Applies trap function to chromosome using defaults
function apply( chromosome ){
//    console.log( "apply " + chromosome);
//    console.log( this);
    return functions.MMDP(chromosome);
    
}
 
mmdp.MMDP = MMDP;