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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 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) ) {

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
天堂蜜桃一区二区三区| 精东粉嫩av免费一区二区三区| 国产日韩欧美a| 欧美日韩一区二区三区高清| 不卡高清视频专区| 成人免费视频视频在线观看免费 | 奇米精品一区二区三区在线观看 | 国产精品一品二品| 黑人巨大精品欧美一区| 日产国产高清一区二区三区 | 久久精品亚洲麻豆av一区二区| 99久久精品费精品国产一区二区| 国产资源在线一区| 久久av资源网| 麻豆精品在线视频| 久久精品二区亚洲w码| 青椒成人免费视频| 青草国产精品久久久久久| 水野朝阳av一区二区三区| 亚洲欧美色图小说| 国产精品久久久久久久久果冻传媒 | 99精品国产一区二区三区不卡| 国产成人在线视频免费播放| 国产成人精品综合在线观看| 国产成人免费在线| 成人黄色电影在线| 91亚洲精品久久久蜜桃网站| 91啦中文在线观看| 亚洲人一二三区| 国产亚洲欧美在线| 久久精品在这里| 中文字幕免费在线观看视频一区| 国产精品全国免费观看高清| 日韩一区欧美一区| 亚洲精选一二三| 中文字幕的久久| 亚洲欧美激情视频在线观看一区二区三区| 亚洲天堂网中文字| 一区二区三区免费观看| 午夜视频久久久久久| 日产国产欧美视频一区精品| 国产一区二区看久久| 成人精品免费看| 91视频精品在这里| 欧美唯美清纯偷拍| 91精品国产入口| 精品黑人一区二区三区久久| 日本一区二区三区电影| 中文字幕综合网| 舔着乳尖日韩一区| 国内成人自拍视频| 国产九色sp调教91| 成人白浆超碰人人人人| 在线视频综合导航| 精品国产伦一区二区三区观看体验| 国产精品无码永久免费888| 亚洲黄网站在线观看| 理论片日本一区| 成人污视频在线观看| 欧美日韩一二三| www亚洲一区| 亚洲在线视频一区| 国产精品一区二区久久不卡| 91片黄在线观看| 91精品婷婷国产综合久久性色| 精品嫩草影院久久| 日韩欧美亚洲一区二区| 久久精品一二三| 亚洲伊人色欲综合网| 国产精品一区二区三区网站| 成人av影视在线观看| 日韩三级.com| 亚洲精品国产无天堂网2021| 久久电影网电视剧免费观看| 91久久精品网| 国产日韩影视精品| 日韩高清不卡一区二区三区| 成人免费毛片嘿嘿连载视频| 成人精品国产福利| 欧美电影一区二区| 亚洲理论在线观看| 国产精品系列在线播放| 欧美人伦禁忌dvd放荡欲情| 国产精品毛片久久久久久| 日韩影院在线观看| 91小视频在线免费看| 久久欧美一区二区| 国产精品麻豆一区二区| 亚洲一二三专区| 韩国成人在线视频| 在线中文字幕一区二区| 国产欧美一区二区精品婷婷| 丝袜脚交一区二区| 91黄视频在线| 国产精品国产三级国产a | 国产精品 日产精品 欧美精品| 一本到一区二区三区| 欧美激情一区二区在线| 久久国产尿小便嘘嘘| 在线观看视频一区二区| 欧美激情一二三区| 国产一区999| 日韩欧美区一区二| 青娱乐精品在线视频| 精品1区2区3区| 亚洲精品亚洲人成人网| 99精品国产91久久久久久 | 亚洲色图视频网| gogo大胆日本视频一区| 国产欧美日韩卡一| 国产不卡免费视频| 91精品午夜视频| 欧美一区二视频| 成人动漫视频在线| 久久亚洲综合av| 精品一区二区三区香蕉蜜桃| 5858s免费视频成人| 日韩综合小视频| 欧美一区二区三区思思人| 日本免费新一区视频| 日韩三级在线观看| 亚洲国产成人av网| 91麻豆精品视频| 亚洲欧美色综合| 91传媒视频在线播放| 亚洲国产日韩精品| 欧美精品视频www在线观看| 天天免费综合色| 91精品在线麻豆| 美国欧美日韩国产在线播放| 日韩精品资源二区在线| 精品一区二区在线视频| 日韩精品中文字幕一区二区三区| 美日韩一区二区三区| 日韩欧美的一区二区| 麻豆精品国产91久久久久久| 欧美精品一区二区三区很污很色的| 视频一区二区欧美| 日韩欧美一区二区久久婷婷| 紧缚奴在线一区二区三区| 久久美女艺术照精彩视频福利播放| 国产成人av电影在线| 中文字幕在线观看不卡视频| 亚洲精品日韩专区silk| 色94色欧美sute亚洲线路一ni| 亚洲地区一二三色| 91尤物视频在线观看| 亚洲最大成人网4388xx| 欧美一激情一区二区三区| 青青草原综合久久大伊人精品| 2023国产精品视频| 91亚洲精品一区二区乱码| 亚洲午夜成aⅴ人片| 日韩久久免费av| 国产福利一区二区三区| 天天免费综合色| 久久色.com| 91蜜桃在线免费视频| 日日夜夜免费精品视频| 久久精品人人做人人爽97| 99在线精品观看| 首页综合国产亚洲丝袜| 国产人成亚洲第一网站在线播放| 色狠狠一区二区三区香蕉| 久久精品国产精品亚洲精品 | 中文字幕欧美激情一区| 欧美色图天堂网| 国产精品主播直播| 亚洲一区二区三区在线看| 欧美xxxxx裸体时装秀| 91麻豆精东视频| 久久狠狠亚洲综合| 国产精品天干天干在线综合| 午夜激情综合网| av激情成人网| 日韩一区精品视频| 日本一区二区免费在线观看视频| 91亚洲精品乱码久久久久久蜜桃| 国产黄色精品网站| 天堂久久一区二区三区| 国产精品国模大尺度视频| 欧美日韩免费视频| av电影在线观看一区| 国产一区二区三区在线观看免费| 亚洲已满18点击进入久久| 国产亚洲精品7777| 欧美一区二区三区播放老司机| 99久久国产综合精品色伊| 久久电影国产免费久久电影 | 国模套图日韩精品一区二区| 亚洲一区二区三区中文字幕在线| 国产精品无圣光一区二区| 日韩视频国产视频| 欧美日韩国产乱码电影| 懂色av一区二区夜夜嗨| 成人午夜私人影院| 国产美女在线观看一区| 免费欧美高清视频| 亚洲成年人影院| 亚洲激情图片小说视频|