src/loader/DictionaryLoader.js
function (callback) {
            loadArrayBuffer(path.join(dic_path, "cc.dat.gz"), function (err, buffer) {
                if(err) {
                    return callback(err);
                }
                var cc_buffer = new Int16Array(buffer);
                dic.loadConnectionCosts(cc_buffer);
                callback(null);
            });
        }
function (callback) {
            loadArrayBuffer(path.join(dic_path, "cc.dat.gz"), function (err, buffer) {
                if(err) {
                    return callback(err);
                }
                var cc_buffer = new Int16Array(buffer);
                dic.loadConnectionCosts(cc_buffer);
                callback(null);
            });
        }
function ( callback ) { loadArrayBuffer ( path . join ( dic_path , "cc.dat.gz" ) , function ( err , buffer ) { if ( err ) { return callback ( err ) ; } var cc_buffer = new Int16Array ( buffer ) ; dic . loadConnectionCosts ( cc_buffer ) ; callback ( null ) ; } ) ; }
Connection cost matrix
Connection cost matrix