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

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

?? cstateproperties.h

?? 強化學習算法(R-Learning)難得的珍貴資料
?? H
字號:
// Copyright (C) 2003
// Gerhard Neumann (gerhard@igi.tu-graz.ac.at)

//                
// This file is part of RL Toolbox.
// http://www.igi.tugraz.at/ril_toolbox
//
// All rights reserved.
// 
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
//    notice, this list of conditions and the following disclaimer.
// 2. Redistributions in binary form must reproduce the above copyright
//    notice, this list of conditions and the following disclaimer in the
//    documentation and/or other materials provided with the distribution.
// 3. The name of the author may not be used to endorse or promote products
//    derived from this software without specific prior written permission.
// 
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#ifndef C_MODELPROPERTIES_H
#define C_MODELPROPERTIES_H
#include "ril_debug.h"

#define FEATURESTATE 1
#define DISCRETESTATE 2
#define STATEDERIVATIONX 4
#define FEATURESTATEDERIVATIONX 5

/// Class defining the Properties of a State
/** The class contains all the Properties a single State can have. Each CState (actually even each CStateObject) has a pointer to his state properties.
The class contains the number of discrete and continuous states-variables, the discrete state size for each discrete state variable and the minimum and maximum 
values for the continuous states.
<p>
The member type describes the type of the state. There are three different types by now:
<ul>
	<li> 0 : "Normal" Modelstate: Can have an arbitrary number of discrete and continuous states, can't be used for the most qFunctions. </li>
	<li> DISCRETESTATE: Can only have one discrete state. These states are usually calculated by a CAbstractStateDiscretizer, not by the model.</li>
	<li> FEATURESTATE: Has to have the same number of discrete and continuous states. The i th continuous state coresponds to the i th discrete state, the discrete states determine
		the feature index and the continuous states the factor of that feature. All discrete state sizes have to be the same, all factors have to sum up to one, their minimum value is 0.0 and their max value is 1.0.</li>
</ul>
<p>
The state properties object are also very important for the CStateCollection class. Here the state properties object pointer
serves as Id to retrieve the state with the specific properties from the statecollection.
@see CStateObject
@see CState
@see CStateCollection
*/
class CStateProperties
{
protected:
/// number of continuous states
	unsigned int continuousStates;
/// number of discrete states
	unsigned int discreteStates;

/// type of the State
	int type;

/// an array containing the discrete state sizes
	unsigned int *discreteStateSize;

/// an array containing the minimum values of the continuous states
	rlt_real *minValues;
/// an array containing the maximum values of the continuous states
	rlt_real *maxValues;

	bool *isPeriodic;

	bool bInit;

	CStateProperties();

	virtual void initProperties(unsigned int continuousStates, unsigned int discreteStates,int type = 0);
public:

/// Creates a properties object with continuousStates continuous states and discreteStates discrete states.
/** The discrete state sizes, minimum and maximum values cant't be given to the constructor, these values have to be set
explicitly.*/ 
	CStateProperties(unsigned int continuousStates, unsigned int discreteStates,int type = 0);
/// Creates a properties object with the same properties as the given properties object.
	CStateProperties(CStateProperties *properties);
	virtual ~CStateProperties();

	int getType();
	bool isType(int type);

	/// adds a specific type to the type field bitmap
	/**
	So The parameter should be a power of 2, because al bits in the "Type" parameter gets set with an OR mask
	to the internal type.
	*/
	void addType(int Type);

/// Sets the discrete state size of the dim th state
	void setDiscreteStateSize(unsigned int dim, unsigned int size);
/// Returns the discrete state size of the dim th state
	virtual unsigned int getDiscreteStateSize(unsigned int dim);

/// Returns the number of continuous state variables
	unsigned int getNumContinuousStates();
/// Returns the number of discrete state variables
	unsigned int getNumDiscreteStates();

/// returns the discrete state size of all discrete states together (i.e the product of all sizes)
	virtual unsigned int getDiscreteStateSize();

/// sets the min-value of the dim-th continuous state
	void setMinValue(unsigned int dim, rlt_real value);
/// returns the min-value of the dim-th continuous state
	rlt_real getMinValue(unsigned int dim);

/// sets the max-value of the dim-th continuous state
	void setMaxValue(unsigned int dim, rlt_real value);
/// returns the max-value of the dim-th continuous state
	rlt_real getMaxValue(unsigned int dim);

	void setPeriodicity(unsigned int index, bool isPeriodic);
	bool getPeriodicity(unsigned int index);

	rlt_real getMirroredStateValue(unsigned int index, rlt_real value);
//	rlt_real getSingleStateDifference(int index, rlt_real difference);

/// Compares two properties in all their attributes, even discrete state sizes min and max values.
	bool equals(CStateProperties *object);
};

/// Base class for all classes which have to manage with states.
/** The class just saves a state properties object pointer which can be used to retrieve a state from
a state collection.*/
class CStateObject
{
protected:
// The properties of the wanted statea
	CStateProperties *properties;
public:
	CStateObject(CStateProperties *properties);
	
	CStateProperties *getStateProperties();

/// Compares the two properties of the objects.
	bool equalsModelProperties(CStateObject *object);

/// Just returns the number of continuous states from the properties object.
	unsigned int getNumContinuousStates();
/// Just returns the number of discrete states from the properties object.
	unsigned int getNumDiscreteStates();
};


#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性猛交xxxxxx富婆| 欧美丰满一区二区免费视频| 亚洲国产日韩在线一区模特| 精品电影一区二区| 色婷婷香蕉在线一区二区| 国内精品国产成人国产三级粉色| 国产精品久久久久影院老司 | 色中色一区二区| 国产自产高清不卡| 石原莉奈一区二区三区在线观看 | 一区二区三区四区不卡在线 | 在线综合视频播放| 欧美日韩你懂得| 成人免费看视频| 免费的国产精品| 亚洲成人中文在线| 亚洲欧美另类久久久精品 | 91精品国产入口| 色屁屁一区二区| 成人美女视频在线观看18| 青青草成人在线观看| 一区二区三区色| 国产精品电影一区二区| 国产欧美一区二区精品仙草咪| 欧美一区二区精品| 欧美日韩成人一区| 欧美日韩一区二区三区视频| 色婷婷综合久久久中文一区二区 | av电影天堂一区二区在线观看| 免费观看一级欧美片| 香蕉久久夜色精品国产使用方法 | 天天免费综合色| 一区二区欧美国产| 伊人婷婷欧美激情| 一区二区在线观看不卡| |精品福利一区二区三区| 中文字幕乱码一区二区免费| 久久久影院官网| 国产午夜亚洲精品羞羞网站| 久久在线免费观看| 久久久精品国产99久久精品芒果| 精品国产免费人成在线观看| 精品美女一区二区三区| 日韩精品一区二区三区老鸭窝| 91精品国产综合久久久蜜臀粉嫩 | 亚洲午夜羞羞片| 亚洲国产一区二区三区| 亚洲国产精品久久不卡毛片 | 337p日本欧洲亚洲大胆色噜噜| 欧美一级黄色片| 精品日本一线二线三线不卡| 久久一夜天堂av一区二区三区 | 欧美国产日韩a欧美在线观看| 久久亚洲春色中文字幕久久久| 精品国产伦一区二区三区观看体验 | 免费一区二区视频| 国产在线视频精品一区| 成人午夜电影久久影院| 91在线观看下载| 日本高清无吗v一区| 欧美日韩久久不卡| 欧美一卡二卡三卡| 久久久亚洲国产美女国产盗摄 | 亚洲综合一区在线| 日本欧美加勒比视频| 国产精品一二一区| 91免费看`日韩一区二区| 欧美亚洲国产一区二区三区va| 欧美一区二区三区四区高清| 久久影音资源网| 亚洲美女淫视频| 日本强好片久久久久久aaa| 国产乱理伦片在线观看夜一区| 欧美色窝79yyyycom| 欧美一区二区三区日韩视频| 国产午夜久久久久| 亚洲综合一区二区三区| 国产在线国偷精品产拍免费yy| 成人91在线观看| 欧美久久久久久久久久| 久久久久久久久蜜桃| 亚洲综合免费观看高清完整版| 免费在线看成人av| 99riav一区二区三区| 日韩欧美国产综合在线一区二区三区 | 国产一区二区三区久久久| k8久久久一区二区三区| 欧美一区二区三区喷汁尤物| 欧美经典一区二区| 香蕉av福利精品导航| 懂色av中文一区二区三区| 欧美日韩一区久久| 国产精品你懂的在线欣赏| 日韩国产精品久久久久久亚洲| 国产九色精品成人porny| 在线免费一区三区| 久久久久久一二三区| 午夜电影网一区| yourporn久久国产精品| 精品日韩欧美在线| 亚洲大型综合色站| 99精品国产91久久久久久 | 在线电影欧美成精品| 中文字幕制服丝袜一区二区三区| 日本特黄久久久高潮| 欧美性高清videossexo| 国产欧美日韩另类一区| 另类专区欧美蜜桃臀第一页| 在线看日韩精品电影| 欧美经典三级视频一区二区三区| 日本vs亚洲vs韩国一区三区| 色丁香久综合在线久综合在线观看| 久久综合色综合88| 日韩av一区二区三区| 欧美日韩三级在线| 一区二区三区久久| 97久久超碰精品国产| 欧美国产激情一区二区三区蜜月 | 激情综合色丁香一区二区| 欧美日韩夫妻久久| 亚洲高清免费视频| 欧美在线短视频| 亚洲伦理在线精品| 色婷婷综合久久久中文一区二区| 国产精品久久久爽爽爽麻豆色哟哟| 国产一区二区成人久久免费影院| 日韩午夜激情av| 蜜桃一区二区三区在线| 欧美精品三级在线观看| 亚洲成人免费在线| 欧美日韩色一区| 日韩国产精品大片| 日韩视频一区二区| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美日韩国产一二三| 亚洲国产精品自拍| 欧美性做爰猛烈叫床潮| 亚洲国产视频网站| 欧美美女黄视频| 男女性色大片免费观看一区二区| 制服.丝袜.亚洲.中文.综合| 日本成人在线看| 日韩欧美国产综合| 国产伦精品一区二区三区免费| 久久亚洲捆绑美女| 成人免费视频网站在线观看| 国产精品灌醉下药二区| 色综合天天综合网国产成人综合天| 亚洲欧美综合网| 91久久久免费一区二区| 天天色天天爱天天射综合| 欧美一级黄色录像| 国产98色在线|日韩| 亚洲丝袜精品丝袜在线| 91黄色免费看| 奇米色777欧美一区二区| 欧美成va人片在线观看| 国产夫妻精品视频| 亚洲综合无码一区二区| 日韩三级视频在线观看| 成人一区二区三区在线观看| 亚洲精品自拍动漫在线| 欧美丰满嫩嫩电影| 国产剧情一区二区三区| 亚洲激情网站免费观看| 欧美一区二区成人| 成人午夜电影小说| 性感美女极品91精品| 2021久久国产精品不只是精品| 成人avav影音| 日韩高清在线观看| 国产精品欧美综合在线| 欧美老女人在线| 国产99久久久国产精品潘金网站| 亚洲精品欧美激情| 欧美一级日韩免费不卡| www.日韩在线| 青青草国产成人av片免费| 中文字幕日本不卡| 宅男在线国产精品| 99国产麻豆精品| 青青草成人在线观看| 亚洲日本青草视频在线怡红院| 日韩欧美高清在线| 91网站最新网址| 国产一区二区三区综合| 亚洲一区二区三区四区的| 精品国产1区2区3区| 欧美在线观看视频一区二区三区| 国产一区二区免费在线| 亚洲妇熟xx妇色黄| 国产欧美日韩不卡免费| 日韩欧美国产综合一区| 91久久精品网| 福利电影一区二区| 美女视频黄久久| 亚洲一区二区三区自拍| 欧美国产一区在线| 精品国产91乱码一区二区三区| 色婷婷久久久综合中文字幕|