亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bilinear2d.java

?? 一個多機器人的仿真平臺
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * Bilinear2D.Java */package EDU.gatech.cc.is.learning;import java.io.*;import java.lang.Math;/** * Transform points from a two-dimensional space to another two * dimensional space. * <P> * <B>Introduction</B><BR> * The Bilinear2D is a vectorial function that transforms points from a * two-dimensional space to another two-dimensional space. The transformation * is specified using a grid at the domain space and associating the points at * the target space that correspond to each node of the grid.  * <P> * <B>Computation</B><BR> * The evaluation of query points is performed using a bilinear interpolation * of the target points associated with the four neighboring points  * to the query point. * <P> * The domain space is specified by a rectangle and a grid of points. * The rectangle is defined using four numbers: <code>min_x_limit</code>, * <code>max_x_limit</code>, <code>min_y_limit</code>, and * <code>max_y_limit</code>. * The grid of points is defined using the number of points along the x and * y axes: <code>npoints_x</code> and <code>npoints_y</code>, and a * bidimensional array of 2D doubles (i.e., the points in the range space). * <P> * <B>File format</B><BR> * A text file can be used to define a Bilinear2D function. The format is as * follows: <BR> * <PRE> * min_x_limit:   [value] * max_x_limit:   [value] * min_y_limit:   [value] * max_y_limit:   [value] * npoints_x:     [r] * npoints_y:     [s] * [x_00],[y_00]  [x_01],[y_01] ... [x_0r],[y_0r] * [x_10],[y_10]  [x_11],[y_11] ... [x_1r],[y_1r] *       .              .                 . *       .              .                 . *       .              .                 . * [x_s0],[y_s0]  [x_s1],[y_s1] ... [x_sr],[y_sr] * </PRE> * * Example:<BR> * <PRE> * min_x_limit:   0 * max_x_limit:   50 * min_y_limit:   0 * max_y_limit:   50 * npoints_x:     5 * npoints_y:     5 * 10,20  7.5,20    5,20  2.5,20   0,20 * 10,15  7.5,15    5,15  2.5,15   0,15 * 10,10  7.5,10    5,10  2.5,10   0,10 * 10, 5  7.5, 5    5, 5  2.5, 5   0, 5 * 10, 0  7.5, 0    5, 0  2.5, 0   0, 0 * </PRE> * * <P> * Copyright (c)1997 Georgia Tech Research Corporation * * @author Juan Carlos Santamaria (carlos@cc.gatech.edu) * @see FunctionApproximator * @version $Revision: 1.1 $ */public class Bilinear2D extends FunctionApproximator	implements Cloneable, Serializable{    //    //  information for X variable    //         /**     * Maximum value for the x variable in the domain space.     */    public final double   max_x_limit;        /**     * Minimum value for the x variable in the domain space.     */    public final double   min_x_limit;    /**     * Range of the x variable in the domain space: (max_limit - min_limit).     */    public final double   range_x;    /**     * Number of grid points in the x axis.     */    public final int      npoints_x;        /**     * Resolution of the x axis: (max_limit - min_limit) / (npoints - 1)     */    public final double   resolution_x;    //    // information for Y variable    //        /**     * Maximum value for the y variable in the domain space.     */    public final double   max_y_limit;        /**     * Minimum value for the y variable in the domain space.     */    public final double   min_y_limit;        /**     * Range of the y variable in the domain space: (max_limit - min_limit).     */    public final double   range_y;        /**     * Number of grid points in the y axis.     */    public final int      npoints_y;    /**     * Resolution of the y axis: (max_limit - min_limit) / (npoints - 1)     */    public final double   resolution_y;    //    // table    //        /**     * Grid of points.     */    protected double[]    table[][];    /**     * Create an instance of a Bilinear function approximator that maps     * points from a two-dimensional space (x,y) to another two-dimensional     * space (u,v).     *     * @ param     min_x_limit   the minimum value for the x axis.     * @ param     max_x_limit   the maximum value for the x axis.     * @ param     min_y_limit   the minimum value for the y axis.     * @ param     max_y_limit   the maximum value for the y axis.     * @ param     npoints_x     the width of the grid of points.     * @ param     npoints_y     the height of the grid of points.     * @ param     table         the grid of (u,v) points.     */    public Bilinear2D( double min_x_limit, double max_x_limit, int npoints_x,                       double min_y_limit, double max_y_limit, int npoints_y,                       double[] table[][] ) {                // state this is a 2D to 2D function approximator        super(2,2);        // copy grid definition        double[] tmp[][] = new double[npoints_x][npoints_y][2];        	for( int i=0 ; i<npoints_x ; i++ )	    for( int j=0 ; j<npoints_y ; j++ ) {                tmp[i][j][0] = table[i][j][0];                tmp[i][j][1] = table[i][j][1];	    }        // store the definition of variable x            this.min_x_limit  = min_x_limit;        this.max_x_limit  = max_x_limit;        this.range_x      = max_x_limit - min_x_limit;        this.npoints_x    = npoints_x;        this.resolution_x = range_x/(npoints_x-1);        // store the definition of variable y            this.min_y_limit  = min_y_limit;        this.max_y_limit  = max_y_limit;        this.range_y      = max_y_limit - min_y_limit;        this.npoints_y    = npoints_y;        this.resolution_y = range_y/(npoints_y-1);        // store the grid                this.table        = tmp;    }    /**     * Loads the definition of a Bilinear2D function approximator from a file.     *     * @param      filename   the file name.     * @return     an instance of the Bilinear2D defined by the file.     * @exception  IOException                    if an I/O error occurs.     * @exception  FunctionApproximatorException  if a parse error occurs.     * @see        FunctionApproximator     */    public Bilinear2D( String filename )           throws FunctionApproximatorException, IOException {        // state this is a 2D to 2D function approximator        super(2,2);        // local variables                double min_x_limit, max_x_limit, min_y_limit, max_y_limit;        int    npoints_x, npoints_y;        // read definition from file                FileReader      file = new FileReader(filename);        StreamTokenizer in   = new StreamTokenizer(file);        in.wordChars('A','_');  // include '_' as a word character                min_x_limit = 0;        // default initialization        max_x_limit = 1;        min_y_limit = 0;        max_y_limit = 1;        npoints_x   = 2;        npoints_y   = 2;                int    flags = 0x3F;    // read six fields                while ( flags!=0 ) {            if ( in.nextToken() == StreamTokenizer.TT_WORD ) {                if ( in.sval.equals("min_x_limit") ) {                    if ( (in.nextToken()==':') &&                         (in.nextToken()==StreamTokenizer.TT_NUMBER) ) {                        min_x_limit = in.nval;                        flags &= ~0x01;                    }                    else {                        throw new FunctionApproximatorException(                                      "Bilinear2D: " +                                      "bad file format at " +                                      "field min_x_limit in " +                                      filename );                    }                }                else if ( in.sval.equals("max_x_limit") ) {                    if ( (in.nextToken()==':') &&                         (in.nextToken()==StreamTokenizer.TT_NUMBER) ) {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码久久久久久免费| 色综合色综合色综合色综合色综合| 欧美经典一区二区三区| 欧美日韩国产一区二区三区地区| 国产福利一区二区三区视频在线| 亚洲伊人色欲综合网| 国产欧美日韩三区| 日韩精品一区二区三区在线观看| 色婷婷久久久综合中文字幕| 99精品久久久久久| 91网站在线播放| 91视频免费观看| 91影院在线观看| 91色视频在线| 色婷婷香蕉在线一区二区| 99精品一区二区| 色av成人天堂桃色av| 在线精品亚洲一区二区不卡| 色婷婷一区二区| 欧美无砖砖区免费| 欧美日韩一区二区三区不卡| 欧美欧美午夜aⅴ在线观看| 精品视频1区2区3区| 56国语精品自产拍在线观看| 日韩亚洲欧美成人一区| 欧美精品一二三四| 日韩亚洲国产中文字幕欧美| 精品国产乱码久久久久久蜜臀 | 一区二区三区在线免费视频| 亚洲高清免费视频| 污片在线观看一区二区| 国内外精品视频| 91丝袜呻吟高潮美腿白嫩在线观看| av在线播放一区二区三区| 色婷婷国产精品综合在线观看| 欧美日韩久久一区二区| 久久这里只有精品6| 亚洲视频资源在线| 日韩影院免费视频| 成人一道本在线| 欧美日韩一区三区四区| 久久日一线二线三线suv| 亚洲丝袜美腿综合| 国产一区视频网站| 欧美久久久久久久久中文字幕| 久久久综合视频| 蜜乳av一区二区三区| 色综合天天狠狠| 国产精品久久久久桃色tv| 午夜免费欧美电影| 99精品久久99久久久久| 欧美精品一区二区三区四区| 亚洲精品伦理在线| 国产99一区视频免费| 91精品国产色综合久久不卡电影| 自拍偷拍欧美精品| 成人国产精品视频| 欧美激情资源网| 国产乱码精品一区二区三区av | 亚洲一区在线视频| 国产一区二区免费在线| 日韩欧美123| 老司机一区二区| 精品少妇一区二区三区| 日韩精品欧美精品| 777欧美精品| 免费观看在线综合色| 7777精品伊人久久久大香线蕉 | 亚洲女爱视频在线| a4yy欧美一区二区三区| 国产精品美女久久久久av爽李琼| 国产大陆a不卡| 亚洲色图欧洲色图| 91老师国产黑色丝袜在线| 亚洲欧洲精品一区二区精品久久久| 国产电影一区二区三区| 中文字幕巨乱亚洲| 色系网站成人免费| 一区二区三区波多野结衣在线观看| 欧美午夜精品理论片a级按摩| 婷婷综合五月天| 中文字幕一区二区三区四区不卡| 国产三级精品三级在线专区| 日韩欧美国产麻豆| 欧美二区在线观看| 自拍av一区二区三区| 久久成人免费日本黄色| 国产在线播放一区三区四| 欧美精品在线观看播放| 99久久婷婷国产| 成+人+亚洲+综合天堂| 国产一区二区中文字幕| 午夜精品在线视频一区| 亚洲国产成人av好男人在线观看| 中文字幕亚洲精品在线观看| 久久久久久久国产精品影院| 久久伊99综合婷婷久久伊| 日韩一区二区三区四区五区六区| 欧美精品一卡两卡| 日韩欧美123| 欧美一级二级三级乱码| 丁香啪啪综合成人亚洲小说| 亚洲无线码一区二区三区| 久久久久久黄色| 欧美电影一区二区| 色乱码一区二区三区88| 精品伊人久久久久7777人| 亚洲精品福利视频网站| 国产欧美日韩综合| 精品成人一区二区| 欧美丰满少妇xxxbbb| 色婷婷一区二区三区四区| 国产精品亚洲一区二区三区在线| 亚洲成a人片在线不卡一二三区| 欧美国产日本韩| 久久蜜桃av一区精品变态类天堂| 欧美老女人第四色| 欧美人与性动xxxx| 欧美性生活大片视频| 色综合久久久久综合| www.亚洲精品| 91麻豆福利精品推荐| www.亚洲人| 在线观看一区二区精品视频| 91视视频在线观看入口直接观看www | 欧美国产日本韩| 国产亚洲婷婷免费| 久久精品人人做人人爽97| 久久精品免视看| 国产精品视频在线看| 国产三级精品三级在线专区| 欧美午夜一区二区三区免费大片| 色欧美日韩亚洲| 色老头久久综合| 欧美一区二区三区四区在线观看| 欧美午夜电影在线播放| 在线一区二区观看| 精品国产乱码久久久久久闺蜜| 欧美精品一区二区三区蜜臀| 2021中文字幕一区亚洲| 亚洲欧洲另类国产综合| 亚洲成人综合视频| 久久精品国产澳门| 国产成+人+日韩+欧美+亚洲| 成人黄色免费短视频| 色综合久久久久网| 日韩一区二区视频在线观看| 国产日韩欧美电影| 一区二区三区在线播| 免费高清在线视频一区·| 成人手机在线视频| 色综合久久久久综合体| 日韩精品在线网站| 亚洲六月丁香色婷婷综合久久 | 日韩精品亚洲一区| 国产一区二区三区| 欧美精品在线一区二区三区| 国产欧美一区二区精品久导航 | 同产精品九九九| 99精品在线免费| 欧美—级在线免费片| 久久精品久久精品| 欧美日韩一本到| 中文字幕一区二区三区色视频 | 精品成人一区二区| 亚洲色图另类专区| 成人午夜视频网站| 中文字幕精品一区二区三区精品| 亚洲综合在线视频| 欧美影院一区二区三区| 国产精品美女久久久久久久久| 国内成人免费视频| 日韩午夜在线影院| 久久成人av少妇免费| 精品国产乱码久久久久久牛牛| 亚洲精品日产精品乱码不卡| 成人黄色小视频在线观看| 亚洲国产精品传媒在线观看| 国精产品一区一区三区mba视频| 这里只有精品电影| 裸体歌舞表演一区二区| 日韩美女一区二区三区| 天堂一区二区在线免费观看| 色美美综合视频| 日韩影院精彩在线| 亚洲精品一区二区三区四区高清 | 99精品国产91久久久久久| 亚洲欧洲三级电影| 51精品视频一区二区三区| 久久丁香综合五月国产三级网站| 色又黄又爽网站www久久| 制服视频三区第一页精品| 亚洲日本青草视频在线怡红院| 色婷婷综合久久久久中文| 久久国内精品自在自线400部| 亚洲男同性视频| 久久综合久久综合九色| 欧美日韩激情在线| 色综合久久99| 91丨九色丨尤物|