blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2 values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905 values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22 values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141 values | src_encoding stringclasses 34 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 3 10.4M | extension stringclasses 115 values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ebbbbcb0cb78f601dd057dbc84e64c0e2807b488 | 73a6c8d1496b956f4969578881fe10f326d2f94f | /game/CLoginKey.hpp | 106aff3395360f74ee08a3173cc278ccaa6fb4a0 | [
"BSD-3-Clause"
] | permissive | miguelmig/LibM2 | c371dff511bf4a6fde76612f672033fb1620ed4c | dad7591a885a421842851905dc2bc8bbd648ca20 | refs/heads/master | 2020-12-25T03:51:34.240513 | 2013-12-01T17:04:29 | 2013-12-01T19:09:27 | 12,643,795 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 608 | hpp | /* This file belongs to the LibM2 library (http://github.com/imermcmaps/LibM2)
* Copyright (c) 2013, iMer (www.imer.cc)
* All rights reserved.
* Licensed under the BSD 3-clause license (http://opensource.org/licenses/BSD-3-Clause)
*/
#ifndef __LIBM2_GAME_CLOGINKEY_HPP
#define __LIBM2_GAME_CLOGINKEY_HPP
#include "stdInclude.hpp"
namespace libm2 {
class CLoginKey {
DWORD m_dwKey;
DWORD m_dwExpireTime;
LPDESC m_pkDesc;
public:
CLoginKey(DWORD, LPDESC);
void Expire(void);
operator DWORD(void) const;
};
}
#endif // __LIBM2_GAME_CLOGINKEY_HPP
| [
"imer@imer.cc"
] | imer@imer.cc |
ce18630fdc99dcc7314c2e16fbd29190f246af29 | 341a2ca38494f4cee2bc9c83d5ebe6d2ad186c2a | /widgets_include/slide_group.h | bd876878741558826c72103974e7577992dd8a59 | [
"Apache-2.0"
] | permissive | Devkiss/GuiLite | 79d3aa33ac59bc47285a3e3ec290689c013f8569 | ef1554a1b0c8283a48d4ca33b3ebd4fc07d4bd1c | refs/heads/master | 2020-06-11T07:40:31.463182 | 2019-06-26T05:05:37 | 2019-06-26T05:05:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | h | #ifndef PAGE_GROUP_H
#define PAGE_GROUP_H
#define MAX_PAGES 5
class c_slide_group : public c_wnd {
public:
c_slide_group();
int set_active_slide(int index, bool is_redraw = true);
c_wnd* get_slide(int index){return m_slides[index];}
c_wnd* get_active_slide(){return m_slides[m_active_slide_index];}
int get_active_slide_index(){return m_active_slide_index;}
int add_slide(c_wnd* slide, unsigned short resource_id, short x, short y,
short width, short height, WND_TREE* p_child_tree = NULL,
Z_ORDER_LEVEL max_zorder = Z_ORDER_LEVEL_0);
int add_clone_silde(c_wnd* slide, unsigned short resource_id, short x, short y,
short width, short height, WND_TREE* p_child_tree = NULL,
Z_ORDER_LEVEL max_zorder = Z_ORDER_LEVEL_0);
void disabel_all_slide();
virtual bool on_touch(int x, int y, TOUCH_ACTION action);
virtual bool on_key(KEY_TYPE key);
protected:
virtual c_wnd* clone(){return new c_slide_group();}
c_wnd* m_slides[MAX_PAGES];
int m_active_slide_index;
};
#endif
| [
"idea4good@outlook.com"
] | idea4good@outlook.com |
34da2462685b771ddf454d10ab103f6f0a05c5a4 | d2943b6df2ebcbc780a2079577074d719aa761f5 | /figures/figures/stdafx.cpp | 7aad676191d2c466d27333cabac766411f85a42e | [] | no_license | artempal/lesson | 0f1a2d99f08ffed097102ddd2338f726f6c26a56 | 72e00d72e95d7db23aea2faf1507fbd94b9a4365 | refs/heads/master | 2020-12-24T10:57:35.154808 | 2017-01-19T11:20:07 | 2017-01-19T11:20:07 | 73,222,699 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 571 | cpp | // stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули
// figures.pch будет предкомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
// TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STDAFX.H
// , а не в данном файле
| [
"mail@artempal.ru"
] | mail@artempal.ru |
49c5026c1851ce916a0f87fdb388059270936d09 | 2ae75b4445d1a177ccabcf033af59e3850f46ccf | /c&cpp/qt/learnQt2/10/build-myDrawing3-Desktop_Qt_5_5_0_MinGW_32bit-Debug/debug/moc_widget.cpp | 9980f7269909de795b731d0df39a3cc3956b8e5d | [] | no_license | asdlei99/public-note | b6daf53cc1fa51650457dae4bfa9e82faf16f778 | caaa6a04188656b21e255df34403615b4604c9c8 | refs/heads/master | 2022-01-27T18:59:00.930671 | 2019-06-23T10:03:31 | 2019-06-23T10:03:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../myDrawing3/widget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'widget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_Widget_t {
QByteArrayData data[1];
char stringdata0[7];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_Widget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_Widget_t qt_meta_stringdata_Widget = {
{
QT_MOC_LITERAL(0, 0, 6) // "Widget"
},
"Widget"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_Widget[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void Widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
const QMetaObject Widget::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_Widget.data,
qt_meta_data_Widget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};
const QMetaObject *Widget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *Widget::qt_metacast(const char *_clname)
{
if (!_clname) return Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_Widget.stringdata0))
return static_cast<void*>(const_cast< Widget*>(this));
return QWidget::qt_metacast(_clname);
}
int Widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
return _id;
}
QT_END_MOC_NAMESPACE
| [
"lsj9383@163.com"
] | lsj9383@163.com |
6b0c034ea9792610b31265fa457737e34ffe8854 | 98e13dafe4cf4477ac04e07bfca2babd72bae05e | /0014/src/DrawingApp.cpp | 072ed3c0d52ef2d164700b44cb67ebf09853b443 | [] | no_license | KzKousaka/Drawing | 67b40411896b44446291d6927a18959743864fe2 | a0a17f6505a3f77121e9c46d432a55e96be718ee | refs/heads/master | 2021-03-31T01:17:10.051486 | 2018-03-26T14:22:41 | 2018-03-26T14:22:41 | 124,553,197 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,239 | cpp | #include "cinder/app/App.h"
#include "cinder/app/KeyEvent.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Fbo.h"
#include "Resources.h"
#define SCREEN_WIDTH 1024
#define SCREEN_HEIGHT 1024
#define RENDER_SIZE 8192
using namespace ci;
using namespace ci::app;
using namespace std;
class DrawingApp : public App {
public:
void setup() override;
void mouseDown( MouseEvent event ) override;
void update() override;
void draw() override;
void renderToFbo();
void saveImage();
private:
gl::GlslProgRef _shader;
gl::BatchRef _rect;
CameraOrtho _camera;
gl::FboRef _fbo;
bool _saved = false;
};
void DrawingApp::setup()
{
_fbo = gl::Fbo::create(RENDER_SIZE, RENDER_SIZE);
_camera.setOrtho( -0.5f, 0.5f, 0.5f, -0.5f, -1, 1 );
_shader = gl::GlslProg::create(
gl::GlslProg::Format()
.vertex(loadAsset("main.vert"))
.fragment(loadAsset("main.frag")));
auto rect = geom::Rect().colors( Color( 1, 0, 0 ),
Color( 0, 0, 0 ),
Color( 0, 0, 1 ),
Color( 1, 0, 1 ) );
_rect = gl::Batch::create( rect, _shader );
}
void DrawingApp::mouseDown( MouseEvent event )
{
}
void DrawingApp::update()
{
}
void DrawingApp::renderToFbo() {
gl::ScopedFramebuffer fbScope(_fbo);
gl::clear( Color( 0, 0, 0 ) );
gl::ScopedViewport scpVp( ivec2( 0 ), _fbo->getSize() );
gl::setMatrices(_camera);
_rect->draw();
}
void DrawingApp::draw()
{
renderToFbo();
gl::clear( Color( 0, 0, 0 ) );
gl::setMatrices(_camera);
_fbo->bindTexture();
gl::setMatricesWindow( toPixels( getWindowSize() ) );
gl::draw( _fbo->getColorTexture(), Rectf( 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT ) );
if(!_saved) {
_saved = true;
saveImage();
}
}
void DrawingApp::saveImage() {
writeImage("0014.png", Surface8u(_fbo->getColorTexture()->createSource()));
}
CINDER_APP( DrawingApp, RendererGl(), [&]( App::Settings *settings ) {
settings->setResizable(false);
settings->setWindowSize( SCREEN_WIDTH, SCREEN_HEIGHT );
})
| [
"kazu1107@gmail.com"
] | kazu1107@gmail.com |
dd3afa87339a3f13c648db24a26246093db5ad87 | 388ea1eef7d9b43e1ae8d0216a1b8516f524bbcb | /SoftPdmOut/SoftPdmOut.h | eb81649233e6d3457f38db1aac38505358afb4d0 | [] | no_license | arpfic/Organous_OSC | 07addbab5c30f07ef01fb7f429477dca9420f698 | 8ad22fa1f34600780a40d86acd8e92eb2319ea4a | refs/heads/master | 2022-08-26T05:26:59.958503 | 2022-08-12T15:59:53 | 2022-08-12T15:59:53 | 254,025,281 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | h | /******************************************************************************************************/
/* Pulse Density Modulation driver. */
/* FILE: PDM.h */
/* */
/* Code based on an article and source code released by Ken Wada from Aurium Technologies Inc. */
/* http://www.embedded.com/electronics-blogs/embedded-round-table/4414405/Pulse-density-modulation */
/* */
/******************************************************************************************************/
#ifndef __PDM_BB_H
#define __PDM_BB_H
#include "mbed.h"
/** Class to use software defined Pulse Density Modulation (PDM).
*
* 'pdm' pin can be any digital pin.
*
\code
//Example
//-------
#include "mbed.h"
#include "SoftPdmOut.h"
SoftPdmOut pdm(LED1);
int main()
{
float pdmSet = 0.0f;
float pdmAdd = 0.01f;
// Continuously cycle the output
while(1)
{
pdm = pdmSet;
wait_ms(10);
if(pdmSet >= 1.0f)
pdmAdd = -0.01f;
if(pdmSet <= 0.0f)
pdmAdd = 0.01f;
pdmSet += pdmAdd;
}
}
\endcode
*/
class SoftPdmOut {
public:
/** Create a PDM object connected to a digital pin.
*
* @param pdm : Digital pin.
* @param PulseWidth : Optional - The desired pulse width in microseconds (default = 500us).
* @param Dmax : Optional - This is the total number of states in the DAC output (default = 64).
* @param StartLevel : Optional - The DAC percentage (0.0 to 1.0) to be preprogrammed upon initialization (default = 0).
* @return none
*/
SoftPdmOut(PinName pdm, uint32_t PulseWidth = 500, uint32_t Dmax = 64, float StartLevel = 0);
/** Start the PDM.
* @param none
* @return none
*/
void start(void);
/** Stop the PDM.
* @param idleState (optional, allows the user to define the idle state - default = 0)
* @return none
*/
void stop(bool idleState = 0);
/** Change the pulse width.
* @param level : The desired pulse width in microseconds.
* @return none
*/
void PulseWidth(uint32_t level);
/** Read the pulse width.
* @param none.
* @return current PulseWidth value
*/
uint32_t getPulseWidth(void);
/** Change the total number of states in the DAC output (DMAX).
* @param level : The desired max. level.
* @return none.
*/
void Dmax(uint32_t level);
/** Read the total number of states in the DAC output (DMAX).
* @param none.
* @return current DMAX value.
*/
uint32_t getDmax(void);
/** Set the PDM level, specified as a percentage (float).
* @param level
* @return none
*/
void write(float level);
/** Return the current PDM level as a percentage (float).
* @param none
* @return level
*/
float read(void);
/**
* An operator shorthand for read()
*/
operator float();
/**
* An operator shorthand for write()
*/
SoftPdmOut& operator= (float value);
private:
Ticker _pdmTicker;
DigitalOut _pdm;
uint32_t _PulseWidth;
uint32_t _Level;
uint32_t _Dmax;
uint32_t _accumulator;
bool _running;
void pdmTick(void);
};
#endif
| [
"damienleb@protonmail.com"
] | damienleb@protonmail.com |
c9cd50f68b58889422d8a693f3314681f70ee1cc | cb142e98b043e7088f0fe009f5159928877acf1b | /Nano_Basic/Nano_Basic1/BBKzWrok (2).ino | 62d24800ec2e18be76b6fa03059bff8d53089118 | [] | no_license | wetnt/Arduino_public | ef30502b4a30e099a09e2617fd58fd3a9801cf13 | 4cc331e2f43dda0df8f78d9cfe924da130ca5df3 | refs/heads/master | 2021-01-23T09:38:43.302783 | 2019-09-12T00:29:43 | 2019-09-12T00:29:43 | 33,909,041 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | ino | //===================================================================
void Timer_work() {
//-------------------------------------
int timerEvent1 = timerLoop.every(timeChange, getangle); //每timeChange毫秒执行回调函数getangle
int timerEvent2 = timerLoop.every(100, MPU6050_show) ; //每50毫秒执行回调函数printout,串口输出
int timerEvent3 = timerLoop.every(1000, GPS_work) ; //GPS状态输出
int timerEvent4 = timerLoop.every(1000, WorkRunA) ; //状态呼吸灯
//-------------------------------------
}
//===================================================================
void GPS_work() {
GpsValueSet();
GpsStringSet();
GpsLineShow();
}
//===================================================================
bool LightKey = false;
void WorkRunA() {
LightKey = !LightKey;
if(LightKey){
digitalWrite(13, HIGH); lgs.println("HIGH"); //delay(1000);
}else{
digitalWrite(13, LOW); lgs.println("LOW"); //delay(1000);
}
}
//===================================================================
| [
"wetnt@sina.com"
] | wetnt@sina.com |
89517b917238ec017a23e226616ca8e4061a336d | 868e8628acaa0bf276134f9cc3ced379679eab10 | /firstCrude2D/we123/h10_refined/0.175/phi | c66a1adedd1f29b6742390d4f958bd95762f73e6 | [] | no_license | stigmn/droplet | 921af6851f88c0acf8b1cd84f5e2903f1d0cb87a | 1649ceb0a9ce5abb243fb77569211558c2f0dc96 | refs/heads/master | 2020-04-04T20:08:37.912624 | 2015-11-25T11:20:32 | 2015-11-25T11:20:32 | 45,102,907 | 0 | 0 | null | 2015-10-28T09:46:30 | 2015-10-28T09:46:29 | null | UTF-8 | C++ | false | false | 358,362 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class surfaceScalarField;
location "0.175";
object phi;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 3 -1 0 0 0 0];
internalField nonuniform List<scalar>
28560
(
7.81996e-09
-1.87612e-08
1.09412e-08
-1.46331e-08
2.13363e-08
-6.70325e-09
-2.53538e-08
3.00504e-08
-4.69653e-09
-3.54712e-08
3.80051e-08
-2.53398e-09
-3.94773e-08
3.73325e-08
2.14473e-09
-3.39464e-08
2.71487e-08
6.79768e-09
-1.92487e-08
1.07814e-08
8.46732e-09
-1.02145e-09
-7.33767e-09
8.35912e-09
1.54349e-08
-2.10528e-08
5.61789e-09
2.51341e-08
-2.70387e-08
1.9046e-09
2.71374e-08
-2.56338e-08
-1.50361e-09
2.30915e-08
-2.01453e-08
-2.9462e-09
1.68974e-08
-1.38797e-08
-3.01765e-09
1.08879e-08
-8.35651e-09
-2.5314e-09
5.99418e-09
-4.07835e-09
-1.91583e-09
2.35228e-09
-9.70372e-10
-1.38191e-09
-2.36886e-10
1.20646e-09
-9.69575e-10
-2.04063e-09
2.67751e-09
-6.36874e-10
-3.20477e-09
3.58664e-09
-3.81867e-10
-3.87934e-09
4.06683e-09
-1.87481e-10
-4.18108e-09
4.22489e-09
-4.38103e-11
-4.21372e-09
4.15459e-09
5.91336e-11
-4.0496e-09
3.91622e-09
1.33375e-10
-3.74707e-09
3.56251e-09
1.84558e-10
-3.34874e-09
3.13146e-09
2.17277e-10
-2.89152e-09
2.65644e-09
2.35088e-10
-2.40488e-09
2.16437e-09
2.40507e-10
-1.91319e-09
1.67762e-09
2.3557e-10
-1.4364e-09
1.21367e-09
2.22735e-10
-9.87365e-10
7.81082e-10
2.06283e-10
2.8603e-08
-3.66892e-08
8.08618e-09
-2.15248e-08
3.89265e-08
2.13594e-08
-3.87612e-08
-5.16756e-08
6.29649e-08
1.42296e-08
-2.55189e-08
-7.86094e-08
8.67423e-08
8.77251e-09
-1.69054e-08
-9.43937e-08
9.63192e-08
-2.45224e-09
5.26754e-10
-9.56585e-08
8.99618e-08
-1.45341e-08
2.02309e-08
-8.14198e-08
7.08305e-08
-2.04152e-08
3.10045e-08
-5.61989e-08
4.24076e-08
-2.24937e-08
3.62851e-08
-2.59311e-08
1.13497e-08
-1.88816e-08
3.3463e-08
2.67641e-09
-1.44206e-08
-1.05894e-08
2.23336e-08
2.39512e-08
-2.97364e-08
-7.43549e-10
6.5288e-09
3.3028e-08
-3.40159e-08
4.68225e-09
-3.69443e-09
3.36083e-08
-3.22972e-08
6.11878e-09
-7.42983e-09
3.0326e-08
-2.82377e-08
5.68488e-09
-7.77311e-09
2.5871e-08
-2.36306e-08
4.67654e-09
-6.91695e-09
2.12633e-08
-1.90605e-08
3.71537e-09
-5.91813e-09
1.68172e-08
-1.47856e-08
2.89476e-09
-4.92638e-09
1.27709e-08
-1.09895e-08
2.19263e-09
-3.974e-09
9.26311e-09
-7.76836e-09
1.60196e-09
-3.09671e-09
6.34694e-09
-5.13705e-09
1.11427e-09
-2.32416e-09
4.00419e-09
-3.05207e-09
7.24429e-10
-1.67655e-09
2.1729e-09
-1.44617e-09
4.19054e-10
-1.14579e-09
7.8914e-10
-2.59781e-10
1.80787e-10
-7.10146e-10
-2.04985e-10
5.68496e-10
-7.25133e-12
-3.5626e-10
-8.72647e-10
1.09439e-09
-1.45677e-10
-7.6071e-11
-1.26677e-09
1.37866e-09
-2.42072e-10
1.30182e-10
-1.4511e-09
1.48445e-09
-2.99983e-10
2.66631e-10
-1.49014e-09
1.47322e-09
-3.24522e-10
3.41441e-10
-1.43837e-09
1.39454e-09
-3.25215e-10
3.69048e-10
-1.34113e-09
1.28687e-09
-3.09978e-10
3.64241e-10
4.34516e-08
-4.94133e-08
5.96165e-09
-1.70144e-08
3.49774e-08
5.67175e-08
-7.46805e-08
-4.83608e-08
6.02318e-08
3.7278e-08
-4.9149e-08
-7.80245e-08
8.70633e-08
2.57571e-08
-3.47959e-08
-9.65061e-08
1.00423e-07
2.76662e-09
-6.68313e-09
-1.0178e-07
9.86187e-08
-2.42407e-08
2.7402e-08
-9.24957e-08
8.4749e-08
-3.98223e-08
4.7569e-08
-7.3062e-08
6.24245e-08
-4.8298e-08
5.89355e-08
-4.91991e-08
3.73169e-08
-4.6829e-08
5.87111e-08
-2.5629e-08
1.55697e-08
-3.37279e-08
4.37872e-08
-6.17281e-09
-9.1431e-10
-1.37333e-08
2.08205e-08
6.45182e-09
-9.88172e-09
9.35439e-10
2.49445e-09
1.19668e-08
-1.28254e-08
7.28761e-09
-6.42897e-09
1.28319e-08
-1.23297e-08
8.84013e-09
-9.34241e-09
1.13534e-08
-1.02223e-08
8.49033e-09
-9.62143e-09
8.85355e-09
-7.47878e-09
7.69181e-09
-9.06658e-09
6.00833e-09
-4.64403e-09
6.67132e-09
-8.03561e-09
3.28282e-09
-2.08272e-09
5.54322e-09
-6.74332e-09
9.34756e-10
3.46802e-11
4.4209e-09
-5.39034e-09
-9.34538e-10
1.67438e-09
3.38837e-09
-4.12821e-09
-2.34683e-09
2.88048e-09
2.50049e-09
-3.03413e-09
-3.34189e-09
3.69127e-09
1.75518e-09
-2.10456e-09
-3.97571e-09
4.16733e-09
1.13455e-09
-1.32617e-09
-4.29373e-09
4.345e-09
6.15577e-10
-6.6685e-10
-4.33225e-09
4.2595e-09
1.94423e-10
-1.21676e-10
-4.12498e-09
3.94865e-09
-1.2657e-10
3.029e-10
-3.71904e-09
3.46681e-09
-3.4544e-10
5.97666e-10
-3.1734e-09
2.87605e-09
-4.71441e-10
7.68796e-10
-2.55185e-09
2.23947e-09
-5.23308e-10
8.35688e-10
-1.91206e-09
1.60828e-09
-5.21734e-10
8.2551e-10
5.49259e-08
-6.01749e-08
5.24906e-09
-1.53705e-08
3.3336e-08
9.26207e-08
-1.10586e-07
-4.65246e-08
5.8465e-08
6.10678e-08
-7.30082e-08
-7.65678e-08
8.56639e-08
4.38654e-08
-5.29614e-08
-9.53608e-08
9.96327e-08
1.0842e-08
-1.51139e-08
-1.01359e-07
9.85728e-08
-3.02571e-08
3.30437e-08
-9.29071e-08
8.57539e-08
-5.48576e-08
6.20107e-08
-7.46963e-08
6.50439e-08
-6.88591e-08
7.85116e-08
-5.30689e-08
4.26069e-08
-6.96221e-08
8.00841e-08
-3.28417e-08
2.48906e-08
-5.25652e-08
6.05163e-08
-1.74602e-08
1.16508e-08
-2.72758e-08
3.30852e-08
-6.79415e-09
3.5355e-09
-5.97183e-09
9.23048e-09
-1.35977e-09
2.41606e-10
5.34062e-09
-4.22246e-09
6.04251e-11
1.24274e-10
9.60747e-09
-9.79217e-09
-7.13811e-10
1.46262e-09
1.05027e-08
-1.12516e-08
-2.33873e-09
3.18151e-09
1.01293e-08
-1.09721e-08
-4.03594e-09
4.77369e-09
9.03906e-09
-9.77682e-09
-5.45944e-09
6.00921e-09
7.58451e-09
-8.13427e-09
-6.49012e-09
6.84337e-09
6.02091e-09
-6.37416e-09
-7.12346e-09
7.30307e-09
4.55626e-09
-4.73587e-09
-7.41358e-09
7.44823e-09
3.28286e-09
-3.31751e-09
-7.42419e-09
7.34975e-09
2.20971e-09
-2.13527e-09
-7.22324e-09
7.06006e-09
1.31006e-09
-1.14688e-09
-6.84802e-09
6.60968e-09
5.42682e-10
-3.04342e-10
-6.32147e-09
6.01431e-09
-1.01119e-10
4.0828e-10
-5.65695e-09
5.28794e-09
-6.10939e-10
9.79944e-10
-4.87215e-09
4.45612e-09
-9.7034e-10
1.38637e-09
-4.00164e-09
3.56027e-09
-1.1775e-09
1.61886e-09
-3.09199e-09
2.64973e-09
-1.25231e-09
1.69458e-09
-2.19185e-09
1.76929e-09
-1.22534e-09
1.64789e-09
6.52423e-08
-7.01534e-08
4.91108e-09
-1.49264e-08
3.30102e-08
1.28604e-07
-1.46688e-07
-4.624e-08
5.81262e-08
8.49362e-08
-9.68224e-08
-7.64266e-08
8.56657e-08
6.21154e-08
-7.13544e-08
-9.53792e-08
9.98496e-08
1.94785e-08
-2.39488e-08
-1.01668e-07
9.88395e-08
-3.58406e-08
3.86692e-08
-9.32392e-08
8.6068e-08
-6.91537e-08
7.63249e-08
-7.48983e-08
6.52853e-08
-8.8104e-08
9.7717e-08
-5.32133e-08
4.28317e-08
-9.04238e-08
1.00805e-07
-3.34086e-08
2.59805e-08
-6.80665e-08
7.54946e-08
-1.92753e-08
1.41841e-08
-3.84351e-08
4.35263e-08
-9.97139e-09
7.15683e-09
-1.22443e-08
1.50588e-08
-5.33834e-09
4.40737e-09
3.1908e-09
-2.25984e-09
-4.19884e-09
4.39135e-09
9.96984e-09
-1.01623e-08
-4.91784e-09
5.52736e-09
1.19117e-08
-1.25213e-08
-6.19431e-09
6.78342e-09
1.16532e-08
-1.22423e-08
-7.32526e-09
7.75683e-09
1.03217e-08
-1.07532e-08
-8.10925e-09
8.35289e-09
8.49369e-09
-8.73733e-09
-8.51498e-09
8.58842e-09
6.54712e-09
-6.62056e-09
-8.58287e-09
8.50497e-09
4.75432e-09
-4.67643e-09
-8.35914e-09
8.16933e-09
3.21351e-09
-3.0237e-09
-7.92089e-09
7.65032e-09
1.94108e-09
-1.67051e-09
-7.33443e-09
7.01143e-09
8.88521e-10
-5.65522e-10
-6.65399e-09
6.30126e-09
-2.91141e-12
3.55637e-10
-5.91872e-09
5.54766e-09
-7.57434e-10
1.12849e-09
-5.15063e-09
4.76941e-09
-1.36402e-09
1.74523e-09
-4.36501e-09
3.98014e-09
-1.79663e-09
2.1815e-09
-3.5762e-09
3.19599e-09
-2.03975e-09
2.41996e-09
-2.80234e-09
2.43648e-09
-2.10939e-09
2.47525e-09
-2.06229e-09
1.71953e-09
-2.04075e-09
2.38351e-09
7.49074e-08
-7.94926e-08
4.5852e-09
-1.46453e-08
3.28758e-08
1.64843e-07
-1.83073e-07
-4.62671e-08
5.8e-08
1.08642e-07
-1.20375e-07
-7.65963e-08
8.60389e-08
8.06924e-08
-9.0135e-08
-9.57384e-08
1.00475e-07
2.85433e-08
-3.32804e-08
-1.02378e-07
9.94699e-08
-4.15357e-08
4.4444e-08
-9.39174e-08
8.66707e-08
-8.35327e-08
9.07793e-08
-7.529e-08
6.55814e-08
-1.07374e-07
1.17083e-07
-5.31238e-08
4.24843e-08
-1.113e-07
1.21939e-07
-3.29655e-08
2.54263e-08
-8.29459e-08
9.04851e-08
-1.8715e-08
1.37603e-08
-4.85051e-08
5.34598e-08
-9.77826e-09
7.20676e-09
-1.77299e-08
2.03014e-08
-5.64305e-09
4.90312e-09
1.42724e-09
-6.87314e-10
-4.87473e-09
5.15543e-09
1.03899e-08
-1.06706e-08
-5.74174e-09
6.35256e-09
1.31165e-08
-1.37273e-08
-6.98648e-09
7.5218e-09
1.27882e-08
-1.33235e-08
-7.99313e-09
8.34975e-09
1.11244e-08
-1.1481e-08
-8.62431e-09
8.79277e-09
8.92453e-09
-9.09299e-09
-8.883e-09
8.88308e-09
6.64045e-09
-6.64053e-09
-8.7998e-09
8.64797e-09
4.5487e-09
-4.39688e-09
-8.42251e-09
8.15052e-09
2.78076e-09
-2.50877e-09
-7.81735e-09
7.46308e-09
1.34884e-09
-9.94571e-10
-7.06149e-09
6.66116e-09
1.97848e-10
2.02482e-10
-6.22831e-09
5.81518e-09
-7.4263e-10
1.15576e-09
-5.38267e-09
4.98024e-09
-1.5164e-09
1.91884e-09
-4.56886e-09
4.19285e-09
-2.1218e-09
2.49782e-09
-3.81349e-09
3.46914e-09
-2.54172e-09
2.88607e-09
-3.1238e-09
2.81177e-09
-2.7605e-09
3.07253e-09
-2.49907e-09
2.2161e-09
-2.79348e-09
3.07645e-09
-1.93186e-09
1.67449e-09
-2.67738e-09
2.93475e-09
8.38914e-08
-8.80839e-08
4.19251e-09
-1.4313e-08
3.27167e-08
2.01387e-07
-2.19791e-07
-4.63547e-08
5.78621e-08
1.32005e-07
-1.43512e-07
-7.68633e-08
8.65213e-08
9.96858e-08
-1.09344e-07
-9.62125e-08
1.01294e-07
3.81799e-08
-4.32616e-08
-1.03297e-07
1.0029e-07
-4.73993e-08
5.04067e-08
-9.47951e-08
8.74608e-08
-9.80684e-08
1.05403e-07
-7.58347e-08
6.60097e-08
-1.26848e-07
1.36673e-07
-5.30632e-08
4.20726e-08
-1.32746e-07
1.43736e-07
-3.24133e-08
2.46352e-08
-9.81387e-08
1.05917e-07
-1.77218e-08
1.26987e-08
-5.84374e-08
6.34605e-08
-8.75703e-09
6.31281e-09
-2.28018e-08
2.5246e-08
-4.93349e-09
4.37127e-09
3.64769e-11
5.25744e-10
-4.55328e-09
4.9694e-09
1.10131e-08
-1.14292e-08
-5.68871e-09
6.37963e-09
1.43686e-08
-1.50596e-08
-7.07382e-09
7.64206e-09
1.38671e-08
-1.44353e-08
-8.1454e-09
8.5241e-09
1.18413e-08
-1.222e-08
-8.82006e-09
9.01189e-09
9.26703e-09
-9.45885e-09
-9.11592e-09
9.1248e-09
6.63928e-09
-6.64816e-09
-9.04373e-09
8.88519e-09
4.23944e-09
-4.08091e-09
-8.64586e-09
8.35251e-09
2.22346e-09
-1.93012e-09
-7.98948e-09
7.60138e-09
6.19923e-10
-2.31826e-10
-7.16151e-09
6.72294e-09
-6.25493e-10
1.06406e-09
-6.25013e-09
5.80011e-09
-1.59037e-09
2.04039e-09
-5.33348e-09
4.90504e-09
-2.33519e-09
2.76363e-09
-4.47395e-09
4.08636e-09
-2.87801e-09
3.2656e-09
-3.70328e-09
3.36393e-09
-3.2239e-09
3.56326e-09
-3.03138e-09
2.73732e-09
-3.37002e-09
3.66407e-09
-2.44868e-09
2.19169e-09
-3.33972e-09
3.59671e-09
-1.93692e-09
1.70759e-09
-3.17107e-09
3.4004e-09
9.20498e-08
-9.57675e-08
3.71768e-09
-1.38891e-08
3.25202e-08
2.38297e-07
-2.56928e-07
-4.64703e-08
5.76662e-08
1.54876e-07
-1.66072e-07
-7.71872e-08
8.70532e-08
1.19106e-07
-1.28972e-07
-9.67503e-08
1.02258e-07
4.85459e-08
-5.40539e-08
-1.04384e-07
1.01254e-07
-5.34719e-08
5.66013e-08
-9.58287e-08
8.8392e-08
-1.12786e-07
1.20222e-07
-7.6498e-08
6.65364e-08
-1.46562e-07
1.56524e-07
-5.29901e-08
4.15779e-08
-1.54928e-07
1.6634e-07
-3.17966e-08
2.37514e-08
-1.13825e-07
1.2187e-07
-1.65869e-08
1.14449e-08
-6.85396e-08
7.36816e-08
-7.48764e-09
5.13969e-09
-2.76411e-08
2.99891e-08
-3.93249e-09
3.56031e-09
-9.96012e-10
1.36818e-09
-3.98622e-09
4.57157e-09
1.19297e-08
-1.2515e-08
-5.4702e-09
6.2791e-09
1.58068e-08
-1.66157e-08
-7.06692e-09
7.71405e-09
1.50415e-08
-1.56886e-08
-8.27954e-09
8.70842e-09
1.26229e-08
-1.30518e-08
-9.05914e-09
9.29395e-09
9.66855e-09
-9.90336e-09
-9.44252e-09
9.48423e-09
6.67352e-09
-6.71523e-09
-9.43397e-09
9.2943e-09
3.93238e-09
-3.79271e-09
-9.0638e-09
8.77371e-09
1.6377e-09
-1.34761e-09
-8.40489e-09
8.00711e-09
-1.62438e-10
5.60218e-10
-7.55079e-09
7.09297e-09
-1.51332e-09
1.97114e-09
-6.599e-09
6.12836e-09
-2.50168e-09
2.97232e-09
-5.6396e-09
5.18864e-09
-3.20356e-09
3.65452e-09
-4.73451e-09
4.32562e-09
-3.66313e-09
4.07202e-09
-3.92109e-09
3.56199e-09
-3.9105e-09
4.2696e-09
-3.21013e-09
2.89859e-09
-3.96379e-09
4.27534e-09
-2.59218e-09
2.31908e-09
-3.85776e-09
4.13086e-09
-2.04807e-09
1.80435e-09
-3.63307e-09
3.87679e-09
9.92148e-08
-1.0237e-07
3.15483e-09
-1.3362e-08
3.23137e-08
2.75706e-07
-2.94658e-07
-4.66213e-08
5.73944e-08
1.77071e-07
-1.87844e-07
-7.75637e-08
8.76235e-08
1.38938e-07
-1.48998e-07
-9.73426e-08
1.0336e-07
5.9806e-08
-6.58233e-08
-1.05641e-07
1.02365e-07
-5.9801e-08
6.30773e-08
-9.7017e-08
8.94627e-08
-1.27716e-07
1.35271e-07
-7.72947e-08
6.71705e-08
-1.66564e-07
1.76688e-07
-5.28865e-08
4.09805e-08
-1.77991e-07
1.89897e-07
-3.11151e-08
2.27743e-08
-1.30059e-07
1.384e-07
-1.53151e-08
1.00337e-08
-7.8891e-08
8.41723e-08
-6.03858e-09
3.78775e-09
-3.22894e-08
3.45403e-08
-2.76665e-09
2.61456e-09
-1.63589e-09
1.78798e-09
-3.32266e-09
4.10763e-09
1.31969e-08
-1.39819e-08
-5.22246e-09
6.17404e-09
1.74941e-08
-1.84457e-08
-7.07897e-09
7.81279e-09
1.63791e-08
-1.71129e-08
-8.45462e-09
8.94158e-09
1.35127e-08
-1.39996e-08
-9.35026e-09
9.64857e-09
1.01688e-08
-1.04671e-08
-9.85256e-09
9.94285e-09
6.78438e-09
-6.87467e-09
-9.93393e-09
9.8225e-09
3.66744e-09
-3.55601e-09
-9.61257e-09
9.33253e-09
1.06073e-09
-7.80685e-10
-8.96562e-09
8.5632e-09
-9.61063e-10
1.36348e-09
-8.09875e-09
7.62925e-09
-2.43449e-09
2.904e-09
-7.12043e-09
6.63266e-09
-3.45087e-09
3.93864e-09
-6.12283e-09
5.65088e-09
-4.11591e-09
4.58786e-09
-5.17159e-09
4.73616e-09
-4.49344e-09
4.92888e-09
-4.30106e-09
3.911e-09
-4.64314e-09
5.0332e-09
-3.52407e-09
3.1779e-09
-4.60305e-09
4.94922e-09
-2.83417e-09
2.52534e-09
-4.42039e-09
4.72922e-09
-2.21727e-09
1.93884e-09
-4.13635e-09
4.41478e-09
1.05209e-07
-1.07709e-07
2.49975e-09
-1.27219e-08
3.21192e-08
3.13817e-07
-3.33214e-07
-4.68311e-08
5.70505e-08
1.98359e-07
-2.08579e-07
-7.80027e-08
8.82384e-08
1.59148e-07
-1.69384e-07
-9.79982e-08
1.04614e-07
7.21286e-08
-7.87448e-08
-1.07095e-07
1.03645e-07
-6.64371e-08
6.98862e-08
-9.8375e-08
9.06904e-08
-1.42889e-07
1.50574e-07
-7.82635e-08
6.79427e-08
-1.86906e-07
1.97227e-07
-5.27455e-08
4.02733e-08
-2.02078e-07
2.1455e-07
-3.03879e-08
2.17094e-08
-1.46904e-07
1.55582e-07
-1.38908e-08
8.44866e-09
-8.95314e-08
9.49736e-08
-4.38905e-09
2.24448e-09
-3.67394e-08
3.88839e-08
-1.43515e-09
1.5404e-09
-1.81564e-09
1.71039e-09
-2.58426e-09
3.60176e-09
1.48771e-08
-1.58946e-08
-4.97597e-09
6.09082e-09
1.94766e-08
-2.05914e-08
-7.12435e-09
7.946e-09
1.78882e-08
-1.87098e-08
-8.66982e-09
9.22066e-09
1.45211e-08
-1.5072e-08
-9.69962e-09
1.00636e-08
1.07966e-08
-1.11606e-08
-1.03367e-08
1.04844e-08
6.99379e-09
-7.14147e-09
-1.05259e-08
1.04541e-08
3.46341e-09
-3.39162e-09
-1.02664e-08
9.99964e-09
5.06004e-10
-2.39293e-10
-9.63657e-09
9.23117e-09
-1.76653e-09
2.17192e-09
-8.75541e-09
8.27149e-09
-3.37797e-09
3.86189e-09
-7.74397e-09
7.23494e-09
-4.43565e-09
4.94468e-09
-6.70071e-09
6.20185e-09
-5.07242e-09
5.57128e-09
-5.69122e-09
5.22365e-09
-5.38001e-09
5.84758e-09
-4.75174e-09
4.32377e-09
-5.4415e-09
5.86947e-09
-3.89516e-09
3.50722e-09
-5.3155e-09
5.70344e-09
-3.11921e-09
2.7683e-09
-5.05885e-09
5.40976e-09
-2.41605e-09
2.09759e-09
-4.71335e-09
5.0318e-09
1.09845e-07
-1.11594e-07
1.74887e-09
-1.19511e-08
3.19254e-08
3.52882e-07
-3.72856e-07
-4.71184e-08
5.66197e-08
2.18462e-07
-2.27963e-07
-7.84831e-08
8.88729e-08
1.79698e-07
-1.90088e-07
-9.86917e-08
1.06006e-07
8.56962e-08
-9.30101e-08
-1.08732e-07
1.05091e-07
-7.34298e-08
7.70715e-08
-9.98741e-08
9.20594e-08
-1.58324e-07
1.66139e-07
-7.94297e-08
6.88634e-08
-2.07661e-07
2.18228e-07
-5.25326e-08
3.94336e-08
-2.27328e-07
2.40427e-07
-2.96374e-08
2.05617e-08
-1.6445e-07
1.73525e-07
-1.22941e-08
6.6662e-09
-1.00505e-07
1.06133e-07
-2.50604e-09
4.69888e-10
-4.09717e-08
4.30079e-08
5.13079e-11
3.33595e-10
-1.45912e-09
1.07422e-09
-1.773e-09
3.05759e-09
1.70415e-08
-1.83261e-08
-4.73827e-09
6.04463e-09
2.1798e-08
-2.31043e-08
-7.20642e-09
8.13497e-09
1.95861e-08
-2.05146e-08
-8.92813e-09
9.53787e-09
1.5653e-08
-1.62627e-08
-1.00908e-08
1.05345e-08
1.15626e-08
-1.20063e-08
-1.08888e-08
1.11118e-08
7.32944e-09
-7.55238e-09
-1.12166e-08
1.11893e-08
3.34173e-09
-3.31446e-09
-1.10319e-08
1.07774e-08
-2.31574e-11
2.77692e-10
-1.04135e-08
9.99589e-09
-2.58162e-09
2.99926e-09
-9.50296e-09
8.9985e-09
-4.35427e-09
4.85874e-09
-8.44404e-09
7.90703e-09
-5.46664e-09
6.00365e-09
-7.34015e-09
6.80867e-09
-6.0865e-09
6.61798e-09
-6.25994e-09
5.75474e-09
-6.33357e-09
6.83877e-09
-5.24033e-09
4.77033e-09
-6.31797e-09
6.78797e-09
-4.29614e-09
3.86445e-09
-6.11291e-09
6.5446e-09
-3.4296e-09
3.03475e-09
-5.78253e-09
6.17738e-09
-2.63686e-09
2.27532e-09
-5.37109e-09
5.73264e-09
1.12933e-07
-1.13855e-07
9.22511e-10
-1.10284e-08
3.17184e-08
3.93171e-07
-4.13861e-07
-4.74893e-08
5.60936e-08
2.37036e-07
-2.4564e-07
-7.89855e-08
8.95145e-08
2.00549e-07
-2.11078e-07
-9.94138e-08
1.0754e-07
1.00715e-07
-1.08841e-07
-1.1056e-07
1.06728e-07
-8.08112e-08
8.46428e-08
-1.01479e-07
9.3566e-08
-1.74011e-07
1.81924e-07
-8.08627e-08
6.99511e-08
-2.28948e-07
2.3986e-07
-5.22057e-08
3.84445e-08
-2.53856e-07
2.67617e-07
-2.89153e-08
1.93478e-08
-1.82832e-07
1.924e-07
-1.05054e-08
4.65402e-09
-1.11866e-07
1.17717e-07
-3.5109e-10
-1.44497e-09
-4.49336e-08
4.67297e-08
1.69683e-09
-9.68546e-10
-5.21341e-10
-2.06938e-10
-8.77765e-10
2.49402e-09
1.97683e-08
-2.13846e-08
-4.52663e-09
6.04297e-09
2.4511e-08
-2.60273e-08
-7.33554e-09
8.37241e-09
2.14904e-08
-2.25273e-08
-9.2325e-09
9.88935e-09
1.68973e-08
-1.75541e-08
-1.05259e-08
1.10589e-08
1.24956e-08
-1.30286e-08
-1.15067e-08
1.18283e-08
7.81855e-09
-8.14013e-09
-1.2017e-08
1.20438e-08
3.31065e-09
-3.33744e-09
-1.19199e-08
1.16755e-08
-5.26078e-10
7.70432e-10
-1.13046e-08
1.08713e-08
-3.42399e-09
3.85738e-09
-1.03487e-08
9.81241e-09
-5.37795e-09
5.91428e-09
-9.22044e-09
8.64509e-09
-6.5577e-09
7.13305e-09
-8.03722e-09
7.46366e-09
-7.1697e-09
7.74326e-09
-6.87081e-09
6.32181e-09
-7.36499e-09
7.91399e-09
-5.76059e-09
5.24582e-09
-7.2798e-09
7.79458e-09
-4.72356e-09
4.24635e-09
-6.9989e-09
7.47612e-09
-3.76402e-09
3.32379e-09
-6.59504e-09
7.03527e-09
-2.87917e-09
2.47492e-09
-6.11551e-09
6.51977e-09
1.14334e-07
-1.14344e-07
1.04443e-11
-9.92659e-09
3.14881e-08
4.34967e-07
-4.56528e-07
-4.79232e-08
5.54683e-08
2.53736e-07
-2.61282e-07
-7.94862e-08
9.01651e-08
2.21679e-07
-2.32357e-07
-1.00173e-07
1.09248e-07
1.17423e-07
-1.26498e-07
-1.12597e-07
1.08633e-07
-8.85526e-08
9.25169e-08
-1.0311e-07
9.52352e-08
-1.89849e-07
1.97724e-07
-8.27177e-08
7.11973e-08
-2.51025e-07
2.62546e-07
-5.16957e-08
3.72955e-08
-2.81707e-07
2.96108e-07
-2.8334e-08
1.80989e-08
-2.02275e-07
2.1251e-07
-8.50132e-09
2.34851e-09
-1.23709e-07
1.29862e-07
2.03871e-09
-3.62079e-09
-4.84192e-08
5.00013e-08
3.56796e-09
-2.43371e-09
1.13006e-09
-2.26431e-09
5.32725e-11
1.90967e-09
2.31904e-08
-2.51533e-08
-4.36263e-09
6.11479e-09
2.7657e-08
-2.94092e-08
-7.5278e-09
8.68136e-09
2.36179e-08
-2.47715e-08
-9.58667e-09
1.0271e-08
1.82325e-08
-1.89168e-08
-1.10022e-08
1.16337e-08
1.36084e-08
-1.424e-08
-1.21976e-08
1.2643e-08
8.51731e-09
-8.96278e-09
-1.29433e-08
1.30373e-08
3.3932e-09
-3.48722e-09
-1.29494e-08
1.27115e-08
-1.01037e-09
1.24832e-09
-1.23267e-08
1.1863e-08
-4.30351e-09
4.76723e-09
-1.13023e-08
1.07214e-08
-6.4708e-09
7.05166e-09
-1.0081e-08
9.45782e-09
-7.73055e-09
8.35372e-09
-8.79743e-09
8.17395e-09
-8.34048e-09
8.96396e-09
-7.52836e-09
6.92826e-09
-8.48786e-09
9.08796e-09
-6.3142e-09
5.74792e-09
-8.33428e-09
8.90056e-09
-5.17223e-09
4.64559e-09
-7.97739e-09
8.50403e-09
-4.11284e-09
3.62694e-09
-7.49798e-09
7.98388e-09
-3.1371e-09
2.6922e-09
-6.94449e-09
7.38939e-09
1.13902e-07
-1.12959e-07
-9.43202e-10
-8.60439e-09
3.12115e-08
4.78588e-07
-5.01195e-07
-4.84109e-08
5.46993e-08
2.68226e-07
-2.74514e-07
-7.99036e-08
9.07897e-08
2.43128e-07
-2.54014e-07
-1.00953e-07
1.11124e-07
1.36103e-07
-1.46274e-07
-1.1484e-07
1.10849e-07
-9.65061e-08
1.00498e-07
-1.04534e-07
9.71712e-08
-2.05436e-07
2.12799e-07
-8.52163e-08
7.24114e-08
-2.74585e-07
2.8739e-07
-5.08356e-08
3.59709e-08
-3.10777e-07
3.25642e-07
-2.79724e-08
1.68552e-08
-2.23186e-07
2.34303e-07
-6.2473e-09
-3.34753e-10
-1.3623e-07
1.42812e-07
4.76214e-09
-6.08944e-09
-5.14444e-08
5.27717e-08
5.66974e-09
-4.04871e-09
3.63865e-09
-5.25968e-09
1.02714e-09
1.32739e-09
2.73007e-08
-2.96553e-08
-4.27243e-09
6.2791e-09
3.12881e-08
-3.32948e-08
-7.7966e-09
9.07853e-09
2.59841e-08
-2.7266e-08
-9.98679e-09
1.0671e-08
1.96156e-08
-2.02998e-08
-1.15035e-08
1.22507e-08
1.49295e-08
-1.56767e-08
-1.29554e-08
1.35797e-08
9.48882e-09
-1.01132e-08
-1.40317e-08
1.42013e-08
3.61886e-09
-3.78843e-09
-1.41464e-08
1.39065e-08
-1.48514e-09
1.72496e-09
-1.34945e-08
1.29907e-08
-5.25018e-09
5.75392e-09
-1.23747e-08
1.17374e-08
-7.65971e-09
8.29697e-09
-1.10331e-08
1.03518e-08
-9.00519e-09
9.68646e-09
-9.62943e-09
8.94819e-09
-9.61472e-09
1.0296e-08
-8.24278e-09
7.58764e-09
-9.7147e-09
1.03698e-08
-6.91677e-09
6.29813e-09
-9.49318e-09
1.01118e-08
-5.66804e-09
5.08998e-09
-9.05685e-09
9.63492e-09
-4.50402e-09
3.96925e-09
-8.49356e-09
9.02833e-09
-3.42935e-09
2.93853e-09
-7.85592e-09
8.34675e-09
1.11486e-07
-1.09457e-07
-2.02885e-09
-7.00328e-09
3.0865e-08
5.24401e-07
-5.48262e-07
-4.89677e-08
5.3726e-08
2.80079e-07
-2.84838e-07
-8.01297e-08
9.13671e-08
2.6505e-07
-2.76288e-07
-1.0178e-07
1.13171e-07
1.5704e-07
-1.68431e-07
-1.17364e-07
1.13316e-07
-1.04494e-07
1.08542e-07
-1.05557e-07
9.97806e-08
-2.19538e-07
2.25314e-07
-8.84446e-08
7.30875e-08
-3.01288e-07
3.16645e-07
-4.93618e-08
3.45135e-08
-3.40589e-07
3.55437e-07
-2.78878e-08
1.56715e-08
-2.45978e-07
2.58194e-07
-3.72089e-09
-3.14775e-09
-1.49629e-07
1.56498e-07
7.90476e-09
-8.9175e-09
-5.38772e-08
5.48899e-08
8.01526e-09
-5.8476e-09
7.20129e-09
-9.36895e-09
2.10228e-09
8.08114e-10
3.22449e-08
-3.51553e-08
-4.29933e-09
6.56885e-09
3.54495e-08
-3.77191e-08
-8.17108e-09
9.59618e-09
2.8623e-08
-3.00481e-08
-1.04278e-08
1.10685e-08
2.09784e-08
-2.16191e-08
-1.20379e-08
1.29044e-08
1.64804e-08
-1.7347e-08
-1.3768e-08
1.46675e-08
1.08605e-08
-1.176e-08
-1.53317e-08
1.55834e-08
3.99755e-09
-4.24931e-09
-1.55452e-08
1.52867e-08
-1.97093e-09
2.22943e-09
-1.48287e-08
1.42666e-08
-6.28411e-09
6.84617e-09
-1.35767e-08
1.28654e-08
-8.96914e-09
9.68041e-09
-1.2084e-08
1.13275e-08
-1.04045e-08
1.1161e-08
-1.05301e-08
9.78142e-09
-1.10097e-08
1.17584e-08
-9.00873e-09
8.29278e-09
-1.10537e-08
1.17696e-08
-7.56143e-09
6.88884e-09
-1.07565e-08
1.14291e-08
-6.20439e-09
5.57592e-09
-1.02377e-08
1.08661e-08
-4.93707e-09
4.35161e-09
-9.58851e-09
1.0174e-08
-3.75726e-09
3.21526e-09
-8.86331e-09
9.40531e-09
1.06845e-07
-1.03623e-07
-3.22238e-09
-5.02943e-09
3.0417e-08
5.72849e-07
-5.98237e-07
-4.96418e-08
5.24406e-08
2.88684e-07
-2.91483e-07
-8.00034e-08
9.18897e-08
2.878e-07
-2.99686e-07
-1.02687e-07
1.15421e-07
1.80478e-07
-1.93212e-07
-1.20304e-07
1.15822e-07
-1.12741e-07
1.17224e-07
-1.06515e-07
1.03481e-07
-2.29812e-07
2.32846e-07
-9.17686e-08
7.27135e-08
-3.33781e-07
3.52836e-07
-4.71676e-08
3.31794e-08
-3.69984e-07
3.83972e-07
-2.84047e-08
1.46531e-08
-2.71186e-07
2.84938e-07
-9.05529e-10
-6.35671e-09
-1.63761e-07
1.71023e-07
1.1502e-08
-1.2144e-08
-5.5546e-08
5.61881e-08
1.07286e-08
-7.85309e-09
1.20335e-08
-1.49091e-08
3.36553e-09
2.55629e-10
3.82649e-08
-4.18861e-08
-4.41214e-09
6.98248e-09
4.0171e-08
-4.27413e-08
-8.69711e-09
1.02642e-08
3.15609e-08
-3.3128e-08
-1.08795e-08
1.1455e-08
2.22264e-08
-2.28019e-08
-1.26378e-08
1.36042e-08
1.82734e-08
-1.92398e-08
-1.46423e-08
1.59937e-08
1.28549e-08
-1.42063e-08
-1.70016e-08
1.73084e-08
4.53811e-09
-4.84493e-09
-1.72177e-08
1.68913e-08
-2.50958e-09
2.83605e-09
-1.63622e-08
1.5719e-08
-7.4458e-09
8.08894e-09
-1.49343e-08
1.41266e-08
-1.04391e-08
1.12469e-08
-1.32503e-08
1.24075e-08
-1.19588e-08
1.28016e-08
-1.15224e-08
1.06948e-08
-1.25452e-08
1.33728e-08
-9.84263e-09
9.05391e-09
-1.25199e-08
1.33086e-08
-8.24698e-09
7.50397e-09
-1.21346e-08
1.28776e-08
-6.74882e-09
6.05766e-09
-1.15238e-08
1.2215e-08
-5.35867e-09
4.72206e-09
-1.07852e-08
1.14219e-08
-4.08086e-09
3.49966e-09
-9.96913e-09
1.05503e-08
9.97627e-08
-9.52404e-08
-4.52235e-09
-2.50151e-09
2.97992e-08
6.24517e-07
-6.51815e-07
-5.04903e-08
5.05945e-08
2.93056e-07
-2.9316e-07
-7.91977e-08
9.23184e-08
3.12087e-07
-3.25208e-07
-1.03662e-07
1.1789e-07
2.06672e-07
-2.209e-07
-1.23659e-07
1.1831e-07
-1.22106e-07
1.27455e-07
-1.07976e-07
1.07586e-07
-2.34447e-07
2.34837e-07
-9.43963e-08
7.21649e-08
-3.73677e-07
3.95908e-07
-4.51453e-08
3.28665e-08
-3.97199e-07
4.09478e-07
-2.98326e-08
1.37873e-08
-2.99908e-07
3.15953e-07
2.61039e-09
-1.04158e-08
-1.78568e-07
1.86373e-07
1.52317e-08
-1.54263e-08
-5.61481e-08
5.63427e-08
1.39674e-08
-9.93447e-09
1.82481e-08
-2.2281e-08
4.39069e-09
-2.01222e-10
4.56487e-08
-4.98382e-08
-4.64455e-09
7.53923e-09
4.5487e-08
-4.83817e-08
-9.35753e-09
1.10639e-08
3.47602e-08
-3.64666e-08
-1.13233e-08
1.1915e-08
2.33603e-08
-2.3952e-08
-1.34621e-08
1.43774e-08
2.02118e-08
-2.11271e-08
-1.56479e-08
1.79264e-08
1.59348e-08
-1.82132e-08
-1.95327e-08
1.97137e-08
5.13247e-09
-5.31345e-09
-1.93278e-08
1.87957e-08
-3.23794e-09
3.77002e-09
-1.81174e-08
1.73556e-08
-8.78761e-09
9.54946e-09
-1.64457e-08
1.55098e-08
-1.21112e-08
1.30472e-08
-1.45083e-08
1.35525e-08
-1.36982e-08
1.46539e-08
-1.25644e-08
1.16538e-08
-1.42417e-08
1.51524e-08
-1.07258e-08
9.86925e-09
-1.41329e-08
1.49894e-08
-8.99108e-09
8.179e-09
-1.36573e-08
1.44694e-08
-7.35123e-09
6.59318e-09
-1.29406e-08
1.36987e-08
-5.82891e-09
5.13597e-09
-1.20846e-08
1.27776e-08
-4.44118e-09
3.81382e-09
-1.11507e-08
1.1778e-08
9.00313e-08
-8.41111e-08
-5.92019e-09
6.33453e-10
2.88988e-08
6.80319e-07
-7.09851e-07
-5.16187e-08
4.75839e-08
2.9145e-07
-2.87415e-07
-7.70045e-08
9.26625e-08
3.39355e-07
-3.55013e-07
-1.0473e-07
1.20586e-07
2.35932e-07
-2.51789e-07
-1.27395e-07
1.2108e-07
-1.33281e-07
1.39597e-07
-1.09415e-07
1.109e-07
-2.34263e-07
2.32778e-07
-9.76713e-08
7.39412e-08
-4.19043e-07
4.42773e-07
-4.52774e-08
3.46666e-08
-4.20835e-07
4.31446e-07
-3.21305e-08
1.28096e-08
-3.33475e-07
3.52796e-07
7.0582e-09
-1.54426e-08
-1.94523e-07
2.02907e-07
2.01097e-08
-1.88456e-08
-5.57993e-08
5.45352e-08
1.6979e-08
-1.22644e-08
2.64207e-08
-3.11353e-08
5.68795e-09
-6.83335e-10
5.44846e-08
-5.94892e-08
-5.09685e-09
8.43232e-09
5.15237e-08
-5.48592e-08
-1.03166e-08
1.19842e-08
3.81657e-08
-3.98334e-08
-1.18053e-08
1.28212e-08
2.46906e-08
-2.57065e-08
-1.47975e-08
1.5232e-08
2.18806e-08
-2.23152e-08
-1.69941e-08
2.09623e-08
2.12588e-08
-2.5227e-08
-2.33958e-08
2.30222e-08
5.26722e-09
-4.89369e-09
-2.19747e-08
2.10552e-08
-4.48528e-09
5.40481e-09
-2.01256e-08
1.92229e-08
-1.03799e-08
1.12825e-08
-1.81652e-08
1.70596e-08
-1.40655e-08
1.51711e-08
-1.59066e-08
1.48257e-08
-1.56757e-08
1.67565e-08
-1.373e-08
1.27306e-08
-1.61036e-08
1.71029e-08
-1.1715e-08
1.07852e-08
-1.58788e-08
1.68087e-08
-9.84129e-09
8.97489e-09
-1.53082e-08
1.61746e-08
-8.09201e-09
7.27867e-09
-1.44854e-08
1.52987e-08
-6.44784e-09
5.68379e-09
-1.35052e-08
1.42692e-08
-4.9064e-09
4.1981e-09
-1.24422e-08
1.31505e-08
7.74562e-08
-7.00423e-08
-7.41384e-09
4.21187e-09
2.74997e-08
7.40361e-07
-7.72073e-07
-5.32176e-08
4.18168e-08
2.80281e-07
-2.6888e-07
-7.16612e-08
9.31008e-08
3.72955e-07
-3.94395e-07
-1.05992e-07
1.23407e-07
2.68459e-07
-2.85874e-07
-1.31666e-07
1.24e-07
-1.46485e-07
1.54151e-07
-1.09771e-07
1.14208e-07
-2.30097e-07
2.25661e-07
-1.03637e-07
7.78771e-08
-4.67219e-07
4.92979e-07
-4.75439e-08
3.74097e-08
-4.41576e-07
4.5171e-07
-3.26517e-08
1.18845e-08
-3.7367e-07
3.94437e-07
1.05619e-08
-1.94898e-08
-2.1102e-07
2.19948e-07
2.51441e-08
-2.36677e-08
-5.34196e-08
5.19432e-08
2.07151e-08
-1.47973e-08
3.67762e-08
-4.2694e-08
7.17182e-09
-7.2605e-10
6.49602e-08
-7.1406e-08
-5.73097e-09
9.16113e-09
5.83107e-08
-6.17409e-08
-1.122e-08
1.30323e-08
4.15322e-08
-4.33445e-08
-1.29101e-08
1.48465e-08
2.71059e-08
-2.90423e-08
-1.6658e-08
1.57377e-08
2.22314e-08
-2.13111e-08
-1.75493e-08
2.28997e-08
3.00517e-08
-3.5402e-08
-2.62381e-08
2.56145e-08
4.25716e-09
-3.6335e-09
-2.45637e-08
2.35469e-08
-6.4789e-09
7.49566e-09
-2.22983e-08
2.12017e-08
-1.22749e-08
1.33714e-08
-2.00132e-08
1.87124e-08
-1.63646e-08
1.76654e-08
-1.73906e-08
1.61602e-08
-1.79065e-08
1.91369e-08
-1.49358e-08
1.38356e-08
-1.81575e-08
1.92577e-08
-1.27229e-08
1.17099e-08
-1.77813e-08
1.87942e-08
-1.06813e-08
9.7382e-09
-1.70737e-08
1.80168e-08
-8.78049e-09
7.89874e-09
-1.61424e-08
1.70242e-08
-6.99982e-09
6.17266e-09
-1.50674e-08
1.58946e-08
-5.33135e-09
4.56456e-09
-1.38958e-08
1.46626e-08
6.18409e-08
-5.28212e-08
-9.01971e-09
9.59078e-09
2.5247e-08
8.05212e-07
-8.4005e-07
-5.54683e-08
2.9858e-08
2.51521e-07
-2.25911e-07
-5.94133e-08
9.41021e-08
4.21164e-07
-4.55853e-07
-1.07793e-07
1.26105e-07
3.03875e-07
-3.22187e-07
-1.36521e-07
1.26108e-07
-1.62942e-07
1.73355e-07
-1.08278e-07
1.17392e-07
-2.18927e-07
2.09813e-07
-1.09094e-07
7.88158e-08
-5.20902e-07
5.5118e-07
-4.83522e-08
3.71105e-08
-4.62087e-07
4.73328e-07
-2.73489e-08
5.81214e-09
-4.16356e-07
4.37893e-07
1.9732e-08
-2.66036e-08
-2.28535e-07
2.35406e-07
3.05744e-08
-2.7432e-08
-4.86628e-08
4.55204e-08
2.46708e-08
-1.81683e-08
4.85591e-08
-5.50617e-08
9.31672e-09
-5.98387e-10
7.9139e-08
-8.78573e-08
-6.50091e-09
1.02832e-08
6.51791e-08
-6.89614e-08
-1.29307e-08
1.44759e-08
4.50596e-08
-4.66049e-08
-1.5007e-08
1.77879e-08
3.15734e-08
-3.43543e-08
-1.79077e-08
1.46367e-08
1.92086e-08
-1.59375e-08
-1.56211e-08
2.0783e-08
4.08322e-08
-4.59941e-08
-2.42417e-08
2.42266e-08
3.35097e-09
-3.33582e-09
-2.55735e-08
2.62688e-08
-8.0023e-09
7.30692e-09
-2.50727e-08
2.362e-08
-1.46167e-08
1.60694e-08
-2.21989e-08
2.05119e-08
-1.91237e-08
2.08107e-08
-1.88762e-08
1.74624e-08
-2.04605e-08
2.18743e-08
-1.61574e-08
1.50316e-08
-2.03811e-08
2.15068e-08
-1.38797e-08
1.27989e-08
-1.9844e-08
2.09248e-08
-1.16657e-08
1.06039e-08
-1.90142e-08
2.0076e-08
-9.51506e-09
8.51794e-09
-1.79564e-08
1.89535e-08
-7.5146e-09
6.60949e-09
-1.67537e-08
1.76588e-08
-5.70709e-09
4.89838e-09
-1.54439e-08
1.62526e-08
4.29481e-08
-3.21888e-08
-1.07594e-08
1.69719e-08
2.20171e-08
8.76873e-07
-9.15862e-07
-5.78052e-08
7.6365e-09
1.89281e-07
-1.39112e-07
-3.133e-08
9.31091e-08
5.0176e-07
-5.6354e-07
-1.11063e-07
1.28736e-07
3.40411e-07
-3.58084e-07
-1.4141e-07
1.25349e-07
-1.8608e-07
2.0214e-07
-1.00255e-07
1.10707e-07
-1.99162e-07
1.88709e-07
-1.02408e-07
7.09487e-08
-5.84596e-07
6.16055e-07
-4.37628e-08
2.85712e-08
-4.8485e-07
5.00041e-07
-1.49542e-08
2.48009e-10
-4.56307e-07
4.71013e-07
2.65023e-08
-3.26229e-08
-2.42381e-07
2.48501e-07
3.73158e-08
-3.42896e-08
-4.21733e-08
3.91471e-08
3.01013e-08
-2.17375e-08
6.26795e-08
-7.10432e-08
1.09513e-08
-8.95238e-10
9.71152e-08
-1.07171e-07
-6.27858e-09
1.17733e-08
7.34817e-08
-7.89764e-08
-1.49631e-08
1.72418e-08
4.82707e-08
-5.05493e-08
-1.93474e-08
2.11464e-08
3.6847e-08
-3.8646e-08
-1.87445e-08
1.54782e-08
1.2076e-08
-8.80962e-09
-1.83572e-08
2.14359e-08
5.05211e-08
-5.35998e-08
-2.0098e-08
1.8176e-08
2.88986e-09
-9.67928e-10
-2.38234e-08
2.95031e-08
-4.53666e-09
-1.14302e-09
-2.914e-08
2.69771e-08
-1.78206e-08
1.99836e-08
-2.51049e-08
2.28503e-08
-2.27732e-08
2.50278e-08
-2.07976e-08
1.92299e-08
-2.33697e-08
2.49373e-08
-1.79056e-08
1.68157e-08
-2.26224e-08
2.37123e-08
-1.56722e-08
1.45621e-08
-2.20298e-08
2.31398e-08
-1.33558e-08
1.21875e-08
-2.11961e-08
2.23644e-08
-1.09524e-08
9.791e-09
-2.0028e-08
2.11894e-08
-8.59535e-09
7.49643e-09
-1.8641e-08
1.97399e-08
-6.38979e-09
5.39269e-09
-1.71288e-08
1.81259e-08
2.05161e-08
-7.96562e-09
-1.25505e-08
2.40999e-08
1.7422e-08
9.56766e-07
-9.98288e-07
-5.74555e-08
-3.93023e-10
7.64602e-08
-1.86117e-08
5.34398e-10
8.48857e-08
6.46667e-07
-7.32087e-07
-1.16116e-07
1.30675e-07
3.74694e-07
-3.89254e-07
-1.43142e-07
1.15671e-07
-2.23072e-07
2.50543e-07
-7.79462e-08
8.48466e-08
-1.80494e-07
1.73594e-07
-8.20555e-08
5.11193e-08
-6.50015e-07
6.80952e-07
-2.33185e-08
7.57991e-09
-5.1082e-07
5.26558e-07
7.80867e-09
-1.98143e-08
-4.85641e-07
4.97647e-07
4.26111e-08
-4.32418e-08
-2.53001e-07
2.53632e-07
4.46626e-08
-3.90601e-08
-3.39008e-08
2.82983e-08
3.42004e-08
-2.73141e-08
7.83921e-08
-8.52785e-08
1.60813e-08
-4.88103e-09
1.18179e-07
-1.2938e-07
-5.3622e-09
1.45523e-08
8.58659e-08
-9.5056e-08
-1.79924e-08
2.25758e-08
5.39521e-08
-5.85354e-08
-2.56939e-08
2.54608e-08
3.9505e-08
-3.92719e-08
-2.37123e-08
2.61807e-08
7.69408e-09
-1.01625e-08
-3.12325e-08
2.90532e-08
5.43226e-08
-5.21433e-08
-1.97237e-08
1.30467e-08
-3.26515e-09
9.94215e-09
-2.17264e-08
3.36416e-08
1.01507e-08
-2.20659e-08
-3.43762e-08
3.10417e-08
-2.26682e-08
2.60028e-08
-2.84398e-08
2.56327e-08
-2.7577e-08
3.03841e-08
-2.31244e-08
2.15479e-08
-2.65454e-08
2.81219e-08
-2.03694e-08
1.94342e-08
-2.47431e-08
2.56782e-08
-1.83802e-08
1.72596e-08
-2.42393e-08
2.53598e-08
-1.59602e-08
1.46409e-08
-2.35839e-08
2.49033e-08
-1.31909e-08
1.17757e-08
-2.24596e-08
2.38749e-08
-1.02678e-08
8.84147e-09
-2.09903e-08
2.24166e-08
-7.36891e-09
6.02411e-09
-1.92911e-08
2.06359e-08
-5.47616e-09
1.95878e-08
-1.41116e-08
2.64084e-08
5.98519e-09
1.03749e-06
-1.06989e-06
-4.98861e-08
2.42554e-08
-2.87134e-08
5.43441e-08
-2.22527e-08
8.34157e-08
8.02291e-07
-8.63454e-07
-1.16663e-07
1.21467e-07
4.00116e-07
-4.04921e-07
-1.28679e-07
9.05488e-08
-2.85118e-07
3.23248e-07
-5.80135e-08
1.00479e-07
-1.82895e-07
1.4043e-07
-7.6723e-08
5.72548e-09
-6.88842e-07
7.5984e-07
4.0088e-09
-9.59028e-09
-5.48746e-07
5.54328e-07
2.37106e-08
-3.04915e-08
-5.05864e-07
5.12645e-07
5.35907e-08
-5.18992e-08
-2.52033e-07
2.50341e-07
5.13917e-08
-4.64652e-08
-2.31308e-08
1.82042e-08
4.06526e-08
-3.16759e-08
9.28319e-08
-1.01809e-07
1.91826e-08
-8.8133e-09
1.40188e-07
-1.50557e-07
-6.06428e-09
2.11562e-08
1.07031e-07
-1.22123e-07
-2.56545e-08
3.18498e-08
6.42299e-08
-7.04251e-08
-3.20579e-08
3.07052e-08
3.80732e-08
-3.67206e-08
-3.61644e-08
4.5508e-08
1.66018e-08
-2.59455e-08
-4.73564e-08
3.99922e-08
4.69414e-08
-3.95772e-08
-2.71123e-08
1.88071e-08
-1.82699e-08
2.65751e-08
-2.81205e-08
4.15699e-08
3.55936e-08
-4.9043e-08
-4.1569e-08
3.61585e-08
-3.02171e-08
3.56276e-08
-3.25078e-08
2.97239e-08
-3.33289e-08
3.61128e-08
-2.71208e-08
2.58149e-08
-2.9575e-08
3.08809e-08
-2.49369e-08
2.40264e-08
-2.6539e-08
2.74494e-08
-2.27092e-08
2.11246e-08
-2.66145e-08
2.8199e-08
-1.92292e-08
1.73343e-08
-2.64323e-08
2.83272e-08
-1.53233e-08
1.34385e-08
-2.54906e-08
2.73754e-08
-1.1505e-08
9.73205e-09
-2.40229e-08
2.57959e-08
-7.9473e-09
6.34528e-09
-2.21385e-08
2.37405e-08
-3.43962e-08
4.89779e-08
-1.45817e-08
2.3972e-08
-2.24615e-08
1.08936e-06
-1.09087e-06
-1.17333e-08
4.7505e-08
-4.81956e-08
1.24239e-08
-5.68104e-08
7.65522e-08
9.08699e-07
-9.28441e-07
-8.22278e-08
6.16092e-08
4.00056e-07
-3.79437e-07
2.40081e-09
-5.54391e-09
-3.44074e-07
3.47217e-07
-6.7366e-09
-1.27173e-07
-1.81417e-07
3.15327e-07
1.2441e-07
-9.75014e-09
-7.89625e-07
6.74965e-07
3.90971e-08
-7.46417e-08
-5.36214e-07
5.71758e-07
6.40829e-08
-6.26373e-08
-5.1819e-07
5.16744e-07
7.32127e-08
-6.34324e-08
-2.45529e-07
2.35748e-07
6.11145e-08
-5.4052e-08
-1.21937e-08
5.13116e-09
4.5475e-08
-3.79549e-08
1.10359e-07
-1.17879e-07
2.78218e-08
-1.55224e-08
1.62046e-07
-1.74345e-07
-9.75358e-09
2.90619e-08
1.39528e-07
-1.58836e-07
-3.13907e-08
3.68957e-08
7.65609e-08
-8.20659e-08
-3.52689e-08
3.73181e-08
3.65846e-08
-3.86338e-08
-5.36153e-08
6.73594e-08
3.79188e-08
-5.1663e-08
-5.97092e-08
4.96633e-08
3.0661e-08
-2.06151e-08
-3.99721e-08
3.73484e-08
-3.28049e-08
3.54285e-08
-4.06306e-08
4.91476e-08
6.07361e-08
-6.92531e-08
-4.94519e-08
4.25179e-08
-4.22208e-08
4.91548e-08
-3.84458e-08
3.75918e-08
-3.82327e-08
3.90867e-08
-3.6133e-08
3.4715e-08
-3.21582e-08
3.35763e-08
-3.32527e-08
3.15308e-08
-2.86325e-08
3.03543e-08
-2.90848e-08
2.62356e-08
-3.03309e-08
3.31802e-08
-2.2963e-08
1.98626e-08
-3.07543e-08
3.38547e-08
-1.67899e-08
1.41359e-08
-2.96057e-08
3.22597e-08
-1.1646e-08
9.55537e-09
-2.77247e-08
2.98153e-08
-7.61251e-09
5.97885e-09
-2.53774e-08
2.70111e-08
-6.24252e-08
7.61864e-08
-1.37612e-08
2.38877e-08
-7.9839e-08
1.06033e-06
-1.00438e-06
3.59924e-08
7.30755e-08
6.19681e-08
-1.71036e-07
-4.92495e-08
1.93165e-08
9.20528e-07
-8.90595e-07
2.62098e-08
-9.01025e-08
3.40136e-07
-2.76244e-07
2.85794e-08
4.17369e-09
-3.63416e-07
3.30663e-07
3.63089e-07
-5.07615e-07
-4.5575e-07
6.00276e-07
3.40058e-07
-1.78406e-07
-5.16648e-07
3.54997e-07
7.53798e-08
-5.92865e-08
-5.88964e-07
5.72871e-07
7.66405e-08
-7.52171e-08
-5.12181e-07
5.10757e-07
9.40811e-08
-7.59227e-08
-2.184e-07
2.00242e-07
6.80325e-08
-5.85248e-08
2.00261e-09
-1.15103e-08
5.17425e-08
-4.39893e-08
1.24682e-07
-1.32435e-07
3.27232e-08
-2.45702e-08
1.86223e-07
-1.94376e-07
-5.38705e-09
3.21871e-08
1.81065e-07
-2.07865e-07
-2.99802e-08
3.27033e-08
8.61897e-08
-8.89128e-08
-3.65292e-08
3.68671e-08
4.19734e-08
-4.23113e-08
-5.05934e-08
7.27082e-08
6.81314e-08
-9.02463e-08
-6.58037e-08
5.51775e-08
9.79746e-09
8.28728e-10
-5.22684e-08
4.69313e-08
-3.87374e-08
4.40745e-08
-3.8545e-08
4.10623e-08
7.4049e-08
-7.65663e-08
-4.85264e-08
4.72088e-08
-5.43732e-08
5.56908e-08
-4.57564e-08
4.81482e-08
-3.82477e-08
3.58559e-08
-4.92522e-08
4.76521e-08
-3.51638e-08
3.67639e-08
-4.4591e-08
4.13427e-08
-3.28349e-08
3.60832e-08
-3.74392e-08
3.30982e-08
-3.68083e-08
4.11494e-08
-2.81085e-08
2.34131e-08
-3.77284e-08
4.24239e-08
-1.88576e-08
1.50695e-08
-3.54328e-08
3.92209e-08
-1.17099e-08
9.08418e-09
-3.21295e-08
3.47553e-08
-6.83124e-09
5.07781e-09
-2.86596e-08
3.04131e-08
-9.22077e-08
1.07625e-07
-1.54173e-08
1.87424e-08
-8.89239e-08
9.37739e-07
-8.67558e-07
7.1052e-08
6.38494e-08
2.92902e-07
-4.27803e-07
-6.11712e-08
-6.13526e-08
8.07548e-07
-6.85025e-07
9.88942e-08
1.1265e-07
2.8395e-07
-4.95494e-07
1.59422e-07
-6.09654e-07
-3.51281e-07
8.01512e-07
2.1186e-07
-2.36865e-07
-7.8222e-07
8.07225e-07
3.98262e-07
-3.20465e-07
-2.10603e-07
1.32806e-07
1.89808e-07
-1.13703e-07
-5.33387e-07
4.57283e-07
1.34902e-07
-1.40928e-07
-5.1468e-07
5.20706e-07
1.01101e-07
-8.34393e-08
-1.86038e-07
1.68376e-07
7.44211e-08
-6.87605e-08
2.14267e-08
-2.70873e-08
5.94863e-08
-5.01099e-08
1.4209e-07
-1.51467e-07
4.71972e-08
-5.72948e-08
1.94832e-07
-1.84735e-07
7.41016e-09
3.81913e-08
2.42502e-07
-2.88103e-07
-2.65793e-08
2.77689e-08
9.06727e-08
-9.18623e-08
-3.328e-08
1.52925e-08
3.45012e-08
-1.65137e-08
-4.57133e-09
4.26945e-08
1.21512e-07
-1.59635e-07
-5.93252e-08
5.44152e-08
-1.16587e-08
1.65687e-08
-5.9922e-08
6.16402e-08
-4.45802e-08
4.2862e-08
-4.92151e-08
4.2518e-08
7.47388e-08
-6.80416e-08
-5.0061e-08
5.52016e-08
-5.38905e-08
4.87499e-08
-5.82163e-08
6.05392e-08
-3.28625e-08
3.05396e-08
-6.1156e-08
5.88528e-08
-3.84121e-08
4.07153e-08
-5.50495e-08
5.16814e-08
-3.97198e-08
4.30878e-08
-4.80498e-08
4.31866e-08
-4.58899e-08
5.07531e-08
-3.6704e-08
3.02368e-08
-4.80519e-08
5.45191e-08
-2.37418e-08
1.82269e-08
-4.38511e-08
4.9366e-08
-1.33018e-08
9.50022e-09
-3.79231e-08
4.17247e-08
-6.31629e-09
3.89063e-09
-3.24156e-08
3.48413e-08
-1.2472e-07
1.37733e-07
-1.30128e-08
1.22552e-08
-1.04204e-07
7.79568e-07
-6.87619e-07
4.56922e-08
7.3884e-08
5.5263e-07
-6.72207e-07
3.65533e-08
-7.08397e-08
5.67694e-07
-5.33407e-07
-2.0446e-07
1.26607e-07
5.76635e-07
-4.98782e-07
5.0208e-07
-5.95589e-07
-1.324e-06
1.41751e-06
4.71501e-07
-4.96934e-07
-8.58771e-07
8.84203e-07
4.57354e-07
-3.64276e-07
-6.17531e-08
-3.13245e-08
3.17856e-07
-2.20427e-07
-3.72734e-07
2.75305e-07
1.34174e-07
-1.2255e-07
-5.23625e-07
5.12001e-07
1.27644e-07
-1.01112e-07
-1.40608e-07
1.14076e-07
8.08754e-08
-6.97029e-08
3.01139e-08
-4.12864e-08
6.20966e-08
-6.26015e-08
1.58286e-07
-1.57782e-07
7.85763e-08
-9.10251e-08
1.67089e-07
-1.5464e-07
3.40116e-08
2.18715e-08
3.43318e-07
-3.99201e-07
-1.99667e-08
2.27098e-08
9.34676e-08
-9.62107e-08
-3.33777e-08
2.58898e-08
-2.46314e-09
9.95107e-09
-2.30248e-08
3.34994e-08
1.90828e-07
-2.01302e-07
-5.24953e-08
5.80425e-08
-1.678e-08
1.12328e-08
-7.02285e-08
7.79396e-08
-4.0165e-08
3.24539e-08
-7.84492e-08
6.39987e-08
5.81758e-08
-4.37253e-08
-6.09636e-08
7.18581e-08
-3.96373e-08
2.87428e-08
-7.74057e-08
7.58343e-08
-2.98722e-08
3.14436e-08
-6.93293e-08
6.21188e-08
-4.50092e-08
5.22197e-08
-5.76015e-08
5.70312e-08
-4.52659e-08
4.58363e-08
-5.89735e-08
5.85441e-08
-5.45312e-08
5.49606e-08
-5.27253e-08
4.295e-08
-6.23481e-08
7.21233e-08
-3.10665e-08
2.06512e-08
-5.61964e-08
6.66117e-08
-1.18272e-08
6.1184e-09
-4.6416e-08
5.21248e-08
-2.70385e-09
9.02105e-10
-3.80637e-08
3.98655e-08
-1.55554e-07
1.69284e-07
-1.37302e-08
-2.46941e-08
7.44173e-09
6.24952e-07
-6.077e-07
1.7888e-08
-8.08566e-08
6.94683e-07
-6.31714e-07
2.41048e-08
2.83035e-07
8.4659e-07
-1.15373e-06
-7.34615e-07
6.38497e-07
2.71957e-08
6.8923e-08
5.41704e-07
-1.9397e-06
-2.29331e-06
3.69131e-06
2.85158e-06
-9.60038e-07
-4.40161e-07
-1.45138e-06
5.2912e-07
-3.92304e-07
1.01195e-07
-2.38011e-07
3.38415e-07
-3.13588e-07
-1.95345e-07
1.70518e-07
1.95017e-07
-1.35633e-07
-4.74506e-07
4.15122e-07
1.32039e-07
-1.03216e-07
-9.48706e-08
6.60472e-08
1.12343e-07
-8.95344e-08
6.46169e-08
-8.74256e-08
6.8786e-08
-8.21464e-08
1.48676e-07
-1.35316e-07
9.5707e-08
-5.77676e-08
1.62738e-07
-2.00677e-07
2.15882e-08
4.6443e-09
4.44898e-07
-4.7113e-07
-2.60988e-08
2.98539e-08
9.9033e-08
-1.02788e-07
-5.25719e-08
7.18324e-08
-1.54242e-09
-1.77181e-08
-8.1203e-08
4.95984e-08
1.9012e-07
-1.58516e-07
-4.76937e-08
6.91179e-08
3.31859e-09
-2.47428e-08
-8.28226e-08
1.1194e-07
-8.73847e-09
-2.03794e-08
-1.22576e-07
1.08355e-07
2.56118e-08
-1.13902e-08
-9.13085e-08
8.80696e-08
-2.2747e-08
2.59858e-08
-8.00113e-08
6.35874e-08
-3.74481e-08
5.3872e-08
-5.12183e-08
4.7376e-08
-6.23862e-08
6.62285e-08
-5.02574e-08
5.61862e-08
-4.73613e-08
4.14325e-08
-6.18401e-08
6.50387e-08
-5.54014e-08
5.22028e-08
-6.10586e-08
5.36189e-08
-7.75951e-08
8.50348e-08
-4.29707e-08
3.19479e-08
-7.49705e-08
8.59933e-08
-2.06174e-08
1.07127e-08
-6.03122e-08
7.02169e-08
-3.32218e-09
-2.07076e-09
-4.47752e-08
5.01681e-08
-1.99676e-07
2.34591e-07
-3.49152e-08
-5.21832e-08
-1.36597e-07
6.48752e-07
-4.59972e-07
2.64635e-07
5.3413e-08
3.73638e-07
-6.91686e-07
-6.30699e-07
8.89503e-07
2.26376e-06
-2.52257e-06
-9.63933e-07
6.28519e-07
-6.29878e-07
9.65292e-07
1.01793e-06
-2.06561e-06
-5.23318e-06
6.28086e-06
2.22867e-06
-1.31548e-06
2.26115e-06
-3.17434e-06
1.21178e-06
-5.03651e-07
5.36313e-07
-1.24444e-06
2.93937e-07
-3.35361e-07
-1.51639e-07
1.93063e-07
2.88909e-07
-2.06381e-07
-3.44419e-07
2.61891e-07
1.95936e-07
-1.09823e-07
-9.16824e-09
-7.69448e-08
6.11893e-08
-8.82977e-08
8.86404e-08
-6.15319e-08
7.78623e-08
-8.77525e-08
1.22333e-07
-1.12443e-07
7.102e-08
-9.60776e-09
2.6234e-07
-3.23752e-07
-2.3688e-09
-8.08187e-09
4.75553e-07
-4.65102e-07
-2.76739e-08
5.42717e-08
1.14865e-07
-1.41463e-07
-7.80362e-08
1.03899e-07
4.23644e-08
-6.82269e-08
-1.27813e-07
1.15437e-07
1.23009e-07
-1.10633e-07
-1.14018e-07
1.23515e-07
4.32468e-08
-5.27432e-08
-1.38608e-07
1.71682e-07
4.8318e-08
-8.13917e-08
-1.95024e-07
2.05129e-07
-3.74286e-09
-6.362e-09
-1.97212e-07
1.75623e-07
-2.60007e-08
4.75898e-08
-1.31072e-07
9.72666e-08
-7.21696e-08
1.05975e-07
-8.78256e-08
8.52616e-08
-7.26529e-08
7.52169e-08
-7.81429e-08
6.81422e-08
-3.99411e-08
4.99418e-08
-5.56436e-08
4.80609e-08
-5.0434e-08
5.80167e-08
-4.78582e-08
4.57053e-08
-1.0015e-07
1.02303e-07
-3.70903e-08
2.75067e-08
-9.92931e-08
1.08877e-07
-1.67772e-08
7.07883e-09
-7.99298e-08
8.96282e-08
4.13073e-09
-1.37282e-08
-5.6218e-08
6.58155e-08
-3.02801e-07
3.24323e-07
-2.15215e-08
-7.65812e-08
9.61104e-07
4.32803e-07
-1.31733e-06
-8.44798e-07
2.76287e-07
1.03355e-06
-4.65036e-07
-6.79006e-07
7.08641e-07
2.64609e-06
-2.67573e-06
-4.79445e-07
4.45971e-07
-1.14771e-06
1.18119e-06
-1.02231e-07
-8.80634e-07
-7.28257e-06
8.26543e-06
1.25148e-06
-1.58466e-06
3.20034e-06
-2.86716e-06
1.29367e-06
-1.02546e-06
1.19568e-06
-1.46389e-06
3.77903e-07
-2.87059e-07
-1.93453e-07
1.02609e-07
2.90712e-07
-1.86463e-07
-1.73454e-07
6.92048e-08
1.57579e-07
-1.64038e-07
1.43293e-07
-1.36834e-07
1.01354e-07
-6.02395e-08
4.95032e-08
-9.06173e-08
4.84005e-08
-3.90674e-08
1.09156e-07
-1.18489e-07
-1.35039e-08
4.33508e-08
3.66691e-07
-3.96538e-07
-5.98284e-09
-3.42253e-08
4.39537e-07
-3.99329e-07
-1.52587e-08
4.31265e-08
1.76686e-07
-2.04554e-07
-8.18888e-08
1.32695e-07
1.02525e-07
-1.53331e-07
-1.65587e-07
3.36062e-07
1.25972e-07
-2.96447e-07
-2.63553e-07
2.80076e-07
1.36396e-07
-1.52918e-07
-3.32133e-07
3.65455e-07
-1.12567e-08
-2.20656e-08
-3.46533e-07
3.28531e-07
1.01327e-08
7.86946e-09
-3.12737e-07
2.81307e-07
-7.00164e-08
1.01446e-07
-2.44346e-07
2.13689e-07
-1.25652e-07
1.56308e-07
-1.8165e-07
1.54621e-07
-8.87217e-08
1.15751e-07
-1.26466e-07
9.72366e-08
-7.43664e-08
1.03595e-07
-6.54329e-08
3.82774e-08
-7.79145e-08
1.0507e-07
-1.49665e-08
-6.03939e-09
-1.09908e-07
1.30914e-07
3.32422e-08
-6.87769e-08
-1.30288e-07
1.65823e-07
1.16079e-07
-1.65331e-07
-1.18974e-07
1.68226e-07
2.14218e-07
-2.52926e-07
-8.49811e-08
1.23689e-07
-5.72906e-10
3.64001e-10
2.08905e-10
-1.55117e-10
-7.65669e-11
2.31684e-10
3.06333e-10
-5.58418e-10
2.52085e-10
8.06586e-10
-1.07521e-09
2.68625e-10
1.33619e-09
-1.61446e-09
2.7827e-10
1.8797e-09
-2.15682e-09
2.77117e-10
2.4152e-09
-2.67844e-09
2.63243e-10
2.91674e-09
-3.15121e-09
2.34474e-10
3.35409e-09
-3.53999e-09
1.85895e-10
3.68392e-09
-3.79406e-09
1.10141e-10
3.85018e-09
-3.84508e-09
-5.10582e-12
3.76891e-09
-3.5971e-09
-1.71812e-10
3.33444e-09
-2.93547e-09
-3.98967e-10
2.42227e-09
-1.72159e-09
-7.00679e-10
8.84348e-10
1.85347e-10
-1.06969e-09
-1.41871e-09
2.97455e-09
-1.55584e-09
-4.71415e-09
6.88411e-09
-2.16996e-09
-9.23237e-09
1.20316e-08
-2.79927e-09
-1.48913e-08
1.79814e-08
-3.09009e-09
-2.08327e-08
2.33139e-08
-2.48122e-09
-2.48393e-08
2.4854e-08
-1.472e-11
-2.31598e-08
1.93623e-08
3.79757e-09
-1.40458e-08
6.52674e-09
7.51906e-09
1.42272e-09
-1.06371e-08
9.21439e-09
1.87827e-08
-2.67944e-08
8.01173e-09
3.22656e-08
-3.60166e-08
3.751e-09
3.66758e-08
-3.56757e-08
-1.00008e-09
3.2099e-08
-2.87233e-08
-3.37565e-09
2.2993e-08
-1.90227e-08
-3.97029e-09
1.46447e-08
-7.65222e-09
-6.99243e-09
-1.22871e-09
1.16856e-09
-3.17479e-10
3.77632e-10
-1.10856e-09
1.04482e-09
-3.50818e-10
4.14561e-10
-9.8608e-10
9.29658e-10
-3.75171e-10
4.31593e-10
-8.85736e-10
8.54926e-10
-3.83115e-10
4.13925e-10
-8.4601e-10
8.64694e-10
-3.66492e-10
3.47808e-10
-9.16316e-10
1.0133e-09
-3.15833e-10
2.18851e-10
-1.15335e-09
1.35848e-09
-2.27275e-10
2.21449e-11
-1.61408e-09
1.95432e-09
-9.77383e-11
-2.42504e-10
-2.3522e-09
2.85419e-09
8.12555e-11
-5.83246e-10
-3.4186e-09
4.11409e-09
3.22e-10
-1.01749e-09
-4.87928e-09
5.80455e-09
6.48152e-10
-1.57342e-09
-6.80871e-09
8.00825e-09
1.08508e-09
-2.28462e-09
-9.28761e-09
1.07896e-08
1.64028e-09
-3.14229e-09
-1.23607e-08
1.41624e-08
2.31871e-09
-4.12034e-09
-1.59966e-08
1.80383e-08
3.09622e-09
-5.13783e-09
-2.00529e-08
2.2221e-08
4.01413e-09
-6.18222e-09
-2.426e-08
2.64116e-08
5.09079e-09
-7.24243e-09
-2.82953e-08
3.00404e-08
5.98544e-09
-7.73054e-09
-3.11536e-08
3.13176e-08
5.61603e-09
-5.78002e-09
-3.01235e-08
2.65913e-08
2.38828e-09
1.14387e-09
-2.05975e-08
1.08849e-08
-5.82853e-09
1.55411e-08
9.33661e-10
-1.51606e-08
-1.56356e-08
2.98625e-08
2.9757e-08
-4.58578e-08
-2.26284e-08
3.87292e-08
5.96432e-08
-7.36356e-08
-2.39501e-08
3.79424e-08
8.35835e-08
-9.13508e-08
-1.77443e-08
2.55115e-08
9.42484e-08
-9.35997e-08
-5.66455e-09
5.01587e-09
8.85057e-08
-8.06308e-08
6.19598e-09
-1.40708e-08
6.9893e-08
-5.8745e-08
1.19036e-08
-2.30516e-08
4.50793e-08
-3.48455e-08
1.23917e-08
-2.26255e-08
2.30229e-08
-1.03562e-08
1.89796e-08
-3.16462e-08
-1.29875e-09
9.86866e-10
-5.41701e-10
8.53588e-10
-6.76633e-10
3.3784e-10
-5.91735e-10
9.30528e-10
-9.43853e-12
-3.37988e-10
-6.06191e-10
9.53618e-10
6.63634e-10
-9.94625e-10
-5.64442e-10
8.95433e-10
1.29106e-09
-1.57604e-09
-4.45631e-10
7.30617e-10
1.81428e-09
-2.0243e-09
-2.33685e-10
4.43711e-10
2.18049e-09
-2.29371e-09
7.48405e-11
3.83797e-11
2.34732e-09
-2.34482e-09
4.73521e-10
-4.76029e-10
2.28306e-09
-2.15219e-09
9.71318e-10
-1.10219e-09
1.95961e-09
-1.67603e-09
1.58836e-09
-1.87193e-09
1.32411e-09
-8.51785e-10
2.35897e-09
-2.8313e-09
3.0734e-10
3.78247e-10
3.32468e-09
-4.01027e-09
-1.15066e-09
2.09401e-09
4.45372e-09
-5.39707e-09
-3.10783e-09
4.28599e-09
5.67847e-09
-6.85664e-09
-5.48443e-09
6.79575e-09
6.83759e-09
-8.14891e-09
-8.0271e-09
9.2511e-09
7.8233e-09
-9.0473e-09
-1.02381e-08
1.10558e-08
8.56291e-09
-9.38065e-09
-1.13987e-08
1.12038e-08
8.20744e-09
-8.01251e-09
-1.01561e-08
7.83034e-09
4.22514e-09
-1.8994e-09
-4.16453e-09
-1.67358e-09
-6.52923e-09
1.23673e-08
9.0778e-09
-1.88673e-08
-2.60078e-08
3.57972e-08
2.93345e-08
-4.14095e-08
-4.34649e-08
5.55399e-08
5.34352e-08
-6.64505e-08
-5.33025e-08
6.63178e-08
7.71586e-08
-8.81058e-08
-5.01258e-08
6.10731e-08
9.52118e-08
-1.00241e-07
-3.14856e-08
3.65144e-08
1.00736e-07
-9.78952e-08
-2.83888e-09
-1.97378e-12
9.09756e-08
-8.13929e-08
2.31845e-08
-3.27672e-08
6.93152e-08
-5.68224e-08
3.52226e-08
-4.77154e-08
4.21839e-08
-3.139e-08
3.33529e-08
-4.41468e-08
1.93361e-08
-7.77792e-09
4.37583e-08
-5.53165e-08
-1.34105e-09
9.11001e-10
-1.26166e-09
1.69171e-09
-4.82253e-10
1.21947e-11
-1.37494e-09
1.845e-09
4.47604e-10
-9.4092e-10
-1.41557e-09
1.90889e-09
1.41312e-09
-1.90834e-09
-1.3497e-09
1.84492e-09
2.37146e-09
-2.84624e-09
-1.14954e-09
1.62432e-09
3.28073e-09
-3.71787e-09
-8.03564e-10
1.2407e-09
4.11186e-09
-4.50372e-09
-3.23633e-10
7.1549e-10
4.85152e-09
-5.19374e-09
2.73681e-10
6.85337e-11
5.49303e-09
-5.77626e-09
9.92691e-10
-7.09467e-10
6.01323e-09
-6.21875e-09
1.87682e-09
-1.6713e-09
6.36171e-09
-6.44918e-09
2.98105e-09
-2.89359e-09
6.45956e-09
-6.38075e-09
4.35864e-09
-4.43745e-09
6.2039e-09
-5.90883e-09
5.98558e-09
-6.28064e-09
5.51011e-09
-4.97815e-09
7.67201e-09
-8.20398e-09
4.37816e-09
-3.65742e-09
9.1092e-09
-9.82994e-09
2.93671e-09
-2.19417e-09
9.98144e-09
-1.0724e-08
1.58239e-09
-1.16314e-09
9.94154e-09
-1.03608e-08
1.15312e-09
-1.69219e-09
7.5532e-09
-7.01413e-09
3.04447e-09
-5.49798e-09
-5.97159e-10
3.05066e-09
9.02839e-09
-1.42382e-08
-1.79906e-08
2.32004e-08
2.04029e-08
-2.82926e-08
-4.45304e-08
5.24201e-08
3.66991e-08
-4.68538e-08
-6.63869e-08
7.65417e-08
5.7398e-08
-6.91256e-08
-7.84126e-08
9.01402e-08
7.88171e-08
-8.90607e-08
-7.14654e-08
8.1709e-08
9.56072e-08
-1.00184e-07
-4.11858e-08
4.57625e-08
1.00337e-07
-9.7172e-08
3.07896e-09
-6.24429e-09
8.99796e-08
-8.01416e-08
4.25186e-08
-5.23565e-08
6.78868e-08
-5.52451e-08
6.03055e-08
-7.29472e-08
4.05035e-08
-2.97075e-08
5.49358e-08
-6.57317e-08
1.7911e-08
-6.77377e-09
6.65714e-08
-7.77087e-08
-1.37293e-09
1.02411e-09
-2.0921e-09
2.44092e-09
-6.75213e-10
2.89005e-10
-2.28419e-09
2.67039e-09
9.37605e-11
-5.12266e-10
-2.37597e-09
2.79447e-09
9.2316e-10
-1.36741e-09
-2.32551e-09
2.76976e-09
1.79948e-09
-2.26312e-09
-2.10331e-09
2.56695e-09
2.71111e-09
-3.1897e-09
-1.70838e-09
2.18697e-09
3.65024e-09
-4.14042e-09
-1.16708e-09
1.65726e-09
4.60872e-09
-5.10261e-09
-5.00173e-10
9.94064e-10
5.56795e-09
-6.04816e-09
3.07441e-10
1.72767e-10
6.48898e-09
-6.92744e-09
1.32568e-09
-8.87227e-10
7.30574e-09
-7.65557e-09
2.64597e-09
-2.29614e-09
7.92331e-09
-8.12769e-09
4.33802e-09
-4.13364e-09
8.22948e-09
-8.23141e-09
6.3893e-09
-6.38737e-09
8.12851e-09
-7.89962e-09
8.5427e-09
-8.7716e-09
7.5811e-09
-7.14447e-09
1.03725e-08
-1.08092e-08
6.66575e-09
-6.13183e-09
1.13341e-08
-1.18681e-08
5.66911e-09
-5.33228e-09
1.07215e-08
-1.10583e-08
5.36121e-09
-5.82065e-09
6.49674e-09
-6.0373e-09
7.02036e-09
-9.15193e-09
-5.34035e-09
7.47192e-09
1.22597e-08
-1.68408e-08
-2.80391e-08
3.26202e-08
2.22933e-08
-2.94613e-08
-5.98086e-08
6.69766e-08
3.73375e-08
-4.71531e-08
-8.64116e-08
9.62273e-08
5.7586e-08
-6.93579e-08
-1.01817e-07
1.13589e-07
7.90149e-08
-8.93724e-08
-9.19787e-08
1.02336e-07
9.59893e-08
-1.0055e-07
-5.03245e-08
5.48849e-08
1.00686e-07
-9.74031e-08
9.46661e-09
-1.27494e-08
9.00676e-08
-8.00674e-08
6.22709e-08
-7.22711e-08
6.76991e-08
-5.4942e-08
8.56416e-08
-9.83987e-08
4.01148e-08
-2.92755e-08
7.65469e-08
-8.73862e-08
1.76028e-08
-6.48262e-09
8.88185e-08
-9.99387e-08
-1.4151e-09
1.15374e-09
-2.73922e-09
3.00057e-09
-8.90234e-10
5.94949e-10
-3.00473e-09
3.30001e-09
-2.95786e-10
-4.04862e-11
-3.16548e-09
3.50175e-09
3.82169e-10
-7.66859e-10
-3.17879e-09
3.56348e-09
1.15733e-09
-1.59637e-09
-3.01465e-09
3.45369e-09
2.0404e-09
-2.53583e-09
-2.67311e-09
3.16854e-09
3.0313e-09
-3.5765e-09
-2.1772e-09
2.7224e-09
4.11295e-09
-4.6903e-09
-1.53476e-09
2.11211e-09
5.24426e-09
-5.82263e-09
-7.10196e-10
1.28856e-09
6.35848e-09
-6.8978e-09
3.89424e-10
1.49891e-10
7.36958e-09
-7.81418e-09
1.89056e-09
-1.44596e-09
8.16904e-09
-8.45511e-09
3.87574e-09
-3.58968e-09
8.632e-09
-8.7087e-09
6.33126e-09
-6.25456e-09
8.66634e-09
-8.50383e-09
8.94762e-09
-9.11014e-09
8.23712e-09
-7.85539e-09
1.12037e-08
-1.15855e-08
7.4193e-09
-6.90431e-09
1.23725e-08
-1.28875e-08
6.44887e-09
-6.06008e-09
1.14094e-08
-1.17982e-08
6.01773e-09
-6.31411e-09
5.65368e-09
-5.3573e-09
7.33781e-09
-9.22511e-09
-9.46963e-09
1.13569e-08
1.20964e-08
-1.64461e-08
-3.70488e-08
4.13984e-08
2.17611e-08
-2.8932e-08
-7.40996e-08
8.12705e-08
3.69271e-08
-4.68794e-08
-1.06092e-07
1.16044e-07
5.75638e-08
-6.96698e-08
-1.25514e-07
1.3762e-07
7.9437e-08
-9.00176e-08
-1.12801e-07
1.23381e-07
9.67758e-08
-1.01318e-07
-5.94393e-08
6.39814e-08
1.01432e-07
-9.80003e-08
1.61019e-08
-1.95333e-08
9.04833e-08
-8.02789e-08
8.23677e-08
-9.25722e-08
6.77766e-08
-5.48704e-08
1.11227e-07
-1.24133e-07
3.99476e-08
-2.90648e-08
9.82485e-08
-1.09131e-07
1.74914e-08
-6.32154e-09
1.11082e-07
-1.22251e-07
-1.47749e-09
1.24561e-09
-3.24049e-09
3.47238e-09
-1.01051e-09
7.43853e-10
-3.57303e-09
3.83969e-09
-4.70468e-10
1.5791e-10
-3.81919e-09
4.13175e-09
1.66261e-10
-5.39478e-10
-3.93667e-09
4.30989e-09
9.26975e-10
-1.37181e-09
-3.89256e-09
4.3374e-09
1.83053e-09
-2.35074e-09
-3.67554e-09
4.19574e-09
2.8794e-09
-3.46732e-09
-3.28974e-09
3.87765e-09
4.04859e-09
-4.67912e-09
-2.71982e-09
3.35035e-09
5.2838e-09
-5.91865e-09
-1.89889e-09
2.53375e-09
6.50434e-09
-7.08955e-09
-7.15955e-10
1.30116e-09
7.60488e-09
-8.08115e-09
9.82443e-10
-5.06172e-10
8.45437e-09
-8.75222e-09
3.29273e-09
-2.99489e-09
8.93318e-09
-8.99098e-09
6.18261e-09
-6.1248e-09
8.9234e-09
-8.71987e-09
9.28551e-09
-9.48904e-09
8.417e-09
-7.98073e-09
1.19858e-08
-1.2422e-08
7.48846e-09
-6.91097e-09
1.34244e-08
-1.40019e-08
6.37413e-09
-5.85491e-09
1.22455e-08
-1.27647e-08
5.68654e-09
-5.78079e-09
5.15747e-09
-5.06323e-09
6.63257e-09
-8.33946e-09
-1.31499e-08
1.48567e-08
1.1085e-08
-1.53893e-08
-4.57138e-08
5.00181e-08
2.07767e-08
-2.81523e-08
-8.85338e-08
9.59094e-08
3.64108e-08
-4.65697e-08
-1.26098e-07
1.36257e-07
5.76012e-08
-7.01305e-08
-1.49928e-07
1.62458e-07
8.00274e-08
-9.08672e-08
-1.34088e-07
1.44928e-07
9.78017e-08
-1.02307e-07
-6.8507e-08
7.3012e-08
1.02385e-07
-9.87687e-08
2.3053e-08
-2.66691e-08
9.10277e-08
-8.05679e-08
1.02898e-07
-1.13358e-07
6.79055e-08
-5.48153e-08
1.37127e-07
-1.50217e-07
3.9777e-08
-2.88577e-08
1.20034e-07
-1.30953e-07
1.73806e-08
-6.14791e-09
1.33452e-07
-1.44685e-07
-1.55974e-09
1.31282e-09
-3.70811e-09
3.95503e-09
-1.06241e-09
7.78946e-10
-4.11059e-09
4.39406e-09
-4.88253e-10
1.55914e-10
-4.4503e-09
4.78264e-09
1.88092e-10
-5.83981e-10
-4.69123e-09
5.08712e-09
9.95148e-10
-1.46702e-09
-4.79367e-09
5.26554e-09
1.95274e-09
-2.50396e-09
-4.73138e-09
5.2826e-09
3.06292e-09
-3.6844e-09
-4.48275e-09
5.10423e-09
4.30001e-09
-4.96602e-09
-3.99965e-09
4.66565e-09
5.60657e-09
-6.27524e-09
-3.18569e-09
3.85437e-09
6.89372e-09
-7.50884e-09
-1.90212e-09
2.51724e-09
8.0424e-09
-8.53279e-09
2.19976e-11
4.68398e-10
8.91113e-09
-9.19678e-09
2.70181e-09
-2.41616e-09
9.34852e-09
-9.36535e-09
6.08443e-09
-6.0676e-09
9.24021e-09
-8.96571e-09
9.72635e-09
-1.00008e-08
8.58089e-09
-8.05048e-09
1.29004e-08
-1.34308e-08
7.4714e-09
-6.78268e-09
1.46312e-08
-1.53199e-08
6.12902e-09
-5.43639e-09
1.33635e-08
-1.40561e-08
5.10916e-09
-4.96612e-09
5.08414e-09
-5.22719e-09
5.63185e-09
-7.17052e-09
-1.64803e-08
1.8019e-08
9.81967e-09
-1.41311e-08
-5.43226e-08
5.8634e-08
1.96451e-08
-2.72763e-08
-1.03408e-07
1.11039e-07
3.58362e-08
-4.62065e-08
-1.46521e-07
1.56892e-07
5.76553e-08
-7.06955e-08
-1.7523e-07
1.8827e-07
8.07378e-08
-9.18663e-08
-1.55908e-07
1.67036e-07
9.90227e-08
-1.03474e-07
-7.74919e-08
8.19427e-08
1.03505e-07
-9.96699e-08
3.03899e-08
-3.42245e-08
9.16635e-08
-8.08958e-08
1.23964e-07
-1.34732e-07
6.80495e-08
-5.47411e-08
1.63411e-07
-1.7672e-07
3.95658e-08
-2.86176e-08
1.41887e-07
-1.52835e-07
1.7236e-08
-5.93344e-09
1.55951e-07
-1.67253e-07
-1.65888e-09
1.3767e-09
-4.21812e-09
4.5003e-09
-1.09126e-09
7.69496e-10
-4.69525e-09
5.01702e-09
-4.41304e-10
6.91743e-11
-5.13338e-09
5.50551e-09
3.12986e-10
-7.48191e-10
-5.50128e-09
5.93648e-09
1.19577e-09
-1.70498e-09
-5.75484e-09
6.26405e-09
2.22551e-09
-2.81214e-09
-5.85092e-09
6.43755e-09
3.40395e-09
-4.05945e-09
-5.742e-09
6.3975e-09
4.70623e-09
-5.40643e-09
-5.34922e-09
6.04941e-09
6.07845e-09
-6.78091e-09
-4.53995e-09
5.24241e-09
7.42716e-09
-8.06837e-09
-3.14619e-09
3.78741e-09
8.62116e-09
-9.11853e-09
-9.65501e-10
1.46287e-09
9.49528e-09
-9.76562e-09
2.13824e-09
-1.86791e-09
9.88016e-09
-9.83748e-09
6.08142e-09
-6.1241e-09
9.63414e-09
-9.26732e-09
1.03171e-08
-1.06839e-08
8.7861e-09
-8.15488e-09
1.40075e-08
-1.46387e-08
7.46425e-09
-6.63797e-09
1.6076e-08
-1.69022e-08
5.85112e-09
-4.93735e-09
1.48541e-08
-1.57679e-08
4.4342e-09
-4.01429e-09
5.50376e-09
-5.92367e-09
4.4677e-09
-5.82487e-09
-1.94691e-08
2.08263e-08
8.37215e-09
-1.27085e-08
-6.29559e-08
6.72923e-08
1.83742e-08
-2.63011e-08
-1.18813e-07
1.26739e-07
3.51972e-08
-4.5772e-08
-1.67366e-07
1.77941e-07
5.77124e-08
-7.13702e-08
-2.01604e-07
2.15262e-07
8.15739e-08
-9.30103e-08
-1.78317e-07
1.89754e-07
1.00444e-07
-1.04823e-07
-8.63599e-08
9.07392e-08
1.04792e-07
-1.00705e-07
3.81814e-08
-4.22687e-08
9.23905e-08
-8.12575e-08
1.45675e-07
-1.56808e-07
6.82045e-08
-5.4644e-08
1.9015e-07
-2.0371e-07
3.93098e-08
-2.83392e-08
1.63796e-07
-1.74766e-07
1.70519e-08
-5.67292e-09
1.78594e-07
-1.89973e-07
-1.77624e-09
1.452e-09
-4.80308e-09
5.12731e-09
-1.12532e-09
7.58573e-10
-5.36137e-09
5.72811e-09
-3.85966e-10
-3.35388e-11
-5.90072e-09
6.32023e-09
4.6084e-10
-9.43187e-10
-6.39468e-09
6.87703e-09
1.43477e-09
-1.98878e-09
-6.79516e-09
7.34917e-09
2.55069e-09
-3.17939e-09
-7.04377e-09
7.67247e-09
3.81033e-09
-4.50618e-09
-7.07317e-09
7.76902e-09
5.1929e-09
-5.93394e-09
-6.76821e-09
7.50924e-09
6.64447e-09
-7.38718e-09
-5.96303e-09
6.70573e-09
8.06912e-09
-8.74269e-09
-4.44262e-09
5.11619e-09
9.31858e-09
-9.83134e-09
-1.97034e-09
2.4831e-09
1.02071e-08
-1.04529e-08
1.60808e-09
-1.36233e-09
1.05244e-08
-1.04094e-08
6.20214e-09
-6.31717e-09
1.01115e-08
-9.62985e-09
1.11066e-08
-1.15882e-08
9.03817e-09
-8.28199e-09
1.53369e-08
-1.60931e-08
7.47185e-09
-6.50015e-09
1.78016e-08
-1.87733e-08
5.55725e-09
-4.38351e-09
1.68062e-08
-1.79799e-08
3.68075e-09
-2.93997e-09
6.49704e-09
-7.23783e-09
3.14104e-09
-4.29521e-09
-2.20853e-08
2.32395e-08
6.72448e-09
-1.11051e-08
-7.1648e-08
7.60286e-08
1.69493e-08
-2.52275e-08
-1.34834e-07
1.43112e-07
3.45049e-08
-4.52637e-08
-1.88612e-07
1.99371e-07
5.77748e-08
-7.21843e-08
-2.29278e-07
2.43687e-07
8.25653e-08
-9.43136e-08
-2.01348e-07
2.13096e-07
1.02089e-07
-1.06383e-07
-9.50776e-08
9.93715e-08
1.0627e-07
-1.01896e-07
4.64952e-08
-5.08693e-08
9.32284e-08
-8.16652e-08
1.68148e-07
-1.79712e-07
6.83815e-08
-5.45324e-08
2.17411e-07
-2.31261e-07
3.90143e-08
-2.80232e-08
1.85748e-07
-1.96739e-07
1.68276e-08
-5.36464e-09
2.01393e-07
-2.12856e-07
-1.91153e-09
1.54494e-09
-5.47267e-09
5.83926e-09
-1.17507e-09
7.60416e-10
-6.11809e-09
6.53275e-09
-3.41674e-10
-1.27788e-10
-6.76469e-09
7.23415e-09
6.03241e-10
-1.13639e-09
-7.38464e-09
7.9178e-09
1.67667e-09
-2.28114e-09
-7.9279e-09
8.53237e-09
2.89035e-09
-3.56915e-09
-8.32512e-09
9.00391e-09
4.2481e-09
-4.99527e-09
-8.48993e-09
9.23709e-09
5.73042e-09
-6.52415e-09
-8.27609e-09
9.06982e-09
7.28577e-09
-8.07883e-09
-7.47155e-09
8.26461e-09
8.80996e-09
-9.52809e-09
-5.81004e-09
6.52817e-09
1.01372e-08
-1.06689e-08
-3.00481e-09
3.53656e-09
1.1046e-08
-1.12636e-08
1.12759e-09
-9.09945e-10
1.12874e-08
-1.10819e-08
6.47715e-09
-6.68268e-09
1.06707e-08
-1.00489e-08
1.21327e-08
-1.27544e-08
9.33716e-09
-8.44474e-09
1.69147e-08
-1.78072e-08
7.50122e-09
-6.37017e-09
1.98258e-08
-2.09569e-08
5.26043e-09
-3.78916e-09
1.9299e-08
-2.07703e-08
2.85158e-09
-1.73123e-09
8.16281e-09
-9.28317e-09
1.63723e-09
-2.55757e-09
-2.4281e-08
2.52014e-08
4.84613e-09
-9.29646e-09
-8.04401e-08
8.48904e-08
1.53508e-08
-2.40529e-08
-1.51591e-07
1.60294e-07
3.37667e-08
-4.46637e-08
-2.10205e-07
2.21102e-07
5.78207e-08
-7.31488e-08
-2.58531e-07
2.7386e-07
8.37189e-08
-9.57547e-08
-2.24992e-07
2.37028e-07
1.03945e-07
-1.08148e-07
-1.03619e-07
1.07822e-07
1.07921e-07
-1.03227e-07
5.53992e-08
-6.00934e-08
9.4162e-08
-8.20991e-08
1.91515e-07
-2.03578e-07
6.85666e-08
-5.43939e-08
2.45266e-07
-2.59439e-07
3.86699e-08
-2.76608e-08
2.07738e-07
-2.18747e-07
1.65559e-08
-5.0035e-09
2.24362e-07
-2.35915e-07
-2.06689e-09
1.65585e-09
-6.22859e-09
6.63963e-09
-1.24184e-09
7.78989e-10
-6.9716e-09
7.43445e-09
-3.12729e-10
-2.07881e-10
-7.72887e-09
8.24948e-09
7.32589e-10
-1.31917e-09
-8.47759e-09
9.06417e-09
1.91084e-09
-2.571e-09
-9.16407e-09
9.82422e-09
3.23439e-09
-3.97167e-09
-9.71005e-09
1.04473e-08
4.70715e-09
-5.51626e-09
-1.00136e-08
1.08227e-08
6.3125e-09
-7.17301e-09
-9.89519e-09
1.07557e-08
8.00059e-09
-8.86415e-09
-9.0923e-09
9.95586e-09
9.65802e-09
-1.04354e-08
-7.2744e-09
8.05181e-09
1.10914e-08
-1.16506e-08
-4.08011e-09
4.63931e-09
1.20315e-08
-1.2226e-08
7.00895e-10
-5.06352e-10
1.21882e-08
-1.18793e-08
6.93583e-09
-7.24471e-09
1.13162e-08
-1.05213e-08
1.34541e-08
-1.4249e-08
9.6663e-09
-8.63715e-09
1.87691e-08
-1.97982e-08
7.55303e-09
-6.25928e-09
2.21708e-08
-2.34645e-08
4.97299e-09
-3.15518e-09
2.24077e-08
-2.42255e-08
1.94469e-09
-3.89759e-10
1.06143e-08
-1.21692e-08
-3.32805e-11
-5.75767e-10
-2.59871e-08
2.65962e-08
2.70737e-09
-7.26116e-09
-8.93874e-08
9.39412e-08
1.35599e-08
-2.27842e-08
-1.69242e-07
1.78466e-07
3.30064e-08
-4.39609e-08
-2.32041e-07
2.42996e-07
5.78292e-08
-7.42918e-08
-2.89725e-07
3.06187e-07
8.507e-08
-9.73221e-08
-2.49186e-07
2.61438e-07
1.06008e-07
-1.10138e-07
-1.11983e-07
1.16114e-07
1.09747e-07
-1.04705e-07
6.49585e-08
-7.00005e-08
9.51949e-08
-8.25547e-08
2.15919e-07
-2.28559e-07
6.87571e-08
-5.42259e-08
2.73787e-07
-2.88318e-07
3.82763e-08
-2.72476e-08
2.29766e-07
-2.40794e-07
1.62327e-08
-4.58541e-09
2.47514e-07
-2.59161e-07
-2.24356e-09
1.79179e-09
-7.07166e-09
7.52343e-09
-1.33663e-09
8.27477e-10
-7.92069e-09
8.42984e-09
-3.14014e-10
-2.59727e-10
-8.79602e-09
9.36976e-09
8.37968e-10
-1.48336e-09
-9.67934e-09
1.03247e-08
2.13258e-09
-2.85549e-09
-1.05149e-08
1.12378e-08
3.57993e-09
-4.38426e-09
-1.1217e-08
1.20213e-08
5.18696e-09
-6.07001e-09
-1.16674e-08
1.25505e-08
6.94068e-09
-7.88414e-09
-1.16559e-08
1.25993e-08
8.79422e-09
-9.74741e-09
-1.08613e-08
1.18145e-08
1.06244e-08
-1.14824e-08
-8.86832e-09
9.72631e-09
1.22011e-08
-1.28043e-08
-5.21754e-09
5.82074e-09
1.31999e-08
-1.33593e-08
3.28529e-10
-1.69149e-10
1.32522e-08
-1.28155e-08
7.61661e-09
-8.05334e-09
1.20609e-08
-1.10423e-08
1.51475e-08
-1.61661e-08
1.00292e-08
-8.86393e-09
2.08993e-08
-2.20646e-08
7.63316e-09
-6.17971e-09
2.48392e-08
-2.62927e-08
4.71591e-09
-2.5045e-09
2.62292e-08
-2.84406e-08
9.64984e-10
1.03811e-09
1.39349e-08
-1.5938e-08
-1.87128e-09
1.55339e-09
-2.70542e-08
2.73721e-08
2.58374e-10
-4.96483e-09
-9.85605e-08
1.03267e-07
1.15536e-08
-2.14389e-08
-1.87999e-07
1.97885e-07
3.22741e-08
-4.31521e-08
-2.53933e-07
2.64811e-07
5.77718e-08
-7.56491e-08
-3.23319e-07
3.41196e-07
8.67031e-08
-9.90106e-08
-2.73747e-07
2.86054e-07
1.08268e-07
-1.12416e-07
-1.20235e-07
1.24383e-07
1.11761e-07
-1.06353e-07
7.5224e-08
-8.06314e-08
9.63472e-08
-8.30409e-08
2.41522e-07
-2.54828e-07
6.89628e-08
-5.40361e-08
3.03043e-07
-3.1797e-07
3.7842e-08
-2.6783e-08
2.51837e-07
-2.62896e-07
1.58543e-08
-4.10462e-09
2.7086e-07
-2.82609e-07
-2.44361e-09
1.94515e-09
-7.99692e-09
8.49538e-09
-1.44356e-09
8.83051e-10
-8.96358e-09
9.52409e-09
-3.19292e-10
-3.103e-10
-9.97113e-09
1.06007e-08
9.43199e-10
-1.64781e-09
-1.10002e-08
1.17048e-08
2.35634e-09
-3.14361e-09
-1.19933e-08
1.27806e-08
3.93351e-09
-4.81121e-09
-1.28613e-08
1.3739e-08
5.68874e-09
-6.65822e-09
-1.34759e-08
1.44454e-08
7.61627e-09
-8.65962e-09
-1.35902e-08
1.46335e-08
9.66994e-09
-1.07357e-08
-1.28207e-08
1.38864e-08
1.17221e-08
-1.2686e-08
-1.06361e-08
1.16e-08
1.34934e-08
-1.41555e-08
-6.4511e-09
7.11317e-09
1.45773e-08
-1.47081e-08
2.49901e-11
1.05847e-10
1.4508e-08
-1.39219e-08
8.56348e-09
-9.1496e-09
1.29163e-08
-1.15977e-08
1.7321e-08
-1.86396e-08
1.04068e-08
-9.13406e-09
2.32867e-08
-2.45595e-08
7.74952e-09
-6.14729e-09
2.78228e-08
-2.9425e-08
4.52081e-09
-1.86031e-09
3.0868e-08
-3.35285e-08
-4.11133e-11
2.62614e-09
1.81895e-08
-2.07745e-08
-3.95503e-09
3.96611e-09
-2.7521e-08
2.75099e-08
-2.39732e-09
-2.32427e-09
-1.07982e-07
1.12704e-07
9.2959e-09
-2.00372e-08
-2.08163e-07
2.18905e-07
3.16596e-08
-4.22219e-08
-2.75569e-07
2.86131e-07
5.75593e-08
-7.71836e-08
-3.59902e-07
3.79527e-07
8.87528e-08
-1.00802e-07
-2.98281e-07
3.1033e-07
1.10609e-07
-1.15029e-07
-1.2862e-07
1.3304e-07
1.13942e-07
-1.08156e-07
8.62248e-08
-9.20107e-08
9.76063e-08
-8.35346e-08
2.68503e-07
-2.82575e-07
6.91683e-08
-5.38124e-08
3.33106e-07
-3.48462e-07
3.73542e-08
-2.62558e-08
2.73973e-07
-2.85071e-07
1.5411e-08
-3.55229e-09
2.94412e-07
-3.0627e-07
-2.66791e-09
2.11654e-09
-9.02105e-09
9.57242e-09
-1.56295e-09
9.47102e-10
-1.01125e-08
1.07284e-08
-3.29931e-10
-3.54025e-10
-1.12569e-08
1.19408e-08
1.03928e-09
-1.80112e-09
-1.24378e-08
1.31996e-08
2.5669e-09
-3.42157e-09
-1.36008e-08
1.44554e-08
4.28097e-09
-5.23884e-09
-1.46553e-08
1.56131e-08
6.20106e-09
-7.26848e-09
-1.54625e-08
1.653e-08
8.32994e-09
-9.49583e-09
-1.5735e-08
1.69009e-08
1.06295e-08
-1.18358e-08
-1.50179e-08
1.62241e-08
1.29601e-08
-1.40638e-08
-1.26288e-08
1.37324e-08
1.49961e-08
-1.57489e-08
-7.8162e-09
8.56898e-09
1.62238e-08
-1.63104e-08
-2.15789e-10
3.02429e-10
1.60126e-08
-1.52585e-08
9.82417e-09
-1.05783e-08
1.39066e-08
-1.21601e-08
2.01477e-08
-2.18943e-08
1.07625e-08
-9.4692e-09
2.58562e-08
-2.71494e-08
7.92285e-09
-6.1884e-09
3.11004e-08
-3.28348e-08
4.44342e-09
-1.30906e-09
3.64446e-08
-3.95789e-08
-1.02474e-09
4.36621e-09
2.36619e-08
-2.70034e-08
-6.28067e-09
6.68844e-09
-2.72892e-08
2.68815e-08
-5.46521e-09
7.57134e-10
-1.17429e-07
1.22137e-07
6.73386e-09
-1.86213e-08
-2.30148e-07
2.42036e-07
3.12964e-08
-4.11879e-08
-2.96382e-07
3.06273e-07
5.70401e-08
-7.87155e-08
-4.00147e-07
4.21822e-07
9.14251e-08
-1.02857e-07
-3.22103e-07
3.33535e-07
1.12859e-07
-1.18008e-07
-1.37762e-07
1.42912e-07
1.16334e-07
-1.10102e-07
9.80043e-08
-1.04237e-07
9.89795e-08
-8.40259e-08
2.97072e-07
-3.12025e-07
6.93696e-08
-5.35532e-08
3.64045e-07
-3.79861e-07
3.67935e-08
-2.56586e-08
2.9619e-07
-3.07325e-07
1.48935e-08
-2.917e-09
3.18187e-07
-3.30163e-07
-2.91463e-09
2.32578e-09
-1.01453e-08
1.07341e-08
-1.73356e-09
1.07201e-09
-1.13688e-08
1.20303e-08
-4.06535e-10
-3.35989e-10
-1.26531e-08
1.33956e-08
1.08343e-09
-1.91644e-09
-1.39951e-08
1.48281e-08
2.75514e-09
-3.689e-09
-1.53478e-08
1.62817e-08
4.62915e-09
-5.67911e-09
-1.66163e-08
1.76662e-08
6.73472e-09
-7.9151e-09
-1.76512e-08
1.88315e-08
9.09243e-09
-1.03987e-08
-1.81342e-08
1.94405e-08
1.16814e-08
-1.30601e-08
-1.75111e-08
1.88899e-08
1.43632e-08
-1.56458e-08
-1.4917e-08
1.61996e-08
1.67662e-08
-1.76691e-08
-9.38379e-09
1.02867e-08
1.82475e-08
-1.82664e-08
-3.64278e-10
3.83201e-10
1.7826e-08
-1.69505e-08
1.14055e-08
-1.2281e-08
1.51555e-08
-1.2711e-08
2.39477e-08
-2.63922e-08
1.10503e-08
-9.88663e-09
2.84151e-08
-2.95788e-08
8.22695e-09
-6.37624e-09
3.46518e-08
-3.65025e-08
4.60304e-09
-8.50716e-10
4.30503e-08
-4.68026e-08
-2.13961e-09
6.19397e-09
3.06145e-08
-3.46689e-08
-8.76343e-09
9.76452e-09
-2.63198e-08
2.53187e-08
-9.01233e-09
4.16507e-09
-1.2692e-07
1.31767e-07
3.76272e-09
-1.72567e-08
-2.54525e-07
2.68019e-07
3.12455e-08
-4.01905e-08
-3.15714e-07
3.24659e-07
5.60465e-08
-7.98578e-08
-4.44575e-07
4.68386e-07
9.4645e-08
-1.05574e-07
-3.44647e-07
3.55576e-07
1.15047e-07
-1.2124e-07
-1.48578e-07
1.54772e-07
1.19064e-07
-1.12193e-07
1.10757e-07
-1.17628e-07
1.00492e-07
-8.4518e-08
3.27472e-07
-3.43445e-07
6.95743e-08
-5.32667e-08
3.9592e-07
-4.12228e-07
3.61396e-08
-2.49865e-08
3.18472e-07
-3.29625e-07
1.42924e-08
-2.18161e-09
3.42205e-07
-3.54316e-07
-3.18485e-09
2.55313e-09
-1.13399e-08
1.19716e-08
-1.91831e-09
1.20697e-09
-1.2713e-08
1.34244e-08
-4.89231e-10
-3.14478e-10
-1.41684e-08
1.49722e-08
1.12489e-09
-2.02809e-09
-1.5699e-08
1.66022e-08
2.93485e-09
-3.94218e-09
-1.72555e-08
1.82628e-08
4.95421e-09
-6.08786e-09
-1.876e-08
1.98937e-08
7.23838e-09
-8.54408e-09
-2.00736e-08
2.13793e-08
9.86068e-09
-1.13409e-08
-2.08279e-08
2.23081e-08
1.28011e-08
-1.43983e-08
-2.03711e-08
2.19683e-08
1.59368e-08
-1.74805e-08
-1.75986e-08
1.91423e-08
1.89398e-08
-2.02002e-08
-1.1328e-08
1.25884e-08
2.10143e-08
-2.08347e-08
-3.27871e-10
1.48242e-10
2.00667e-08
-1.91952e-08
1.31681e-08
-1.40396e-08
1.69664e-08
-1.33743e-08
2.93448e-08
-3.29369e-08
1.12015e-08
-1.0352e-08
3.0598e-08
-3.14474e-08
8.62426e-09
-6.64058e-09
3.84545e-08
-4.04382e-08
5.0291e-09
-7.18566e-10
5.0862e-08
-5.51725e-08
-2.9923e-09
8.04898e-09
3.92512e-08
-4.43079e-08
-1.17291e-08
1.31883e-08
-2.44603e-08
2.30012e-08
-1.27605e-08
8.01839e-09
-1.36647e-07
1.41389e-07
2.18239e-10
-1.60826e-08
-2.82153e-07
2.98018e-07
3.1951e-08
-3.97168e-08
-3.33056e-07
3.40821e-07
5.47672e-08
-8.05178e-08
-4.93192e-07
5.18943e-07
9.77396e-08
-1.08944e-07
-3.66545e-07
3.7775e-07
1.17602e-07
-1.24531e-07
-1.61402e-07
1.68332e-07
1.22166e-07
-1.14407e-07
1.24913e-07
-1.32671e-07
1.02122e-07
-8.49824e-08
3.59982e-07
-3.77121e-07
6.97649e-08
-5.29442e-08
4.28789e-07
-4.45609e-07
3.53723e-08
-2.42234e-08
3.40778e-07
-3.51927e-07
1.35904e-08
-1.31893e-09
3.66501e-07
-3.78773e-07
-3.48409e-09
2.76737e-09
-1.26423e-08
1.3359e-08
-2.05173e-09
1.26036e-09
-1.41729e-08
1.49643e-08
-4.74255e-10
-3.90714e-10
-1.58061e-08
1.66711e-08
1.25011e-09
-2.19944e-09
-1.75308e-08
1.84801e-08
3.15113e-09
-4.21568e-09
-1.92995e-08
2.0364e-08
5.29418e-09
-6.51569e-09
-2.10676e-08
2.22891e-08
7.75983e-09
-9.19235e-09
-2.27462e-08
2.41787e-08
1.0649e-08
-1.23328e-08
-2.38904e-08
2.55741e-08
1.40052e-08
-1.58603e-08
-2.3691e-08
2.55461e-08
1.76978e-08
-1.96348e-08
-2.0865e-08
2.28021e-08
2.17299e-08
-2.38345e-08
-1.41999e-08
1.63045e-08
2.52517e-08
-2.47157e-08
1.98263e-10
-7.34214e-10
2.31003e-08
-2.21603e-08
1.49159e-08
-1.58559e-08
1.97353e-08
-1.45311e-08
3.72909e-08
-4.24951e-08
1.12452e-08
-1.0867e-08
3.20553e-08
-3.24334e-08
9.33543e-09
-7.29891e-09
4.24454e-08
-4.44819e-08
6.34135e-09
-1.13265e-09
6.00211e-08
-6.52298e-08
-4.00684e-09
1.01385e-08
4.97657e-08
-5.58974e-08
-1.49278e-08
1.66329e-08
-2.12566e-08
1.95515e-08
-1.70522e-08
1.25906e-08
-1.46697e-07
1.51158e-07
-3.62296e-09
-1.50413e-08
-3.14389e-07
3.33053e-07
3.37503e-08
-4.06516e-08
-3.48324e-07
3.55226e-07
5.42572e-08
-8.19133e-08
-5.45632e-07
5.73289e-07
1.00705e-07
-1.12153e-07
-3.89205e-07
4.00652e-07
1.20658e-07
-1.27977e-07
-1.75456e-07
1.82776e-07
1.25625e-07
-1.16757e-07
1.40957e-07
-1.49825e-07
1.03857e-07
-8.54033e-08
3.949e-07
-4.13354e-07
6.99359e-08
-5.25867e-08
4.62693e-07
-4.80043e-07
3.44884e-08
-2.33526e-08
3.63069e-07
-3.74205e-07
1.2768e-08
-2.45158e-10
3.91145e-07
-4.03667e-07
-3.79243e-09
3.01813e-09
-1.41131e-08
1.48874e-08
-2.24747e-09
1.3986e-09
-1.57915e-08
1.66403e-08
-5.59235e-10
-3.58819e-10
-1.75643e-08
1.84824e-08
1.268e-09
-2.27079e-09
-1.9452e-08
2.04548e-08
3.27713e-09
-4.40666e-09
-2.14584e-08
2.25879e-08
5.55706e-09
-6.87325e-09
-2.3562e-08
2.48781e-08
8.22285e-09
-9.80769e-09
-2.56858e-08
2.72706e-08
1.14146e-08
-1.33235e-08
-2.73602e-08
2.9269e-08
1.51995e-08
-1.73161e-08
-2.75331e-08
2.96497e-08
1.94952e-08
-2.19956e-08
-2.50069e-08
2.75074e-08
2.49669e-08
-2.80636e-08
-1.89699e-08
2.20665e-08
3.01353e-08
-2.91838e-08
1.46042e-09
-2.41182e-09
2.6655e-08
-2.55648e-08
1.69112e-08
-1.80014e-08
2.31255e-08
-1.64625e-08
4.85049e-08
-5.51679e-08
1.15367e-08
-1.13215e-08
3.2653e-08
-3.28683e-08
9.97388e-09
-7.25393e-09
4.67971e-08
-4.95171e-08
7.77789e-09
-2.47857e-09
7.04835e-08
-7.57828e-08
-4.8932e-09
1.24173e-08
6.27237e-08
-7.02478e-08
-1.84046e-08
2.12813e-08
-1.72595e-08
1.43828e-08
-2.24299e-08
1.72884e-08
-1.56051e-07
1.61192e-07
-7.83628e-09
-1.34567e-08
-3.52486e-07
3.73779e-07
3.4832e-08
-4.29906e-08
-3.62865e-07
3.71024e-07
5.53557e-08
-8.51393e-08
-6.02047e-07
6.31831e-07
1.05111e-07
-1.15205e-07
-4.11636e-07
4.2173e-07
1.23655e-07
-1.31566e-07
-1.9037e-07
1.98282e-07
1.29467e-07
-1.19318e-07
1.59326e-07
-1.69475e-07
1.05683e-07
-8.57803e-08
4.32519e-07
-4.52422e-07
7.00946e-08
-5.22082e-08
4.97661e-07
-5.15547e-07
3.34906e-08
-2.23581e-08
3.85337e-07
-3.9647e-07
1.18041e-08
5.71675e-10
4.16145e-07
-4.28521e-07
-4.09241e-09
3.29032e-09
-1.56699e-08
1.6472e-08
-2.49077e-09
1.60536e-09
-1.75027e-08
1.83881e-08
-7.18985e-10
-2.63243e-10
-1.94268e-08
2.0409e-08
1.24724e-09
-2.3371e-09
-2.14985e-08
2.25883e-08
3.42788e-09
-4.63407e-09
-2.37557e-08
2.49619e-08
5.84031e-09
-7.19455e-09
-2.62216e-08
2.75759e-08
8.5753e-09
-1.02564e-08
-2.89173e-08
3.05983e-08
1.20171e-08
-1.42666e-08
-3.13342e-08
3.35838e-08
1.6454e-08
-1.88811e-08
-3.19109e-08
3.43381e-08
2.13995e-08
-2.43257e-08
-3.02715e-08
3.31978e-08
2.75817e-08
-3.01915e-08
-2.52004e-08
2.78102e-08
3.13257e-08
-2.97045e-08
3.69068e-09
-5.3119e-09
2.81497e-08
-2.80879e-08
1.88209e-08
-1.88827e-08
2.49687e-08
-1.77036e-08
6.22374e-08
-6.95025e-08
1.22331e-08
-1.16704e-08
3.32288e-08
-3.37915e-08
1.12456e-08
-7.63891e-09
5.26146e-08
-5.62214e-08
8.71097e-09
-3.14357e-09
8.12129e-08
-8.67803e-08
-6.97941e-09
1.54783e-08
7.83663e-08
-8.68652e-08
-2.22238e-08
2.51644e-08
-1.17218e-08
8.7812e-09
-2.73774e-08
2.38833e-08
-1.65812e-07
1.69306e-07
-1.48798e-08
-8.97474e-09
-3.96793e-07
4.20648e-07
3.1806e-08
-4.37655e-08
-3.80062e-07
3.92022e-07
5.64574e-08
-8.79693e-08
-6.62518e-07
6.9403e-07
1.10708e-07
-1.19092e-07
-4.30816e-07
4.39199e-07
1.26686e-07
-1.34754e-07
-2.06404e-07
2.14472e-07
1.33371e-07
-1.22261e-07
1.80205e-07
-1.91315e-07
1.07507e-07
-8.60864e-08
4.7308e-07
-4.945e-07
7.02203e-08
-5.18044e-08
5.33699e-07
-5.52115e-07
3.23667e-08
-2.12079e-08
4.07609e-07
-4.18768e-07
1.06618e-08
1.51475e-09
4.40801e-07
-4.52977e-07
-4.40024e-09
3.41713e-09
-1.73359e-08
1.8319e-08
-2.448e-09
1.39189e-09
-1.93351e-08
2.03912e-08
-3.58005e-10
-7.56492e-10
-2.14455e-08
2.256e-08
1.83972e-09
-3.00425e-09
-2.37222e-08
2.48867e-08
4.13676e-09
-5.36307e-09
-2.61926e-08
2.74189e-08
6.56578e-09
-7.89807e-09
-2.89295e-08
3.02618e-08
9.26075e-09
-1.0965e-08
-3.22951e-08
3.39993e-08
1.28206e-08
-1.54861e-08
-3.60311e-08
3.86966e-08
1.80077e-08
-2.0773e-08
-3.69372e-08
3.97025e-08
2.36043e-08
-2.62901e-08
-3.61141e-08
3.88e-08
2.83332e-08
-2.87749e-08
-2.94223e-08
2.9864e-08
2.89668e-08
-2.87291e-08
6.82925e-09
-7.06702e-09
3.08813e-08
-3.35545e-08
1.77754e-08
-1.51022e-08
2.68012e-08
-1.69834e-08
7.72818e-08
-8.70995e-08
1.34139e-08
-1.25248e-08
3.4584e-08
-3.54731e-08
1.154e-08
-7.03933e-09
6.04109e-08
-6.49116e-08
6.53964e-09
-5.56308e-10
9.2283e-08
-9.82663e-08
-1.09655e-08
2.03985e-08
9.61407e-08
-1.05574e-07
-2.76719e-08
3.201e-08
-5.08186e-09
7.43797e-10
-3.43791e-08
3.0169e-08
-1.73264e-07
1.77474e-07
-2.16051e-08
-4.55657e-09
-4.45371e-07
4.71532e-07
2.21941e-08
-3.52569e-08
-4.06599e-07
4.19662e-07
5.19853e-08
-8.44296e-08
-7.24896e-07
7.5734e-07
1.11427e-07
-1.20728e-07
-4.47643e-07
4.56944e-07
1.28689e-07
-1.36029e-07
-2.22207e-07
2.29547e-07
1.35813e-07
-1.25315e-07
2.0243e-07
-2.12929e-07
1.0916e-07
-8.63552e-08
5.16659e-07
-5.39464e-07
7.02834e-08
-5.13768e-08
5.70786e-07
-5.89692e-07
3.11102e-08
-1.98641e-08
4.29961e-07
-4.41207e-07
9.29027e-09
2.61822e-09
4.65032e-07
-4.76941e-07
-4.67697e-09
3.34809e-09
-1.94688e-08
2.07977e-08
-2.05614e-09
6.82381e-10
-2.15993e-08
2.29731e-08
6.12786e-10
-1.94627e-09
-2.37771e-08
2.51106e-08
3.17455e-09
-4.42609e-09
-2.60828e-08
2.73344e-08
5.58891e-09
-6.8004e-09
-2.86218e-08
2.98332e-08
7.95263e-09
-9.18179e-09
-3.15408e-08
3.27699e-08
1.04579e-08
-1.20343e-08
-3.56772e-08
3.72536e-08
1.39729e-08
-1.71747e-08
-4.16219e-08
4.48237e-08
1.99062e-08
-2.32514e-08
-4.26824e-08
4.60276e-08
2.62874e-08
-2.76651e-08
-4.09874e-08
4.23651e-08
2.75145e-08
-2.65136e-08
-2.93191e-08
2.83182e-08
3.01717e-08
-3.75106e-08
4.33482e-09
3.00408e-09
4.71863e-08
-5.68082e-08
9.85293e-09
-2.31075e-10
3.99092e-08
-1.58587e-08
1.02121e-07
-1.26171e-07
1.34118e-08
-1.50534e-08
3.57033e-08
-3.40617e-08
1.41218e-08
-9.05105e-09
6.95796e-08
-7.46504e-08
5.53566e-09
4.38524e-09
1.05865e-07
-1.15786e-07
-1.82091e-08
2.60009e-08
1.14035e-07
-1.21827e-07
-3.12015e-08
3.62455e-08
4.10231e-09
-9.1463e-09
-4.03694e-08
3.96423e-08
-1.80363e-07
1.8109e-07
-3.41288e-08
1.1684e-08
-4.95434e-07
5.17879e-07
1.05547e-09
-1.97801e-08
-4.40881e-07
4.59605e-07
3.82381e-08
-6.47376e-08
-7.84002e-07
8.10501e-07
9.44108e-08
-1.08014e-07
-4.68116e-07
4.81719e-07
1.18914e-07
-1.26491e-07
-2.36795e-07
2.44372e-07
1.29747e-07
-1.24177e-07
2.21779e-07
-2.2735e-07
1.09434e-07
-8.66546e-08
5.62635e-07
-5.85415e-07
7.01361e-08
-5.0941e-08
6.08793e-07
-6.27989e-07
2.97159e-08
-1.8282e-08
4.52533e-07
-4.63967e-07
7.62285e-09
3.89611e-09
4.88673e-07
-5.00192e-07
-4.76387e-09
3.22057e-09
-2.22701e-08
2.38134e-08
-1.73186e-09
1.54609e-10
-2.44818e-08
2.60591e-08
1.3336e-09
-2.88084e-09
-2.65599e-08
2.81072e-08
4.33425e-09
-5.86479e-09
-2.86941e-08
3.02246e-08
7.34516e-09
-8.93216e-09
-3.11537e-08
3.27407e-08
1.04327e-08
-1.19364e-08
-3.40386e-08
3.55423e-08
1.32971e-08
-1.46343e-08
-3.86735e-08
4.00108e-08
1.66664e-08
-2.01034e-08
-4.82339e-08
5.16709e-08
2.28996e-08
-2.76355e-08
-4.99688e-08
5.47047e-08
3.06671e-08
-3.0099e-08
-4.2692e-08
4.21239e-08
2.90971e-08
-2.88429e-08
-2.75688e-08
2.73145e-08
3.87719e-08
-5.68985e-08
-1.58529e-08
3.39795e-08
7.50586e-08
-8.99301e-08
-1.42026e-08
2.90742e-08
5.96453e-08
-2.05429e-08
1.6055e-07
-1.99652e-07
1.42006e-08
-1.97044e-08
3.01207e-08
-2.46169e-08
1.93083e-08
-1.3423e-08
8.04539e-08
-8.63392e-08
7.53482e-09
8.59331e-09
1.28386e-07
-1.44514e-07
-2.49548e-08
3.40091e-08
1.30111e-07
-1.39166e-07
-3.97752e-08
4.5322e-08
1.47314e-08
-2.02782e-08
-4.84088e-08
4.82953e-08
-1.79532e-07
1.79645e-07
-4.59353e-08
2.30617e-08
-5.43236e-07
5.6611e-07
-1.3906e-08
-1.10685e-09
-4.73913e-07
4.88926e-07
2.80615e-08
-3.83465e-08
-8.34675e-07
8.4496e-07
5.15214e-08
-6.99927e-08
-4.95987e-07
5.14458e-07
7.79362e-08
-8.48532e-08
-2.52298e-07
2.59215e-07
9.51913e-08
-1.02328e-07
2.27484e-07
-2.20347e-07
1.01048e-07
-8.55515e-08
6.06112e-07
-6.21608e-07
6.91182e-08
-5.03735e-08
6.47102e-07
-6.65847e-07
2.81477e-08
-1.63821e-08
4.75544e-07
-4.8731e-07
5.55154e-09
5.38222e-09
5.11447e-07
-5.22381e-07
-4.44343e-09
2.99217e-09
-2.53402e-08
2.67914e-08
-1.60803e-09
1.24795e-10
-2.76204e-08
2.91036e-08
1.33631e-09
-2.97446e-09
-2.97184e-08
3.13566e-08
4.68517e-09
-6.70559e-09
-3.19856e-08
3.40061e-08
8.88257e-09
-1.14454e-08
-3.47573e-08
3.73202e-08
1.4047e-08
-1.67635e-08
-3.75353e-08
4.02519e-08
1.91125e-08
-2.13755e-08
-4.15751e-08
4.38381e-08
2.41328e-08
-2.69781e-08
-5.48859e-08
5.77313e-08
3.00951e-08
-3.64916e-08
-6.03105e-08
6.67069e-08
3.99796e-08
-4.10969e-08
-4.15869e-08
4.27042e-08
4.17936e-08
-3.81359e-08
-2.65726e-08
2.29149e-08
4.83124e-08
-7.00476e-08
-5.55236e-08
7.72587e-08
8.32206e-08
-7.07084e-08
-3.37676e-08
2.12553e-08
3.9387e-08
-2.25353e-08
2.31279e-07
-2.48131e-07
1.18992e-08
-1.9565e-08
1.81879e-08
-1.05222e-08
1.87201e-08
-1.63514e-08
9.09498e-08
-9.33184e-08
1.43052e-08
1.05681e-08
1.65133e-07
-1.90006e-07
-3.35182e-08
3.98429e-08
1.47322e-07
-1.53647e-07
-4.51439e-08
5.18127e-08
2.66584e-08
-3.33273e-08
-5.68483e-08
5.92941e-08
-1.80713e-07
1.78267e-07
-6.17549e-08
5.51427e-08
-5.79207e-07
5.85819e-07
-5.29646e-08
4.24057e-08
-5.15211e-07
5.2577e-07
-2.97885e-08
-6.87607e-09
-8.2675e-07
8.63415e-07
6.04944e-08
-5.93853e-08
-5.44924e-07
5.43815e-07
2.4865e-08
-1.62637e-08
-2.63443e-07
2.54842e-07
2.20851e-08
-3.79671e-08
2.06387e-07
-1.90505e-07
6.41481e-08
-7.30476e-08
6.27325e-07
-6.18425e-07
6.44108e-08
-4.84923e-08
6.83701e-07
-6.99619e-07
2.61379e-08
-1.37584e-08
4.99324e-07
-5.11703e-07
2.55684e-09
7.12604e-09
5.3283e-07
-5.42513e-07
-3.53966e-09
2.16784e-09
-2.81546e-08
2.95264e-08
-9.07698e-10
-4.15925e-10
-3.04811e-08
3.18047e-08
1.78735e-09
-3.46196e-09
-3.30031e-08
3.46777e-08
5.40326e-09
-7.90934e-09
-3.62691e-08
3.87752e-08
1.08189e-08
-1.44533e-08
-4.04528e-08
4.40872e-08
1.83955e-08
-2.29148e-08
-4.38765e-08
4.83957e-08
2.73481e-08
-3.20732e-08
-4.72299e-08
5.1955e-08
3.61473e-08
-3.91081e-08
-6.03773e-08
6.33382e-08
4.36121e-08
-5.08107e-08
-7.36915e-08
8.08901e-08
5.71362e-08
-6.32859e-08
-4.67681e-08
5.29178e-08
6.1286e-08
-4.52547e-08
-1.32539e-08
-2.77749e-09
4.61865e-08
-6.3198e-08
-9.7025e-08
1.14037e-07
6.52773e-08
-4.09914e-08
2.0384e-09
-2.63243e-08
2.25412e-08
-1.55911e-08
2.54997e-07
-2.61947e-07
4.77729e-09
-1.55047e-08
1.46451e-09
9.26287e-09
1.61056e-08
-1.68453e-08
9.34601e-08
-9.27204e-08
1.26938e-08
2.07384e-08
2.18618e-07
-2.52051e-07
-4.53797e-08
4.62168e-08
1.57654e-07
-1.58491e-07
-4.91604e-08
5.78698e-08
4.09306e-08
-4.964e-08
-6.4771e-08
7.31209e-08
-1.68199e-07
1.59849e-07
-8.23635e-08
6.03261e-08
-6.06141e-07
6.28178e-07
-6.21128e-08
6.91926e-08
-5.13263e-07
5.06184e-07
-3.80358e-08
4.79256e-08
-9.07831e-07
8.97941e-07
-1.4456e-07
2.3101e-07
-5.59151e-07
4.72701e-07
-2.96054e-07
3.04643e-07
-2.22326e-07
2.13737e-07
-1.52392e-07
6.23074e-08
1.76292e-07
-8.6208e-08
-1.39493e-08
-2.56124e-08
5.92568e-07
-5.53006e-07
4.41274e-08
-4.00722e-08
7.11492e-07
-7.15547e-07
2.2046e-08
-7.81831e-09
5.24721e-07
-5.38949e-07
-3.79376e-09
9.21973e-09
5.50763e-07
-5.56189e-07
-1.82002e-09
8.73179e-11
-3.09619e-08
3.26946e-08
1.41564e-09
-2.9536e-09
-3.31545e-08
3.46924e-08
4.53889e-09
-6.50818e-09
-3.63986e-08
3.83679e-08
8.75221e-09
-1.15507e-08
-4.1376e-08
4.41745e-08
1.46651e-08
-1.85838e-08
-4.79967e-08
5.19154e-08
2.31086e-08
-2.8925e-08
-5.38438e-08
5.96602e-08
3.54164e-08
-4.27e-08
-5.80493e-08
6.53329e-08
4.85522e-08
-5.27903e-08
-6.69694e-08
7.12075e-08
5.74097e-08
-6.26849e-08
-8.76575e-08
9.29327e-08
6.87332e-08
-6.87903e-08
-5.75762e-08
5.76334e-08
5.64306e-08
-4.58873e-08
1.98948e-08
-3.04381e-08
4.0332e-08
-3.94527e-08
-1.24219e-07
1.23339e-07
3.75402e-08
-1.8809e-08
4.71161e-08
-6.58473e-08
2.00069e-08
-1.90959e-08
2.67652e-07
-2.68563e-07
1.23725e-08
-1.73914e-08
-1.9223e-08
2.42419e-08
1.32762e-08
-1.17209e-08
9.29627e-08
-9.4518e-08
9.94334e-09
4.20349e-08
2.93316e-07
-3.45294e-07
-7.06916e-08
5.46986e-08
1.52388e-07
-1.36395e-07
-5.62859e-08
6.60126e-08
5.92601e-08
-6.89868e-08
-7.21274e-08
7.89022e-08
-1.57051e-07
1.50276e-07
-9.24376e-08
1.18456e-07
-6.25457e-07
5.99439e-07
-1.26959e-07
7.5583e-08
-5.34891e-07
5.86267e-07
-9.97825e-08
2.23675e-07
-8.0531e-07
6.81418e-07
-3.23921e-07
4.26414e-07
-3.98542e-07
2.96049e-07
-4.95749e-07
7.09093e-07
1.02574e-07
-3.15918e-07
-1.01425e-06
6.53282e-07
-3.21275e-07
6.8224e-07
-1.54322e-07
7.7205e-08
5.03172e-07
-4.26055e-07
-1.83422e-08
-1.04662e-08
7.06129e-07
-6.77321e-07
1.02583e-08
1.08595e-08
5.55214e-07
-5.76331e-07
-2.34873e-08
1.23466e-08
5.55391e-07
-5.4425e-07
6.61176e-10
-2.53871e-09
-3.52969e-08
3.71745e-08
4.71416e-09
-7.2772e-09
-3.63059e-08
3.88689e-08
9.79673e-09
-1.25889e-08
-3.99973e-08
4.27896e-08
1.53885e-08
-1.81862e-08
-4.72389e-08
5.00367e-08
2.03964e-08
-2.21669e-08
-5.57501e-08
5.75205e-08
2.4937e-08
-3.19575e-08
-6.5015e-08
7.20355e-08
4.24195e-08
-5.36701e-08
-7.33102e-08
8.45608e-08
5.84495e-08
-5.8917e-08
-7.53408e-08
7.58083e-08
6.12062e-08
-6.25381e-08
-9.60928e-08
9.74247e-08
6.20296e-08
-6.10775e-08
-5.38999e-08
5.29478e-08
6.21352e-08
-6.78109e-08
3.17246e-08
-2.60488e-08
5.53971e-08
-3.83733e-08
-1.14832e-07
9.78086e-08
2.64902e-08
-1.45899e-08
7.85769e-08
-9.04771e-08
3.02241e-08
-4.40076e-08
2.63496e-07
-2.49712e-07
3.57324e-08
-3.05829e-08
-2.46057e-08
1.94562e-08
1.0801e-08
1.91419e-10
9.81966e-08
-1.09189e-07
8.47603e-09
4.85837e-08
4.05776e-07
-4.62835e-07
-8.60364e-08
6.17627e-08
1.12445e-07
-8.81713e-08
-5.79039e-08
6.71494e-08
7.74629e-08
-8.67085e-08
-7.90435e-08
1.03509e-07
-1.30104e-07
1.05639e-07
-1.0738e-07
1.30276e-07
-5.70946e-07
5.48049e-07
-1.36227e-07
1.55767e-07
-6.1805e-07
5.9851e-07
-2.62299e-07
3.25144e-07
-5.72183e-07
5.09338e-07
-3.85779e-07
5.45425e-07
-1.95607e-07
3.59606e-08
-7.70899e-07
1.3531e-06
5.78519e-07
-1.16072e-06
-1.33664e-06
2.5804e-07
-1.35276e-06
2.43136e-06
1.4873e-07
-4.16945e-08
4.21325e-07
-5.28361e-07
-7.9685e-08
5.2678e-08
6.36336e-07
-6.09329e-07
-1.74805e-08
5.00883e-08
6.03197e-07
-6.35805e-07
-6.51364e-08
1.93468e-08
5.16545e-07
-4.70756e-07
6.02082e-09
-8.65433e-09
-3.87731e-08
4.14066e-08
9.80541e-09
-1.18134e-08
-3.90671e-08
4.1075e-08
1.3086e-08
-1.525e-08
-4.49947e-08
4.71587e-08
1.71105e-08
-1.9097e-08
-5.2609e-08
5.45956e-08
2.10243e-08
-1.86852e-08
-5.6657e-08
5.43179e-08
1.40641e-08
-1.17263e-08
-7.75676e-08
7.52299e-08
1.08635e-08
-1.20027e-08
-8.96933e-08
9.08325e-08
1.963e-08
-3.60882e-08
-8.26051e-08
9.90633e-08
4.6295e-08
-5.08142e-08
-1.03695e-07
1.08214e-07
6.56013e-08
-9.12934e-08
-6.02736e-08
8.59657e-08
1.20756e-07
-1.35192e-07
1.46468e-08
-2.10097e-10
1.10004e-07
-6.5651e-08
-6.91654e-08
2.48121e-08
3.06411e-08
-1.62502e-08
1.04289e-07
-1.1868e-07
4.46022e-08
-7.27666e-08
2.26972e-07
-1.98807e-07
6.70673e-08
-4.75979e-08
-8.01224e-09
-1.14571e-08
1.95431e-08
2.83631e-08
1.38967e-07
-1.86873e-07
-3.84427e-08
4.22515e-08
4.99982e-07
-5.0379e-07
-5.82461e-08
6.31686e-08
7.4444e-08
-7.93665e-08
-6.11287e-08
8.25427e-08
9.99949e-08
-1.21409e-07
-1.06663e-07
9.15854e-08
-9.76983e-08
1.12776e-07
-1.18413e-07
1.44507e-07
-5.28153e-07
5.02058e-07
-1.52037e-07
2.67606e-07
-5.20494e-07
4.04925e-07
-3.36314e-07
3.2765e-07
-4.62276e-07
4.70941e-07
-4.99101e-07
8.01172e-07
1.43958e-07
-4.4603e-07
-1.04484e-06
2.30335e-07
1.02832e-06
-2.13822e-07
1.61437e-06
-8.70643e-07
-2.69544e-06
1.95172e-06
-1.34095e-07
-3.47066e-07
4.34119e-07
4.70415e-08
8.93821e-08
7.36854e-08
6.69645e-07
-8.32713e-07
-5.34527e-08
8.0747e-08
6.69373e-07
-6.96667e-07
-9.26541e-08
3.10386e-08
4.07893e-07
-3.46278e-07
2.26567e-08
-2.8805e-08
-4.68452e-08
5.29935e-08
3.359e-08
-3.52628e-08
-4.48042e-08
4.64769e-08
3.60289e-08
-3.54186e-08
-4.54034e-08
4.47932e-08
3.92036e-08
-4.52243e-08
-5.41849e-08
6.02056e-08
6.10781e-08
-8.26391e-08
-7.6428e-08
9.7989e-08
1.06733e-07
-1.25193e-07
-9.5081e-08
1.13541e-07
1.37627e-07
-1.46053e-07
-9.91902e-08
1.07616e-07
1.43334e-07
-1.24676e-07
-9.29573e-08
7.42987e-08
1.14188e-07
-7.57162e-08
-9.04002e-08
5.19284e-08
7.00753e-08
-8.70933e-08
-8.06131e-08
9.76311e-08
9.51063e-08
-1.55272e-07
-4.56334e-08
1.05799e-07
1.54732e-07
-1.01624e-07
3.16702e-08
-8.4779e-08
4.85109e-08
-3.99385e-08
1.29213e-07
-1.37786e-07
6.23492e-08
-7.95669e-08
1.71221e-07
-1.54003e-07
8.82898e-08
-3.82463e-08
4.67135e-08
-9.6757e-08
3.39421e-08
2.61665e-09
2.38313e-07
-2.74872e-07
-5.09847e-08
-8.07264e-09
4.70394e-07
-4.11337e-07
1.69656e-09
4.00851e-08
1.05878e-07
-1.4766e-07
-4.4961e-08
7.58274e-08
1.49827e-07
-1.80694e-07
-7.4217e-08
9.68761e-08
-1.26753e-07
1.04094e-07
-1.72715e-07
1.83882e-07
-4.79127e-07
4.67961e-07
-2.42162e-07
3.35742e-07
-2.83075e-07
1.89495e-07
-3.24152e-07
4.01258e-07
-4.09593e-07
3.32488e-07
-7.8205e-07
2.40326e-06
8.94197e-07
-2.5154e-06
-9.07758e-07
-7.293e-07
-9.20315e-07
2.55737e-06
1.7883e-06
-1.40539e-06
-1.07782e-06
6.9491e-07
3.65259e-07
-9.63834e-07
-9.92961e-07
1.59154e-06
8.86287e-07
-9.04234e-07
1.52256e-06
-1.50461e-06
1.56053e-08
-9.01107e-09
7.0517e-07
-7.11765e-07
-2.22402e-08
4.10423e-08
3.04499e-07
-3.23302e-07
2.84464e-07
-3.10325e-07
-6.1051e-08
8.69116e-08
3.33256e-07
-3.58717e-07
-5.73379e-08
8.27984e-08
3.87932e-07
-4.24407e-07
-7.34085e-08
1.09883e-07
4.64662e-07
-5.10945e-07
-1.06458e-07
1.52741e-07
5.54069e-07
-5.94044e-07
-1.30342e-07
1.70318e-07
6.20305e-07
-6.28136e-07
-1.28286e-07
1.36117e-07
6.11409e-07
-5.83389e-07
-7.97883e-08
5.17684e-08
4.98476e-07
-3.52219e-07
5.89079e-09
-1.52148e-07
2.28033e-07
-8.2126e-08
5.14724e-08
-1.97379e-07
-1.07168e-08
5.08734e-08
-9.70018e-08
5.68452e-08
-4.96123e-08
-3.13951e-08
-1.72759e-07
2.53766e-07
6.66961e-08
-1.92151e-07
5.80915e-08
6.73631e-08
2.01848e-07
-2.33483e-07
3.10651e-07
-2.79017e-07
2.93192e-07
-1.23101e-07
1.54763e-07
-3.24853e-07
1.21742e-07
-4.25259e-08
1.59782e-07
-2.38998e-07
4.00653e-09
-2.69725e-08
2.77966e-07
-2.55e-07
4.65725e-09
-3.602e-08
3.58409e-07
-3.27046e-07
4.75652e-08
6.96204e-10
1.95642e-07
-2.43903e-07
-1.15228e-08
5.45081e-08
2.16707e-07
-2.59693e-07
-8.99801e-08
1.52359e-07
-4.58985e-08
-1.64804e-08
-1.52509e-07
1.74766e-07
-4.66875e-07
4.44618e-07
-3.00016e-07
3.26497e-07
-1.29241e-07
1.0276e-07
-3.07752e-07
6.36036e-07
-1.2174e-07
-2.06544e-07
-1.67158e-06
1.01352e-06
2.831e-06
-2.17293e-06
-4.67774e-07
-5.46488e-07
-4.06159e-06
5.07585e-06
1.40905e-06
-1.28267e-06
-3.31063e-07
2.04689e-07
9.43849e-07
-1.12964e-06
-1.90881e-06
2.09459e-06
1.28966e-06
-1.14163e-06
1.86744e-06
-2.01547e-06
8.49762e-07
-5.06279e-07
9.19089e-07
-1.26257e-06
9.3248e-08
8.94579e-08
3.77104e-07
-5.5981e-07
-1.98886e-07
1.12575e-07
-1.75533e-07
-3.58841e-07
7.01885e-07
2.55434e-06
-2.89739e-06
-8.44623e-07
6.45609e-07
5.80665e-08
1.40948e-07
-4.4961e-07
2.63028e-07
2.43099e-06
-2.24441e-06
-1.09428e-07
1.16316e-07
-1.16041e-06
1.15353e-06
-1.6778e-07
-9.25718e-08
-8.92235e-06
9.1827e-06
3.57002e-07
-5.06156e-07
2.6491e-06
-2.49994e-06
4.61324e-07
-8.36842e-07
1.77391e-06
-1.39839e-06
2.6751e-07
-1.27522e-07
6.38239e-08
-2.03812e-07
1.49328e-07
-9.8105e-08
5.58137e-08
-1.07036e-07
4.35212e-08
-8.29477e-08
6.77878e-08
-2.83613e-08
8.01269e-08
-4.86538e-08
1.60165e-07
-1.91638e-07
2.08214e-08
1.35491e-08
1.59006e-07
-1.93377e-07
-4.75625e-08
5.86869e-08
4.18571e-07
-4.29696e-07
-2.9878e-08
9.83817e-09
3.5514e-07
-3.351e-07
-2.90488e-08
1.58243e-07
2.27935e-07
-3.57129e-07
-3.40185e-07
3.93212e-07
2.87522e-07
-3.40548e-07
-3.25378e-07
2.87522e-07
3.72312e-07
-3.34456e-07
-2.79777e-07
2.57263e-07
1.2055e-07
-9.8036e-08
-2.3159e-07
2.26181e-07
3.23861e-08
-2.69765e-08
-2.20322e-07
2.05194e-07
-4.07804e-08
5.59083e-08
-1.9176e-07
1.79399e-07
-1.30771e-07
1.43132e-07
-1.63545e-07
1.44188e-07
-1.94102e-07
2.13459e-07
-1.20945e-07
1.00237e-07
-1.52852e-07
1.73561e-07
-8.08987e-08
6.39542e-08
-1.36054e-07
1.52999e-07
-4.69189e-08
3.14304e-08
-1.35497e-07
1.50986e-07
-1.58663e-08
1.18032e-09
-1.59182e-07
1.73868e-07
1.51686e-08
-3.29546e-08
-2.05375e-07
2.23161e-07
5.52953e-08
-8.02343e-08
-2.23855e-07
2.48794e-07
1.0887e-07
-1.35992e-07
-1.76361e-07
2.03483e-07
4.40868e-07
5.88216e-07
-1.61466e-06
-1.14122e-06
7.3016e-07
2.95823e-06
-2.54718e-06
-8.43126e-07
7.50072e-07
-3.04375e-07
3.9743e-07
-4.87741e-07
2.53518e-07
2.02225e-06
-1.78803e-06
-8.40598e-08
5.92953e-08
-1.15429e-06
1.17905e-06
-2.49879e-07
1.38498e-07
-9.3603e-06
9.47168e-06
2.10452e-07
-4.38201e-07
2.32772e-06
-2.09997e-06
5.21621e-07
-4.92416e-07
1.55677e-06
-1.58597e-06
5.18742e-07
-1.5318e-07
3.83276e-07
-7.48838e-07
1.45953e-07
-1.27256e-07
1.42438e-07
-1.61135e-07
4.97287e-08
-6.39902e-08
-3.71282e-09
1.79743e-08
7.32698e-08
-4.82946e-08
2.18528e-07
-2.43503e-07
7.42798e-09
3.70808e-08
2.31545e-07
-2.76053e-07
-6.22947e-08
7.12482e-08
4.39758e-07
-4.48711e-07
-6.90097e-08
1.26749e-07
3.36686e-07
-3.94425e-07
-6.50405e-07
5.05706e-07
8.13841e-07
-6.69142e-07
-5.19204e-07
4.30633e-07
1.78225e-07
-8.9654e-08
-3.73775e-07
3.14533e-07
2.75418e-07
-2.16175e-07
-2.89563e-07
2.62725e-07
7.19918e-08
-4.51538e-08
-2.35007e-07
2.28892e-07
2.00488e-08
-1.39334e-08
-2.26763e-07
2.13871e-07
-6.97256e-08
8.26175e-08
-2.03298e-07
1.9485e-07
-1.53336e-07
1.61784e-07
-1.82291e-07
1.63894e-07
-2.3216e-07
2.50557e-07
-1.39678e-07
1.17085e-07
-1.94792e-07
2.17385e-07
-9.56559e-08
7.73001e-08
-1.70093e-07
1.88449e-07
-5.93264e-08
4.317e-08
-1.66305e-07
1.82461e-07
-2.69791e-08
1.23736e-08
-1.88222e-07
2.02827e-07
2.26682e-09
-1.59953e-08
-2.38716e-07
2.52444e-07
3.1669e-08
-4.94732e-08
-2.70124e-07
2.87929e-07
7.2188e-08
-9.66359e-08
-2.29213e-07
2.53661e-07
3.3589e-07
-8.49226e-07
-1.99115e-07
-2.70925e-07
1.78077e-07
2.91961e-06
-2.82676e-06
-5.78188e-07
7.21737e-07
-3.73484e-07
2.29935e-07
-4.88462e-07
2.49657e-07
1.53585e-06
-1.29704e-06
-2.97605e-08
-8.33975e-09
-1.19417e-06
1.23227e-06
-3.28958e-07
3.66535e-07
-9.50782e-06
9.47024e-06
3.94495e-08
-3.51057e-07
1.83986e-06
-1.52825e-06
5.29968e-07
-6.2979e-07
1.38815e-06
-1.28833e-06
1.08302e-06
-2.36144e-07
1.03172e-06
-1.87859e-06
1.22413e-07
-1.4826e-07
1.58161e-07
-1.32314e-07
8.20775e-08
-4.60649e-08
-1.13189e-08
-2.46938e-08
3.43244e-08
-1.1864e-08
2.69191e-07
-2.91651e-07
-2.01045e-08
6.13914e-08
3.19153e-07
-3.6044e-07
-6.82724e-08
1.13973e-07
4.55655e-07
-5.01355e-07
-2.38211e-07
4.1218e-07
5.02434e-07
-6.76403e-07
-4.13539e-07
4.1819e-07
8.36656e-07
-8.41307e-07
-3.11599e-07
3.01869e-07
7.24305e-08
-6.27e-08
-2.91574e-07
2.35923e-07
1.62444e-07
-1.06793e-07
-2.20038e-07
2.09601e-07
2.52096e-08
-1.47733e-08
-1.97053e-07
1.98574e-07
1.11074e-08
-1.26288e-08
-2.03937e-07
2.0337e-07
-9.24855e-08
9.30533e-08
-1.91965e-07
1.86577e-07
-1.67839e-07
1.73227e-07
-1.80707e-07
1.68176e-07
-2.6604e-07
2.78571e-07
-1.48937e-07
1.28694e-07
-2.38606e-07
2.58849e-07
-1.08059e-07
8.99125e-08
-2.06261e-07
2.24407e-07
-7.2157e-08
5.63794e-08
-1.97969e-07
2.13747e-07
-4.09979e-08
2.80583e-08
-2.16218e-07
2.29158e-07
-1.68641e-08
8.85611e-09
-2.62901e-07
2.70909e-07
-2.30181e-09
-4.46316e-09
-2.99913e-07
3.06678e-07
1.48745e-08
-2.91773e-08
-2.73064e-07
2.87367e-07
1.21487e-06
-1.43287e-06
-8.2505e-08
-6.29128e-09
-9.3611e-08
2.75956e-06
-2.65966e-06
-3.39905e-07
6.27495e-07
-3.35687e-09
-2.84234e-07
-4.55864e-07
2.55284e-07
1.08869e-06
-8.88106e-07
-3.99747e-08
-4.99347e-08
-1.30233e-06
1.39224e-06
-4.01163e-07
5.83602e-07
-9.36387e-06
9.18143e-06
-1.66647e-07
-2.30952e-07
1.18708e-06
-7.89483e-07
4.85193e-07
-7.41181e-07
1.18223e-06
-9.26238e-07
7.64296e-07
-7.88272e-07
1.9358e-06
-1.91182e-06
5.8128e-08
-1.55113e-07
6.03507e-08
3.66343e-08
1.41685e-07
-6.6408e-09
1.06415e-07
-2.4146e-07
-4.64222e-08
2.78411e-08
2.97529e-07
-2.78948e-07
-3.91013e-08
6.5381e-08
3.95805e-07
-4.22085e-07
-3.0751e-07
6.55736e-07
6.15602e-07
-9.63829e-07
-7.60843e-07
6.22309e-07
7.79788e-07
-6.41254e-07
-4.16095e-07
3.12673e-07
7.65595e-07
-6.62173e-07
-2.18438e-07
1.86267e-07
4.23263e-08
-1.01552e-08
-1.58392e-07
1.0439e-07
5.41406e-08
-1.38946e-10
-1.04288e-07
1.27334e-07
1.85091e-08
-4.1555e-08
-1.45804e-07
1.46271e-07
1.66985e-08
-1.71651e-08
-1.57048e-07
1.65159e-07
-9.0231e-08
8.21195e-08
-1.64154e-07
1.55492e-07
-1.81258e-07
1.89919e-07
-1.47428e-07
1.49813e-07
-2.81219e-07
2.78834e-07
-1.43965e-07
1.30815e-07
-2.75132e-07
2.88282e-07
-1.14642e-07
9.91416e-08
-2.40858e-07
2.56358e-07
-8.3452e-08
6.94133e-08
-2.28229e-07
2.42268e-07
-5.60191e-08
4.5471e-08
-2.40478e-07
2.51027e-07
-3.77473e-08
3.44116e-08
-2.76125e-07
2.7946e-07
-3.49383e-08
3.75439e-08
-3.08179e-07
3.05573e-07
-3.9615e-08
3.83633e-08
-2.94743e-07
2.95995e-07
1.54494e-06
-1.58169e-06
2.6688e-08
5.98408e-08
-1.35297e-07
2.56574e-06
-2.49028e-06
-2.10813e-07
5.20072e-07
5.82369e-07
-8.91629e-07
-3.69129e-07
1.53612e-07
6.95713e-07
-4.80195e-07
-1.93128e-08
-6.04125e-08
-1.4788e-06
1.55853e-06
-4.31427e-07
7.37534e-07
-8.94453e-06
8.63842e-06
-3.86879e-07
-5.64806e-08
3.78376e-07
6.49838e-08
4.01203e-07
-6.49867e-07
6.86317e-07
-4.37652e-07
7.70605e-07
-1.35999e-06
2.09732e-06
-1.50794e-06
2.80218e-07
-1.81003e-07
-9.27535e-08
-6.46158e-09
1.36578e-07
-6.16381e-08
3.68586e-07
-4.43527e-07
-2.14186e-08
4.95365e-08
2.61313e-07
-2.89431e-07
-9.28788e-08
3.96208e-07
5.32888e-07
-8.36218e-07
-3.84856e-07
4.56235e-07
7.32932e-07
-8.04311e-07
-4.5642e-07
3.91697e-07
4.73244e-07
-4.0852e-07
-2.45845e-07
1.56165e-07
5.70271e-07
-4.80592e-07
-9.95286e-08
5.79741e-08
-2.63702e-08
6.79247e-08
-1.2275e-08
-3.51201e-08
-4.9211e-08
9.66061e-08
1.81485e-08
2.19573e-08
7.33007e-08
-1.13407e-07
-7.33397e-08
8.97421e-08
2.84981e-08
-4.49005e-08
-1.01464e-07
1.176e-07
-6.97865e-08
5.36502e-08
-1.25504e-07
1.30058e-07
-1.91032e-07
1.86479e-07
-1.34669e-07
1.34177e-07
-2.8305e-07
2.83542e-07
-1.2949e-07
1.23206e-07
-2.9757e-07
3.03853e-07
-1.13465e-07
1.02848e-07
-2.69162e-07
2.79779e-07
-9.12342e-08
8.0389e-08
-2.54412e-07
2.65257e-07
-6.99312e-08
6.20435e-08
-2.59915e-07
2.67802e-07
-5.7083e-08
5.64383e-08
-2.81154e-07
2.81798e-07
-6.02548e-08
6.72564e-08
-3.00343e-07
2.93341e-07
-7.62297e-08
8.39731e-08
-2.92107e-07
2.84363e-07
1.58755e-06
-1.57145e-06
1.30177e-07
4.19854e-08
-1.10827e-07
2.42626e-06
-2.35742e-06
-9.15991e-08
3.65059e-07
1.15265e-06
-1.42611e-06
-3.49366e-07
1.40177e-07
2.70112e-07
-6.09235e-08
-1.18245e-09
-5.35325e-08
-1.62184e-06
1.67656e-06
-3.72681e-07
7.85995e-07
-8.29327e-06
7.87996e-06
-6.21988e-07
1.31044e-07
-5.10469e-07
1.00141e-06
2.36788e-07
-4.18204e-07
2.53026e-07
-7.16101e-08
6.90556e-07
-8.78229e-07
1.45403e-06
-1.26636e-06
1.29548e-06
-8.29808e-08
2.4883e-07
-1.46133e-06
-1.04972e-07
1.237e-08
3.67606e-07
-2.75004e-07
-3.67673e-08
2.2556e-07
3.52884e-07
-5.41677e-07
-5.49714e-07
5.40562e-07
1.04082e-06
-1.03167e-06
-3.01924e-07
2.47257e-07
7.9023e-07
-7.35563e-07
-2.54913e-07
1.80859e-07
3.51076e-07
-2.77022e-07
-1.00204e-07
4.74834e-08
4.15028e-07
-3.62307e-07
4.66341e-09
-5.64113e-08
-1.12086e-07
1.63833e-07
1.10139e-07
-1.57051e-07
-1.42939e-07
1.89851e-07
1.12694e-07
-4.47464e-08
1.6487e-07
-2.32818e-07
-2.94412e-08
4.33872e-08
5.91791e-08
-7.31251e-08
-4.4812e-08
6.32144e-08
-4.00834e-08
2.1681e-08
-7.40144e-08
8.45829e-08
-1.78385e-07
1.67817e-07
-9.6007e-08
1.01677e-07
-2.81325e-07
2.75655e-07
-1.04034e-07
1.0488e-07
-3.07077e-07
3.06231e-07
-1.03294e-07
9.93522e-08
-2.86948e-07
2.9089e-07
-9.37123e-08
8.7512e-08
-2.73615e-07
2.79815e-07
-8.08224e-08
7.58227e-08
-2.74033e-07
2.79033e-07
-7.31485e-08
7.38924e-08
-2.81666e-07
2.80922e-07
-7.84152e-08
8.59032e-08
-2.86081e-07
2.78593e-07
-9.60809e-08
1.06485e-07
-2.75002e-07
2.64598e-07
1.54239e-06
-1.50621e-06
1.81664e-07
-6.92113e-09
-6.29635e-08
2.28557e-06
-2.21569e-06
-8.57734e-10
2.22999e-07
1.66809e-06
-1.89023e-06
-2.11949e-07
5.89616e-08
-1.25372e-07
2.7836e-07
3.04826e-08
-4.88396e-08
-1.71289e-06
1.73124e-06
-1.98942e-07
7.29643e-07
-7.43041e-06
6.89971e-06
-8.86202e-07
3.54828e-07
-1.48928e-06
2.02066e-06
4.9943e-08
-1.97344e-07
-9.1563e-08
2.38964e-07
2.61665e-07
-1.21649e-07
1.51715e-06
-1.65716e-06
-3.1785e-08
4.87426e-08
1.67775e-06
-1.69471e-06
-1.163e-07
1.48513e-07
3.03936e-07
-3.36149e-07
-1.4145e-07
8.67582e-08
9.66715e-07
-9.12023e-07
-1.81959e-07
8.76482e-08
9.67248e-07
-8.72937e-07
-2.20232e-08
9.71877e-08
7.8117e-07
-8.56334e-07
-1.45702e-07
6.65267e-08
2.03014e-07
-1.23838e-07
-3.82921e-08
-9.90254e-09
3.03886e-07
-2.55692e-07
7.80569e-08
-1.39545e-07
-2.19603e-07
2.81091e-07
1.97011e-07
-2.37836e-07
-2.32267e-07
2.73092e-07
1.5952e-07
-6.77248e-08
3.12028e-07
-4.03823e-07
-1.94668e-08
1.56904e-08
7.91442e-08
-7.53678e-08
-1.34755e-08
1.23409e-08
-1.20613e-08
1.31959e-08
-1.8362e-08
3.01091e-08
-1.56892e-07
1.45145e-07
-4.52426e-08
5.72212e-08
-2.66969e-07
2.54991e-07
-6.71486e-08
7.71653e-08
-3.01046e-07
2.91029e-07
-8.44834e-08
8.76066e-08
-2.91157e-07
2.88033e-07
-8.939e-08
8.93021e-08
-2.83041e-07
2.83129e-07
-8.68519e-08
8.52092e-08
-2.82313e-07
2.83956e-07
-8.50826e-08
8.70585e-08
-2.79664e-07
2.77688e-07
-9.1739e-08
9.85651e-08
-2.71724e-07
2.64898e-07
-1.07682e-07
1.17336e-07
-2.54791e-07
2.45138e-07
1.46366e-06
-1.41942e-06
2.08691e-07
-2.54517e-08
-4.48657e-08
2.15114e-06
-2.08082e-06
4.93473e-08
1.52759e-07
2.10824e-06
-2.31035e-06
-9.78287e-08
-3.28925e-08
-4.25372e-07
5.56094e-07
6.21836e-08
-5.24515e-08
-1.73175e-06
1.72202e-06
2.48944e-08
6.55918e-07
-6.3185e-06
5.63769e-06
-1.1789e-06
5.94916e-07
-2.5529e-06
3.13689e-06
-1.36436e-07
-4.25006e-08
-3.97457e-07
5.76394e-07
7.4562e-08
1.75363e-08
1.73586e-06
-1.82796e-06
-1.11938e-07
7.93356e-08
1.67827e-06
-1.64567e-06
-5.1432e-08
9.91318e-08
4.01086e-07
-4.48786e-07
-8.50176e-08
1.64223e-08
8.16743e-07
-7.48148e-07
-3.20122e-08
-5.36287e-09
8.11732e-07
-7.74357e-07
-5.21662e-09
2.70817e-08
9.1811e-07
-9.39975e-07
-3.05471e-08
3.54757e-08
1.45271e-07
-1.502e-07
-3.42698e-10
-5.23918e-08
1.99675e-07
-1.46941e-07
1.2063e-07
-1.75615e-07
-3.39596e-07
3.94581e-07
2.07945e-07
-2.08768e-07
-3.03871e-07
3.04694e-07
1.37751e-07
-1.0997e-07
4.86853e-07
-5.14634e-07
-3.25174e-10
-3.41251e-09
6.37809e-08
-6.00432e-08
2.40051e-08
-3.28378e-08
-1.47533e-08
2.3586e-08
2.82906e-08
-1.48085e-08
-1.30325e-07
1.16843e-07
-1.61045e-09
1.95334e-08
-2.41058e-07
2.23135e-07
-3.08894e-08
4.62303e-08
-2.7758e-07
2.62239e-07
-5.77208e-08
6.51343e-08
-2.82881e-07
2.75467e-07
-7.62698e-08
8.23139e-08
-2.79713e-07
2.73669e-07
-8.33105e-08
8.81376e-08
-2.83305e-07
2.78478e-07
-9.24838e-08
9.66789e-08
-2.74903e-07
2.70708e-07
-1.02458e-07
1.09596e-07
-2.58391e-07
2.51253e-07
-1.18392e-07
1.27294e-07
-2.36365e-07
2.27463e-07
1.37238e-06
-1.32636e-06
2.25653e-07
-3.85546e-08
-3.14301e-08
2.01188e-06
-1.9419e-06
7.49958e-08
5.69739e-08
2.45406e-06
-2.58603e-06
-4.93155e-08
-2.42615e-08
-6.46455e-07
7.20032e-07
6.14596e-08
-5.19893e-08
-1.71266e-06
1.70319e-06
6.78245e-08
6.35802e-07
-4.94108e-06
4.23745e-06
-1.34135e-06
7.92934e-07
-3.7045e-06
4.25291e-06
-2.94591e-07
8.84468e-08
-7.77205e-07
9.83348e-07
-2.55947e-08
6.06439e-08
1.88696e-06
-1.92201e-06
-1.52491e-07
2.011e-07
1.64071e-06
-1.68932e-06
-1.27172e-07
8.60602e-08
4.29689e-07
-3.88577e-07
-3.3976e-08
-1.08361e-07
6.52269e-07
-5.09932e-07
1.21075e-07
-1.02035e-08
8.29106e-07
-9.39977e-07
-1.64962e-08
9.99983e-09
9.59314e-07
-9.52818e-07
3.50361e-08
-1.11478e-07
1.53578e-07
-7.71362e-08
8.22319e-08
-7.73992e-08
1.15621e-07
-1.20454e-07
1.25489e-07
-1.53028e-07
-4.35219e-07
4.62757e-07
1.24655e-07
4.19746e-08
-1.94288e-07
2.76582e-08
7.43655e-08
-2.86851e-07
4.77345e-07
-2.64859e-07
7.92169e-08
-3.7402e-08
7.55745e-08
-1.17389e-07
5.23495e-08
-6.04214e-08
-3.27886e-08
4.08605e-08
5.80573e-08
-4.93846e-08
-1.06352e-07
9.76791e-08
2.95765e-08
-1.66029e-09
-2.00257e-07
1.72341e-07
-2.45002e-08
3.06995e-08
-2.59359e-07
2.5316e-07
-3.05261e-08
3.66274e-08
-2.68723e-07
2.62621e-07
-3.96046e-08
5.00744e-08
-2.66213e-07
2.55743e-07
-7.2386e-08
9.06651e-08
-2.66646e-07
2.48367e-07
-1.00685e-07
1.07296e-07
-2.65223e-07
2.58612e-07
-1.15098e-07
1.24108e-07
-2.43594e-07
2.34584e-07
-1.34417e-07
1.43839e-07
-2.18729e-07
2.09307e-07
1.27914e-06
-1.23447e-06
2.35886e-07
-6.11744e-08
-1.1154e-08
1.87312e-06
-1.80079e-06
9.31829e-08
2.42681e-08
2.69848e-06
-2.81593e-06
-2.96597e-08
-2.77912e-08
-7.81108e-07
8.38559e-07
5.8442e-08
-4.68164e-08
-1.69311e-06
1.68148e-06
-7.39115e-08
4.63384e-07
-3.67645e-06
3.28698e-06
-1.0903e-06
8.9243e-07
-4.64922e-06
4.84708e-06
-4.33238e-07
1.63707e-07
-1.21078e-06
1.48031e-06
-1.20274e-07
9.88548e-08
1.89789e-06
-1.87647e-06
-1.819e-07
3.22552e-07
1.78071e-06
-1.92136e-06
-2.77278e-07
1.85753e-07
3.22969e-07
-2.31445e-07
-1.18291e-07
1.02576e-07
4.22888e-07
-4.07173e-07
-2.25683e-07
1.64392e-07
9.92134e-07
-9.30843e-07
-6.10727e-08
2.86592e-08
9.40862e-07
-9.08448e-07
4.8048e-08
-1.78446e-07
-9.07847e-08
2.21183e-07
1.19423e-07
-1.00814e-07
1.58779e-07
-1.77388e-07
9.90717e-08
-9.81339e-08
-4.77929e-07
4.76991e-07
4.60227e-08
-4.56774e-08
1.51602e-07
-1.51947e-07
6.65147e-08
2.70025e-09
2.20524e-07
-2.89739e-07
6.08606e-08
-6.75317e-08
1.33897e-07
-1.27226e-07
6.67394e-08
-7.40747e-08
-4.6591e-08
5.39263e-08
7.63812e-08
-7.34505e-08
-9.22739e-08
8.93432e-08
6.51413e-08
-5.23298e-08
-1.57241e-07
1.4443e-07
3.22345e-08
-1.09049e-08
-2.37749e-07
2.16419e-07
-1.29409e-08
3.09665e-08
-2.48801e-07
2.30776e-07
-4.8193e-08
6.59785e-08
-2.40138e-07
2.22353e-07
-8.15561e-08
9.87565e-08
-2.36313e-07
2.19113e-07
-1.17237e-07
1.32102e-07
-2.49145e-07
2.3428e-07
-1.44367e-07
1.50889e-07
-2.25328e-07
2.18807e-07
-1.58697e-07
1.67861e-07
-2.0082e-07
1.91655e-07
1.19001e-06
-1.14891e-06
2.40698e-07
-8.28203e-08
4.03157e-09
1.7281e-06
-1.64931e-06
1.01447e-07
-3.71114e-09
2.91759e-06
-3.01533e-06
-1.1623e-08
-3.6462e-08
-8.89754e-07
9.37839e-07
5.30184e-08
-3.90801e-08
-1.66955e-06
1.65561e-06
-1.56484e-07
1.35788e-07
-3.13072e-06
3.15142e-06
-6.89113e-07
9.62158e-07
-4.79323e-06
4.52019e-06
-6.2798e-07
4.26373e-07
-1.70443e-06
1.90604e-06
-2.61748e-07
2.14293e-07
1.83692e-06
-1.78946e-06
-2.105e-07
4.06796e-07
2.09031e-06
-2.28661e-06
-4.79356e-07
3.43734e-07
1.18171e-07
1.7451e-08
-2.71537e-07
2.89029e-07
4.21186e-07
-4.38678e-07
-2.80856e-07
2.57186e-07
8.35757e-07
-8.12088e-07
-1.41958e-07
4.86525e-08
8.25937e-07
-7.32631e-07
-7.39065e-08
1.0421e-08
-2.57463e-07
3.20949e-07
-1.70527e-08
-5.77191e-08
1.38746e-07
-6.39738e-08
4.01303e-08
-2.64469e-09
-4.4234e-07
4.04854e-07
2.15469e-08
-6.11652e-08
1.20864e-07
-8.12455e-08
-4.49982e-08
1.91874e-07
4.11626e-07
-5.58502e-07
-3.86986e-08
-1.63877e-08
6.83305e-08
-1.32441e-08
5.0044e-08
-6.95632e-08
-6.73821e-08
8.69013e-08
7.66332e-08
-7.60569e-08
-8.82888e-08
8.77125e-08
6.96799e-08
-5.74494e-08
-1.32879e-07
1.20649e-07
3.73092e-08
-1.31785e-08
-1.93477e-07
1.69346e-07
-1.28027e-08
3.48962e-08
-2.11467e-07
1.89373e-07
-5.66764e-08
7.40614e-08
-2.05776e-07
1.88391e-07
-8.96017e-08
1.05905e-07
-2.06717e-07
1.90414e-07
-1.23177e-07
1.36524e-07
-2.14826e-07
2.01479e-07
-1.49753e-07
1.62036e-07
-2.09764e-07
1.97481e-07
-1.75338e-07
1.85857e-07
-1.83987e-07
1.73468e-07
1.10871e-06
-1.07251e-06
2.39997e-07
-8.34933e-08
-9.97538e-09
1.56173e-06
-1.46826e-06
7.55756e-08
7.69166e-09
3.10895e-06
-3.19222e-06
1.24643e-08
-4.85487e-08
-9.80128e-07
1.01621e-06
4.30861e-08
-2.51252e-08
-1.64038e-06
1.62242e-06
-2.1163e-07
1.10908e-07
-3.25466e-06
3.35538e-06
-6.34745e-07
1.11768e-06
-4.12029e-06
3.63735e-06
-8.39907e-07
5.90639e-07
-2.12115e-06
2.37041e-06
-4.60143e-07
4.541e-07
1.75323e-06
-1.74718e-06
-3.8102e-07
4.99876e-07
2.44093e-06
-2.55979e-06
-6.0744e-07
5.16887e-07
-1.31599e-07
2.22152e-07
-4.38403e-07
4.37796e-07
4.52933e-07
-4.52326e-07
-3.60011e-07
3.3797e-07
7.96264e-07
-7.74223e-07
-2.95068e-07
2.24167e-07
6.34349e-07
-5.63448e-07
-1.4817e-07
2.46201e-07
-3.51824e-07
2.53794e-07
-2.055e-07
8.73684e-08
-7.16033e-08
1.89735e-07
-1.00067e-07
1.19631e-07
-3.74506e-07
3.54943e-07
-5.52884e-08
-9.05312e-08
-7.62001e-11
1.45896e-07
-4.82503e-09
6.19332e-08
6.76548e-07
-7.33656e-07
1.35569e-07
-1.07501e-07
2.50216e-09
-3.05694e-08
7.40583e-08
-7.07888e-08
-9.72412e-08
9.39717e-08
6.94576e-08
-6.42263e-08
-8.58133e-08
8.0582e-08
5.38223e-08
-3.90242e-08
-1.07926e-07
9.31278e-08
1.84055e-08
4.60883e-09
-1.46605e-07
1.2359e-07
-2.97934e-08
5.26222e-08
-1.67227e-07
1.44398e-07
-7.46993e-08
9.2772e-08
-1.72309e-07
1.54236e-07
-1.10956e-07
1.26369e-07
-1.76044e-07
1.60631e-07
-1.40733e-07
1.60171e-07
-1.88337e-07
1.68898e-07
-1.82743e-07
2.02954e-07
-1.82722e-07
1.62511e-07
-2.18867e-07
2.31616e-07
-1.58826e-07
1.46077e-07
1.03802e-06
-1.00804e-06
2.34452e-07
-1.03286e-07
4.19653e-08
1.39459e-06
-1.33327e-06
4.60023e-08
1.98422e-08
3.26062e-06
-3.32646e-06
3.48973e-08
-5.85984e-08
-1.04246e-06
1.06617e-06
2.82066e-08
-6.21347e-09
-1.60331e-06
1.58132e-06
-2.97888e-07
3.58616e-07
-3.389e-06
3.32827e-06
-8.63858e-07
1.38931e-06
-3.1459e-06
2.62045e-06
-1.04394e-06
7.99647e-07
-2.62109e-06
2.86538e-06
-7.01678e-07
6.23e-07
1.74146e-06
-1.66278e-06
-4.9754e-07
5.64899e-07
2.65093e-06
-2.71829e-06
-7.14708e-07
6.68111e-07
-3.06315e-07
3.52911e-07
-6.21239e-07
5.86243e-07
4.33625e-07
-3.98629e-07
-4.99619e-07
4.73386e-07
7.48288e-07
-7.22055e-07
-4.50296e-07
4.12389e-07
5.15468e-07
-4.77561e-07
-3.42999e-07
4.23548e-07
-1.63352e-07
8.28031e-08
-3.99069e-07
4.05491e-07
-2.81008e-07
2.74586e-07
-3.16704e-07
3.47458e-07
-3.53735e-07
3.2298e-07
-3.2812e-07
1.72336e-07
-3.11922e-07
4.67706e-07
-1.17691e-07
3.28408e-08
7.77233e-07
-6.92383e-07
1.87339e-08
-6.11778e-08
-4.99962e-09
4.74435e-08
7.78651e-08
-7.2756e-08
-8.93499e-08
8.42408e-08
6.10316e-08
-4.67882e-08
-7.15868e-08
5.73434e-08
2.91515e-08
-9.96148e-09
-7.6983e-08
5.7793e-08
-1.24043e-08
3.49754e-08
-1.01887e-07
7.93161e-08
-5.89437e-08
8.09596e-08
-1.22889e-07
1.00873e-07
-1.02923e-07
1.22585e-07
-1.35881e-07
1.1622e-07
-1.42555e-07
1.60831e-07
-1.44378e-07
1.26102e-07
-1.80085e-07
1.99458e-07
-1.50045e-07
1.30673e-07
-2.19972e-07
2.37683e-07
-1.4451e-07
1.26799e-07
-2.53942e-07
2.6834e-07
-1.3279e-07
1.18392e-07
9.8037e-07
-9.56884e-07
2.24534e-07
-1.04199e-07
2.38171e-08
1.26528e-06
-1.1849e-06
2.9748e-08
1.88009e-08
3.38273e-06
-3.43128e-06
3.99124e-08
-6.31554e-08
-1.08937e-06
1.11261e-06
1.0311e-08
1.92238e-08
-1.55824e-06
1.5287e-06
-3.66292e-07
6.24265e-07
-3.17155e-06
2.91357e-06
-1.04598e-06
1.57858e-06
-2.10531e-06
1.57272e-06
-1.21357e-06
9.95114e-07
-3.09573e-06
3.31419e-06
-8.73823e-07
7.96343e-07
1.59011e-06
-1.51263e-06
-6.32154e-07
6.02111e-07
2.73272e-06
-2.70267e-06
-6.94746e-07
7.07079e-07
-3.66955e-07
3.54621e-07
-7.06407e-07
6.75756e-07
3.63266e-07
-3.32615e-07
-6.20697e-07
6.1436e-07
7.04086e-07
-6.97749e-07
-5.91744e-07
5.675e-07
4.48992e-07
-4.24748e-07
-5.31709e-07
5.9079e-07
-6.70666e-09
-5.23744e-08
-5.84206e-07
5.87137e-07
-3.05835e-07
3.02904e-07
-5.41413e-07
4.29177e-07
-3.20044e-07
4.3228e-07
-4.42676e-07
3.11779e-07
-5.39739e-07
6.70637e-07
-2.28004e-07
-2.043e-08
4.8102e-07
-2.32586e-07
7.08798e-08
-9.63588e-08
-8.60459e-08
1.11525e-07
1.00006e-07
-7.87591e-08
-7.42018e-08
5.29545e-08
5.20491e-08
-2.59876e-08
-3.81581e-08
1.20966e-08
-1.0132e-09
2.6074e-08
-3.66909e-08
1.16301e-08
-5.17962e-08
7.54348e-08
-5.72583e-08
3.36198e-08
-9.92721e-08
1.20734e-07
-7.99847e-08
5.85225e-08
-1.42096e-07
1.61383e-07
-9.72581e-08
7.79707e-08
-1.80889e-07
1.98813e-07
-1.08267e-07
9.03427e-08
-2.17201e-07
2.34288e-07
-1.12933e-07
9.58467e-08
-2.5157e-07
2.66959e-07
-1.10815e-07
9.54258e-08
-2.82032e-07
2.95487e-07
-1.04776e-07
9.13208e-08
9.3571e-07
-9.18224e-07
2.13532e-07
-1.22861e-07
3.95342e-08
1.11837e-06
-1.03505e-06
8.04226e-08
-1.59288e-08
3.49208e-06
-3.55657e-06
5.06249e-08
-6.6745e-08
-1.13257e-06
1.14869e-06
-4.95305e-09
4.90035e-08
-1.49489e-06
1.45084e-06
-3.78601e-07
7.34975e-07
-2.60191e-06
2.24554e-06
-9.08995e-07
1.38339e-06
-1.08269e-06
6.08297e-07
-1.17892e-06
1.0055e-06
-3.49787e-06
3.67129e-06
-8.8511e-07
7.74555e-07
1.41839e-06
-1.30783e-06
-6.43726e-07
5.62992e-07
2.64909e-06
-2.56835e-06
-5.91872e-07
6.4954e-07
-3.20463e-07
2.62795e-07
-6.934e-07
6.79913e-07
3.12473e-07
-2.98985e-07
-6.68716e-07
6.68779e-07
6.9916e-07
-6.99223e-07
-6.50551e-07
6.38052e-07
3.96641e-07
-3.84142e-07
-6.3387e-07
6.91603e-07
1.07205e-07
-1.64938e-07
-7.4256e-07
7.56742e-07
-3.15345e-07
3.01163e-07
-7.0368e-07
6.21111e-07
-4.98007e-07
5.80576e-07
-5.50686e-07
5.14382e-07
-7.92825e-07
8.29129e-07
-2.74975e-07
1.91536e-07
1.04615e-07
-2.11761e-08
-5.00694e-08
-3.4436e-08
-1.06981e-07
1.91486e-07
7.33248e-08
-5.7348e-08
-2.75319e-08
1.15551e-08
2.80259e-08
4.50543e-09
1.77052e-08
-5.02365e-08
-3.88086e-08
6.9105e-08
1.53634e-08
-4.56599e-08
-9.82801e-08
1.23502e-07
-1.00549e-08
-1.51665e-08
-1.47678e-07
1.68514e-07
-3.81565e-08
1.73198e-08
-1.88483e-07
2.05885e-07
-6.0215e-08
4.28128e-08
-2.22868e-07
2.37977e-07
-7.43002e-08
5.91911e-08
-2.5299e-07
2.66519e-07
-8.10364e-08
6.75069e-08
-2.80021e-07
2.92154e-07
-8.20828e-08
6.99495e-08
-3.04225e-07
3.15052e-07
-7.9495e-08
6.86683e-08
9.02145e-07
-8.87608e-07
2.04137e-07
-9.4376e-08
-7.72852e-09
9.41373e-07
-8.39269e-07
5.54841e-08
-8.70592e-09
3.61788e-06
-3.66466e-06
6.41815e-08
-7.00212e-08
-1.1579e-06
1.16374e-06
-9.92421e-09
7.20272e-08
-1.39898e-06
1.33688e-06
-3.37833e-07
6.86004e-07
-1.89734e-06
1.54917e-06
-7.19632e-07
1.0823e-06
-1.99449e-07
-1.63217e-07
-9.09412e-07
8.3088e-07
-3.80699e-06
3.88553e-06
-8.24858e-07
7.28381e-07
1.20558e-06
-1.1091e-06
-5.57419e-07
4.2568e-07
2.47016e-06
-2.33842e-06
-4.02064e-07
4.94889e-07
-1.90394e-07
9.75691e-08
-5.69503e-07
5.79024e-07
2.93971e-07
-3.03493e-07
-5.65021e-07
5.55902e-07
6.86257e-07
-6.77138e-07
-5.60774e-07
5.77044e-07
3.93084e-07
-4.09354e-07
-6.23625e-07
6.99655e-07
2.37413e-07
-3.13442e-07
-8.20874e-07
9.07331e-07
-2.59563e-07
1.73106e-07
-9.02761e-07
8.35089e-07
-6.64536e-07
7.32208e-07
-7.55237e-07
7.17455e-07
-8.36728e-07
8.7451e-07
-5.21995e-07
3.30251e-07
-2.08396e-07
4.00139e-07
-2.28767e-07
2.37939e-07
-2.23588e-07
2.14416e-07
-2.74492e-07
1.59643e-07
-2.43569e-08
1.39206e-07
-9.98488e-08
9.48235e-08
7.55759e-08
-7.05507e-08
-1.11958e-07
1.33539e-07
7.418e-08
-9.57603e-08
-1.57662e-07
1.80026e-07
3.92167e-08
-6.15808e-08
-2.01846e-07
2.20362e-07
2.05358e-09
-2.05697e-08
-2.3749e-07
2.51701e-07
-2.73689e-08
1.31574e-08
-2.64863e-07
2.76012e-07
-4.64106e-08
3.52617e-08
-2.86649e-07
2.9597e-07
-5.64345e-08
4.71132e-08
-3.05143e-07
3.13385e-07
-6.01023e-08
5.18602e-08
-3.21643e-07
3.29124e-07
-5.98389e-08
5.23577e-08
8.71934e-07
-8.55146e-07
1.97317e-07
-8.1227e-08
4.66754e-09
7.50808e-07
-6.74248e-07
3.95839e-08
-1.58227e-08
3.70092e-06
-3.72468e-06
7.02147e-08
-7.28362e-08
-1.16737e-06
1.16999e-06
-7.47022e-09
7.90738e-08
-1.27124e-06
1.19963e-06
-2.4427e-07
5.14217e-07
-1.24935e-06
9.79407e-07
-3.45462e-07
5.72342e-07
4.41949e-07
-6.68829e-07
-5.59807e-07
6.01843e-07
-3.88899e-06
3.84695e-06
-6.5789e-07
5.50259e-07
1.02525e-06
-9.17617e-07
-3.22692e-07
1.70991e-07
2.19242e-06
-2.04072e-06
-1.06391e-07
2.12897e-07
4.21716e-09
-1.10724e-07
-3.3977e-07
3.71746e-07
3.15162e-07
-3.47138e-07
-4.14235e-07
4.49152e-07
6.86742e-07
-7.21659e-07
-4.75722e-07
4.48091e-07
4.15339e-07
-3.87708e-07
-5.01581e-07
5.75142e-07
3.86455e-07
-4.60017e-07
-7.74859e-07
9.69493e-07
-3.02385e-08
-1.64396e-07
-1.07017e-06
1.05158e-06
-7.83054e-07
8.01643e-07
-9.68431e-07
8.79904e-07
-9.34598e-07
1.02312e-06
-7.46469e-07
6.13516e-07
-5.53113e-07
6.86066e-07
-5.04606e-07
4.29755e-07
-2.12832e-07
2.87683e-07
-3.7562e-07
3.90209e-07
-2.34805e-07
2.20217e-07
-3.11333e-07
2.90666e-07
1.88511e-08
1.81618e-09
-2.64107e-07
2.50987e-07
9.88344e-08
-8.57144e-08
-2.51311e-07
2.58652e-07
7.68157e-08
-8.41568e-08
-2.69066e-07
2.78891e-07
3.51602e-08
-4.4985e-08
-2.87939e-07
2.94995e-07
-2.22579e-09
-4.83027e-09
-3.00961e-07
3.05579e-07
-2.72006e-08
2.25829e-08
-3.09729e-07
3.13339e-07
-4.05999e-08
3.6989e-08
-3.17063e-07
3.20709e-07
-4.6007e-08
4.23613e-08
-3.24761e-07
3.28837e-07
-4.67997e-08
4.27235e-08
8.34648e-07
-8.11438e-07
1.91157e-07
-1.01261e-07
5.53621e-08
6.20738e-07
-5.74839e-07
3.00907e-08
-2.53839e-08
3.73649e-06
-3.7412e-06
7.20563e-08
-7.68368e-08
-1.17304e-06
1.17782e-06
5.20702e-09
6.47491e-08
-1.13149e-06
1.06154e-06
-1.34948e-07
2.89909e-07
-7.73745e-07
6.18784e-07
5.55582e-08
2.36388e-08
7.99379e-07
-8.78576e-07
-2.36122e-07
4.03021e-07
-3.75303e-06
3.58613e-06
-4.63436e-07
2.69607e-07
7.74549e-07
-5.8072e-07
2.5221e-08
-1.57925e-07
1.90906e-06
-1.77636e-06
2.53016e-07
-1.02086e-07
2.17339e-07
-3.6827e-07
-1.11504e-07
2.15407e-07
4.13285e-07
-5.17188e-07
-3.04628e-07
3.65893e-07
7.72541e-07
-8.33806e-07
-4.18435e-07
2.45444e-07
3.01111e-07
-1.2812e-07
-3.01707e-07
3.56919e-07
5.14213e-07
-5.69425e-07
-5.47996e-07
8.20707e-07
3.99313e-07
-6.72024e-07
-1.09387e-06
1.21336e-06
-7.65857e-07
6.46367e-07
-1.18012e-06
1.08103e-06
-1.11706e-06
1.21614e-06
-9.82148e-07
8.78316e-07
-8.01984e-07
9.05815e-07
-7.47443e-07
6.234e-07
-3.9507e-07
5.19113e-07
-5.31118e-07
4.85261e-07
-2.07949e-07
2.53806e-07
-4.79808e-07
4.44332e-07
-4.13578e-08
7.68341e-08
-4.14579e-07
3.96784e-07
6.54414e-08
-4.76465e-08
-3.80808e-07
3.68703e-07
8.18552e-08
-6.97503e-08
-3.58405e-07
3.49796e-07
4.68618e-08
-3.82536e-08
-3.4109e-07
3.32808e-07
5.44444e-09
2.8372e-09
-3.24092e-07
3.16085e-07
-2.32563e-08
3.12637e-08
-3.08346e-07
3.02022e-07
-3.75699e-08
4.38936e-08
-2.96793e-07
2.93414e-07
-4.17423e-08
4.51214e-08
-2.91697e-07
2.91869e-07
-4.04852e-08
4.0313e-08
7.83505e-07
-7.53492e-07
1.82576e-07
-9.06593e-08
1.6949e-08
5.31703e-07
-4.57992e-07
7.66811e-08
-5.62476e-08
3.75113e-06
-3.77156e-06
7.7093e-08
-8.43356e-08
-1.18468e-06
1.19192e-06
3.37647e-08
3.36778e-08
-9.94216e-07
9.26774e-07
-3.79631e-08
1.09111e-07
-5.15502e-07
4.44354e-07
2.2217e-07
-3.35445e-07
8.63826e-07
-7.50552e-07
-6.13455e-08
3.08121e-07
-3.39387e-06
3.14709e-06
-1.77554e-07
-3.88886e-08
3.73858e-07
-1.57416e-07
2.5405e-07
-3.92933e-07
1.63176e-06
-1.49287e-06
3.88991e-07
-1.92063e-07
5.49266e-07
-7.46195e-07
9.42056e-09
1.16616e-07
6.38009e-07
-7.64046e-07
-1.57004e-07
2.55163e-07
9.04061e-07
-1.00222e-06
-4.785e-07
3.7632e-07
-1.19072e-07
2.21252e-07
-2.59606e-07
3.56302e-07
7.32257e-07
-8.28954e-07
-3.92184e-07
5.866e-07
9.71205e-07
-1.16562e-06
-9.3401e-07
1.12644e-06
-5.15206e-07
3.2277e-07
-1.20576e-06
1.2566e-06
-1.27561e-06
1.22477e-06
-1.19286e-06
1.10967e-06
-9.82504e-07
1.0657e-06
-1.05313e-06
1.0064e-06
-6.55903e-07
7.02637e-07
-8.67232e-07
8.12181e-07
-2.92275e-07
3.47326e-07
-7.66644e-07
7.23824e-07
-1.06527e-07
1.49348e-07
-6.55819e-07
6.01174e-07
1.19354e-08
4.27099e-08
-5.4755e-07
5.01236e-07
4.29965e-08
3.31669e-09
-4.57427e-07
4.19449e-07
1.66493e-08
2.13281e-08
-3.82152e-07
3.48708e-07
-2.20112e-08
5.54552e-08
-3.15417e-07
2.85633e-07
-4.8471e-08
7.82554e-08
-2.56442e-07
2.30882e-07
-5.78343e-08
8.33946e-08
-2.06542e-07
1.85959e-07
-5.41822e-08
7.47654e-08
-1.67495e-07
1.53699e-07
-4.32262e-08
5.70216e-08
7.1972e-07
-6.86782e-07
1.73499e-07
-2.54147e-08
-5.15022e-08
3.37722e-07
-2.60805e-07
7.48951e-08
-1.47532e-07
3.80915e-06
-3.73652e-06
1.19247e-07
-9.66345e-08
-1.19283e-06
1.17021e-06
6.60982e-08
-5.18988e-09
-8.66247e-07
8.05339e-07
3.00501e-08
2.28509e-08
-3.90979e-07
3.38078e-07
2.9025e-07
-5.98623e-07
4.96933e-07
-1.88559e-07
5.69312e-08
2.08467e-07
-2.87651e-06
2.61111e-06
5.70231e-08
-2.77794e-07
-7.18794e-08
2.92651e-07
3.82722e-07
-4.50286e-07
1.39182e-06
-1.32426e-06
2.78242e-07
-1.29411e-07
9.16293e-07
-1.06512e-06
6.27355e-08
2.0848e-08
8.68541e-07
-9.52124e-07
-9.43838e-08
2.75795e-07
1.11378e-06
-1.2952e-06
-3.37975e-07
7.68986e-07
4.55563e-08
-4.76567e-07
-8.94164e-07
6.76519e-07
5.67504e-07
-3.49859e-07
-3.70293e-07
1.41413e-08
1.07909e-06
-7.22936e-07
-1.16903e-07
5.12671e-07
-6.81875e-08
-3.2758e-07
-8.02696e-07
1.02587e-06
-1.16209e-06
9.38914e-07
-1.08295e-06
1.0924e-06
-1.10704e-06
1.09759e-06
-1.10174e-06
1.07312e-06
-7.23688e-07
7.52316e-07
-9.89701e-07
9.35984e-07
-4.33356e-07
4.87072e-07
-9.36789e-07
8.5043e-07
-2.17381e-07
3.0374e-07
-7.87665e-07
7.12024e-07
-1.14361e-07
1.90003e-07
-6.34072e-07
5.64356e-07
-6.53815e-08
1.35098e-07
-4.9481e-07
4.31881e-07
-7.33132e-08
1.36243e-07
-3.68428e-07
3.10479e-07
-1.01968e-07
1.59918e-07
-2.51678e-07
1.97657e-07
-1.22371e-07
1.76392e-07
-1.42474e-07
9.11005e-08
-1.26655e-07
1.78028e-07
-3.79983e-08
-1.18552e-08
-1.16992e-07
1.66846e-07
6.29215e-08
-1.09299e-07
-9.42025e-08
1.4058e-07
6.52253e-07
-6.19444e-07
1.62808e-07
-1.16863e-07
1.96263e-07
2.55757e-07
-3.35157e-07
-3.25523e-08
-1.23649e-07
3.63646e-06
-3.48026e-06
1.29051e-07
-1.1132e-07
-1.15259e-06
1.13486e-06
1.00166e-07
-3.62637e-08
-7.4403e-07
6.80127e-07
9.31043e-08
-4.57688e-08
-2.88739e-07
2.41404e-07
2.86762e-07
-5.24755e-07
-8.68235e-08
3.24816e-07
3.5125e-08
4.86401e-08
-2.44099e-06
2.35723e-06
2.50215e-07
-3.86245e-07
-4.72353e-07
6.08383e-07
4.27678e-07
-4.37619e-07
1.28889e-06
-1.27894e-06
2.05964e-07
-1.12726e-07
1.17365e-06
-1.26689e-06
4.75592e-08
3.20683e-08
1.01713e-06
-1.09676e-06
-6.75087e-08
2.20506e-08
1.32117e-06
-1.27571e-06
-7.06577e-08
3.39019e-07
7.88766e-07
-1.05713e-06
-3.67577e-07
4.54444e-07
3.42683e-07
-4.2955e-07
-4.14652e-07
2.0779e-07
3.13682e-07
-1.0682e-07
7.27418e-08
-9.34903e-08
7.39476e-07
-7.18728e-07
-2.83657e-07
8.11654e-07
-5.81416e-07
5.34182e-08
-9.64924e-07
1.01036e-06
-1.0641e-06
1.01866e-06
-9.28945e-07
8.05576e-07
-8.40649e-07
9.64018e-07
-7.55115e-07
7.43194e-07
-4.99217e-07
5.11139e-07
-6.81094e-07
6.625e-07
-3.54268e-07
3.72862e-07
-6.30869e-07
5.91685e-07
-2.39705e-07
2.78889e-07
-5.38145e-07
4.78771e-07
-1.94294e-07
2.53668e-07
-4.10878e-07
3.44505e-07
-1.99015e-07
2.65388e-07
-2.75142e-07
2.11214e-07
-2.2169e-07
2.85617e-07
-1.46546e-07
8.77369e-08
-2.37437e-07
2.96246e-07
-2.85598e-08
-2.48787e-08
-2.41665e-07
2.95103e-07
7.74859e-08
-1.23128e-07
-2.34043e-07
2.79685e-07
1.65327e-07
-1.99571e-07
-2.04732e-07
2.38976e-07
5.877e-07
-5.61483e-07
1.51495e-07
-6.41967e-08
-6.51603e-08
2.8618e-07
-1.56823e-07
2.61672e-07
-2.89602e-07
3.3689e-06
-3.34097e-06
2.24243e-07
-1.23632e-07
-1.08583e-06
9.85216e-07
1.33058e-07
-7.48334e-08
-6.20622e-07
5.62397e-07
1.63614e-07
-1.63281e-07
-2.1483e-07
2.14497e-07
3.52566e-07
-5.00165e-07
-5.01295e-07
6.48894e-07
6.61109e-08
-1.13403e-07
-2.35934e-06
2.40663e-06
3.39488e-07
-3.34159e-07
-6.7972e-07
6.74391e-07
4.4514e-07
-4.28947e-07
1.27718e-06
-1.29337e-06
1.73554e-07
-9.05326e-08
1.35009e-06
-1.43311e-06
2.37283e-08
5.32112e-08
1.18931e-06
-1.26625e-06
-1.35876e-07
2.02009e-07
1.30552e-06
-1.37165e-06
-2.73191e-07
3.99243e-07
1.1601e-06
-1.28616e-06
-5.75124e-07
7.54276e-07
5.70906e-07
-7.50057e-07
-8.81974e-07
1.03004e-06
9.3619e-08
-2.41681e-07
-9.86168e-07
7.63333e-07
4.05415e-07
-1.8258e-07
-4.99308e-07
3.7769e-07
3.31398e-07
-2.09779e-07
-5.91307e-07
5.86322e-07
-9.72368e-07
9.77353e-07
-5.38021e-07
6.35919e-07
-1.04461e-06
9.46709e-07
-8.12413e-07
8.30227e-07
-4.80065e-07
4.6225e-07
-7.45842e-07
6.47957e-07
-4.13397e-07
5.11282e-07
-5.49041e-07
4.62354e-07
-3.44688e-07
4.31376e-07
-3.76062e-07
2.97286e-07
-3.20897e-07
3.99673e-07
-2.19514e-07
1.52994e-07
-3.30714e-07
3.97234e-07
-9.20845e-08
4.31346e-08
-3.41591e-07
3.90541e-07
-4.57244e-10
-3.23826e-08
-3.40704e-07
3.73544e-07
5.94323e-08
-7.8393e-08
-3.27794e-07
3.46754e-07
9.16407e-08
-9.87107e-08
-3.00109e-07
3.07179e-07
1.0166e-07
-1.02234e-07
-2.50336e-07
2.5091e-07
5.40806e-07
-5.28401e-07
1.45138e-07
-3.39033e-08
1.43921e-08
6.61654e-08
-4.66542e-08
1.53475e-08
-1.75568e-07
3.25277e-06
-3.09255e-06
2.11473e-07
-1.14665e-07
-8.69431e-07
7.72624e-07
1.55816e-07
-1.11319e-07
-5.1219e-07
4.67692e-07
2.12034e-07
-2.44376e-07
-2.34448e-07
2.6679e-07
3.74907e-07
-4.70778e-07
-7.78404e-07
8.74275e-07
1.53661e-07
-1.88547e-07
-2.44786e-06
2.48274e-06
2.39435e-07
-1.52813e-07
-6.50059e-07
5.63438e-07
2.0806e-08
-3.21618e-08
1.29804e-06
-1.28668e-06
2.67939e-08
-4.58451e-08
1.4833e-06
-1.46425e-06
2.78004e-08
5.54018e-09
1.31915e-06
-1.35249e-06
-6.16603e-08
1.32534e-07
1.44197e-06
-1.51284e-06
-2.29238e-07
3.28454e-07
1.41231e-06
-1.51152e-06
-4.07053e-07
4.53352e-07
8.70722e-07
-9.17021e-07
-4.88517e-07
4.97066e-07
2.91063e-07
-2.99613e-07
-4.3449e-07
3.53516e-07
1.02716e-07
-2.17422e-08
-2.44937e-07
4.71392e-08
-1.81387e-08
2.15936e-07
4.12914e-09
7.8379e-08
-9.12457e-07
8.29949e-07
-2.6976e-07
3.24148e-07
-7.42855e-07
6.88467e-07
-2.20046e-07
1.46911e-07
-5.48239e-07
6.21374e-07
-1.07139e-07
7.05934e-08
-5.82914e-07
6.19459e-07
-1.44169e-08
-4.75452e-08
-5.05295e-07
5.67257e-07
1.1265e-07
-1.68073e-07
-4.70431e-07
5.25854e-07
2.17317e-07
-2.55396e-07
-4.50072e-07
4.88152e-07
2.8703e-07
-3.09629e-07
-4.24726e-07
4.47325e-07
3.25861e-07
-3.34135e-07
-3.93584e-07
4.01858e-07
3.35892e-07
-3.28997e-07
-3.54756e-07
3.4786e-07
3.16982e-07
-3.00292e-07
-3.05762e-07
2.89071e-07
2.79602e-07
-2.60102e-07
-2.44782e-07
2.25282e-07
5.239e-07
-5.30154e-07
1.43717e-07
-5.1627e-08
-7.96236e-08
2.36786e-08
1.07572e-07
2.13572e-07
-4.60571e-08
3.06189e-06
-3.2294e-06
-1.61206e-08
-1.21702e-07
-7.76548e-07
9.14371e-07
1.70019e-07
-1.41247e-07
-4.33339e-07
4.04567e-07
2.28574e-07
-2.60073e-07
-2.98617e-07
3.30116e-07
3.61558e-07
-4.21839e-07
-9.3921e-07
9.99491e-07
1.14186e-07
-2.136e-08
-2.49476e-06
2.40193e-06
-1.09036e-07
1.84957e-07
-4.12269e-07
3.36348e-07
-1.49761e-07
1.23251e-07
1.25812e-06
-1.23161e-06
-4.64882e-08
-2.77055e-08
1.4142e-06
-1.34001e-06
7.18107e-08
-9.14218e-08
1.36191e-06
-1.3423e-06
8.64501e-08
-6.90553e-08
1.56669e-06
-1.58408e-06
6.36652e-08
-1.00874e-07
1.54979e-06
-1.51258e-06
1.61456e-07
-2.1202e-07
9.05303e-07
-8.54739e-07
2.51422e-07
-2.77714e-07
2.92951e-07
-2.66658e-07
3.2057e-07
-3.90247e-07
-6.32058e-08
1.32883e-07
4.89303e-07
-5.87632e-07
-3.42575e-07
4.40904e-07
6.28678e-07
-5.86974e-07
-7.44744e-07
7.03041e-07
5.64642e-07
-5.91826e-07
-6.97049e-07
7.24234e-07
6.43839e-07
-6.88984e-07
-6.79071e-07
7.24216e-07
7.31365e-07
-7.7182e-07
-6.58462e-07
6.98917e-07
8.09908e-07
-8.37251e-07
-6.11741e-07
6.39084e-07
8.56874e-07
-8.65853e-07
-5.60529e-07
5.69508e-07
8.64323e-07
-8.5156e-07
-5.07629e-07
4.94866e-07
8.27002e-07
-7.95982e-07
-4.50972e-07
4.19953e-07
7.57155e-07
-7.14976e-07
-3.87901e-07
3.45723e-07
6.67431e-07
-6.18761e-07
-3.22993e-07
2.74323e-07
5.70428e-07
-5.28963e-07
-2.5623e-07
2.14764e-07
4.88936e-07
-4.55138e-07
-1.95831e-07
1.62033e-07
5.51157e-07
-5.84399e-07
1.52202e-07
-3.80576e-08
4.27585e-08
-2.29722e-07
2.25021e-07
6.93439e-08
-2.42226e-07
3.36055e-06
-3.18767e-06
1.78966e-07
-1.67216e-07
-1.03289e-06
1.02114e-06
1.94646e-07
-1.65346e-07
-3.78504e-07
3.49204e-07
2.2957e-07
-2.52582e-07
-3.5629e-07
3.79301e-07
3.05516e-07
-3.10733e-07
-1.03783e-06
1.04304e-06
1.23688e-07
1.22729e-07
-2.23794e-06
1.99152e-06
-3.60668e-07
4.6201e-07
-2.87108e-07
1.85765e-07
-3.62653e-07
2.33477e-07
1.17234e-06
-1.04316e-06
-7.89215e-08
-5.27224e-08
1.2451e-06
-1.11346e-06
1.67771e-07
-2.60986e-07
1.29076e-06
-1.19754e-06
3.54151e-07
-4.56492e-07
1.54777e-06
-1.44543e-06
5.94305e-07
-7.40548e-07
1.41669e-06
-1.27045e-06
8.7081e-07
-9.52883e-07
7.92068e-07
-7.09996e-07
1.01939e-06
-1.08608e-06
2.2641e-07
-1.59718e-07
1.16125e-06
-1.24301e-06
-2.07201e-07
2.88963e-07
1.3433e-06
-1.42862e-06
-5.22359e-07
6.07678e-07
1.49284e-06
-1.5376e-06
-7.15395e-07
7.60156e-07
1.5848e-06
-1.62903e-06
-7.58829e-07
8.03065e-07
1.66554e-06
-1.68095e-06
-7.65667e-07
7.81074e-07
1.6723e-06
-1.64107e-06
-7.20151e-07
6.88927e-07
1.58968e-06
-1.5256e-06
-6.28863e-07
5.64786e-07
1.44849e-06
-1.36945e-06
-5.3548e-07
4.5643e-07
1.28665e-06
-1.20735e-06
-4.44511e-07
3.65209e-07
1.12848e-06
-1.0582e-06
-3.60171e-07
2.89893e-07
9.89042e-07
-9.26576e-07
-2.87818e-07
2.25352e-07
8.659e-07
-8.142e-07
-2.24976e-07
1.73276e-07
7.66115e-07
-7.25997e-07
-1.72589e-07
1.32471e-07
6.89396e-07
-6.59585e-07
-1.30856e-07
1.01046e-07
6.3301e-07
-6.93345e-07
1.64524e-07
-4.07351e-08
1.30913e-07
-1.2728e-07
3.71017e-08
-5.51841e-08
-3.6511e-07
2.67345e-06
-2.25316e-06
2.73666e-07
-1.95047e-07
-9.32773e-07
8.54154e-07
2.04493e-07
-1.8397e-07
-3.22984e-07
3.02461e-07
2.17903e-07
-2.32623e-07
-3.98298e-07
4.13019e-07
2.35951e-07
-1.56138e-07
-1.01229e-06
9.32473e-07
-9.69273e-08
3.61494e-07
-1.73489e-06
1.47032e-06
-5.98383e-07
6.01248e-07
-1.07179e-07
1.04313e-07
-4.22133e-07
2.33887e-07
8.71191e-07
-6.82945e-07
-3.55371e-08
-1.37398e-07
9.60856e-07
-7.87921e-07
3.13853e-07
-4.93465e-07
1.06615e-06
-8.86543e-07
7.13899e-07
-9.58438e-07
1.27503e-06
-1.03049e-06
1.23142e-06
-1.48111e-06
1.08045e-06
-8.30759e-07
1.71577e-06
-1.90129e-06
5.76388e-07
-3.90865e-07
2.04859e-06
-2.1594e-06
7.68815e-08
3.39295e-08
2.25675e-06
-2.33665e-06
-3.66596e-07
4.46502e-07
2.40087e-06
-2.44336e-06
-6.75365e-07
7.17856e-07
2.46501e-06
-2.46212e-06
-8.00247e-07
7.97365e-07
2.43221e-06
-2.3739e-06
-8.08388e-07
7.5008e-07
2.28953e-06
-2.19573e-06
-7.35263e-07
6.41461e-07
2.08511e-06
-1.97369e-06
-6.09468e-07
4.98051e-07
1.85932e-06
-1.75979e-06
-4.68858e-07
3.69324e-07
1.6628e-06
-1.5741e-06
-3.66533e-07
2.77824e-07
1.48355e-06
-1.4032e-06
-2.8988e-07
2.09538e-07
1.32585e-06
-1.25904e-06
-2.22096e-07
1.55282e-07
1.19419e-06
-1.13762e-06
-1.68918e-07
1.12347e-07
1.08297e-06
-1.03555e-06
-1.27798e-07
8.03694e-08
9.90354e-07
-9.51336e-07
-9.63741e-08
5.73561e-08
9.14146e-07
-8.82256e-07
-7.28039e-08
4.09136e-08
7.70966e-07
-8.59816e-07
1.812e-07
-4.65809e-08
1.72918e-07
8.03796e-08
-2.06717e-07
-1.19547e-07
-3.82069e-07
1.67387e-06
-1.17225e-06
2.70777e-07
-2.19087e-07
-7.89694e-07
7.38003e-07
2.10273e-07
-1.88562e-07
-2.84456e-07
2.62745e-07
1.98358e-07
-1.98445e-07
-4.2043e-07
4.20517e-07
1.81497e-07
-9.24805e-08
-8.41652e-07
7.52636e-07
-1.24992e-07
3.57899e-07
-1.2133e-06
9.80396e-07
-5.3702e-07
4.86679e-07
-1.40681e-07
1.91023e-07
-3.10809e-07
1.32753e-07
4.94527e-07
-3.16471e-07
5.32859e-08
-2.35512e-07
6.13706e-07
-4.3148e-07
4.47691e-07
-6.86712e-07
6.78769e-07
-4.39748e-07
9.92647e-07
-1.32071e-06
7.49188e-07
-4.21121e-07
1.64523e-06
-1.88422e-06
5.8596e-07
-3.4697e-07
2.11648e-06
-2.33991e-06
1.89501e-07
3.39315e-08
2.52177e-06
-2.67471e-06
-1.6897e-07
3.21907e-07
2.79641e-06
-2.83945e-06
-5.10411e-07
5.53455e-07
2.84261e-06
-2.82579e-06
-7.20585e-07
7.03763e-07
2.77918e-06
-2.71526e-06
-7.5007e-07
6.86144e-07
2.63523e-06
-2.55182e-06
-6.64342e-07
5.80934e-07
2.45497e-06
-2.3582e-06
-5.38357e-07
4.41594e-07
2.24963e-06
-2.13366e-06
-3.93102e-07
2.77124e-07
2.01479e-06
-1.92692e-06
-2.8491e-07
1.97037e-07
1.84002e-06
-1.7301e-06
-1.85978e-07
7.60622e-08
1.61433e-06
-1.53739e-06
-1.37367e-07
6.04187e-08
1.47672e-06
-1.41608e-06
-9.43593e-08
3.37139e-08
1.35241e-06
-1.28891e-06
-5.76925e-08
-5.80674e-09
1.21731e-06
-1.15809e-06
-3.13551e-08
-2.78609e-08
1.10885e-06
-1.06471e-06
-1.62992e-08
-2.785e-08
1.01979e-06
-9.82782e-07
-7.17004e-09
-2.98387e-08
9.72249e-07
-1.10033e-06
2.07382e-07
-6.52921e-08
2.61409e-07
2.14083e-07
-4.10199e-07
-2.01809e-07
-4.45317e-07
1.0249e-06
-3.77776e-07
3.26986e-07
-2.42341e-07
-8.21599e-07
7.36954e-07
2.1877e-07
-1.77899e-07
-2.36488e-07
1.95617e-07
1.7005e-07
-1.56892e-07
-4.1363e-07
4.00473e-07
1.31074e-07
-7.0245e-08
-6.81359e-07
6.2053e-07
-4.90853e-08
1.81928e-07
-8.04115e-07
6.71272e-07
-2.91319e-07
2.61152e-07
-2.33605e-07
2.63771e-07
-1.53909e-07
2.85111e-08
1.706e-07
-4.52023e-08
1.20793e-07
-2.7931e-07
2.63447e-07
-1.0493e-07
4.67488e-07
-6.71023e-07
2.09233e-07
-5.69789e-09
9.28056e-07
-1.24426e-06
7.02685e-08
2.45931e-07
1.66846e-06
-2.07686e-06
6.06578e-08
3.47734e-07
2.36336e-06
-2.43561e-06
-2.05917e-07
2.78172e-07
2.46985e-06
-2.5051e-06
-3.9689e-07
4.32138e-07
2.53454e-06
-2.54288e-06
-5.7815e-07
5.86495e-07
2.50742e-06
-2.44669e-06
-6.63997e-07
6.03266e-07
2.36738e-06
-2.27693e-06
-6.08682e-07
5.18234e-07
2.17094e-06
-2.06564e-06
-4.82815e-07
3.77518e-07
1.9555e-06
-1.85157e-06
-3.43301e-07
2.39363e-07
1.72054e-06
-1.58969e-06
-1.84674e-07
5.38235e-08
1.46641e-06
-1.36541e-06
-1.2098e-07
1.99763e-08
1.28253e-06
-1.26723e-06
-5.51874e-09
-9.78585e-09
1.24074e-06
-1.17374e-06
3.1903e-08
-9.89045e-08
1.0482e-06
-9.52497e-07
3.40995e-08
-1.29801e-07
8.90035e-07
-8.8681e-07
4.84642e-08
-5.16897e-08
8.76558e-07
-8.67393e-07
8.29564e-08
-9.21211e-08
8.31433e-07
-8.06101e-07
6.37075e-08
-8.90402e-08
7.79314e-07
-7.54386e-07
6.8043e-08
-9.29703e-08
1.25212e-06
-1.40676e-06
2.10869e-07
-8.15399e-08
6.83835e-07
7.11982e-07
-1.31428e-06
-7.37903e-07
-1.04442e-06
-5.05907e-07
2.28823e-06
7.45559e-07
-2.60649e-07
-5.65493e-07
8.05818e-08
2.29285e-07
-1.49926e-07
-1.39958e-07
6.05984e-08
1.31706e-07
-1.12537e-07
-3.83813e-07
3.64644e-07
8.60688e-08
-4.46321e-08
-5.71925e-07
5.30488e-07
-2.01201e-08
8.2818e-08
-5.82848e-07
5.2015e-07
-1.32703e-07
1.16681e-07
-2.83896e-07
2.99918e-07
-5.53235e-08
-2.78246e-08
-5.38199e-08
1.36968e-07
1.34522e-07
-2.4982e-07
-2.67281e-08
1.42026e-07
3.81118e-07
-5.08276e-07
-1.46309e-07
2.73467e-07
6.31256e-07
-7.22923e-07
-3.8817e-07
4.79838e-07
7.90094e-07
-8.40941e-07
-6.01301e-07
6.52148e-07
9.07215e-07
-1.07368e-06
-5.70276e-07
7.36737e-07
1.25874e-06
-1.21709e-06
-3.38743e-07
2.97091e-07
1.10779e-06
-1.12693e-06
-6.29735e-07
6.48879e-07
1.13653e-06
-1.09064e-06
-5.48239e-07
5.02349e-07
1.00859e-06
-9.22685e-07
-4.18133e-07
3.32226e-07
8.33111e-07
-7.47355e-07
-2.67583e-07
1.81827e-07
6.58276e-07
-5.8198e-07
-1.23027e-07
4.67309e-08
4.87001e-07
-4.13319e-07
7.09117e-09
-8.07723e-08
3.50457e-07
-3.08039e-07
4.83371e-08
-9.07551e-08
2.40925e-07
-1.82301e-07
7.46071e-08
-1.33232e-07
1.41914e-07
-1.29977e-07
1.234e-07
-1.35337e-07
1.46477e-07
-1.60497e-07
1.43311e-07
-1.29291e-07
1.35593e-07
-1.06576e-07
8.19193e-08
-1.10936e-07
1.03662e-07
-1.19931e-07
1.28821e-07
-1.12552e-07
1.45853e-07
-1.59886e-07
1.22526e-07
-1.08493e-07
1.69904e-07
-1.81966e-07
1.09945e-07
-9.78835e-08
1.55099e-06
1.42237e-07
-1.18178e-07
1.162e-06
2.58614e-06
-3.62996e-06
-1.42272e-06
-1.87666e-06
-6.11179e-06
9.41118e-06
1.18162e-06
-2.43956e-07
1.11469e-06
-2.05236e-06
1.83878e-07
-9.12981e-08
4.1161e-08
-1.33741e-07
7.61027e-08
-6.32772e-08
-3.4732e-07
3.34494e-07
4.69141e-08
-2.43613e-08
-4.99479e-07
4.76926e-07
-7.27523e-09
3.4733e-08
-4.79505e-07
4.52047e-07
-5.35123e-08
4.48554e-08
-3.12136e-07
3.20793e-07
-1.41784e-08
-3.03902e-08
-1.98747e-07
2.43316e-07
9.06656e-08
-1.58902e-07
-2.30814e-07
2.9905e-07
2.39941e-07
-3.21406e-07
-3.72924e-07
4.54389e-07
4.03288e-07
-4.65258e-07
-5.63981e-07
6.25951e-07
5.00353e-07
-4.95674e-07
-7.51486e-07
7.46807e-07
4.57927e-07
-5.24771e-07
-7.8122e-07
8.48064e-07
7.71376e-07
-1.00227e-06
-2.57752e-07
4.88651e-07
9.9979e-07
-7.74186e-07
-4.92369e-07
2.66766e-07
5.42062e-07
-3.89678e-07
-4.28606e-07
2.76221e-07
2.74538e-07
-1.74644e-07
-2.59636e-07
1.59743e-07
6.33969e-08
7.33526e-11
-1.1199e-07
4.85195e-08
-4.8262e-08
7.64309e-08
6.20806e-09
-3.4377e-08
-8.56295e-08
9.12224e-08
1.27865e-07
-1.33458e-07
-9.80631e-08
9.33426e-08
1.64747e-07
-1.60027e-07
-9.98848e-08
1.02103e-07
1.46806e-07
-1.49024e-07
-1.0069e-07
9.66564e-08
1.36806e-07
-1.32772e-07
-9.04497e-08
8.3791e-08
1.24815e-07
-1.18156e-07
-7.64544e-08
6.93427e-08
1.12927e-07
-1.05815e-07
-6.18418e-08
5.50421e-08
1.02111e-07
-9.53108e-08
-4.85105e-08
4.29049e-08
9.11452e-08
-8.55396e-08
-3.73391e-08
3.20937e-08
8.1041e-08
-7.57957e-08
1.62411e-07
-1.86771e-07
-1.28608e-07
1.52968e-07
2.08333e-07
-2.29101e-07
-1.18614e-07
1.39381e-07
2.47183e-07
-2.64738e-07
-1.46155e-07
1.63709e-07
2.79734e-07
-2.927e-07
-1.87564e-07
2.0053e-07
3.00504e-07
-3.01509e-07
-1.86564e-07
1.87569e-07
2.93203e-07
-2.73747e-07
-1.07975e-07
8.85198e-08
2.46278e-07
-2.12437e-07
3.72827e-08
-7.11236e-08
1.88856e-07
-1.70117e-07
1.93306e-07
-2.12044e-07
1.58585e-07
-1.5532e-07
2.1085e-07
-2.14115e-07
1.21148e-07
-6.30359e-08
8.26743e-08
-1.40786e-07
1.80209e-08
-1.46581e-08
-2.52633e-07
2.4927e-07
8.1645e-08
-1.63012e-07
-1.72635e-07
2.54003e-07
2.26225e-07
-2.79036e-07
1.64246e-07
-1.11434e-07
2.75602e-07
-2.69064e-07
4.48803e-07
-4.55341e-07
2.37837e-07
-1.72497e-07
4.1817e-07
-4.8351e-07
1.2375e-07
-4.94276e-08
2.47469e-07
-3.21791e-07
1.64118e-08
-2.47408e-08
3.07918e-07
-2.99589e-07
4.99543e-08
-2.3464e-08
2.95481e-07
-3.21971e-07
-4.29496e-09
2.69694e-08
3.04309e-07
-3.26984e-07
-6.94879e-08
7.96533e-08
5.6969e-08
-6.71343e-08
-5.22197e-08
1.09948e-07
-3.70764e-07
3.13036e-07
-1.56602e-07
1.41483e-07
-1.10023e-07
1.25142e-07
-1.95188e-07
8.30546e-07
6.58632e-07
-1.29399e-06
-4.04493e-07
1.27808e-07
2.19953e-06
-1.92285e-06
2.36595e-08
-2.56346e-07
-5.72711e-06
5.9598e-06
4.843e-07
-4.58028e-07
-1.70432e-07
1.4416e-07
4.60568e-07
-5.17296e-07
-2.21004e-06
2.26677e-06
5.08409e-07
-5.0176e-07
2.02719e-06
-2.03384e-06
6.8092e-07
-1.06888e-06
1.13211e-06
-7.44149e-07
8.60569e-07
1.63866e-07
8.1086e-07
-1.8353e-06
1.23475e-07
-1.50591e-07
-1.78365e-07
2.05481e-07
1.76003e-07
-2.00696e-07
-1.6147e-07
1.86163e-07
2.21099e-07
-2.38799e-07
-1.80657e-07
1.98357e-07
2.51549e-07
-2.59881e-07
-2.10614e-07
2.18947e-07
2.62062e-07
-2.57134e-07
-1.85025e-07
1.80097e-07
2.4496e-07
-2.25209e-07
-6.85255e-08
4.87744e-08
2.02749e-07
-1.80655e-07
9.65231e-08
-1.18617e-07
1.73338e-07
-1.68514e-07
2.23425e-07
-2.28249e-07
1.65101e-07
-1.67239e-07
2.15707e-07
-2.1357e-07
1.59393e-07
-1.23285e-07
1.86404e-07
-2.22512e-07
8.15201e-08
-6.88575e-08
-2.39594e-07
2.26931e-07
1.14204e-07
-2.05349e-07
-3.42315e-07
4.33459e-07
2.68758e-07
-3.05247e-07
6.46388e-08
-2.81503e-08
3.04881e-07
-3.27701e-07
4.45698e-07
-4.22878e-07
3.7295e-07
-4.36475e-07
4.79067e-07
-4.15542e-07
3.76043e-07
-2.63092e-07
5.36603e-07
-6.49554e-07
1.05519e-07
-2.93899e-08
3.04314e-07
-3.80444e-07
5.77053e-08
-4.35854e-08
3.44546e-07
-3.58666e-07
2.49982e-09
1.97879e-08
3.49093e-07
-3.7138e-07
-6.48632e-08
6.8421e-08
7.24163e-08
-7.59741e-08
-5.70807e-08
1.46263e-07
-2.41555e-07
1.52372e-07
-1.50246e-07
1.28805e-07
-1.50607e-07
1.72047e-07
-3.15067e-07
7.17235e-07
1.57709e-06
-1.97926e-06
-2.99685e-07
-6.52873e-08
1.67231e-06
-1.30734e-06
1.7292e-07
-2.59375e-07
-6.12139e-06
6.20784e-06
3.75236e-07
-3.88576e-07
-1.32391e-07
1.45731e-07
4.46974e-07
-4.7427e-07
-2.30959e-06
2.33689e-06
4.25558e-07
-3.93295e-07
2.05111e-06
-2.08337e-06
5.17988e-07
-7.0478e-07
5.47405e-07
-3.60613e-07
4.79624e-07
1.18203e-06
2.97742e-06
-4.63907e-06
4.83142e-08
-7.0836e-08
-2.30384e-07
2.52906e-07
9.4368e-08
-1.18916e-07
-2.10586e-07
2.35134e-07
1.39656e-07
-1.5706e-07
-2.15404e-07
2.32808e-07
1.68404e-07
-1.7446e-07
-2.25554e-07
2.3161e-07
1.74894e-07
-1.7032e-07
-1.74772e-07
1.70198e-07
1.6221e-07
-1.51441e-07
-3.30586e-08
2.22891e-08
1.41751e-07
-1.35648e-07
1.34075e-07
-1.40178e-07
1.40969e-07
-1.52684e-07
2.24619e-07
-2.12903e-07
1.58017e-07
-1.69497e-07
2.06669e-07
-1.95188e-07
1.83983e-07
-1.72804e-07
2.46312e-07
-2.5749e-07
1.47891e-07
-1.30797e-07
-2.11427e-07
1.94332e-07
1.56925e-07
-2.23799e-07
-5.12731e-07
5.79605e-07
2.47857e-07
-2.36454e-07
1.35051e-08
-2.49084e-08
2.14938e-07
-2.31264e-07
3.99563e-07
-3.83237e-07
3.12169e-07
-4.47986e-07
3.11587e-07
-1.7577e-07
5.60857e-07
-7.60971e-07
6.76831e-07
-4.76717e-07
6.79503e-07
-2.74289e-07
5.71435e-07
-9.76649e-07
2.51803e-08
-2.94767e-08
3.60422e-07
-3.56125e-07
1.34969e-08
-4.07524e-09
3.90664e-07
-4.00086e-07
-2.98311e-08
4.20886e-08
8.12041e-08
-9.34617e-08
-7.44483e-08
1.7903e-07
-5.50035e-08
-4.95782e-08
-1.34029e-07
1.46742e-07
-2.22845e-07
2.10132e-07
-8.66734e-07
5.29613e-07
2.00847e-06
-1.67135e-06
-2.31272e-07
-2.39449e-07
9.12242e-07
-4.41521e-07
3.19333e-07
-2.30084e-07
-6.21023e-06
6.12098e-06
2.13529e-07
-2.89726e-07
-1.85149e-07
2.61346e-07
4.01872e-07
-3.96377e-07
-2.34772e-06
2.34223e-06
3.23998e-07
-2.74892e-07
2.12422e-06
-2.17332e-06
3.33178e-07
-3.4637e-07
2.82866e-07
-2.69674e-07
3.00295e-07
1.73941e-07
4.99928e-06
-5.47352e-06
-3.25808e-08
2.2115e-08
-2.69355e-07
2.79821e-07
-8.27979e-09
-8.58702e-09
-2.5598e-07
2.72846e-07
2.44777e-08
-3.86595e-08
-2.48496e-07
2.62678e-07
4.82457e-08
-5.38655e-08
-2.37143e-07
2.42762e-07
5.59088e-08
-5.64383e-08
-1.67906e-07
1.68436e-07
5.74601e-08
-6.09823e-08
-1.86003e-08
2.21225e-08
6.82871e-08
-8.14277e-08
1.36147e-07
-1.23006e-07
9.71357e-08
-1.19002e-07
1.98177e-07
-1.7631e-07
1.31054e-07
-1.52859e-07
1.78101e-07
-1.56296e-07
1.76463e-07
-1.93315e-07
2.55414e-07
-2.38561e-07
1.92831e-07
-1.77405e-07
-1.78291e-07
1.62865e-07
1.79771e-07
-2.02127e-07
-6.23988e-07
6.46343e-07
1.73498e-07
-1.19429e-07
7.02524e-08
-1.24321e-07
7.26652e-08
-5.83975e-08
3.72723e-07
-3.86991e-07
1.37378e-07
-2.4881e-07
4.78202e-08
6.36118e-08
3.06774e-07
-3.41049e-07
2.89726e-07
-2.5545e-07
3.37253e-07
-3.26419e-07
9.67936e-07
-9.7877e-07
3.61865e-07
-8.00789e-08
5.034e-07
-7.85187e-07
-2.25911e-10
-2.92911e-08
3.87238e-07
-3.57721e-07
4.94482e-08
1.28365e-08
1.19394e-07
-1.81678e-07
-1.30983e-07
1.52817e-07
1.30072e-07
-1.51905e-07
-7.28778e-08
4.31409e-07
-5.3681e-08
-3.0485e-07
-1.39724e-06
7.85297e-07
1.9515e-06
-1.33955e-06
-1.4381e-07
-3.81719e-07
-2.49955e-08
5.50524e-07
4.31305e-07
-1.4544e-07
-5.9446e-06
5.65874e-06
-2.26042e-08
-1.48973e-07
-3.71573e-07
5.4315e-07
3.24675e-07
-2.92073e-07
-2.3237e-06
2.29109e-06
2.16616e-07
-1.70978e-07
2.22069e-06
-2.26632e-06
1.83214e-07
-1.18957e-07
3.02441e-07
-3.66699e-07
4.67438e-08
9.63671e-08
5.75563e-06
-5.89874e-06
-8.96191e-08
9.20262e-08
-2.83292e-07
2.80885e-07
-9.10698e-08
8.69522e-08
-2.83175e-07
2.87293e-07
-8.12556e-08
7.48665e-08
-2.73028e-07
2.79417e-07
-6.96386e-08
6.5356e-08
-2.47786e-07
2.52069e-07
-6.14524e-08
5.53711e-08
-1.71806e-07
1.77887e-07
-4.54396e-08
2.92361e-08
-3.20392e-08
4.82427e-08
-8.46989e-09
-1.73217e-08
1.04011e-07
-7.82194e-08
4.37291e-08
-6.83471e-08
1.5151e-07
-1.26892e-07
8.48468e-08
-8.42058e-08
1.37767e-07
-1.38408e-07
1.18257e-07
-1.76302e-07
2.05065e-07
-1.47019e-07
2.00338e-07
-1.83678e-07
-1.48514e-07
1.31854e-07
1.6337e-07
-1.34405e-07
-6.43832e-07
6.14867e-07
7.11962e-08
7.50234e-10
1.8451e-07
-2.56457e-07
-3.83852e-08
6.33526e-08
3.98592e-07
-4.23559e-07
-2.85154e-08
8.84168e-09
-1.41535e-07
1.61209e-07
1.36425e-08
-1.50739e-08
2.5879e-07
-2.57358e-07
2.85645e-08
-1.42405e-07
8.079e-07
-6.9406e-07
3.47514e-07
-6.66357e-07
1.12515e-06
-8.06306e-07
1.79859e-07
-2.48334e-08
3.36034e-07
-4.91059e-07
3.93444e-08
5.33766e-08
2.76244e-07
-3.68965e-07
-1.51663e-07
9.4057e-08
4.74769e-08
1.01296e-08
-2.55858e-07
1.48467e-06
1.1107e-06
-2.33951e-06
-9.41702e-07
5.86358e-07
8.26609e-07
-4.71265e-07
2.04924e-08
-4.88521e-07
-1.02888e-06
1.49691e-06
4.7313e-07
2.29384e-08
-5.28672e-06
4.79065e-06
-3.43196e-07
3.46902e-08
-7.68381e-07
1.07689e-06
2.23123e-07
-1.7355e-07
-2.2509e-06
2.20133e-06
1.14104e-07
-8.93445e-08
2.30147e-06
-2.32623e-06
8.39287e-08
2.51857e-09
4.43881e-07
-5.30328e-07
-1.83142e-08
-3.24858e-08
5.9322e-06
-5.8814e-06
-1.1691e-07
1.2624e-07
-2.74387e-07
2.65057e-07
-1.33827e-07
1.40039e-07
-2.85602e-07
2.7939e-07
-1.43965e-07
1.46296e-07
-2.81125e-07
2.78795e-07
-1.4702e-07
1.46017e-07
-2.54766e-07
2.55769e-07
-1.42459e-07
1.34086e-07
-1.85333e-07
1.93707e-07
-1.19892e-07
9.75301e-08
-6.77266e-08
9.00884e-08
-7.01195e-08
3.697e-08
4.88022e-08
-1.56527e-08
-4.74443e-09
-2.36334e-08
1.01813e-07
-7.34349e-08
4.08711e-08
-4.34299e-08
1.56632e-07
-1.54073e-07
3.69969e-08
-1.96374e-07
4.44193e-08
1.14958e-07
1.77345e-07
-1.36123e-07
-1.03406e-07
6.21843e-08
9.98393e-08
-3.19918e-08
-5.66953e-07
4.99106e-07
-5.06237e-08
1.08354e-07
3.17314e-07
-3.75044e-07
-1.36042e-07
1.43253e-07
4.3502e-07
-4.42231e-07
-2.16368e-07
3.12919e-07
-1.14138e-07
1.75867e-08
-3.07766e-07
1.97754e-07
2.24042e-07
-1.1403e-07
-1.43072e-07
1.0777e-07
6.34518e-07
-5.99216e-07
3.27263e-08
-3.45558e-07
7.44888e-07
-4.32056e-07
3.53256e-07
-1.25126e-07
6.00664e-07
-8.28794e-07
4.3984e-08
-2.07775e-08
4.31886e-07
-4.55093e-07
6.80063e-08
-2.38821e-08
-3.8914e-08
-5.21013e-09
-1.36595e-06
1.28703e-06
2.68952e-06
-2.61061e-06
-9.79133e-07
3.3226e-07
1.69017e-07
4.77856e-07
1.75955e-07
-5.51325e-07
-1.91285e-06
2.28822e-06
4.28808e-07
2.04536e-07
-4.22586e-06
3.59252e-06
-6.38956e-07
2.21987e-07
-1.44272e-06
1.85969e-06
1.12262e-07
-5.84258e-08
-2.15047e-06
2.09664e-06
1.90424e-08
-2.89246e-08
2.33513e-06
-2.32525e-06
2.90485e-08
5.05146e-08
6.11722e-07
-6.91285e-07
-3.09648e-08
-1.22812e-07
5.77272e-06
-5.61894e-06
-1.27747e-07
1.38244e-07
-2.55071e-07
2.44574e-07
-1.4815e-07
1.57752e-07
-2.70989e-07
2.61387e-07
-1.65795e-07
1.725e-07
-2.7379e-07
2.67085e-07
-1.77046e-07
1.79311e-07
-2.55011e-07
2.52746e-07
-1.7766e-07
1.70595e-07
-2.01431e-07
2.08496e-07
-1.57579e-07
1.36792e-07
-1.11607e-07
1.32395e-07
-1.11241e-07
8.01028e-08
-1.62228e-08
4.73609e-08
-4.88159e-08
1.68458e-08
4.41425e-08
-1.21724e-08
1.52455e-08
-6.05185e-08
1.29873e-07
-8.46001e-08
1.03422e-07
-9.04654e-08
-1.31879e-07
1.18922e-07
1.06207e-07
-5.3244e-08
-1.1381e-09
-5.18253e-08
9.05385e-09
8.36296e-08
-4.20676e-07
3.27992e-07
-1.6542e-07
2.06115e-07
4.22763e-07
-4.63459e-07
-2.28447e-07
2.32549e-07
4.4738e-07
-4.51482e-07
-3.08277e-07
3.31273e-07
3.59426e-08
-5.89391e-08
-2.98148e-07
2.71047e-07
4.10348e-08
-1.3934e-08
-2.42669e-07
1.85681e-07
5.60067e-07
-5.03078e-07
-1.61002e-07
-4.99856e-11
1.91177e-07
-3.01252e-08
1.09758e-07
-7.46183e-08
9.22565e-07
-9.57704e-07
5.16547e-08
-5.74791e-08
5.45601e-07
-5.39777e-07
1.20255e-07
1.67147e-07
2.02508e-07
-4.8991e-07
-3.47294e-07
3.56663e-07
2.85499e-06
-2.86436e-06
-3.52312e-07
9.07065e-08
-7.8384e-07
1.04545e-06
3.2894e-07
-5.62123e-07
-2.58625e-06
2.81944e-06
3.34953e-07
1.37115e-07
-3.01752e-06
2.54546e-06
-6.79242e-07
4.10084e-07
-2.22676e-06
2.49592e-06
1.48849e-08
4.593e-08
-2.04934e-06
1.98852e-06
-4.8107e-08
1.31765e-08
2.30009e-06
-2.26516e-06
7.19551e-10
6.39721e-08
7.60821e-07
-8.25513e-07
-2.53015e-08
-1.68538e-07
5.44766e-06
-5.25382e-06
-1.36686e-07
1.46127e-07
-2.34969e-07
2.25528e-07
-1.55136e-07
1.64364e-07
-2.52109e-07
2.42881e-07
-1.72423e-07
1.79734e-07
-2.60059e-07
2.52748e-07
-1.84832e-07
1.87699e-07
-2.5005e-07
2.47183e-07
-1.87389e-07
1.8287e-07
-2.14099e-07
2.18619e-07
-1.7379e-07
1.58963e-07
-1.49769e-07
1.64595e-07
-1.40522e-07
1.17475e-07
-7.38556e-08
9.69027e-08
-9.29947e-08
6.55756e-08
-1.7554e-08
4.49732e-08
-3.71766e-08
-1.87588e-09
4.27908e-08
-3.73832e-09
1.76485e-08
2.04558e-09
-1.16895e-07
9.72009e-08
6.78177e-08
-4.76275e-08
1.11405e-07
-1.31595e-07
-3.15933e-08
1.57467e-07
-2.28434e-07
1.0256e-07
-2.43493e-07
2.76267e-07
4.96892e-07
-5.29666e-07
-2.96427e-07
3.04506e-07
4.57413e-07
-4.65492e-07
-3.61099e-07
3.42831e-07
5.06104e-08
-3.23422e-08
-3.19386e-07
3.39392e-07
2.6225e-08
-4.6231e-08
-2.96571e-07
2.14885e-07
4.55003e-07
-3.73317e-07
-1.57296e-07
1.88151e-07
-3.74274e-08
6.57292e-09
-1.23996e-07
1.01741e-07
9.45633e-07
-9.23378e-07
-6.00845e-08
-1.30276e-08
4.7602e-07
-4.02908e-07
-8.74112e-08
3.44984e-07
7.76032e-07
-1.0336e-06
-3.38079e-07
3.59472e-07
2.874e-06
-2.89539e-06
-1.49189e-07
-1.49797e-07
-1.28581e-06
1.58479e-06
4.74401e-07
-5.31922e-07
-2.95993e-06
3.01745e-06
2.47668e-07
-1.31046e-07
-2.26878e-06
2.15216e-06
-4.64034e-07
4.95958e-07
-2.59789e-06
2.56596e-06
-3.76608e-08
1.30557e-07
-1.91676e-06
1.82386e-06
-9.62903e-08
4.26966e-08
2.22237e-06
-2.16877e-06
-1.48176e-08
6.49275e-08
8.80444e-07
-9.30554e-07
-1.51217e-08
-1.91689e-07
5.05945e-06
-4.85264e-06
-1.53108e-07
1.61979e-07
-2.16817e-07
2.07947e-07
-1.70118e-07
1.78014e-07
-2.34692e-07
2.26796e-07
-1.84698e-07
1.90719e-07
-2.46351e-07
2.40331e-07
-1.95096e-07
1.97965e-07
-2.44449e-07
2.4158e-07
-1.98699e-07
1.96958e-07
-2.21688e-07
2.23429e-07
-1.92188e-07
1.83687e-07
-1.75674e-07
1.84175e-07
-1.72966e-07
1.58883e-07
-1.14555e-07
1.28638e-07
-1.42376e-07
1.24582e-07
-6.65244e-08
8.43193e-08
-1.06076e-07
7.48384e-08
-3.15436e-08
6.27812e-08
-5.73055e-08
4.85225e-08
-1.08852e-07
1.17635e-07
4.55069e-08
-2.12463e-07
7.19674e-08
9.49889e-08
-8.12452e-09
2.2087e-07
5.84892e-08
-2.71235e-07
-3.083e-07
3.30919e-07
5.58847e-07
-5.81465e-07
-3.40232e-07
3.45707e-07
4.73466e-07
-4.78942e-07
-3.86771e-07
3.84062e-07
1.92441e-08
-1.65351e-08
-3.93604e-07
3.88918e-07
4.74113e-08
-4.27253e-08
-3.48924e-07
2.90875e-07
2.7708e-07
-2.1903e-07
-2.26961e-07
2.80432e-07
7.58624e-08
-1.29334e-07
-2.34697e-07
1.97488e-07
8.94032e-07
-8.56822e-07
-2.09366e-07
3.18069e-07
4.22817e-07
-5.3152e-07
-5.67317e-07
5.9344e-07
1.04509e-06
-1.07121e-06
-5.53019e-07
2.90926e-07
2.82988e-06
-2.56778e-06
2.9505e-08
-3.66706e-07
-1.89815e-06
2.23535e-06
6.10656e-07
-5.09519e-07
-2.99072e-06
2.88959e-06
1.90746e-07
-1.9605e-07
-2.13584e-06
2.14114e-06
-2.75191e-07
3.6814e-07
-2.47281e-06
2.37986e-06
-5.69519e-08
1.83769e-07
-1.71671e-06
1.5899e-06
-1.2964e-07
6.11473e-08
2.1092e-06
-2.04071e-06
-2.38467e-08
6.17959e-08
9.72508e-07
-1.01046e-06
-2.95704e-09
-2.0294e-07
4.65313e-06
-4.44723e-06
-1.77414e-07
1.86481e-07
-1.99484e-07
1.90418e-07
-1.94356e-07
2.01749e-07
-2.19657e-07
2.12264e-07
-2.08416e-07
2.15014e-07
-2.34747e-07
2.28149e-07
-2.20326e-07
2.25008e-07
-2.38507e-07
2.33826e-07
-2.28498e-07
2.31467e-07
-2.2322e-07
2.20252e-07
-2.32036e-07
2.28364e-07
-1.89826e-07
1.93498e-07
-2.22385e-07
2.12467e-07
-1.39138e-07
1.49055e-07
-2.00872e-07
1.88885e-07
-9.93616e-08
1.11348e-07
-1.77546e-07
1.58681e-07
-8.19871e-08
1.00852e-07
-1.70895e-07
1.79321e-07
-9.32829e-08
8.48573e-08
-2.02484e-07
2.51975e-07
-1.46874e-07
9.73833e-08
-2.80806e-07
3.48417e-07
3.89493e-07
-4.57105e-07
-3.82855e-07
3.71172e-07
5.88068e-07
-5.76386e-07
-3.59115e-07
3.5576e-07
4.8003e-07
-4.76675e-07
-3.8421e-07
4.07865e-07
2.66961e-08
-5.03509e-08
-4.32202e-07
4.28462e-07
3.5159e-08
-3.14187e-08
-4.02439e-07
4.08469e-07
1.97263e-07
-2.03294e-07
-3.97502e-07
3.86885e-07
1.39993e-07
-1.29376e-07
-3.13653e-07
2.66178e-07
8.14683e-07
-7.67208e-07
-3.01563e-07
2.79125e-07
7.17622e-07
-6.95184e-07
-6.11282e-07
6.65143e-07
1.04469e-06
-1.09855e-06
-4.07218e-07
7.3819e-08
2.29826e-06
-1.96486e-06
2.44074e-07
-5.57008e-07
-2.54496e-06
2.85789e-06
7.27471e-07
-5.20056e-07
-2.73483e-06
2.52742e-06
1.97799e-07
-1.48415e-07
-2.12582e-06
2.07643e-06
-1.06761e-07
1.63463e-07
-2.31326e-06
2.25656e-06
-8.57493e-08
2.13843e-07
-1.4633e-06
1.3352e-06
-1.50387e-07
7.29787e-08
1.96968e-06
-1.89228e-06
-2.93291e-08
5.70911e-08
1.04178e-06
-1.06954e-06
5.47033e-09
-2.07268e-07
4.25163e-06
-4.04983e-06
-1.94537e-07
2.0388e-07
-1.81934e-07
1.72591e-07
-2.14695e-07
2.2785e-07
-2.02834e-07
1.89679e-07
-2.40035e-07
2.52579e-07
-2.19226e-07
2.06682e-07
-2.62668e-07
2.71113e-07
-2.27398e-07
2.18953e-07
-2.78945e-07
2.87009e-07
-2.15106e-07
2.07042e-07
-2.91666e-07
2.95663e-07
-1.92186e-07
1.88189e-07
-2.93129e-07
2.84174e-07
-1.59519e-07
1.68474e-07
-2.7973e-07
2.72836e-07
-1.17657e-07
1.24551e-07
-2.68759e-07
2.73455e-07
-1.07036e-07
1.02341e-07
-2.68126e-07
3.11308e-07
-8.20341e-08
3.88528e-08
-3.50817e-07
3.95818e-07
-4.85792e-08
3.57803e-09
-4.01957e-07
4.09958e-07
4.8622e-07
-4.9422e-07
-4.07693e-07
3.64211e-07
5.4902e-07
-5.05538e-07
-3.38272e-07
3.3541e-07
4.7164e-07
-4.68779e-07
-3.6044e-07
4.02775e-07
8.41248e-08
-1.2646e-07
-4.50741e-07
4.57875e-07
2.26274e-08
-2.97618e-08
-4.52375e-07
4.74766e-07
2.21066e-07
-2.43457e-07
-4.75706e-07
4.62562e-07
1.15032e-07
-1.01887e-07
-3.82973e-07
3.08387e-07
7.14906e-07
-6.4032e-07
-3.64996e-07
3.21498e-07
6.48112e-07
-6.04614e-07
-3.70879e-07
3.93072e-07
1.17146e-06
-1.19365e-06
-1.82003e-07
-1.62637e-07
1.60788e-06
-1.26324e-06
4.43929e-07
-7.09444e-07
-3.14323e-06
3.40874e-06
7.83638e-07
-5.21043e-07
-2.29572e-06
2.03313e-06
2.52091e-07
-1.39197e-07
-1.998e-06
1.88511e-06
9.33766e-09
6.16485e-08
-2.1937e-06
2.12271e-06
-1.21855e-07
2.28964e-07
-1.22194e-06
1.11483e-06
-1.62157e-07
8.1118e-08
1.81533e-06
-1.73429e-06
-3.31094e-08
5.19276e-08
1.09177e-06
-1.11059e-06
1.39193e-08
-2.07837e-07
3.8588e-06
-3.66488e-06
-2.46668e-07
2.59014e-07
-1.64869e-07
1.52523e-07
-2.68339e-07
2.79713e-07
-1.75356e-07
1.63982e-07
-2.92864e-07
3.0694e-07
-1.94528e-07
1.80452e-07
-3.2038e-07
3.35063e-07
-2.05992e-07
1.91308e-07
-3.4669e-07
3.56738e-07
-1.99003e-07
1.88955e-07
-3.63653e-07
3.6578e-07
-1.86327e-07
1.842e-07
-3.63621e-07
3.60922e-07
-1.75778e-07
1.78477e-07
-3.55491e-07
3.56764e-07
-1.23269e-07
1.21996e-07
-3.74351e-07
3.68783e-07
-9.13893e-08
9.69575e-08
-3.20779e-07
2.7405e-07
-5.0381e-08
9.71097e-08
-3.11276e-07
3.75067e-07
5.63486e-08
-1.2014e-07
-4.06066e-07
3.73547e-07
4.8697e-07
-4.54451e-07
-3.38119e-07
2.68068e-07
4.52724e-07
-3.82673e-07
-2.73176e-07
2.91041e-07
4.74244e-07
-4.92108e-07
-3.29855e-07
3.75981e-07
1.67269e-07
-2.13394e-07
-4.35504e-07
4.73392e-07
6.62657e-08
-1.04154e-07
-4.88967e-07
5.23939e-07
2.68531e-07
-3.03503e-07
-5.28028e-07
5.15351e-07
9.2166e-08
-7.94885e-08
-4.36785e-07
3.20476e-07
5.4197e-07
-4.2566e-07
-3.37949e-07
2.48092e-07
5.38756e-07
-4.489e-07
2.16576e-07
-1.62075e-07
1.22124e-06
-1.27574e-06
1.5045e-07
-4.14877e-07
9.61405e-07
-6.96978e-07
6.88068e-07
-7.93991e-07
-3.62133e-06
3.72725e-06
7.1153e-07
-4.37129e-07
-1.76599e-06
1.49159e-06
2.98757e-07
-1.34775e-07
-1.74833e-06
1.58434e-06
1.36993e-08
6.64905e-08
-2.05133e-06
1.97114e-06
-1.45124e-07
2.3434e-07
-1.02171e-06
9.32495e-07
-1.67991e-07
8.72007e-08
1.65596e-06
-1.57517e-06
-3.61548e-08
4.67565e-08
1.1246e-06
-1.1352e-06
2.41352e-08
-2.05949e-07
3.48395e-06
-3.30213e-06
-2.83386e-07
2.98519e-07
-1.37647e-07
1.22514e-07
-3.12761e-07
3.27316e-07
-1.51873e-07
1.37319e-07
-3.41264e-07
3.56288e-07
-1.6658e-07
1.51556e-07
-3.70467e-07
3.85274e-07
-1.7797e-07
1.63163e-07
-3.98986e-07
4.10618e-07
-1.77132e-07
1.655e-07
-4.21107e-07
4.29013e-07
-1.77291e-07
1.69385e-07
-4.36603e-07
4.43076e-07
-1.81036e-07
1.74563e-07
-4.37152e-07
4.20312e-07
-1.27306e-07
1.44146e-07
-4.05467e-07
3.92688e-07
-1.01987e-07
1.14766e-07
-3.79018e-07
3.73489e-07
-1.00059e-07
1.05588e-07
-3.65942e-07
3.56199e-07
1.3048e-07
-1.20736e-07
-3.33744e-07
2.91426e-07
4.11631e-07
-3.69312e-07
-1.52206e-07
1.83727e-07
3.68503e-07
-4.00024e-07
-2.27024e-07
2.60833e-07
5.23148e-07
-5.56958e-07
-3.13981e-07
3.84337e-07
2.68922e-07
-3.39279e-07
-4.57887e-07
5.17873e-07
1.51205e-07
-2.11191e-07
-5.45575e-07
5.79881e-07
3.37524e-07
-3.71831e-07
-5.82603e-07
5.5493e-07
6.13132e-08
-3.36403e-08
-4.64885e-07
4.00011e-07
3.21907e-07
-2.57033e-07
-3.31239e-07
1.78188e-07
3.31006e-07
-1.77955e-07
7.5709e-08
-2.67936e-07
1.24018e-06
-1.04795e-06
4.28956e-07
-7.25687e-07
4.13332e-07
-1.16601e-07
8.15067e-07
-8.59495e-07
-3.82549e-06
3.86991e-06
4.64564e-07
-3.0133e-07
-1.24818e-06
1.08495e-06
2.86376e-07
-1.20307e-07
-1.41518e-06
1.24911e-06
-9.70295e-09
1.02063e-07
-1.88657e-06
1.79421e-06
-1.56515e-07
2.33584e-07
-8.53522e-07
7.76453e-07
-1.70188e-07
9.20411e-08
1.49844e-06
-1.4203e-06
-3.89597e-08
4.18129e-08
1.14155e-06
-1.1444e-06
3.32775e-08
-2.0232e-07
3.13336e-06
-2.96432e-06
-3.08964e-07
3.22415e-07
-1.08665e-07
9.52147e-08
-3.35692e-07
3.5011e-07
-1.22885e-07
1.08467e-07
-3.64146e-07
3.79131e-07
-1.36675e-07
1.2169e-07
-3.93353e-07
4.07923e-07
-1.48405e-07
1.33835e-07
-4.20666e-07
4.31832e-07
-1.54322e-07
1.43156e-07
-4.40144e-07
4.47419e-07
-1.60815e-07
1.5354e-07
-4.5275e-07
4.55423e-07
-1.69636e-07
1.66963e-07
-4.57597e-07
4.54115e-07
-1.5361e-07
1.57092e-07
-4.47008e-07
4.46396e-07
-1.2347e-07
1.24082e-07
-4.39106e-07
4.19023e-07
-1.18989e-07
1.39072e-07
-3.83432e-07
3.56501e-07
9.67121e-08
-6.97807e-08
-3.46801e-07
3.45604e-07
3.3133e-07
-3.30132e-07
-3.8686e-07
3.27936e-07
4.16035e-07
-3.57111e-07
-2.9336e-07
2.98176e-07
5.7414e-07
-5.78955e-07
-3.32475e-07
4.06203e-07
4.08209e-07
-4.81936e-07
-4.7979e-07
5.63126e-07
2.84054e-07
-3.6739e-07
-6.08061e-07
6.36221e-07
4.02477e-07
-4.30637e-07
-6.33382e-07
5.78214e-07
-4.49307e-09
5.96609e-08
-4.48918e-07
3.99149e-07
2.2507e-07
-1.75301e-07
-2.2866e-07
7.49523e-09
-1.84859e-08
2.3965e-07
1.45067e-07
-3.89274e-07
7.66688e-07
-5.22482e-07
5.15673e-07
-7.28565e-07
-1.46014e-07
3.58906e-07
8.06508e-07
-7.88177e-07
-3.85531e-06
3.83698e-06
3.95826e-07
-8.47714e-08
-7.89889e-07
4.78834e-07
2.14839e-07
-1.02611e-07
-1.11946e-06
1.00723e-06
-2.93338e-08
1.25411e-07
-1.70462e-06
1.60854e-06
-1.60824e-07
2.29225e-07
-7.07203e-07
6.38802e-07
-1.70385e-07
9.60575e-08
1.34683e-06
-1.2725e-06
-4.172e-08
3.7208e-08
1.14349e-06
-1.13898e-06
4.11088e-08
-1.97634e-07
2.8077e-06
-2.65118e-06
-3.25844e-07
3.36574e-07
-8.34765e-08
7.27461e-08
-3.47193e-07
3.58789e-07
-9.57897e-08
8.41939e-08
-3.70082e-07
3.821e-07
-1.08512e-07
9.64943e-08
-3.93405e-07
4.04832e-07
-1.2119e-07
1.09763e-07
-4.14779e-07
4.23773e-07
-1.3333e-07
1.24336e-07
-4.3063e-07
4.36078e-07
-1.47509e-07
1.42061e-07
-4.39583e-07
4.41583e-07
-1.64398e-07
1.62398e-07
-4.41822e-07
4.38137e-07
-1.60607e-07
1.64292e-07
-4.32842e-07
4.17255e-07
-1.40416e-07
1.56003e-07
-4.13676e-07
4.09365e-07
-1.4698e-07
1.5129e-07
-4.02035e-07
3.90758e-07
3.65695e-08
-2.52917e-08
-3.8305e-07
3.88404e-07
3.57559e-07
-3.62913e-07
-3.86873e-07
3.83215e-07
3.35355e-07
-3.31698e-07
-3.66076e-07
3.67685e-07
5.72036e-07
-5.73645e-07
-3.98928e-07
4.62926e-07
5.46421e-07
-6.10419e-07
-5.2487e-07
6.10984e-07
4.50723e-07
-5.36837e-07
-6.69666e-07
6.83732e-07
4.51473e-07
-4.65538e-07
-6.71471e-07
5.71579e-07
-1.31377e-07
2.31269e-07
-3.64002e-07
2.13211e-07
7.79771e-08
7.28147e-08
-1.55858e-08
-2.95766e-07
-6.48322e-07
9.59674e-07
3.03612e-07
-4.96751e-07
4.16244e-07
-2.23106e-07
6.45511e-07
-7.08416e-07
-4.96104e-07
5.59009e-07
8.10598e-07
-7.58273e-07
-3.85581e-06
3.80349e-06
3.86647e-07
-1.30526e-07
-2.20657e-07
-3.54647e-08
1.84068e-07
-8.25293e-08
-9.07002e-07
8.05464e-07
-3.31704e-08
1.35564e-07
-1.51287e-06
1.41048e-06
-1.60839e-07
2.22206e-07
-5.76882e-07
5.15516e-07
-1.69143e-07
9.91461e-08
1.20305e-06
-1.13306e-06
-4.43039e-08
3.2854e-08
1.1312e-06
-1.11975e-06
4.75344e-08
-1.9187e-07
2.50648e-06
-2.36214e-06
-3.3665e-07
3.44199e-07
-6.39648e-08
5.64163e-08
-3.51723e-07
3.59979e-07
-7.46867e-08
6.64298e-08
-3.68027e-07
3.76547e-07
-8.66717e-08
7.81522e-08
-3.84463e-07
3.92315e-07
-1.0052e-07
9.26679e-08
-3.99015e-07
4.04955e-07
-1.17072e-07
1.11132e-07
-4.09323e-07
4.12465e-07
-1.37789e-07
1.34647e-07
-4.13953e-07
4.13481e-07
-1.6162e-07
1.62092e-07
-4.10436e-07
4.0395e-07
-1.72038e-07
1.78524e-07
-3.95702e-07
3.85321e-07
-1.60459e-07
1.7084e-07
-3.8141e-07
3.92723e-07
-1.51441e-07
1.40128e-07
-4.09006e-07
4.20735e-07
5.98285e-08
-7.15572e-08
-3.75977e-07
3.26017e-07
3.33059e-07
-2.83099e-07
-3.37502e-07
3.60439e-07
3.34832e-07
-3.5777e-07
-3.81779e-07
4.09053e-07
5.88262e-07
-6.15537e-07
-4.48666e-07
5.13996e-07
6.71799e-07
-7.37129e-07
-5.65008e-07
6.3268e-07
6.14718e-07
-6.82389e-07
-6.83184e-07
6.89816e-07
4.73761e-07
-4.80393e-07
-6.78001e-07
4.69563e-07
-3.56646e-07
5.65083e-07
-2.53865e-07
1.44881e-07
-1.97228e-07
3.06212e-07
2.4556e-07
-3.36687e-07
-1.13673e-06
1.22785e-06
2.88588e-07
-4.54347e-07
2.7238e-08
1.38521e-07
6.91572e-07
-6.81079e-07
-5.90048e-07
5.79556e-07
4.21778e-07
-4.47124e-07
-3.83627e-06
3.86161e-06
2.66656e-07
-1.71798e-07
1.99851e-07
-2.94709e-07
1.56508e-07
-6.4637e-08
-7.11864e-07
6.19994e-07
-3.41832e-08
1.39593e-07
-1.31002e-06
1.20461e-06
-1.58627e-07
2.13518e-07
-4.59935e-07
4.05044e-07
-1.67053e-07
1.01353e-07
1.06784e-06
-1.00214e-06
-4.66544e-08
2.86946e-08
1.10552e-06
-1.08756e-06
5.25577e-08
-1.85505e-07
2.22881e-06
-2.09586e-06
-3.33348e-07
3.38276e-07
-5.05443e-08
4.56166e-08
-3.43545e-07
3.49649e-07
-5.97891e-08
5.36855e-08
-3.5577e-07
3.62211e-07
-7.1276e-08
6.48352e-08
-3.67874e-07
3.72899e-07
-8.66491e-08
8.16239e-08
-3.76471e-07
3.78608e-07
-1.07164e-07
1.05026e-07
-3.7889e-07
3.77716e-07
-1.33328e-07
1.34503e-07
-3.75932e-07
3.71786e-07
-1.64274e-07
1.6842e-07
-3.65987e-07
3.60706e-07
-1.82837e-07
1.88117e-07
-3.56309e-07
3.5505e-07
-1.78817e-07
1.80077e-07
-3.56095e-07
3.60787e-07
-1.34048e-07
1.29356e-07
-3.735e-07
3.43378e-07
7.22485e-08
-4.21264e-08
-3.11424e-07
2.88363e-07
2.46589e-07
-2.23528e-07
-3.07231e-07
3.43396e-07
3.92892e-07
-4.29056e-07
-3.76134e-07
4.13005e-07
6.48859e-07
-6.8573e-07
-4.57365e-07
5.23123e-07
8.01015e-07
-8.66773e-07
-5.53031e-07
6.07443e-07
7.35865e-07
-7.90278e-07
-5.76556e-07
4.78287e-07
4.94398e-07
-3.96129e-07
-3.82778e-07
2.37307e-07
-8.34137e-07
9.79608e-07
-1.03235e-07
-3.46265e-07
-4.75719e-07
9.25219e-07
5.57165e-07
-4.00505e-07
-1.41035e-06
1.25369e-06
3.00157e-07
-4.25261e-07
-2.87099e-07
4.12203e-07
5.9293e-07
-5.71083e-07
-5.39022e-07
5.17175e-07
1.97028e-07
-1.64252e-07
-3.89469e-06
3.86191e-06
2.58482e-07
-2.00746e-07
3.43286e-07
-4.01023e-07
1.30463e-07
-4.58609e-08
-5.35188e-07
4.50585e-07
-3.67617e-08
1.39544e-07
-1.10387e-06
1.00109e-06
-1.54958e-07
2.03241e-07
-3.5567e-07
3.07387e-07
-1.64048e-07
1.02456e-07
9.41035e-07
-8.79443e-07
-4.86434e-08
2.456e-08
1.06727e-06
-1.04319e-06
5.60936e-08
-1.78566e-07
1.97313e-06
-1.85066e-06
-2.93928e-07
2.98038e-07
-4.15262e-08
3.7416e-08
-3.04192e-07
3.13045e-07
-4.74639e-08
3.86103e-08
-3.23029e-07
3.33448e-07
-5.79229e-08
4.75036e-08
-3.41206e-07
3.46699e-07
-7.72172e-08
7.17235e-08
-3.50316e-07
3.50919e-07
-1.04754e-07
1.04151e-07
-3.46928e-07
3.36067e-07
-1.40242e-07
1.51103e-07
-3.2653e-07
3.08966e-07
-1.7493e-07
1.92494e-07
-2.88724e-07
2.75318e-07
-1.97009e-07
2.10414e-07
-2.71887e-07
2.75741e-07
-1.75715e-07
1.71861e-07
-2.77273e-07
2.7903e-07
-1.29925e-07
1.28168e-07
-2.78028e-07
2.68789e-07
2.22524e-08
-1.30129e-08
-2.64594e-07
2.71653e-07
2.19907e-07
-2.26965e-07
-2.88883e-07
3.0894e-07
4.57902e-07
-4.77958e-07
-3.29963e-07
3.5942e-07
7.20179e-07
-7.49636e-07
-3.90317e-07
4.41271e-07
8.96083e-07
-9.47038e-07
-3.81332e-07
3.21964e-07
7.63739e-07
-7.04371e-07
-2.61692e-07
1.19548e-07
2.58527e-07
-1.16383e-07
5.16865e-08
-1.34424e-07
-1.08741e-06
1.17015e-06
1.65724e-07
-4.9864e-07
-1.29047e-06
1.62339e-06
6.64602e-07
-4.38712e-07
-1.06374e-06
8.37849e-07
3.91918e-07
-3.70597e-07
-3.92546e-07
3.71225e-07
4.53556e-07
-4.7123e-07
-5.09208e-07
5.26882e-07
1.83254e-07
-6.46645e-08
-3.7863e-06
3.66771e-06
3.31885e-07
-1.52338e-07
5.25639e-07
-7.05186e-07
9.40068e-08
-2.32893e-08
-3.74037e-07
3.03319e-07
-4.20916e-08
1.36604e-07
-9.05742e-07
8.1123e-07
-1.50317e-07
1.91531e-07
-2.64498e-07
2.23284e-07
-1.59945e-07
1.0232e-07
8.22228e-07
-7.64603e-07
-5.03745e-08
2.03646e-08
1.01717e-06
-9.87159e-07
5.80948e-08
-1.71266e-07
1.73749e-06
-1.62432e-06
-1.444e-07
1.41824e-07
-3.30639e-08
3.56404e-08
-1.47659e-07
1.64156e-07
-2.42099e-08
7.7125e-09
-1.85851e-07
2.04397e-07
-3.08233e-08
1.22768e-08
-2.10156e-07
2.33934e-07
-6.60788e-08
4.2301e-08
-2.72552e-07
2.97035e-07
-1.04887e-07
8.04036e-08
-2.86258e-07
2.74297e-07
-1.68738e-07
1.80699e-07
-2.5249e-07
2.30377e-07
-2.08384e-07
2.30498e-07
-2.15774e-07
2.04588e-07
-2.22241e-07
2.33427e-07
-1.91282e-07
1.78345e-07
-1.75745e-07
1.88682e-07
-1.76504e-07
1.80948e-07
-1.25655e-07
1.21211e-07
-1.90577e-07
2.03775e-07
1.57966e-08
-2.89942e-08
-2.15637e-07
2.22567e-07
2.37635e-07
-2.44565e-07
-2.20897e-07
2.12829e-07
4.84938e-07
-4.7687e-07
-2.04558e-07
1.51873e-07
7.55452e-07
-7.02766e-07
-5.6456e-08
-2.0382e-08
8.86835e-07
-8.09997e-07
-1.50168e-08
-4.40567e-08
6.62259e-07
-6.03186e-07
1.7075e-07
-3.26874e-07
-2.73434e-08
1.83467e-07
4.4803e-07
-4.76952e-07
-1.16039e-06
1.18931e-06
6.69141e-07
-8.62769e-07
-2.06106e-06
2.25468e-06
7.66356e-07
-4.71092e-07
-5.70206e-07
2.74942e-07
4.8963e-07
-4.37873e-07
-3.93526e-07
3.41769e-07
4.121e-07
-4.51018e-07
-5.77575e-07
6.16494e-07
5.93621e-07
-1.78274e-07
-3.37392e-06
2.95857e-06
-1.58055e-07
4.1922e-08
8.09423e-07
-6.93291e-07
3.46347e-08
2.74181e-09
-2.50859e-07
2.13482e-07
-4.97949e-08
1.32159e-07
-7.25882e-07
6.43517e-07
-1.45191e-07
1.78577e-07
-1.87453e-07
1.54067e-07
-1.54363e-07
1.00906e-07
7.11248e-07
-6.57792e-07
-5.21854e-08
1.61442e-08
9.55333e-07
-9.19292e-07
5.85113e-08
-1.63801e-07
1.51943e-06
-1.41414e-06
1.53586e-07
-1.90983e-07
-6.05855e-08
9.79823e-08
1.95766e-07
-2.02462e-07
-2.00382e-08
2.6734e-08
2.04906e-07
-1.77642e-07
-1.23816e-08
-1.48829e-08
1.6664e-07
-2.02228e-07
4.33342e-08
-7.74562e-09
2.2988e-07
-1.92708e-07
-8.70332e-08
4.98618e-08
1.51799e-07
-1.537e-07
-1.4511e-07
1.47011e-07
1.19462e-07
-7.70206e-08
-2.29219e-07
1.86778e-07
3.66972e-08
-4.64736e-09
-2.36468e-07
2.04418e-07
-1.80289e-08
3.87437e-08
-1.89037e-07
1.68322e-07
-6.0343e-08
8.57516e-08
-1.06507e-07
8.10984e-08
-1.08304e-07
1.2516e-07
4.55505e-08
-6.24075e-08
-1.29576e-07
1.19187e-07
2.43164e-07
-2.32775e-07
-9.64594e-08
6.02217e-08
4.5328e-07
-4.17042e-07
-1.13224e-09
-1.01116e-07
6.39136e-07
-5.36888e-07
1.70313e-07
-1.90194e-07
8.10782e-07
-7.90902e-07
2.86624e-07
-4.78558e-07
4.72678e-07
-2.80744e-07
6.78977e-07
-8.78858e-07
-3.54627e-07
5.54507e-07
1.03793e-06
-1.15114e-06
-1.30569e-06
1.4189e-06
1.1962e-06
-1.03789e-06
-2.27002e-06
2.11172e-06
6.90892e-07
-4.82062e-07
-1.97214e-08
-1.89109e-07
5.51701e-07
-4.92662e-07
-2.59675e-07
2.00636e-07
3.21118e-07
-3.92383e-07
-6.41344e-07
7.12609e-07
6.15998e-07
-1.69144e-07
-2.51363e-06
2.06677e-06
-3.53307e-07
9.74663e-08
4.74506e-07
-2.18665e-07
-2.0419e-08
2.54903e-08
-1.91799e-07
1.86728e-07
-5.89583e-08
1.26604e-07
-5.71189e-07
5.03544e-07
-1.40084e-07
1.64581e-07
-1.26197e-07
1.017e-07
-1.4701e-07
9.81766e-08
6.08689e-07
-5.59855e-07
-5.26401e-08
1.20508e-08
8.82303e-07
-8.41714e-07
5.71425e-08
-1.5565e-07
1.31629e-06
-1.21778e-06
2.29519e-07
-2.56705e-07
-1.50319e-07
1.77505e-07
2.9849e-07
-3.47192e-07
-1.83965e-08
6.70985e-08
4.17237e-07
-3.8297e-07
4.59748e-08
-8.02415e-08
3.25889e-07
-3.50376e-07
-4.57614e-08
7.02483e-08
2.62497e-07
-2.28663e-07
-1.37208e-08
-2.01133e-08
2.40022e-07
-2.62797e-07
-7.86565e-08
1.01431e-07
2.51003e-07
-2.26034e-07
-1.60645e-07
1.35676e-07
1.95439e-07
-1.5774e-07
-1.69506e-07
1.31807e-07
1.20003e-07
-8.10312e-08
-1.36818e-07
9.78463e-08
4.72606e-08
-1.82959e-08
-5.20201e-08
2.30553e-08
7.20233e-10
4.80262e-09
7.39525e-08
-7.94753e-08
2.98842e-09
-2.1278e-08
2.17175e-07
-1.98886e-07
3.8339e-08
-5.12977e-08
3.87689e-07
-3.7473e-07
1.55802e-07
-2.25204e-07
4.15029e-07
-3.45627e-07
2.9371e-07
-4.6893e-07
6.67052e-07
-4.91832e-07
6.60673e-07
-8.81384e-07
6.6044e-08
1.54667e-07
1.10575e-06
-1.32555e-06
-7.56698e-07
9.76499e-07
1.47519e-06
-1.51799e-06
-1.502e-06
1.5448e-06
1.36777e-06
-8.79931e-07
-1.79615e-06
1.30832e-06
4.52484e-07
-3.79027e-07
3.24499e-07
-3.97956e-07
4.13802e-07
-3.61749e-07
-1.37631e-07
8.5578e-08
1.39199e-07
-1.42446e-07
-7.18835e-07
7.22081e-07
3.68831e-07
-8.05109e-08
-1.72308e-06
1.43476e-06
-2.89201e-07
1.07059e-07
1.32046e-09
1.80821e-07
-5.84075e-08
4.44389e-08
-1.92982e-07
2.06951e-07
-6.9124e-08
1.19857e-07
-4.46634e-07
3.95901e-07
-1.35327e-07
1.50248e-07
-8.27752e-08
6.78543e-08
-1.38115e-07
9.41375e-08
5.15333e-07
-4.71356e-07
-5.19372e-08
8.32632e-09
8.01098e-07
-7.57487e-07
5.36708e-08
-1.453e-07
1.12647e-06
-1.03484e-06
1.03018e-07
-1.08579e-07
-1.95267e-07
2.00828e-07
1.22551e-07
-1.52387e-07
-1.11928e-07
1.41764e-07
1.99915e-07
-2.67689e-07
1.22132e-09
6.65527e-08
3.19246e-07
-3.3076e-07
-1.64767e-08
2.7991e-08
3.74757e-07
-4.00911e-07
3.76585e-09
2.23875e-08
3.91735e-07
-3.67244e-07
-7.16019e-08
4.71102e-08
3.38004e-07
-3.05313e-07
-8.85478e-08
5.58565e-08
2.72859e-07
-2.3792e-07
-8.81295e-08
5.31906e-08
2.06104e-07
-1.76656e-07
-6.04889e-08
3.10412e-08
1.54758e-07
-1.40116e-07
-8.19966e-10
-1.38222e-08
1.34943e-07
-1.40176e-07
7.87646e-08
-7.35325e-08
1.55889e-07
-1.83138e-07
1.74215e-07
-1.46966e-07
2.22726e-07
-3.13222e-07
3.19576e-07
-2.2908e-07
3.98593e-07
-4.77999e-07
2.96016e-07
-2.16609e-07
6.24273e-07
-8.21124e-07
2.9203e-07
-9.51788e-08
1.00412e-06
-1.18387e-06
-3.43308e-07
5.23062e-07
1.36737e-06
-1.54569e-06
-1.19349e-06
1.3718e-06
1.64417e-06
-1.52939e-06
-1.52026e-06
1.40548e-06
1.18989e-06
-6.80754e-07
-7.88095e-07
2.78961e-07
3.68309e-07
-2.77194e-07
4.53859e-07
-5.44974e-07
2.45325e-07
-2.21529e-07
-5.29914e-08
2.91955e-08
1.11444e-07
-1.03839e-07
-7.1863e-07
7.11024e-07
2.44407e-07
-1.15607e-07
-1.22113e-06
1.09233e-06
-1.55129e-07
9.05929e-08
-3.03959e-07
3.68495e-07
-7.25865e-08
5.65595e-08
-2.22917e-07
2.38944e-07
-7.65139e-08
1.11521e-07
-3.54913e-07
3.19906e-07
-1.29646e-07
1.36761e-07
-5.7609e-08
5.04937e-08
-1.28072e-07
8.89504e-08
4.31507e-07
-3.92385e-07
-5.0274e-08
5.17361e-09
7.14703e-07
-6.69603e-07
4.88239e-08
-1.33141e-07
9.50185e-07
-8.65869e-07
2.40353e-07
-2.25247e-07
-1.95696e-07
1.80591e-07
2.15096e-07
-2.11077e-07
-1.50736e-07
1.46717e-07
2.14864e-07
-2.26394e-07
-9.57782e-08
1.07308e-07
2.42216e-07
-2.60743e-07
-5.57877e-08
7.4315e-08
2.77836e-07
-2.91983e-07
-3.99381e-08
5.40854e-08
2.99867e-07
-3.02635e-07
-4.13607e-08
4.41288e-08
3.01459e-07
-2.97203e-07
-4.09274e-08
3.66718e-08
2.91113e-07
-2.83427e-07
-3.41413e-08
2.64551e-08
2.76113e-07
-2.69719e-07
-1.47158e-08
8.32198e-09
2.66001e-07
-2.6554e-07
2.07258e-08
-2.11872e-08
2.69119e-07
-2.7809e-07
6.68643e-08
-5.78931e-08
2.93493e-07
-3.22207e-07
1.24175e-07
-9.54618e-08
3.76628e-07
-4.52263e-07
1.40737e-07
-6.51017e-08
5.44797e-07
-6.81223e-07
8.22149e-08
5.42115e-08
8.30949e-07
-1.0191e-06
-8.09706e-08
2.69124e-07
1.22042e-06
-1.38583e-06
-6.83629e-07
8.49048e-07
1.46439e-06
-1.46359e-06
-1.45404e-06
1.45324e-06
1.37611e-06
-1.15464e-06
-1.26269e-06
1.04122e-06
8.78353e-07
-5.86076e-07
1.25564e-07
-4.17841e-07
3.80252e-07
-2.57153e-07
6.53305e-07
-7.76404e-07
2.18598e-07
-1.94615e-07
-7.98347e-09
-1.59994e-08
9.1549e-08
-3.66377e-08
-6.85699e-07
6.30788e-07
1.40924e-07
-7.49833e-08
-1.03294e-06
9.66998e-07
-9.3018e-08
7.31198e-08
-3.89526e-07
4.09424e-07
-7.31138e-08
6.1673e-08
-2.52356e-07
2.63797e-07
-7.98017e-08
1.02852e-07
-2.92617e-07
2.69566e-07
-1.21442e-07
1.24018e-07
-4.60922e-08
4.35167e-08
-1.17132e-07
8.2762e-08
3.57134e-07
-3.22765e-07
-4.77509e-08
2.69254e-09
6.2611e-07
-5.81051e-07
4.41806e-08
-1.19684e-07
7.88978e-07
-7.13475e-07
4.25009e-07
-3.99562e-07
-1.58563e-07
1.33115e-07
3.7909e-07
-3.62062e-07
-1.34408e-07
1.1738e-07
3.50492e-07
-3.43053e-07
-1.06771e-07
9.93316e-08
3.39912e-07
-3.39891e-07
-8.17792e-08
8.17585e-08
3.41976e-07
-3.45402e-07
-6.28711e-08
6.62974e-08
3.49015e-07
-3.52706e-07
-4.95078e-08
5.3199e-08
3.55903e-07
-3.58983e-07
-3.85446e-08
4.16245e-08
3.61874e-07
-3.65359e-07
-2.65419e-08
3.00276e-08
3.69747e-07
-3.76331e-07
-9.74966e-09
1.63339e-08
3.85404e-07
-3.98879e-07
1.47926e-08
-1.31781e-09
4.15961e-07
-4.38442e-07
4.43018e-08
-2.18205e-08
4.63025e-07
-4.91814e-07
6.83762e-08
-3.95876e-08
5.11508e-07
-5.16882e-07
2.54468e-08
-2.0073e-08
5.17627e-07
-5.34804e-07
-1.36414e-07
1.53591e-07
6.17453e-07
-7.93854e-07
-4.61718e-07
6.38119e-07
9.75924e-07
-1.1064e-06
-1.01551e-06
1.14599e-06
1.11254e-06
-1.01067e-06
-1.40171e-06
1.29984e-06
8.72631e-07
-7.09448e-07
-8.15327e-07
6.52144e-07
5.81886e-07
-4.16385e-07
6.13988e-07
-7.79489e-07
3.70042e-07
-3.40527e-07
8.73486e-07
-9.03001e-07
3.44025e-07
-3.29201e-07
3.63282e-08
-5.1152e-08
2.64356e-07
-2.01759e-07
-5.66183e-07
5.03586e-07
1.80791e-07
-7.4077e-08
-8.8843e-07
7.81716e-07
-4.59287e-08
5.0514e-08
-4.18563e-07
4.13977e-07
-6.47542e-08
6.06099e-08
-2.71537e-07
2.75682e-07
-7.85782e-08
9.43237e-08
-2.51339e-07
2.35594e-07
-1.11298e-07
1.11425e-07
-4.23671e-08
4.22397e-08
-1.05476e-07
7.57117e-08
2.92001e-07
-2.62237e-07
-4.45033e-08
1.30907e-09
5.38427e-07
-4.95233e-07
3.9231e-08
-1.05298e-07
6.45436e-07
-5.79368e-07
6.32787e-07
-6.08932e-07
-1.09472e-07
8.56173e-08
5.87872e-07
-5.67489e-07
-9.96065e-08
7.92241e-08
5.49905e-07
-5.3327e-07
-8.78511e-08
7.12159e-08
5.19149e-07
-5.05963e-07
-7.54648e-08
6.22784e-08
4.94879e-07
-4.84621e-07
-6.33394e-08
5.30813e-08
4.76119e-07
-4.68452e-07
-5.20708e-08
4.44041e-08
4.62427e-07
-4.57558e-07
-4.19181e-08
3.70483e-08
4.54575e-07
-4.53555e-07
-3.26479e-08
3.16278e-08
4.55113e-07
-4.60133e-07
-2.35895e-08
2.86094e-08
4.68911e-07
-4.83316e-07
-1.38606e-08
2.82664e-08
5.02699e-07
-5.29438e-07
-2.75106e-09
2.94904e-08
5.60457e-07
-5.96901e-07
1.39075e-08
2.25362e-08
6.285e-07
-6.3798e-07
2.73909e-08
-1.79109e-08
6.2e-07
-5.80764e-07
-1.24313e-07
8.5077e-08
5.26335e-07
-4.72764e-07
-7.40946e-07
6.87375e-07
5.30456e-07
-6.08407e-07
-1.24408e-06
1.32203e-06
5.60896e-07
-5.23716e-07
-1.20172e-06
1.16454e-06
3.57427e-07
-1.19961e-07
-4.69496e-07
2.32029e-07
1.75692e-08
-5.20063e-08
8.2416e-07
-7.89723e-07
2.84174e-07
-4.44105e-07
8.33504e-07
-6.73572e-07
4.73205e-07
-4.51754e-07
5.8336e-08
-7.97861e-08
4.03197e-07
-2.96633e-07
-4.1679e-07
3.10226e-07
2.06653e-07
-8.7205e-08
-6.66627e-07
5.47179e-07
-1.97425e-09
2.79141e-08
-3.98138e-07
3.72198e-07
-5.12545e-08
5.49908e-08
-2.75737e-07
2.72e-07
-7.31702e-08
8.48897e-08
-2.22678e-07
2.10959e-07
-9.95763e-08
9.8642e-08
-4.27239e-08
4.36582e-08
-9.32623e-08
6.79202e-08
2.35803e-07
-2.10461e-07
-4.06695e-08
8.2108e-10
4.55185e-07
-4.15337e-07
3.3774e-08
-9.0306e-08
5.20467e-07
-4.63935e-07
8.5189e-07
-8.23017e-07
-6.11688e-08
3.22957e-08
7.95629e-07
-7.66929e-07
-5.6066e-08
2.73668e-08
7.39968e-07
-7.12089e-07
-4.98115e-08
2.19326e-08
6.86193e-07
-6.59763e-07
-4.29585e-08
1.65287e-08
6.35595e-07
-6.11354e-07
-3.6161e-08
1.192e-08
5.89639e-07
-5.68363e-07
-3.02707e-08
8.9952e-09
5.4984e-07
-5.32331e-07
-2.62906e-08
8.78098e-09
5.17794e-07
-5.0494e-07
-2.52675e-08
1.24136e-08
4.95328e-07
-4.88288e-07
-2.84037e-08
2.13634e-08
4.84917e-07
-4.85396e-07
-3.71336e-08
3.76126e-08
4.90342e-07
-5.01167e-07
-5.18188e-08
6.26437e-08
5.18042e-07
-5.44621e-07
-6.31206e-08
8.96995e-08
5.80712e-07
-6.43357e-07
-1.50829e-08
7.77288e-08
6.98233e-07
-6.68193e-07
-3.77144e-08
7.6743e-09
5.07181e-07
-2.47594e-07
-5.36568e-07
2.7698e-07
3.82261e-09
8.79875e-08
-1.32189e-06
1.23008e-06
-1.60166e-07
4.07416e-07
-1.10447e-06
8.57222e-07
-5.24412e-07
4.31558e-07
-5.93547e-08
1.52209e-07
-2.51264e-07
1.58297e-08
5.56034e-07
-3.206e-07
2.02596e-07
-3.74457e-07
4.81214e-07
-3.09354e-07
4.0373e-07
-3.75793e-07
1.13211e-07
-1.41148e-07
3.33106e-07
-2.5363e-07
-2.13426e-07
1.3395e-07
1.76628e-07
-8.49892e-08
-4.42794e-07
3.51156e-07
1.89528e-08
1.07744e-08
-3.44867e-07
3.1514e-07
-3.70576e-08
4.66516e-08
-2.65266e-07
2.55673e-07
-6.44122e-08
7.41934e-08
-2.00779e-07
1.90998e-07
-8.63841e-08
8.53086e-08
-4.46779e-08
4.57534e-08
-8.04792e-08
5.93968e-08
1.8819e-07
-1.67108e-07
-3.63e-08
8.78925e-10
3.79056e-07
-3.43635e-07
2.78311e-08
-7.49193e-08
4.14171e-07
-3.67082e-07
9.4919e-07
-9.15266e-07
-1.31718e-09
-3.26074e-08
8.81634e-07
-8.45472e-07
4.57748e-09
-4.07394e-08
8.10877e-07
-7.74674e-07
9.85264e-09
-4.60558e-08
7.40774e-07
-7.05982e-07
1.41597e-08
-4.89517e-08
6.73972e-07
-6.41649e-07
1.66591e-08
-4.8982e-08
6.12409e-07
-5.83348e-07
1.65858e-08
-4.56469e-08
5.5747e-07
-5.32174e-07
1.30881e-08
-3.83838e-08
5.10049e-07
-4.88768e-07
5.14662e-09
-2.64274e-08
4.7043e-07
-4.53008e-07
-8.54835e-09
-8.87435e-09
4.38039e-07
-4.23669e-07
-2.99124e-08
1.55424e-08
4.10974e-07
-3.98276e-07
-6.12425e-08
4.85452e-08
3.86748e-07
-3.75907e-07
-1.00954e-07
9.01137e-08
3.69324e-07
-3.70312e-07
-1.27061e-07
1.2805e-07
3.87591e-07
-4.53568e-07
-3.64442e-08
1.02421e-07
5.62813e-07
-5.58693e-07
-7.93872e-08
7.52667e-08
3.12334e-07
1.17077e-07
-9.44233e-07
5.14822e-07
-3.59375e-07
4.86483e-07
-7.40738e-07
6.13629e-07
-4.50075e-07
3.15296e-07
-2.74215e-07
4.08994e-07
-1.95746e-07
6.42537e-08
1.37072e-07
-5.57988e-09
6.27896e-08
-1.55612e-07
2.20194e-07
-1.27371e-07
2.11794e-07
-2.22013e-07
1.49817e-07
-1.39598e-07
2.06093e-07
-1.72185e-07
-8.07647e-08
4.68568e-08
1.28797e-07
-7.32348e-08
-2.81088e-07
2.25526e-07
2.81788e-08
1.60967e-10
-2.86709e-07
2.58369e-07
-2.46387e-08
3.71537e-08
-2.44674e-07
2.32159e-07
-5.33622e-08
6.21473e-08
-1.82104e-07
1.73318e-07
-7.18036e-08
7.10605e-08
-4.66358e-08
4.73789e-08
-6.69533e-08
5.00343e-08
1.48864e-07
-1.31945e-07
-3.13269e-08
1.31759e-09
3.12073e-07
-2.82064e-07
2.15197e-08
-5.93069e-08
3.26308e-07
-2.8852e-07
7.24806e-07
-6.93078e-07
6.6838e-08
-9.85659e-08
6.65353e-07
-6.3867e-07
7.86773e-08
-1.05361e-07
6.11597e-07
-5.83373e-07
8.30573e-08
-1.11281e-07
5.57643e-07
-5.31924e-07
8.34071e-08
-1.09126e-07
5.08976e-07
-4.86378e-07
7.97748e-08
-1.02372e-07
4.66426e-07
-4.46915e-07
7.24612e-08
-9.19729e-08
4.29676e-07
-4.12691e-07
6.14431e-08
-7.84277e-08
3.97516e-07
-3.82346e-07
4.61399e-08
-6.13101e-08
3.68578e-07
-3.54589e-07
2.5832e-08
-3.98202e-08
3.4159e-07
-3.27963e-07
-2.24634e-10
-1.34014e-08
3.1474e-07
-3.00142e-07
-3.2999e-08
1.84005e-08
2.85275e-07
-2.68373e-07
-7.25235e-08
5.56215e-08
2.51494e-07
-2.34605e-07
-1.12701e-07
9.58126e-08
2.23738e-07
-2.2584e-07
-1.28795e-07
1.30896e-07
2.46373e-07
-2.78011e-07
-1.31847e-07
1.63485e-07
2.93275e-07
-2.39092e-07
-2.95896e-07
2.41713e-07
1.52571e-07
-4.52489e-08
-4.73976e-07
3.66655e-07
-2.31779e-08
6.62549e-08
-4.40415e-07
3.97337e-07
-7.88158e-08
3.65827e-08
-1.04303e-07
1.46537e-07
-4.64235e-09
-2.68427e-08
7.95234e-08
-4.80384e-08
6.89315e-08
-9.86482e-08
1.19427e-07
-8.97102e-08
1.09512e-07
-1.04542e-07
-3.03749e-08
2.54047e-08
8.57913e-08
-5.61687e-08
-1.85972e-07
1.56349e-07
2.76218e-08
-5.50249e-09
-2.34088e-07
2.11969e-07
-1.50841e-08
2.76532e-08
-2.19747e-07
2.07178e-07
-4.0984e-08
4.86557e-08
-1.65327e-07
1.57655e-07
-5.57648e-08
5.53869e-08
-4.78863e-08
4.82643e-08
-5.21766e-08
3.94185e-08
1.1769e-07
-1.04931e-07
-2.53512e-08
1.83063e-09
2.56203e-07
-2.32682e-07
1.50719e-08
-4.35315e-08
2.56664e-07
-2.28204e-07
1.95901e-07
-2.10876e-07
1.14128e-07
-9.91525e-08
2.24191e-07
-2.37499e-07
1.22373e-07
-1.09065e-07
2.47104e-07
-2.54782e-07
1.25421e-07
-1.17742e-07
2.59533e-07
-2.61812e-07
1.21144e-07
-1.18865e-07
2.61934e-07
-2.60267e-07
1.12516e-07
-1.14183e-07
2.57623e-07
-2.53913e-07
1.00388e-07
-1.04097e-07
2.4993e-07
-2.45255e-07
8.58179e-08
-9.0493e-08
2.40586e-07
-2.35316e-07
6.85794e-08
-7.385e-08
2.30071e-07
-2.24163e-07
4.76505e-08
-5.35583e-08
2.18195e-07
-2.1141e-07
2.22672e-08
-2.90517e-08
2.04452e-07
-1.96601e-07
-7.91161e-09
6.04302e-11
1.88377e-07
-1.79003e-07
-4.32337e-08
3.38596e-08
1.6951e-07
-1.5917e-07
-8.25306e-08
7.21908e-08
1.49555e-07
-1.40423e-07
-1.23746e-07
1.14614e-07
1.33286e-07
-1.26789e-07
-1.68636e-07
1.62139e-07
1.19692e-07
-1.06966e-07
-2.30529e-07
2.17803e-07
8.65214e-08
-4.98069e-08
-3.13452e-07
2.76738e-07
1.40048e-09
5.12429e-08
-3.39616e-07
2.86972e-07
-8.64298e-08
8.7076e-08
-1.53417e-07
1.5277e-07
-7.21106e-08
4.00046e-08
1.79252e-08
1.41808e-08
-2.25809e-09
-3.03535e-08
5.71438e-08
-2.45322e-08
4.89663e-08
-5.51358e-08
-2.78847e-08
3.40542e-08
4.95657e-08
-3.56256e-08
-1.36419e-07
1.22478e-07
1.96041e-08
-4.78641e-09
-1.94062e-07
1.79244e-07
-9.0245e-09
1.87299e-08
-1.96133e-07
1.86427e-07
-2.78872e-08
3.34913e-08
-1.51123e-07
1.45519e-07
-3.79561e-08
3.7682e-08
-4.85277e-08
4.88019e-08
-3.54056e-08
2.68578e-08
9.46894e-08
-8.61416e-08
-1.75995e-08
1.74728e-09
2.13624e-07
-1.97771e-07
9.032e-09
-2.77124e-08
2.05468e-07
-1.86788e-07
-2.63006e-08
1.97179e-08
8.0226e-08
-7.36433e-08
-1.22348e-08
2.89978e-09
8.7472e-08
-7.8137e-08
7.43932e-09
-1.96789e-08
9.36383e-08
-8.13987e-08
3.22992e-08
-4.58976e-08
9.70957e-08
-8.34974e-08
5.84802e-08
-7.06181e-08
9.63865e-08
-8.42486e-08
8.07275e-08
-8.94959e-08
9.15812e-08
-8.28129e-08
9.6082e-08
-1.01127e-07
8.30401e-08
-7.79946e-08
1.0436e-07
-1.06203e-07
7.05413e-08
-6.86987e-08
1.06712e-07
-1.06052e-07
5.36225e-08
-5.4283e-08
1.0448e-07
-1.01952e-07
3.18775e-08
-3.44055e-08
9.88554e-08
-9.48731e-08
4.89476e-09
-8.87706e-09
9.06517e-08
-8.5726e-08
-2.74953e-08
2.25695e-08
8.10705e-08
-7.61889e-08
-6.49873e-08
6.01058e-08
7.15755e-08
-6.66289e-08
-1.07175e-07
1.02229e-07
6.16385e-08
-5.55149e-08
-1.53763e-07
1.47639e-07
4.8023e-08
-3.71786e-08
-2.03715e-07
1.9287e-07
2.28795e-08
-2.61158e-09
-2.48553e-07
2.28285e-07
-2.09081e-08
4.5036e-08
-2.50335e-07
2.26207e-07
-6.01459e-08
6.04869e-08
-1.5261e-07
1.52269e-07
-5.04601e-08
3.21884e-08
-4.09168e-08
5.91885e-08
-1.26325e-08
-4.12993e-09
-5.23762e-10
1.72862e-08
1.44307e-08
-1.88465e-08
-4.02553e-08
4.46712e-08
1.75869e-08
-1.23274e-08
-1.13907e-07
1.08648e-07
5.69173e-09
9.98779e-10
-1.68882e-07
1.62192e-07
-6.90167e-09
1.0937e-08
-1.79485e-07
1.75449e-07
-1.44312e-08
1.65498e-08
-1.41607e-07
1.39489e-07
-1.80394e-08
1.75344e-08
-4.91187e-08
4.96237e-08
-1.62443e-08
1.21337e-08
8.00166e-08
-7.5906e-08
-7.85092e-09
6.35064e-10
1.86583e-07
-1.79367e-07
3.95818e-09
-1.219e-08
1.73787e-07
-1.65555e-07
-7.82004e-09
-6.81306e-09
-4.01748e-09
-5.4208e-09
-1.47211e-09
3.38609e-09
7.90004e-09
9.75998e-09
8.09724e-09
4.08133e-09
9.86805e-11
-2.54233e-09
-3.24791e-09
-2.99182e-09
-2.36233e-09
-1.72607e-09
-1.20727e-09
-8.34161e-10
-5.27265e-10
-2.92704e-10
-1.14259e-10
1.1174e-11
1.04984e-10
1.69153e-10
2.13777e-10
2.39936e-10
2.51557e-10
2.51176e-10
2.41218e-10
2.26304e-10
2.08179e-10
-9.84173e-09
1.82169e-08
-2.98999e-08
1.41407e-08
-2.68899e-08
1.75674e-08
-3.32118e-08
6.68904e-09
-1.43404e-08
-5.99714e-09
6.65775e-09
-1.80265e-08
2.65685e-08
-2.51847e-08
3.98162e-08
-2.37406e-08
4.02171e-08
-1.60229e-08
3.0049e-08
-5.92093e-09
1.54515e-08
2.63425e-09
6.57362e-10
6.01875e-09
-6.42636e-09
6.43752e-09
-8.40877e-09
5.53568e-09
-7.9024e-09
4.41271e-09
-6.78003e-09
3.44731e-09
-5.69063e-09
2.66355e-09
-4.67822e-09
1.98314e-09
-3.70957e-09
1.4166e-09
-2.83803e-09
9.52964e-10
-2.08582e-09
5.92453e-10
-1.47163e-09
3.08779e-10
-9.65808e-10
8.73748e-11
-5.52136e-10
-8.56717e-11
-2.18478e-10
-2.08741e-10
3.63647e-11
-2.90185e-10
2.17752e-10
-3.32968e-10
3.27277e-10
-3.44462e-10
3.79318e-10
-3.35843e-10
3.89249e-10
-3.15208e-10
3.73368e-10
-6.76238e-09
4.07829e-08
-5.10349e-08
4.02976e-08
-5.3681e-08
5.04092e-08
-6.82019e-08
2.32493e-08
-3.2692e-08
-5.96181e-09
4.60433e-09
-3.35371e-08
3.966e-08
-5.26686e-08
6.43556e-08
-5.50387e-08
6.82641e-08
-4.3327e-08
5.50149e-08
-2.5634e-08
3.50309e-08
-5.77568e-09
1.13132e-08
5.10378e-09
-3.01871e-09
9.0815e-09
-9.07499e-09
9.39817e-09
-1.03744e-08
8.58647e-09
-9.9552e-09
7.56977e-09
-9.04021e-09
6.43578e-09
-7.797e-09
5.23761e-09
-6.38558e-09
4.09326e-09
-4.99312e-09
3.07516e-09
-3.74761e-09
2.22236e-09
-2.68378e-09
1.50545e-09
-1.78988e-09
9.0868e-10
-1.03508e-09
4.13541e-10
-4.00789e-10
2.27493e-11
1.11772e-10
-2.6178e-10
4.91388e-10
-4.41053e-10
7.34461e-10
-5.31984e-10
8.56177e-10
-5.55747e-10
8.83163e-10
-5.35586e-10
8.4511e-10
-5.5126e-09
6.09891e-08
-7.0847e-08
6.69373e-08
-8.01259e-08
8.62057e-08
-1.04309e-07
4.23275e-08
-5.20245e-08
-2.98088e-09
1.25415e-09
-4.54417e-08
5.11075e-08
-7.55403e-08
8.65979e-08
-8.05797e-08
9.25547e-08
-6.54649e-08
7.52302e-08
-4.33258e-08
5.07563e-08
-1.6602e-08
2.14586e-08
7.78599e-10
1.39714e-09
8.81502e-09
-8.51299e-09
1.10946e-08
-1.16841e-08
1.10265e-08
-1.19026e-08
1.01484e-08
-1.10028e-08
8.7894e-09
-9.47516e-09
7.15967e-09
-7.64058e-09
5.5425e-09
-5.82259e-09
4.09748e-09
-4.20799e-09
2.86598e-09
-2.84195e-09
1.83281e-09
-1.70631e-09
9.59269e-10
-7.47237e-10
2.16748e-10
7.14642e-11
-3.93626e-10
7.50983e-10
-8.52562e-10
1.26835e-09
-1.14918e-09
1.60366e-09
-1.29392e-09
1.76219e-09
-1.31583e-09
1.77371e-09
-1.25105e-09
1.6793e-09
-5.06737e-09
8.06921e-08
-9.05511e-08
9.33124e-08
-1.06542e-07
1.22499e-07
-1.40799e-07
6.17372e-08
-7.14508e-08
5.24245e-10
-2.34278e-09
-5.67315e-08
6.23318e-08
-9.7684e-08
1.08854e-07
-1.04506e-07
1.16578e-07
-8.47146e-08
9.41377e-08
-5.76804e-08
6.43856e-08
-2.59334e-08
3.01461e-08
-3.38568e-09
5.20416e-09
8.23032e-09
-8.0218e-09
1.22191e-08
-1.27456e-08
1.2646e-08
-1.3313e-08
1.16665e-08
-1.22083e-08
9.948e-09
-1.03004e-08
7.91978e-09
-8.08186e-09
5.92296e-09
-5.9174e-09
4.15719e-09
-4.01136e-09
2.68234e-09
-2.4339e-09
1.46563e-09
-1.14974e-09
4.48033e-10
-9.05917e-11
-4.17416e-10
7.99966e-10
-1.13737e-09
1.5344e-09
-1.68783e-09
2.09222e-09
-2.04315e-09
2.4471e-09
-2.20428e-09
2.59792e-09
-2.20122e-09
2.57541e-09
-2.07744e-09
2.42403e-09
-4.75391e-09
1.00428e-07
-1.10319e-07
1.19842e-07
-1.33234e-07
1.59235e-07
-1.77831e-07
8.11582e-08
-9.08578e-08
4.20177e-09
-6.10457e-09
-6.79094e-08
7.34619e-08
-1.20124e-07
1.31505e-07
-1.28828e-07
1.41286e-07
-1.03593e-07
1.13112e-07
-7.10483e-08
7.77596e-08
-3.42057e-08
3.81878e-08
-6.88197e-09
8.44568e-09
7.89976e-09
-7.87137e-09
1.32913e-08
-1.38776e-08
1.39479e-08
-1.45818e-08
1.26999e-08
-1.31712e-08
1.05922e-08
-1.08668e-08
8.19121e-09
-8.28145e-09
5.85688e-09
-5.7736e-09
3.81179e-09
-3.58633e-09
2.13353e-09
-1.80036e-09
7.82487e-10
-3.80903e-10
-3.09793e-10
7.42653e-10
-1.20933e-09
1.64183e-09
-1.93767e-09
2.34904e-09
-2.48085e-09
2.8602e-09
-2.81637e-09
3.1617e-09
-2.94481e-09
3.2575e-09
-2.89801e-09
3.18225e-09
-2.72047e-09
2.97986e-09
-4.39892e-09
1.20224e-07
-1.30138e-07
1.46739e-07
-1.60377e-07
1.96617e-07
-2.15618e-07
1.00552e-07
-1.10243e-07
8.0555e-09
-1.00587e-08
-7.8987e-08
8.44819e-08
-1.43005e-07
1.54631e-07
-1.53976e-07
1.66923e-07
-1.22702e-07
1.32361e-07
-8.45626e-08
9.14761e-08
-4.21378e-08
4.60795e-08
-9.91275e-09
1.12921e-08
7.94469e-09
-8.12669e-09
1.45246e-08
-1.52439e-08
1.52418e-08
-1.5936e-08
1.36554e-08
-1.41588e-08
1.1145e-08
-1.1441e-08
8.37266e-09
-8.4767e-09
5.68565e-09
-5.60457e-09
3.34736e-09
-3.10802e-09
1.44633e-09
-1.0833e-09
-4.46674e-11
4.84545e-10
-1.19837e-09
1.67117e-09
-2.09276e-09
2.55939e-09
-2.7699e-09
3.20099e-09
-3.23835e-09
3.62143e-09
-3.49503e-09
3.82758e-09
-3.55132e-09
3.83996e-09
-3.4446e-09
3.69938e-09
-3.21754e-09
3.44765e-09
-3.96577e-09
1.40058e-07
-1.49981e-07
1.74163e-07
-1.88114e-07
2.34862e-07
-2.54383e-07
1.19935e-07
-1.29632e-07
1.21195e-08
-1.42449e-08
-8.99433e-08
9.53691e-08
-1.66389e-07
1.78283e-07
-1.80153e-07
1.93699e-07
-1.42084e-07
1.51866e-07
-9.851e-08
1.05675e-07
-5.0025e-08
5.39822e-08
-1.2586e-08
1.37932e-08
8.42621e-09
-8.85212e-09
1.60442e-08
-1.69428e-08
1.66727e-08
-1.74605e-08
1.46935e-08
-1.5259e-08
1.17599e-08
-1.21106e-08
8.60081e-09
-8.74937e-09
5.53567e-09
-5.48541e-09
2.86949e-09
-2.639e-09
7.13843e-10
-3.45022e-10
-9.345e-10
1.39083e-09
-2.15605e-09
2.65001e-09
-3.03785e-09
3.52662e-09
-3.64364e-09
4.09777e-09
-4.0136e-09
4.41813e-09
-4.16727e-09
4.51912e-09
-4.13365e-09
4.44006e-09
-3.9582e-09
4.22921e-09
-3.68126e-09
3.92587e-09
-3.44738e-09
1.59903e-07
-1.69817e-07
2.02238e-07
-2.16546e-07
2.74213e-07
-2.94382e-07
1.39338e-07
-1.49057e-07
1.64435e-08
-1.87247e-08
-1.00757e-07
1.06104e-07
-1.90314e-07
2.02482e-07
-2.07595e-07
2.21879e-07
-1.61695e-07
1.71561e-07
-1.1298e-07
1.20439e-07
-5.79559e-08
6.1951e-08
-1.491e-08
1.59311e-08
9.41429e-09
-1.01224e-08
1.79438e-08
-1.90586e-08
1.83054e-08
-1.92103e-08
1.58611e-08
-1.65029e-08
1.24861e-08
-1.28948e-08
8.92186e-09
-9.12585e-09
5.44958e-09
-5.44066e-09
2.41863e-09
-2.20871e-09
-2.14829e-11
3.88394e-10
-1.85107e-09
2.31552e-09
-3.15261e-09
3.66143e-09
-4.02527e-09
4.5351e-09
-4.56436e-09
5.04365e-09
-4.83707e-09
5.27216e-09
-4.88741e-09
5.27434e-09
-4.76359e-09
5.10731e-09
-4.51739e-09
4.82547e-09
-4.18681e-09
4.46678e-09
-2.83919e-09
1.7972e-07
-1.89603e-07
2.31049e-07
-2.45761e-07
3.14927e-07
-3.35879e-07
1.58794e-07
-1.68554e-07
2.10997e-08
-2.35798e-08
-1.11412e-07
1.16683e-07
-2.14784e-07
2.27211e-07
-2.36596e-07
2.51793e-07
-1.81447e-07
1.91332e-07
-1.28069e-07
1.35888e-07
-6.59746e-08
7.00342e-08
-1.68502e-08
1.76595e-08
1.09897e-08
-1.20336e-08
2.02999e-08
-2.16741e-08
2.01777e-08
-2.12113e-08
1.71834e-08
-1.79072e-08
1.334e-08
-1.38189e-08
9.36422e-09
-9.63732e-09
5.45274e-09
-5.49419e-09
2.00951e-09
-1.82178e-09
-7.52703e-10
1.11578e-09
-2.78632e-09
3.26208e-09
-4.17983e-09
4.70736e-09
-5.05614e-09
5.59036e-09
-5.53796e-09
6.04859e-09
-5.72489e-09
6.1968e-09
-5.68184e-09
6.11045e-09
-5.47265e-09
5.86066e-09
-5.15509e-09
5.50734e-09
-4.76712e-09
5.08848e-09
-2.13649e-09
1.99456e-07
-2.0927e-07
2.60699e-07
-2.75892e-07
3.5727e-07
-3.79133e-07
1.7834e-07
-1.88159e-07
2.61771e-08
-2.8904e-08
-1.2192e-07
1.27137e-07
-2.39749e-07
2.52379e-07
-2.67525e-07
2.83856e-07
-2.01189e-07
2.10985e-07
-1.43917e-07
1.52184e-07
-7.41389e-08
7.82991e-08
-1.83474e-08
1.88686e-08
1.32682e-08
-1.47076e-08
2.31935e-08
-2.48742e-08
2.23097e-08
-2.34714e-08
1.86603e-08
-1.94534e-08
1.43382e-08
-1.48911e-08
9.9462e-09
-1.03005e-08
5.56306e-09
-5.66791e-09
1.65053e-09
-1.49312e-09
-1.4787e-09
1.84256e-09
-3.74614e-09
4.23906e-09
-5.24783e-09
5.80229e-09
-6.13919e-09
6.70606e-09
-6.57699e-09
7.12572e-09
-6.6892e-09
7.20361e-09
-6.5618e-09
7.03598e-09
-6.27176e-09
6.7066e-09
-5.88233e-09
6.28022e-09
-5.43071e-09
5.7945e-09
-1.33862e-09
2.19032e-07
-2.28722e-07
2.91365e-07
-3.07135e-07
4.01498e-07
-4.2439e-07
1.98015e-07
-2.07915e-07
3.1772e-08
-3.47916e-08
-1.32352e-07
1.37601e-07
-2.65068e-07
2.77772e-07
-3.00855e-07
3.186e-07
-2.20676e-07
2.30206e-07
-1.60721e-07
1.69563e-07
-8.25247e-08
8.68276e-08
-1.92535e-08
1.95053e-08
1.63343e-08
-1.81806e-08
2.67262e-08
-2.87588e-08
2.47002e-08
-2.59927e-08
2.02859e-08
-2.1146e-08
1.54847e-08
-1.61213e-08
1.07003e-08
-1.11481e-08
5.8142e-09
-6.00286e-09
1.35353e-09
-1.22964e-09
-2.2083e-09
2.5792e-09
-4.74588e-09
5.26841e-09
-6.37459e-09
6.96656e-09
-7.29232e-09
7.9002e-09
-7.69539e-09
8.28824e-09
-7.7405e-09
8.30171e-09
-7.53378e-09
8.05604e-09
-7.16509e-09
7.64742e-09
-6.70151e-09
7.14614e-09
-6.18066e-09
6.5887e-09
-4.78615e-10
2.38302e-07
-2.4775e-07
3.23228e-07
-3.39663e-07
4.47835e-07
-4.71853e-07
2.17865e-07
-2.27873e-07
3.79724e-08
-4.13214e-08
-1.42941e-07
1.48464e-07
-2.90426e-07
3.02943e-07
-3.3718e-07
3.56681e-07
-2.39499e-07
2.4846e-07
-1.78753e-07
1.88351e-07
-9.11777e-08
9.55649e-08
-1.96121e-08
1.95593e-08
2.02621e-08
-2.26426e-08
3.0991e-08
-3.34439e-08
2.7346e-08
-2.87591e-08
2.2036e-08
-2.29413e-08
1.68019e-08
-1.7533e-08
1.16537e-08
-1.22176e-08
6.24306e-09
-6.54328e-09
1.12582e-09
-1.03798e-09
-2.95745e-09
3.34225e-09
-5.80834e-09
6.369e-09
-7.58166e-09
8.22211e-09
-8.53406e-09
9.19445e-09
-8.90639e-09
9.55197e-09
-8.88896e-09
9.50303e-09
-8.6042e-09
9.17989e-09
-8.1546e-09
8.68735e-09
-7.61339e-09
8.10324e-09
-7.01717e-09
7.46581e-09
4.4268e-10
2.57035e-07
-2.66082e-07
3.56465e-07
-3.73664e-07
4.96458e-07
-5.21662e-07
2.37949e-07
-2.48112e-07
4.4847e-08
-4.85638e-08
-1.54299e-07
1.60613e-07
-3.15223e-07
3.27178e-07
-3.77187e-07
3.98763e-07
-2.56977e-07
2.64975e-07
-1.98394e-07
2.09002e-07
-9.99701e-08
1.04397e-07
-1.93493e-08
1.89296e-08
2.5333e-08
-2.83545e-08
3.61235e-08
-3.90685e-08
3.02288e-08
-3.17463e-08
2.3855e-08
-2.47633e-08
1.83056e-08
-1.91382e-08
1.28499e-08
-1.35546e-08
6.91222e-09
-7.36421e-09
9.65901e-10
-9.10965e-10
-3.73758e-09
4.14963e-09
-6.95421e-09
7.57024e-09
-8.89173e-09
9.59609e-09
-9.88403e-09
1.06064e-08
-1.02271e-08
1.09325e-08
-1.01458e-08
1.08167e-08
-9.78296e-09
1.0413e-08
-9.24644e-09
9.8324e-09
-8.61734e-09
9.15723e-09
-7.93592e-09
8.43084e-09
1.47226e-09
2.74869e-07
-2.83344e-07
3.91295e-07
-4.09397e-07
5.47468e-07
-5.73872e-07
2.58387e-07
-2.688e-07
5.24974e-08
-5.66899e-08
-1.67583e-07
1.75342e-07
-3.38777e-07
3.50113e-07
-4.21429e-07
4.45155e-07
-2.72331e-07
2.78957e-07
-2.20178e-07
2.32129e-07
-1.08881e-07
1.13638e-07
-1.84126e-08
1.75104e-08
3.16972e-08
-3.54425e-08
4.22729e-08
-4.57641e-08
3.33258e-08
-3.4928e-08
2.56385e-08
-2.64702e-08
2.00328e-08
-2.10021e-08
1.43344e-08
-1.5198e-08
7.91296e-09
-8.57712e-09
8.70151e-10
-8.31917e-10
-4.5827e-09
5.04073e-09
-8.21966e-09
8.90954e-09
-1.03361e-08
1.11176e-08
-1.13659e-08
1.21633e-08
-1.16696e-08
1.24423e-08
-1.15171e-08
1.22484e-08
-1.10691e-08
1.17535e-08
-1.04446e-08
1.10834e-08
-9.72472e-09
1.03191e-08
-8.95248e-09
9.49983e-09
2.61236e-09
2.91445e-07
-2.99087e-07
4.28028e-07
-4.47252e-07
6.00866e-07
-6.28429e-07
2.79386e-07
-2.90183e-07
6.1198e-08
-6.60814e-08
-1.83922e-07
1.9323e-07
-3.61446e-07
3.73158e-07
-4.69848e-07
4.95394e-07
-2.84684e-07
2.89459e-07
-2.44938e-07
2.58685e-07
-1.18155e-07
1.233e-07
-1.67433e-08
1.53279e-08
3.95363e-08
-4.40239e-08
4.95705e-08
-5.3727e-08
3.65963e-08
-3.83109e-08
2.72195e-08
-2.78348e-08
2.20628e-08
-2.32456e-08
1.61453e-08
-1.71833e-08
9.38754e-09
-1.03954e-08
7.82855e-10
-6.92191e-10
-5.52928e-09
6.05837e-09
-9.64336e-09
1.04281e-08
-1.19441e-08
1.28204e-08
-1.30019e-08
1.3887e-08
-1.32541e-08
1.41063e-08
-1.30161e-08
1.3823e-08
-1.24709e-08
1.3226e-08
-1.17509e-08
1.24498e-08
-1.09375e-08
1.15787e-08
-1.00689e-08
1.0654e-08
3.85941e-09
3.06161e-07
-3.12522e-07
4.67155e-07
-4.87846e-07
6.5653e-07
-6.85133e-07
3.0123e-07
-3.12574e-07
7.13894e-08
-7.71577e-08
-2.03101e-07
2.13435e-07
-3.85583e-07
3.98773e-07
-5.21685e-07
5.48704e-07
-2.93235e-07
2.96269e-07
-2.73788e-07
2.90185e-07
-1.28121e-07
1.32937e-07
-1.40585e-08
1.25996e-08
4.90758e-08
-5.46196e-08
5.82115e-08
-6.30572e-08
4.0071e-08
-4.18893e-08
2.82746e-08
-2.8534e-08
2.45935e-08
-2.61406e-08
1.83157e-08
-1.95862e-08
1.16625e-08
-1.32688e-08
4.99998e-10
-1.14081e-10
-6.6513e-09
7.32958e-09
-1.12705e-08
1.21803e-08
-1.37528e-08
1.47543e-08
-1.48238e-08
1.58119e-08
-1.49978e-08
1.59258e-08
-1.46679e-08
1.5546e-08
-1.402e-08
1.48478e-08
-1.31806e-08
1.39449e-08
-1.22438e-08
1.29386e-08
-1.12559e-08
1.18849e-08
5.20924e-09
3.17935e-07
-3.22511e-07
5.09463e-07
-5.32183e-07
7.14182e-07
-7.43603e-07
3.2426e-07
-3.36328e-07
8.34188e-08
-9.02277e-08
-2.24305e-07
2.3597e-07
-4.12346e-07
4.25575e-07
-5.76498e-07
6.05162e-07
-2.98895e-07
3.01431e-07
-3.07546e-07
3.27413e-07
-1.38787e-07
1.43454e-07
-1.02907e-08
8.42412e-09
6.03868e-08
-6.69633e-08
6.84696e-08
-7.42497e-08
4.37321e-08
-4.56163e-08
2.8581e-08
-2.84021e-08
2.79106e-08
-2.98869e-08
2.10712e-08
-2.28332e-08
1.52754e-08
-1.77088e-08
-5.78864e-10
1.62641e-09
-8.11465e-09
9.04426e-09
-1.31644e-08
1.42221e-08
-1.58311e-08
1.69841e-08
-1.68509e-08
1.79467e-08
-1.68942e-08
1.79098e-08
-1.64561e-08
1.74e-08
-1.57042e-08
1.65871e-08
-1.47425e-08
1.55733e-08
-1.3672e-08
1.44494e-08
-1.25554e-08
1.32694e-08
6.65472e-09
3.26204e-07
-3.28647e-07
5.56246e-07
-5.81964e-07
7.733e-07
-8.03145e-07
3.48806e-07
-3.61697e-07
9.76856e-08
-1.05945e-07
-2.48771e-07
2.62999e-07
-4.37697e-07
4.48268e-07
-6.34747e-07
6.6508e-07
-3.05032e-07
3.0979e-07
-3.48168e-07
3.70614e-07
-1.48583e-07
1.54238e-07
-6.11248e-09
3.15993e-09
7.40933e-08
-8.17188e-08
8.03651e-08
-8.68222e-08
4.75019e-08
-4.95607e-08
2.81368e-08
-2.80146e-08
3.1937e-08
-3.37485e-08
2.47822e-08
-2.65938e-08
2.05748e-08
-2.39133e-08
-2.8857e-09
3.9365e-09
-1.01398e-08
1.13884e-08
-1.53431e-08
1.65317e-08
-1.82098e-08
1.95316e-08
-1.9106e-08
2.03304e-08
-1.89777e-08
2.00905e-08
-1.83837e-08
1.94123e-08
-1.75016e-08
1.84593e-08
-1.64367e-08
1.73356e-08
-1.52632e-08
1.61045e-08
-1.40213e-08
1.47934e-08
8.20131e-09
3.29421e-07
-3.28031e-07
6.09722e-07
-6.39943e-07
8.32972e-07
-8.62527e-07
3.74974e-07
-3.88665e-07
1.15195e-07
-1.25611e-07
-2.78868e-07
2.96697e-07
-4.57399e-07
4.65697e-07
-6.95966e-07
7.26429e-07
-3.16495e-07
3.26257e-07
-3.94788e-07
4.20332e-07
-1.59613e-07
1.63584e-07
7.14637e-13
-2.76188e-09
8.98042e-08
-9.86558e-08
9.386e-08
-1.00959e-07
5.18607e-08
-5.45081e-08
2.81472e-08
-2.86782e-08
3.49136e-08
-3.50334e-08
2.79367e-08
-2.89211e-08
2.76242e-08
-3.10829e-08
-4.13199e-09
2.78508e-09
-1.26979e-08
1.38941e-08
-1.78136e-08
1.92347e-08
-2.09894e-08
2.26251e-08
-2.16055e-08
2.29105e-08
-2.12294e-08
2.23813e-08
-2.04915e-08
2.16247e-08
-1.94771e-08
2.0566e-08
-1.82787e-08
1.92821e-08
-1.69674e-08
1.78698e-08
-1.55758e-08
1.63818e-08
9.8732e-09
3.23969e-07
-3.1687e-07
6.7295e-07
-7.08739e-07
8.91045e-07
-9.14738e-07
4.03308e-07
-4.21262e-07
1.37252e-07
-1.49925e-07
-3.17331e-07
3.42425e-07
-4.74052e-07
4.82352e-07
-7.56172e-07
7.83358e-07
-3.38008e-07
3.51625e-07
-4.4628e-07
4.7303e-07
-1.67728e-07
1.72421e-07
6.1015e-09
-1.02898e-08
1.08685e-07
-1.19471e-07
1.0787e-07
-1.15044e-07
5.74012e-08
-6.05911e-08
2.98592e-08
-3.19649e-08
3.38378e-08
-3.14359e-08
3.03914e-08
-3.32705e-08
3.28891e-08
-3.15512e-08
6.19681e-10
-6.26706e-09
-1.47621e-08
1.51252e-08
-2.08547e-08
2.27268e-08
-2.44625e-08
2.65153e-08
-2.42312e-08
2.55555e-08
-2.35383e-08
2.46818e-08
-2.28037e-08
2.401e-08
-2.17291e-08
2.29642e-08
-2.03674e-08
2.1563e-08
-1.88486e-08
1.99553e-08
-1.72524e-08
1.82449e-08
1.16727e-08
3.06768e-07
-2.94341e-07
7.46852e-07
-7.86886e-07
9.25457e-07
-9.25316e-07
4.45326e-07
-4.76556e-07
1.63045e-07
-1.75512e-07
-3.739e-07
4.11625e-07
-4.95982e-07
4.98773e-07
-8.01849e-07
8.2965e-07
-3.68109e-07
3.83498e-07
-4.98063e-07
5.2086e-07
-1.76114e-07
1.77535e-07
1.55155e-08
-2.03752e-08
1.30084e-07
-1.41316e-07
1.23711e-07
-1.33954e-07
6.38125e-08
-6.72527e-08
3.49647e-08
-3.80829e-08
2.86362e-08
-2.68877e-08
3.76594e-08
-4.27111e-08
2.61724e-08
-1.68429e-08
1.38269e-08
-2.25066e-08
-1.48947e-08
1.41601e-08
-2.49177e-08
2.75195e-08
-2.87998e-08
3.13081e-08
-2.6846e-08
2.80245e-08
-2.57809e-08
2.6835e-08
-2.52387e-08
2.65381e-08
-2.42831e-08
2.5733e-08
-2.28993e-08
2.44072e-08
-2.12351e-08
2.27077e-08
-1.94081e-08
2.07553e-08
1.34418e-08
2.80858e-07
-2.67892e-07
8.30495e-07
-8.74396e-07
9.28963e-07
-9.2696e-07
5.11376e-07
-5.44623e-07
1.85992e-07
-1.93203e-07
-4.50429e-07
4.82965e-07
-5.4192e-07
5.65676e-07
-8.18153e-07
8.27887e-07
-3.94e-07
4.0812e-07
-5.46549e-07
5.69649e-07
-1.76909e-07
1.76402e-07
2.52255e-08
-3.10381e-08
1.53497e-07
-1.6599e-07
1.45817e-07
-1.60695e-07
7.12972e-08
-7.57955e-08
4.01241e-08
-4.03322e-08
2.78897e-08
-3.33489e-08
4.7042e-08
-4.88904e-08
4.89567e-09
7.98426e-09
3.16948e-08
-4.10083e-08
-1.34151e-08
1.34159e-08
-3.06235e-08
3.42742e-08
-3.39577e-08
3.65607e-08
-2.90274e-08
2.99054e-08
-2.79283e-08
2.92456e-08
-2.80388e-08
2.99342e-08
-2.74031e-08
2.94141e-08
-2.61139e-08
2.80473e-08
-2.43564e-08
2.61412e-08
-2.2254e-08
2.38355e-08
1.48086e-08
2.56571e-07
-2.47408e-07
9.16014e-07
-9.50209e-07
9.23039e-07
-9.32344e-07
5.68269e-07
-5.73945e-07
1.97e-07
-1.3299e-07
-5.26298e-07
5.14017e-07
-5.71619e-07
5.68855e-07
-8.41513e-07
8.7086e-07
-4.24037e-07
4.13478e-07
-5.78695e-07
5.8927e-07
-1.77475e-07
1.75157e-07
3.93016e-08
-4.78786e-08
1.77204e-07
-1.87337e-07
1.806e-07
-2.05876e-07
7.99807e-08
-8.23095e-08
3.88313e-08
-3.72045e-08
4.42607e-08
-6.05579e-08
4.60612e-08
-3.84109e-08
-1.99932e-08
2.96844e-08
4.89037e-08
-5.21859e-08
-1.40893e-08
1.37849e-08
-3.83337e-08
4.24058e-08
-3.88059e-08
4.02647e-08
-3.08883e-08
3.23506e-08
-3.10236e-08
3.34696e-08
-3.24359e-08
3.57084e-08
-3.1896e-08
3.49687e-08
-3.02372e-08
3.27271e-08
-2.80162e-08
2.9959e-08
-2.54199e-08
2.69553e-08
1.34468e-08
2.40079e-07
-2.29639e-07
9.86889e-07
-1.03074e-06
9.37116e-07
-9.1329e-07
5.5574e-07
-5.10214e-07
8.98869e-08
-1.5141e-07
-7.70552e-07
1.13781e-06
-3.27946e-07
1.60389e-07
-8.66408e-07
7.63381e-07
-4.08109e-07
4.25463e-07
-6.15904e-07
6.34768e-07
-1.6648e-07
1.58589e-07
5.49773e-08
-6.17595e-08
1.98087e-07
-2.09353e-07
2.33626e-07
-2.63583e-07
8.22389e-08
-8.0032e-08
3.76975e-08
-4.15234e-08
7.94187e-08
-9.31449e-08
2.84843e-08
-2.15797e-08
-3.68531e-08
3.97622e-08
4.91942e-08
-4.08079e-08
-8.38779e-09
9.23715e-10
-4.56095e-08
4.70619e-08
-4.04824e-08
3.93783e-08
-3.46104e-08
3.76714e-08
-3.66835e-08
4.0587e-08
-3.98413e-08
4.48309e-08
-3.87428e-08
4.32982e-08
-3.56018e-08
3.89614e-08
-3.20121e-08
3.4265e-08
-2.84443e-08
2.99824e-08
1.60213e-08
2.19464e-07
-2.16743e-07
1.07509e-06
-1.09297e-06
9.08333e-07
-9.05655e-07
4.39682e-07
-4.0214e-07
2.75243e-07
-3.16992e-09
-1.31021e-06
9.12418e-07
-2.52558e-07
4.13955e-07
-6.08206e-07
4.77549e-07
-4.52649e-07
4.73848e-07
-6.17181e-07
5.77354e-07
-1.54328e-07
1.4531e-07
7.00107e-08
-7.9285e-08
2.18917e-07
-2.2183e-07
3.00387e-07
-3.50271e-07
7.40422e-08
-6.24302e-08
4.74608e-08
-5.2972e-08
9.4253e-08
-8.35318e-08
2.34917e-08
-4.01224e-08
-3.77163e-08
3.22095e-08
3.02364e-08
-1.78113e-08
6.14674e-09
-1.36898e-08
-4.63937e-08
4.3379e-08
-3.77196e-08
3.71028e-08
-4.1241e-08
4.50443e-08
-4.47165e-08
4.83481e-08
-5.06025e-08
5.70851e-08
-4.8851e-08
5.5346e-08
-4.30534e-08
4.79784e-08
-3.69307e-08
4.01147e-08
-3.16656e-08
3.37362e-08
1.70951e-08
2.16469e-07
-2.21309e-07
1.12241e-06
-1.18092e-06
8.52578e-07
-7.42141e-07
5.59789e-07
-8.35088e-07
-7.32372e-07
1.36106e-06
-8.06815e-08
-4.34056e-08
-4.77319e-07
4.37738e-07
-3.78306e-07
3.31886e-07
-4.48008e-07
3.61756e-07
-5.53755e-07
5.58849e-07
-1.24488e-07
1.04252e-07
8.69117e-08
-9.45179e-08
2.14027e-07
-1.98053e-07
4.10726e-07
-4.6774e-07
4.97787e-08
-4.78739e-08
5.8751e-08
-6.94189e-08
7.26655e-08
-6.98006e-08
6.49328e-08
-8.39287e-08
-2.38388e-08
1.16528e-08
9.21741e-09
-9.72696e-09
1.89073e-08
-1.58722e-08
-3.85393e-08
3.29917e-08
-3.95325e-08
4.60375e-08
-4.91876e-08
5.37049e-08
-4.97874e-08
4.78451e-08
-6.40066e-08
6.98254e-08
-6.34168e-08
7.53004e-08
-5.40991e-08
6.29231e-08
-4.40954e-08
4.75099e-08
-3.66997e-08
3.8263e-08
1.78208e-08
2.34798e-07
-2.77313e-07
1.22139e-06
-1.19606e-06
6.36179e-07
-6.9293e-07
1.64769e-06
-2.09927e-06
-2.19367e-06
3.37387e-06
1.09937e-07
8.0195e-07
-2.76531e-07
-1.54387e-07
-2.64486e-07
2.10597e-07
-2.38193e-07
1.19621e-07
-5.70802e-07
5.67208e-07
-1.02597e-07
1.11724e-07
1.08521e-07
-1.2927e-07
1.79004e-07
-1.65444e-07
5.1228e-07
-5.4846e-07
6.21649e-08
-8.36194e-08
8.64937e-08
-1.09212e-07
6.7698e-08
-7.70686e-08
9.45059e-08
-9.26012e-08
2.86155e-10
-1.39909e-08
1.95088e-08
-3.01447e-08
1.84178e-09
1.52045e-08
-3.04896e-08
3.85479e-08
-5.80233e-08
7.03924e-08
-5.86755e-08
5.57941e-08
-4.8158e-08
4.25041e-08
-7.27532e-08
7.67333e-08
-8.28547e-08
9.35029e-08
-7.19552e-08
8.32857e-08
-5.44311e-08
6.18217e-08
-4.13768e-08
4.53268e-08
3.03926e-08
3.32779e-07
-4.15355e-07
1.1739e-06
-1.04587e-06
1.05458e-06
-1.63186e-06
2.17661e-06
-2.25104e-06
-4.77185e-06
6.4183e-06
-6.66328e-07
8.29382e-07
6.22329e-07
-7.26025e-07
-1.29483e-07
-8.0231e-08
-3.09738e-08
-1.54786e-08
-5.51422e-07
5.40976e-07
-1.03198e-07
5.45646e-08
1.48378e-07
-1.58813e-07
1.65649e-07
-1.82381e-07
5.7827e-07
-5.90247e-07
1.0634e-07
-1.42096e-07
1.35443e-07
-1.59207e-07
1.01852e-07
-1.25766e-07
8.19279e-08
-8.05091e-08
3.44317e-08
-4.95254e-08
2.58424e-08
-4.91844e-08
-2.29411e-08
3.08578e-08
-4.68046e-08
9.13557e-08
-7.83271e-08
8.77681e-08
-5.9635e-08
6.67538e-08
-3.49451e-08
4.74434e-08
-8.71338e-08
8.73363e-08
-1.07235e-07
1.15849e-07
-9.58382e-08
1.06568e-07
-7.11911e-08
8.24006e-08
-5.2411e-08
6.13397e-08
6.821e-08
4.85813e-07
-6.30605e-07
8.68702e-07
-7.52396e-07
2.3771e-06
-2.77982e-06
1.9422e-06
-1.713e-06
-7.3011e-06
7.64484e-06
-7.11822e-07
1.08267e-06
1.31121e-06
-1.60221e-06
4.17467e-07
-1.06502e-06
4.21835e-08
-3.85305e-08
-5.35371e-07
5.06487e-07
1.67797e-08
-7.94641e-08
1.6228e-07
-1.74119e-07
2.17462e-07
-2.70033e-07
5.77869e-07
-5.40501e-07
1.97415e-07
-2.46899e-07
1.77685e-07
-2.16447e-07
1.46981e-07
-1.79873e-07
1.00534e-07
-2.80247e-08
1.48152e-07
-2.00209e-07
1.26447e-08
6.27777e-09
-2.62383e-08
4.2033e-08
-1.23072e-07
1.60035e-07
-1.06506e-07
1.38545e-07
-8.59726e-08
1.14128e-07
-7.49572e-08
1.06761e-07
-9.81362e-08
1.21447e-07
-1.297e-07
1.56903e-07
-1.35748e-07
1.83051e-07
-1.08378e-07
1.57265e-07
-7.24238e-08
1.03962e-07
2.08886e-10
2.29766e-10
2.48165e-10
2.60977e-10
2.6524e-10
2.58383e-10
2.38296e-10
2.02883e-10
1.43932e-10
5.61301e-11
-7.61626e-11
-2.62662e-10
-5.13204e-10
-8.37236e-10
-1.23335e-09
-1.7396e-09
-2.34826e-09
-2.85966e-09
-2.85131e-09
-1.5254e-09
1.69419e-09
5.31646e-09
7.94946e-09
8.14555e-09
5.47117e-09
6.59235e-10
-3.57673e-09
-5.73035e-09
-4.37803e-09
-7.65222e-09
-3.17538e-10
3.77538e-10
-3.46285e-10
4.05028e-10
-3.62855e-10
4.06781e-10
-3.59567e-10
3.68485e-10
-3.28551e-10
2.7693e-10
-2.628e-10
1.22755e-10
-1.59467e-10
-9.61328e-11
-1.64674e-11
-3.81411e-10
1.83051e-10
-7.47467e-10
4.48619e-10
-1.2138e-09
8.08462e-10
-1.81262e-09
1.27851e-09
-2.55788e-09
1.86556e-09
-3.43667e-09
2.56253e-09
-4.39682e-09
3.36078e-09
-5.37548e-09
4.26491e-09
-6.30384e-09
5.26015e-09
-7.14381e-09
5.74053e-09
-6.85377e-09
4.40477e-09
-3.2106e-09
-8.30074e-10
6.82384e-09
-1.03131e-08
2.21316e-08
-1.82784e-08
3.28748e-08
-2.1857e-08
3.56425e-08
-1.94912e-08
2.94391e-08
-1.06417e-08
1.35393e-08
1.90383e-09
-6.99784e-09
1.19047e-08
-2.26425e-08
1.70891e-08
-3.07548e-08
1.42182e-08
-2.60408e-08
1.87364e-08
-2.90926e-08
-5.41016e-10
8.51248e-10
-5.74348e-10
9.02751e-10
-5.6425e-10
8.89899e-10
-4.90306e-10
7.86741e-10
-3.34066e-10
5.72298e-10
-8.67496e-11
2.42936e-10
2.47689e-10
-1.94076e-10
6.73136e-10
-7.34886e-10
1.19924e-09
-1.39183e-09
1.85424e-09
-2.20616e-09
2.67525e-09
-3.21969e-09
3.67246e-09
-4.44488e-09
4.80584e-09
-5.81965e-09
5.96058e-09
-7.15902e-09
6.9874e-09
-8.21875e-09
7.71294e-09
-8.6999e-09
8.04175e-09
-8.38467e-09
6.52994e-09
-5.48222e-09
2.26615e-10
3.43918e-09
-1.43044e-08
2.17087e-08
-3.38456e-08
4.43128e-08
-4.63719e-08
5.83976e-08
-4.77292e-08
5.84373e-08
-3.76125e-08
4.47185e-08
-1.48093e-08
1.53048e-08
1.33926e-08
-2.03123e-08
3.43771e-08
-4.64549e-08
4.51869e-08
-5.98254e-08
3.82118e-08
-5.02657e-08
3.7986e-08
-4.57639e-08
-1.25703e-09
1.68578e-09
-1.33599e-09
1.79579e-09
-1.3283e-09
1.8005e-09
-1.2047e-09
1.66782e-09
-9.44616e-10
1.37911e-09
-5.50709e-10
9.447e-10
-3.8528e-11
3.86336e-10
5.84839e-10
-2.85541e-10
1.33945e-09
-1.10248e-09
2.27527e-09
-2.13231e-09
3.45233e-09
-3.44194e-09
4.88252e-09
-5.05937e-09
6.48793e-09
-6.88665e-09
8.02934e-09
-8.62933e-09
9.14999e-09
-9.87071e-09
9.44326e-09
-1.0055e-08
8.48246e-09
-8.49249e-09
4.18762e-09
-2.83534e-09
-7.1892e-09
1.07196e-08
-2.8504e-08
3.46687e-08
-5.35382e-08
6.19446e-08
-6.94227e-08
7.99669e-08
-6.84113e-08
7.81028e-08
-5.13798e-08
5.79263e-08
-1.55272e-08
1.56806e-08
2.74202e-08
-3.46126e-08
5.8649e-08
-7.09039e-08
7.45257e-08
-8.92673e-08
6.21669e-08
-7.39634e-08
5.28846e-08
-5.96583e-08
-2.08492e-09
2.43382e-09
-2.22798e-09
2.61075e-09
-2.25276e-09
2.66366e-09
-2.12517e-09
2.55724e-09
-1.82936e-09
2.27736e-09
-1.38172e-09
1.84226e-09
-8.06253e-10
1.27456e-09
-1.1161e-10
5.76944e-10
7.4411e-10
-3.03281e-10
1.84267e-09
-1.46437e-09
3.27194e-09
-3.0042e-09
5.05765e-09
-4.95586e-09
7.09738e-09
-7.20027e-09
9.05588e-09
-9.3744e-09
1.04347e-08
-1.09134e-08
1.05657e-08
-1.10285e-08
8.46135e-09
-8.43242e-09
1.54876e-09
-3.49052e-10
-1.40186e-08
1.71264e-08
-4.03796e-08
4.58321e-08
-6.99465e-08
7.78226e-08
-9.03683e-08
1.00801e-07
-8.77337e-08
9.73906e-08
-6.44875e-08
7.11045e-08
-1.58221e-08
1.59583e-08
4.18727e-08
-4.92081e-08
8.32122e-08
-9.55805e-08
1.0405e-07
-1.18877e-07
8.56898e-08
-9.73626e-08
6.62494e-08
-7.2732e-08
-2.73377e-09
2.99728e-09
-2.94578e-09
3.24495e-09
-3.03417e-09
3.37585e-09
-2.96419e-09
3.35466e-09
-2.72107e-09
3.16511e-09
-2.32086e-09
2.81633e-09
-1.7802e-09
2.31666e-09
-1.09296e-09
1.64692e-09
-1.9352e-10
7.29376e-10
1.02695e-09
-5.55159e-10
2.67713e-09
-2.32226e-09
4.79986e-09
-4.62297e-09
7.25597e-09
-7.29833e-09
9.64389e-09
-9.9106e-09
1.13516e-08
-1.17877e-08
1.14742e-08
-1.19297e-08
8.43039e-09
-8.47274e-09
-7.61616e-10
1.78532e-09
-2.00951e-08
2.29664e-08
-5.11714e-08
5.64864e-08
-8.57234e-08
9.37184e-08
-1.11342e-07
1.22027e-07
-1.07099e-07
1.16866e-07
-7.77884e-08
8.45466e-08
-1.60853e-08
1.6199e-08
5.66292e-08
-6.41462e-08
1.08013e-07
-1.20516e-07
1.3375e-07
-1.48673e-07
1.08986e-07
-1.20559e-07
7.9132e-08
-8.54536e-08
-3.23946e-09
3.47456e-09
-3.52419e-09
3.79758e-09
-3.70258e-09
4.02675e-09
-3.73926e-09
4.12676e-09
-3.61398e-09
4.07271e-09
-3.32883e-09
3.85749e-09
-2.87759e-09
3.45887e-09
-2.2302e-09
2.83488e-09
-1.29458e-09
1.88028e-09
6.0245e-11
4.55081e-10
1.95013e-09
-1.5769e-09
4.43989e-09
-4.25893e-09
7.34744e-09
-7.41502e-09
1.01911e-08
-1.0494e-08
1.22459e-08
-1.27381e-08
1.24195e-08
-1.29563e-08
8.57302e-09
-8.74138e-09
-2.72361e-09
3.57539e-09
-2.57676e-08
2.85131e-08
-6.1826e-08
6.72134e-08
-1.01839e-07
1.10097e-07
-1.32876e-07
1.43908e-07
-1.26697e-07
1.36594e-07
-9.13883e-08
9.83228e-08
-1.62965e-08
1.63747e-08
7.17703e-08
-7.95113e-08
1.33095e-07
-1.45758e-07
1.63651e-07
-1.7869e-07
1.32085e-07
-1.43562e-07
9.16928e-08
-9.78407e-08
-3.71368e-09
3.96409e-09
-4.07598e-09
4.36668e-09
-4.35767e-09
4.70168e-09
-4.52372e-09
4.93489e-09
-4.54417e-09
5.02989e-09
-4.40118e-09
4.96014e-09
-4.05826e-09
4.67387e-09
-3.45912e-09
4.09967e-09
-2.48295e-09
3.10144e-09
-9.81512e-10
1.51507e-09
1.19874e-09
-8.20405e-10
4.09594e-09
-3.9442e-09
7.50563e-09
-7.63076e-09
1.08373e-08
-1.12221e-08
1.32691e-08
-1.38482e-08
1.35495e-08
-1.42032e-08
8.98691e-09
-9.31413e-09
-4.33693e-09
5.00266e-09
-3.12096e-08
3.38587e-08
-7.26602e-08
7.81741e-08
-1.18502e-07
1.27062e-07
-1.55138e-07
1.66587e-07
-1.46561e-07
1.56603e-07
-1.05361e-07
1.12518e-07
-1.64307e-08
1.64617e-08
8.73792e-08
-9.53856e-08
1.58508e-07
-1.71354e-07
1.93793e-07
-2.08968e-07
1.5499e-07
-1.66371e-07
1.03887e-07
-1.0982e-07
-4.23037e-09
4.51582e-09
-4.67474e-09
5.00294e-09
-5.06361e-09
5.44577e-09
-5.36331e-09
5.81089e-09
-5.53227e-09
6.05281e-09
-5.53469e-09
6.12651e-09
-5.30495e-09
5.95173e-09
-4.75404e-09
5.42607e-09
-3.73211e-09
4.37837e-09
-2.05634e-09
2.60913e-09
4.42941e-10
-6.61889e-11
3.80831e-09
-3.69377e-09
7.79449e-09
-7.99783e-09
1.16536e-08
-1.21348e-08
1.44824e-08
-1.51731e-08
1.49207e-08
-1.57075e-08
9.7269e-09
-1.023e-08
-5.56637e-09
6.01978e-09
-3.64585e-08
3.90058e-08
-8.37613e-08
8.9427e-08
-1.35785e-07
1.44681e-07
-1.78272e-07
1.90213e-07
-1.66724e-07
1.76928e-07
-1.19806e-07
1.27239e-07
-1.64639e-08
1.64329e-08
1.03541e-07
-1.11855e-07
1.84301e-07
-1.97354e-07
2.2422e-07
-2.39555e-07
1.77706e-07
-1.88993e-07
1.15629e-07
-1.21302e-07
-4.82187e-09
5.14856e-09
-5.35267e-09
5.72528e-09
-5.84985e-09
6.27715e-09
-6.27979e-09
6.77138e-09
-6.59301e-09
7.15492e-09
-6.73657e-09
7.36751e-09
-6.61695e-09
7.30367e-09
-6.11724e-09
6.82777e-09
-5.04095e-09
5.72289e-09
-3.17177e-09
3.74766e-09
-3.07719e-10
6.83483e-10
3.59967e-09
-3.52812e-09
8.2442e-09
-8.5421e-09
1.26661e-08
-1.32578e-08
1.59188e-08
-1.6729e-08
1.65695e-08
-1.75124e-08
1.08294e-08
-1.15322e-08
-6.35149e-09
6.55256e-09
-4.14967e-08
4.3926e-08
-9.51786e-08
1.01023e-07
-1.53762e-07
1.6304e-07
-2.02429e-07
2.1494e-07
-1.87219e-07
1.976e-07
-1.34835e-07
1.42611e-07
-1.63638e-08
1.62503e-08
1.20341e-07
-1.29008e-07
2.1052e-07
-2.23804e-07
2.54979e-07
-2.70497e-07
2.00235e-07
-2.11431e-07
1.26827e-07
-1.32192e-07
-5.49668e-09
5.86654e-09
-6.12064e-09
6.53938e-09
-6.72837e-09
7.20382e-09
-7.2867e-09
7.82698e-09
-7.73965e-09
8.34886e-09
-8.02109e-09
8.70005e-09
-8.01179e-09
8.74695e-09
-7.5625e-09
8.32412e-09
-6.4277e-09
7.15884e-09
-4.33866e-09
4.94776e-09
-1.05741e-09
1.43444e-09
3.48086e-09
-3.4571e-09
8.8948e-09
-9.306e-09
1.39066e-08
-1.46184e-08
1.7607e-08
-1.85505e-08
1.85351e-08
-1.96448e-08
1.23463e-08
-1.32839e-08
-6.61482e-09
6.52082e-09
-4.62877e-08
4.85762e-08
-1.06968e-07
1.13022e-07
-1.72527e-07
1.82241e-07
-2.27764e-07
2.40921e-07
-2.08073e-07
2.18643e-07
-1.50584e-07
1.58774e-07
-1.60852e-08
1.5859e-08
1.37868e-07
-1.46933e-07
2.37209e-07
-2.50741e-07
2.86114e-07
-3.01838e-07
2.2258e-07
-2.33685e-07
1.37383e-07
-1.42386e-07
-6.25851e-09
6.67252e-09
-6.982e-09
7.44826e-09
-7.70401e-09
8.22871e-09
-8.39155e-09
8.98322e-09
-8.98437e-09
9.64776e-09
-9.40648e-09
1.0142e-08
-9.51103e-09
1.03073e-08
-9.11587e-09
9.94346e-09
-7.91741e-09
8.71128e-09
-5.57899e-09
6.23499e-09
-1.81159e-09
2.19241e-09
3.46396e-09
-3.5018e-09
9.79337e-09
-1.03564e-08
1.5403e-08
-1.6258e-08
1.95589e-08
-2.06431e-08
2.08402e-08
-2.21265e-08
1.43547e-08
-1.55652e-08
-6.26024e-09
5.8372e-09
-5.07872e-08
5.29188e-08
-1.19195e-07
1.25493e-07
-1.92199e-07
2.02421e-07
-2.54427e-07
2.68295e-07
-2.29314e-07
2.40092e-07
-1.67202e-07
1.75887e-07
-1.5559e-08
1.51679e-08
1.56215e-07
-1.65725e-07
2.64405e-07
-2.78203e-07
3.17673e-07
-3.33623e-07
2.44745e-07
-2.5576e-07
1.47188e-07
-1.51774e-07
-7.10706e-09
7.56222e-09
-7.93782e-09
8.45129e-09
-8.77991e-09
9.35815e-09
-9.60289e-09
1.02521e-08
-1.03417e-08
1.10661e-08
-1.091e-08
1.17127e-08
-1.11393e-08
1.201e-08
-1.08086e-08
1.17187e-08
-9.54562e-09
1.04226e-08
-6.91845e-09
7.6372e-09
-2.58105e-09
2.97659e-09
3.57245e-09
-3.67948e-09
1.10096e-08
-1.17642e-08
1.71883e-08
-1.82014e-08
2.1799e-08
-2.30298e-08
2.35016e-08
-2.49654e-08
1.69332e-08
-1.84727e-08
-5.21775e-09
4.38458e-09
-5.4907e-08
5.67188e-08
-1.31932e-07
1.38521e-07
-2.12936e-07
2.23771e-07
-2.82538e-07
2.97158e-07
-2.50994e-07
2.62048e-07
-1.84851e-07
1.94108e-07
-1.46615e-08
1.40065e-08
1.75477e-07
-1.85483e-07
2.92139e-07
-3.06217e-07
3.49693e-07
-3.65887e-07
2.66732e-07
-2.7766e-07
1.56127e-07
-1.60232e-07
-8.03913e-09
8.54072e-09
-8.98959e-09
9.55335e-09
-9.96409e-09
1.0597e-08
-1.09311e-08
1.16397e-08
-1.18231e-08
1.2613e-08
-1.25511e-08
1.34286e-08
-1.29224e-08
1.38805e-08
-1.26767e-08
1.3687e-08
-1.135e-08
1.23364e-08
-8.39653e-09
9.20397e-09
-3.38148e-09
3.8033e-09
3.82865e-09
-4.02878e-09
1.26369e-08
-1.36424e-08
1.93028e-08
-2.04937e-08
2.43379e-08
-2.57225e-08
2.6515e-08
-2.81415e-08
2.02098e-08
-2.21112e-08
-3.32251e-09
1.99361e-09
-5.84271e-08
5.99959e-08
-1.4528e-07
1.52251e-07
-2.34975e-07
2.46597e-07
-3.12148e-07
3.27485e-07
-2.7331e-07
2.84879e-07
-2.03656e-07
2.13463e-07
-1.31597e-08
1.20721e-08
1.95755e-07
-2.06304e-07
3.20438e-07
-3.34804e-07
3.82209e-07
-3.98667e-07
2.88546e-07
-2.99391e-07
1.64069e-07
-1.67622e-07
-9.06884e-09
9.62243e-09
-1.01443e-08
1.07614e-08
-1.12563e-08
1.19415e-08
-1.23755e-08
1.31413e-08
-1.34366e-08
1.4296e-08
-1.4348e-08
1.53102e-08
-1.48886e-08
1.59501e-08
-1.47561e-08
1.58898e-08
-1.33879e-08
1.45122e-08
-1.00701e-08
1.10025e-08
-4.24776e-09
4.72262e-09
4.27541e-09
-4.5732e-09
1.4808e-08
-1.61599e-08
2.17852e-08
-2.31828e-08
2.71852e-08
-2.87316e-08
2.98498e-08
-3.15948e-08
2.42048e-08
-2.65386e-08
-3.84216e-10
-1.53025e-09
-6.14321e-08
6.26553e-08
-1.59434e-07
1.66925e-07
-2.58754e-07
2.71429e-07
-3.43125e-07
3.58977e-07
-2.96911e-07
3.09621e-07
-2.23443e-07
2.33445e-07
-1.07011e-08
9.02725e-09
2.17139e-07
-2.28261e-07
3.49316e-07
-3.63972e-07
4.1527e-07
-4.3203e-07
3.10195e-07
-3.20961e-07
1.70868e-07
-1.73785e-07
-1.01969e-08
1.07892e-08
-1.1404e-08
1.20695e-08
-1.26564e-08
1.34038e-08
-1.39417e-08
1.47804e-08
-1.5195e-08
1.61351e-08
-1.63171e-08
1.73727e-08
-1.70685e-08
1.82458e-08
-1.70969e-08
1.83796e-08
-1.57206e-08
1.70237e-08
-1.20201e-08
1.31404e-08
-5.24077e-09
5.81913e-09
4.93626e-09
-5.37667e-09
1.77185e-08
-1.95135e-08
2.4692e-08
-2.63527e-08
3.03521e-08
-3.20118e-08
3.33985e-08
-3.51717e-08
2.91261e-08
-3.21165e-08
3.86084e-09
-6.4303e-09
-6.37983e-08
6.45505e-08
-1.74516e-07
1.82444e-07
-2.84788e-07
2.98776e-07
-3.74926e-07
3.90782e-07
-3.2326e-07
3.38047e-07
-2.43275e-07
2.52747e-07
-7.07055e-09
4.89435e-09
2.39673e-07
-2.51375e-07
3.78774e-07
-3.93718e-07
4.48964e-07
-4.66091e-07
3.31689e-07
-3.42383e-07
1.76348e-07
-1.7853e-07
-1.13994e-08
1.20342e-08
-1.27589e-08
1.34767e-08
-1.41841e-08
1.49945e-08
-1.5656e-08
1.65628e-08
-1.71129e-08
1.81249e-08
-1.84775e-08
1.9628e-08
-1.94899e-08
2.08065e-08
-1.97453e-08
2.12055e-08
-1.84367e-08
1.99753e-08
-1.44011e-08
1.58603e-08
-6.48608e-09
7.30022e-09
5.93763e-09
-6.7056e-09
2.1539e-08
-2.37679e-08
2.82147e-08
-3.03875e-08
3.3732e-08
-3.54598e-08
3.69207e-08
-3.85322e-08
3.544e-08
-3.91509e-08
9.64328e-09
-1.33234e-08
-6.52584e-08
6.56862e-08
-1.90519e-07
1.98756e-07
-3.1374e-07
3.29608e-07
-4.06345e-07
4.21396e-07
-3.54088e-07
3.7131e-07
-2.61776e-07
2.70434e-07
-2.58516e-09
2.20033e-10
2.63366e-07
-2.75652e-07
4.088e-07
-4.24017e-07
4.8343e-07
-5.01002e-07
3.53045e-07
-3.63678e-07
1.80298e-07
-1.81617e-07
-1.27066e-08
1.34222e-08
-1.42285e-08
1.50146e-08
-1.58316e-08
1.6691e-08
-1.74936e-08
1.84453e-08
-1.91686e-08
2.02471e-08
-2.0824e-08
2.20682e-08
-2.21955e-08
2.36522e-08
-2.27713e-08
2.44438e-08
-2.1655e-08
2.34925e-08
-1.75897e-08
1.96847e-08
-8.35392e-09
9.77105e-09
7.81893e-09
-9.43434e-09
2.61334e-08
-2.85584e-08
3.30378e-08
-3.63237e-08
3.7118e-08
-3.86497e-08
3.98965e-08
-4.08541e-08
4.36653e-08
-4.88048e-08
1.73639e-08
-2.21532e-08
-6.56314e-08
6.52121e-08
-2.07374e-07
2.16342e-07
-3.46888e-07
3.65597e-07
-4.35728e-07
4.49333e-07
-3.89461e-07
4.08253e-07
-2.78918e-07
2.87423e-07
2.15422e-09
-4.50656e-09
2.88239e-07
-3.01139e-07
4.39363e-07
-4.54831e-07
5.18827e-07
-5.36925e-07
3.74285e-07
-3.8487e-07
1.82441e-07
-1.82686e-07
-1.41746e-08
1.49453e-08
-1.5831e-08
1.66704e-08
-1.75735e-08
1.84827e-08
-1.942e-08
2.04263e-08
-2.13635e-08
2.25139e-08
-2.33679e-08
2.47175e-08
-2.51789e-08
2.67859e-08
-2.62139e-08
2.80899e-08
-2.54993e-08
2.76784e-08
-2.22183e-08
2.51897e-08
-1.16008e-08
1.36725e-08
1.16007e-08
-1.41295e-08
3.10019e-08
-3.34412e-08
4.03973e-08
-4.5323e-08
4.01048e-08
-4.14523e-08
4.11838e-08
-4.06599e-08
5.47994e-08
-6.21712e-08
2.7859e-08
-3.38463e-08
-6.48248e-08
6.36761e-08
-2.25499e-07
2.34951e-07
-3.85726e-07
4.07102e-07
-4.62102e-07
4.74467e-07
-4.27536e-07
4.47508e-07
-2.95987e-07
3.04436e-07
6.78362e-09
-8.88278e-09
3.14379e-07
-3.28013e-07
4.70413e-07
-4.86098e-07
5.55321e-07
-5.74039e-07
3.95437e-07
-4.05991e-07
1.82515e-07
-1.81943e-07
-1.57243e-08
1.65239e-08
-1.75279e-08
1.84142e-08
-1.94255e-08
2.04095e-08
-2.14732e-08
2.2564e-08
-2.36956e-08
2.49018e-08
-2.60931e-08
2.74738e-08
-2.8478e-08
3.02387e-08
-3.01042e-08
3.22915e-08
-3.00281e-08
3.25464e-08
-2.84554e-08
3.17113e-08
-1.55297e-08
1.66639e-08
1.65193e-08
-1.80741e-08
3.60145e-08
-3.91336e-08
5.08323e-08
-5.63027e-08
4.23357e-08
-4.27605e-08
3.95701e-08
-3.8498e-08
7.13441e-08
-8.14671e-08
4.00082e-08
-4.67537e-08
-6.16779e-08
5.94649e-08
-2.44964e-07
2.53968e-07
-4.28902e-07
4.51733e-07
-4.87241e-07
4.99933e-07
-4.68523e-07
4.91262e-07
-3.12508e-07
3.20103e-07
1.06759e-08
-1.2059e-08
3.42139e-07
-3.56894e-07
5.01876e-07
-5.17742e-07
5.93102e-07
-6.1254e-07
4.16537e-07
-4.27083e-07
1.8092e-07
-1.79406e-07
-1.73816e-08
1.83507e-08
-1.93549e-08
2.03887e-08
-2.14399e-08
2.25231e-08
-2.36852e-08
2.48177e-08
-2.61181e-08
2.73208e-08
-2.88496e-08
3.02123e-08
-3.20488e-08
3.39044e-08
-3.46566e-08
3.71783e-08
-3.52286e-08
3.80599e-08
-3.45604e-08
3.66035e-08
-1.69915e-08
1.71835e-08
1.8126e-08
-1.59737e-08
4.3462e-08
-5.02153e-08
6.10401e-08
-6.46096e-08
4.33058e-08
-4.42906e-08
3.80743e-08
-3.8574e-08
9.18987e-08
-1.03421e-07
5.4292e-08
-6.15654e-08
-5.76117e-08
5.52425e-08
-2.63135e-07
2.71699e-07
-4.71185e-07
4.88823e-07
-5.15999e-07
5.32727e-07
-5.15294e-07
5.42291e-07
-3.2751e-07
3.35471e-07
1.29523e-08
-1.31679e-08
3.72387e-07
-3.88541e-07
5.33699e-07
-5.49771e-07
6.32379e-07
-6.52646e-07
4.37637e-07
-4.48211e-07
1.77359e-07
-1.74741e-07
-1.94753e-08
2.07673e-08
-2.15456e-08
2.28408e-08
-2.36712e-08
2.48994e-08
-2.59517e-08
2.71146e-08
-2.84884e-08
2.96406e-08
-3.15429e-08
3.2819e-08
-3.58095e-08
3.77481e-08
-3.98199e-08
4.25514e-08
-4.10162e-08
4.40522e-08
-3.75536e-08
3.7403e-08
-1.84897e-08
2.21478e-08
1.06303e-08
-9.54546e-10
6.11524e-08
-7.80514e-08
6.7162e-08
-6.96088e-08
4.54596e-08
-4.63912e-08
4.03648e-08
-4.38802e-08
1.16298e-07
-1.30122e-07
6.79194e-08
-7.31199e-08
-5.18572e-08
4.77332e-08
-2.78937e-07
2.84451e-07
-5.06735e-07
5.19475e-07
-5.53626e-07
5.72084e-07
-5.65425e-07
5.95098e-07
-3.44777e-07
3.55678e-07
1.21615e-08
-8.90551e-09
4.04779e-07
-4.19522e-07
5.66023e-07
-5.82542e-07
6.73373e-07
-6.94598e-07
4.5882e-07
-4.69479e-07
1.71507e-07
-1.67611e-07
-2.21929e-08
2.36816e-08
-2.42568e-08
2.5745e-08
-2.62302e-08
2.76836e-08
-2.83808e-08
2.98612e-08
-3.08784e-08
3.2379e-08
-3.40706e-08
3.54313e-08
-3.97009e-08
4.1733e-08
-4.5331e-08
4.81272e-08
-4.71044e-08
5.01359e-08
-3.65076e-08
3.55058e-08
-2.8989e-08
3.8918e-08
-1.36855e-08
3.18456e-08
1.01946e-07
-1.3223e-07
7.33393e-08
-7.96817e-08
4.68114e-08
-4.72075e-08
4.92092e-08
-5.50973e-08
1.44794e-07
-1.61155e-07
7.82612e-08
-8.40273e-08
-4.47997e-08
4.17129e-08
-2.88249e-07
2.90609e-07
-5.27115e-07
5.3627e-07
-6.0141e-07
6.28365e-07
-6.12477e-07
6.25652e-07
-3.67291e-07
3.75234e-07
2.25221e-09
8.08591e-09
4.29727e-07
-4.31008e-07
5.99294e-07
-6.15728e-07
7.16341e-07
-7.38567e-07
4.80209e-07
-4.9104e-07
1.63005e-07
-1.57623e-07
-2.51487e-08
2.65328e-08
-2.72456e-08
2.87067e-08
-2.92668e-08
3.09776e-08
-3.16552e-08
3.38322e-08
-3.43501e-08
3.69516e-08
-3.71346e-08
3.94835e-08
-4.40239e-08
4.67812e-08
-5.0981e-08
5.40981e-08
-5.32228e-08
5.67109e-08
-3.51494e-08
3.58461e-08
-5.03596e-08
6.05361e-08
-4.9729e-08
6.2902e-08
1.65385e-07
-1.96706e-07
8.91331e-08
-9.97692e-08
4.79963e-08
-4.88412e-08
5.93747e-08
-6.14209e-08
1.80635e-07
-2.03585e-07
9.03969e-08
-9.56979e-08
-3.76721e-08
3.26365e-08
-2.90556e-07
2.88095e-07
-5.48024e-07
5.50202e-07
-6.36373e-07
6.48991e-07
-6.40512e-07
6.94131e-07
-3.8791e-07
3.53389e-07
-1.98675e-08
2.56888e-08
4.19093e-07
-3.92912e-07
6.30065e-07
-6.38702e-07
7.61094e-07
-7.83449e-07
5.02012e-07
-5.13213e-07
1.51432e-07
-1.44306e-07
-2.78118e-08
2.90719e-08
-3.01019e-08
3.14733e-08
-3.27951e-08
3.47364e-08
-3.6384e-08
3.92936e-08
-4.02664e-08
4.42086e-08
-4.2797e-08
4.72303e-08
-5.01347e-08
5.42088e-08
-5.78208e-08
6.23248e-08
-6.13234e-08
6.76488e-08
-3.66481e-08
3.46482e-08
-6.64251e-08
6.7357e-08
-7.01765e-08
7.22558e-08
2.23735e-07
-2.42185e-07
1.10198e-07
-1.21012e-07
4.89556e-08
-4.83546e-08
6.34665e-08
-6.7618e-08
2.2819e-07
-2.52831e-07
9.94117e-08
-1.02355e-07
-2.72669e-08
2.03657e-08
-2.83216e-07
2.73974e-07
-5.42101e-07
5.40314e-07
-6.78106e-07
7.09263e-07
-7.0235e-07
6.05716e-07
-3.38418e-07
2.73373e-07
-2.93165e-08
1.81568e-07
3.56742e-07
-3.08384e-07
6.36432e-07
-6.17917e-07
8.04612e-07
-8.22639e-07
5.24558e-07
-5.3617e-07
1.36271e-07
-1.27051e-07
-3.03379e-08
3.18409e-08
-3.28609e-08
3.44462e-08
-3.67296e-08
3.89737e-08
-4.23365e-08
4.54508e-08
-4.86733e-08
5.31981e-08
-5.28998e-08
5.93913e-08
-5.90855e-08
6.49377e-08
-6.72767e-08
7.1896e-08
-7.49741e-08
8.10223e-08
-2.66933e-08
1.43335e-08
-6.39965e-08
5.84412e-08
-7.20053e-08
7.00928e-08
2.50845e-07
-2.49647e-07
1.32194e-07
-1.38917e-07
4.83474e-08
-5.24626e-08
7.28947e-08
-7.46723e-08
2.78034e-07
-3.06691e-07
1.04936e-07
-1.06524e-07
-1.22294e-08
6.11459e-09
-2.60289e-07
2.46754e-07
-5.4316e-07
5.34656e-07
-7.18221e-07
6.94021e-07
-4.6611e-07
3.65864e-07
-2.06653e-07
1.37318e-07
-2.48127e-07
-5.70282e-08
1.10949e-07
3.8801e-07
5.80204e-07
-5.21341e-07
8.34215e-07
-8.34423e-07
5.48665e-07
-5.61293e-07
1.16762e-07
-1.04415e-07
-3.38778e-08
3.60533e-08
-3.5753e-08
3.82725e-08
-4.11541e-08
4.39536e-08
-4.88382e-08
5.10484e-08
-5.71818e-08
5.99519e-08
-6.60394e-08
7.65015e-08
-7.15879e-08
7.63673e-08
-7.54567e-08
7.77459e-08
-8.38567e-08
8.33481e-08
-4.38613e-09
5.44381e-09
-5.15498e-08
3.9136e-08
-6.39246e-08
5.20415e-08
2.42154e-07
-2.2652e-07
1.46443e-07
-1.54718e-07
6.34236e-08
-8.32055e-08
6.88078e-08
-6.01404e-08
3.42359e-07
-3.79811e-07
1.05116e-07
-1.01257e-07
-4.98888e-10
-1.13952e-08
-2.3743e-07
2.33559e-07
-5.24891e-07
5.18941e-07
-6.13723e-07
5.0719e-07
-2.95902e-07
2.35267e-07
2.80094e-08
-2.53483e-07
4.63729e-07
-4.47271e-07
-9.23154e-07
1.32992e-06
4.88908e-07
-6.10288e-07
8.1811e-07
-7.82913e-07
5.74889e-07
-5.89937e-07
9.00243e-08
-7.06775e-08
-3.66724e-08
3.78234e-08
-3.87736e-08
4.00462e-08
-4.71832e-08
4.90437e-08
-5.13716e-08
5.32989e-08
-6.07278e-08
5.61067e-08
-8.30895e-08
8.22266e-08
-7.84365e-08
8.60638e-08
-8.85491e-08
9.8756e-08
-8.30018e-08
9.77888e-08
-2.41749e-08
5.3637e-08
-1.75123e-08
-7.67557e-09
-3.10692e-08
-3.94076e-09
2.05042e-07
-1.7669e-07
1.61692e-07
-1.67391e-07
1.11431e-07
-1.39485e-07
5.58427e-08
-6.59224e-08
4.07919e-07
-4.23914e-07
9.73873e-08
-9.53475e-08
3.16274e-08
-5.57474e-08
-2.26553e-07
1.99726e-07
-5.16829e-07
5.09299e-07
-3.86157e-07
3.17448e-07
-1.5106e-07
-2.03912e-08
3.79188e-07
-6.22854e-07
-3.05474e-07
2.15018e-06
-1.0711e-06
6.63655e-08
8.48572e-07
-1.10626e-06
7.39323e-07
-7.19091e-07
6.05044e-07
-6.16951e-07
4.7513e-08
-1.64744e-08
-4.03909e-08
4.51758e-08
-3.84137e-08
3.91797e-08
-4.72937e-08
5.10786e-08
-6.35574e-08
7.94113e-08
-7.63335e-08
1.00428e-07
-9.44548e-08
1.06888e-07
-8.22067e-08
7.94884e-08
-8.52817e-08
7.4794e-08
-1.02124e-07
9.64831e-08
-7.38848e-08
8.18978e-08
1.25372e-08
-1.30764e-08
5.37074e-08
-1.0682e-07
1.46717e-07
-1.24307e-07
1.68106e-07
-1.59383e-07
1.51967e-07
-1.56271e-07
9.99854e-08
-1.48353e-07
4.31938e-07
-4.38314e-07
9.82866e-08
-1.03163e-07
7.03824e-08
-6.8772e-08
-1.44639e-07
6.87999e-08
-4.82599e-07
4.24318e-07
-2.67793e-07
2.79383e-07
2.12531e-07
-5.93323e-07
5.01094e-08
1.44539e-06
-3.55787e-06
4.61686e-06
1.22168e-06
-2.26181e-06
1.02504e-06
-1.10259e-06
9.96255e-07
-1.88488e-06
6.28101e-07
-6.59352e-07
-1.37871e-08
5.48294e-08
-5.37949e-08
7.67251e-08
-5.90297e-08
8.82442e-08
-8.43914e-08
1.24647e-07
-1.15993e-07
1.59117e-07
-1.25702e-07
1.51963e-07
-1.10582e-07
9.38547e-08
-3.54325e-08
-4.94804e-08
2.07669e-08
-1.44954e-07
-4.98047e-08
-4.3038e-08
-1.23841e-07
1.25102e-07
-1.13132e-08
4.66141e-08
4.61602e-09
5.08063e-09
1.31954e-07
-7.22456e-08
1.47119e-07
-1.48478e-07
1.77724e-07
-2.16243e-07
1.84095e-07
-2.0641e-07
4.38104e-07
-4.26558e-07
1.0696e-07
-1.17787e-07
7.22022e-08
-1.07674e-07
-9.47653e-09
9.32643e-09
-3.27213e-07
2.01964e-07
-2.72988e-07
2.91733e-07
9.42814e-07
-1.97836e-06
-1.76301e-06
2.30876e-06
-5.80357e-06
6.66613e-06
2.91764e-06
-3.25646e-06
9.70695e-07
-8.10666e-07
2.39293e-06
-2.6848e-06
7.9655e-07
-1.20958e-06
-1.07966e-07
1.97424e-07
2.84204e-08
7.7038e-07
-1.15764e-06
8.29647e-07
-9.72386e-07
2.59603e-06
-2.40003e-06
1.4072e-06
-1.2536e-06
-7.77448e-06
7.72302e-06
-1.52711e-06
1.79154e-06
1.65342e-06
-1.69825e-06
1.3844e-06
-1.95373e-06
2.23233e-08
-5.17479e-10
-4.34824e-07
3.8024e-07
1.11703e-07
-1.14524e-07
2.05208e-07
-2.3304e-07
3.41253e-07
-3.75267e-07
4.80558e-07
-4.51749e-07
2.65308e-07
-2.84519e-07
3.61663e-07
-5.43606e-07
1.97614e-07
-1.2978e-07
1.21813e-07
-1.14068e-07
1.69412e-07
-1.4374e-07
-2.19739e-08
2.78325e-08
-6.75897e-08
8.10238e-08
-1.96042e-07
2.11897e-07
-1.8156e-07
2.04803e-07
-1.49477e-07
1.68815e-07
-1.40504e-07
1.57539e-07
-1.51274e-07
1.66838e-07
-1.90659e-07
2.07008e-07
-2.345e-07
2.56841e-07
-2.17561e-07
2.46197e-07
-1.51835e-07
1.78254e-07
-1.29498e-07
2.16079e-06
-3.17251e-06
9.34089e-07
-1.04705e-06
2.17804e-06
-1.9157e-06
1.09986e-06
-9.30404e-07
-7.61568e-06
7.4251e-06
-2.08522e-06
2.43417e-06
1.70557e-06
-1.62215e-06
1.93274e-06
-1.90642e-06
-1.7816e-08
1.05882e-08
-3.14768e-07
2.3724e-07
1.10475e-07
-1.01196e-07
2.68371e-07
-3.09238e-07
4.04952e-07
-4.30166e-07
4.33625e-07
-4.31387e-07
3.59393e-07
-8.83049e-07
6.25064e-07
-6.38561e-07
-2.51511e-09
5.93728e-08
9.20474e-08
-6.70772e-08
1.1595e-07
-8.82323e-08
-3.2503e-08
3.46318e-08
-9.29672e-08
1.0354e-07
-2.25907e-07
2.38466e-07
-2.28143e-07
2.52359e-07
-1.88659e-07
2.10088e-07
-1.74442e-07
1.92415e-07
-1.82278e-07
1.98469e-07
-2.22215e-07
2.36855e-07
-2.75672e-07
2.91346e-07
-2.71841e-07
2.94556e-07
-2.04693e-07
2.31531e-07
-1.51196e-07
4.84828e-06
-4.96801e-06
1.30849e-06
-1.7086e-06
1.68516e-06
-1.45188e-06
7.34313e-07
-5.14416e-07
-7.17011e-06
6.83281e-06
-2.80071e-06
3.20669e-06
1.49692e-06
-1.31801e-06
2.1624e-06
-1.70918e-06
2.37614e-08
-1.37493e-07
-1.63556e-07
9.73732e-08
9.9166e-08
-1.10906e-07
3.45585e-07
-3.77553e-07
4.49523e-07
-4.56404e-07
4.86605e-07
-6.10843e-07
9.07885e-07
-9.09244e-07
5.69914e-07
-4.63323e-07
-7.52327e-08
8.55271e-08
4.58203e-08
-2.99354e-08
6.70197e-08
-5.44711e-08
-3.25648e-08
2.72017e-08
-1.11779e-07
1.23183e-07
-2.47791e-07
2.53661e-07
-2.7419e-07
2.93429e-07
-2.30729e-07
2.51365e-07
-2.09772e-07
2.27528e-07
-2.13796e-07
2.29179e-07
-2.49362e-07
2.60556e-07
-3.02044e-07
3.08599e-07
-3.10948e-07
3.2136e-07
-2.54617e-07
2.73754e-07
1.45263e-07
5.24325e-06
-5.3948e-06
2.12804e-06
-2.56156e-06
1.24863e-06
-1.077e-06
3.08692e-07
-9.33821e-08
-6.44516e-06
5.99406e-06
-3.60851e-06
4.02547e-06
1.13312e-06
-8.78882e-07
1.89136e-06
-1.86824e-06
4.00734e-07
-1.13088e-06
-5.80526e-08
4.46247e-08
1.35447e-07
-1.8851e-07
3.98896e-07
-4.10156e-07
4.87384e-07
-7.29512e-07
8.79407e-07
-9.84514e-07
7.60834e-07
-5.54619e-07
3.61311e-07
-2.67076e-07
-1.03183e-07
1.31058e-07
2.21037e-08
-2.20014e-08
5.44502e-08
-7.29203e-08
-1.69664e-08
6.18971e-09
-1.31291e-07
1.32296e-07
-2.59425e-07
2.6749e-07
-3.06592e-07
3.12441e-07
-2.69423e-07
2.85597e-07
-2.43824e-07
2.59513e-07
-2.43121e-07
2.56514e-07
-2.69581e-07
2.77305e-07
-3.11084e-07
3.10557e-07
-3.24966e-07
3.22895e-07
-2.86008e-07
2.91789e-07
3.04225e-08
5.4387e-06
-5.40928e-06
2.94766e-06
-3.29377e-06
9.2189e-07
-7.70948e-07
-8.0144e-08
2.14443e-07
-5.52917e-06
5.03733e-06
-4.40747e-06
4.75812e-06
5.88372e-07
-2.4365e-07
1.63644e-06
-1.5157e-06
1.79173e-06
-2.8715e-06
-7.86974e-08
3.42728e-08
2.7004e-07
-3.53097e-07
4.0796e-07
-4.51303e-07
1.68677e-06
-1.67542e-06
7.76328e-07
-7.76513e-07
3.80072e-07
-2.34219e-07
1.91117e-07
-1.3448e-07
-1.66378e-07
2.12078e-07
3.02495e-08
-4.72208e-08
1.03637e-07
-1.5502e-07
3.47478e-09
-1.51965e-08
-1.28368e-07
1.20464e-07
-2.67387e-07
2.62777e-07
-3.15449e-07
3.20136e-07
-2.98232e-07
3.07973e-07
-2.72891e-07
2.84506e-07
-2.68099e-07
2.78557e-07
-2.83329e-07
2.88289e-07
-3.08055e-07
3.04238e-07
-3.16791e-07
3.07818e-07
-2.91203e-07
2.85557e-07
-9.1995e-08
5.32875e-06
-5.19477e-06
3.58039e-06
-3.78281e-06
6.98588e-07
-6.82894e-07
-3.53939e-07
4.92935e-07
-4.58213e-06
4.15591e-06
-5.02148e-06
5.18549e-06
-1.04914e-07
4.72746e-07
1.33833e-06
-1.06598e-06
3.36947e-06
-2.95222e-06
-3.50513e-08
-1.52901e-07
4.26684e-07
-4.51082e-07
5.94406e-07
-9.18559e-07
1.61976e-06
-1.38113e-06
7.59362e-07
-7.67019e-07
1.07537e-07
-2.68825e-08
9.35671e-08
-4.14204e-08
-2.59914e-07
3.13642e-07
7.50851e-08
-1.19442e-07
2.16042e-07
-2.90229e-07
2.91981e-08
-3.06229e-08
-1.09726e-07
9.89258e-08
-2.54652e-07
2.43228e-07
-3.21565e-07
3.19208e-07
-3.13575e-07
3.15161e-07
-2.93001e-07
2.98641e-07
-2.86889e-07
2.93579e-07
-2.91937e-07
2.94611e-07
-3.00051e-07
2.95527e-07
-2.9812e-07
2.87943e-07
-2.77046e-07
2.6662e-07
-1.67405e-07
5.04954e-06
-4.88906e-06
3.9016e-06
-3.96542e-06
6.98305e-07
-6.87255e-07
-6.07497e-07
6.96941e-07
-3.8204e-06
3.57262e-06
-5.20364e-06
5.04708e-06
-8.31877e-07
1.23665e-06
9.62894e-07
-8.98574e-07
3.24778e-06
-3.40121e-06
-1.44814e-07
7.72558e-08
4.12483e-07
-4.0542e-07
7.67283e-07
-8.62483e-07
1.20875e-06
-1.14312e-06
8.08675e-07
-8.57189e-07
-6.82378e-09
3.50576e-08
-2.06423e-08
8.87958e-08
-3.68462e-07
4.25928e-07
1.78324e-07
-2.5664e-07
3.68321e-07
-4.55513e-07
3.13067e-08
-2.90918e-08
-9.12298e-08
8.52087e-08
-2.30225e-07
2.15092e-07
-3.13045e-07
3.03117e-07
-3.1233e-07
3.05012e-07
-3.00647e-07
2.98864e-07
-2.97971e-07
3.00422e-07
-2.96049e-07
2.96175e-07
-2.91144e-07
2.86463e-07
-2.78614e-07
2.69496e-07
-2.56292e-07
2.4588e-07
-2.05311e-07
4.72828e-06
-4.54842e-06
3.98759e-06
-3.98311e-06
6.28984e-07
-5.74054e-07
-7.35828e-07
7.65119e-07
-3.44624e-06
3.41869e-06
-4.71571e-06
4.19273e-06
-1.63968e-06
2.09816e-06
8.48068e-07
-8.16007e-07
3.54264e-06
-3.63704e-06
-5.3106e-08
8.101e-08
3.98389e-07
-3.84274e-07
8.9338e-07
-9.0897e-07
1.11203e-06
-1.12261e-06
8.81291e-07
-8.84756e-07
-9.47201e-08
1.29853e-07
-1.55659e-07
2.23898e-07
-4.76458e-07
5.08788e-07
3.41358e-07
-4.12375e-07
5.4454e-07
-6.54835e-07
1.51488e-08
5.4439e-09
-8.53154e-08
8.07683e-08
-1.9963e-07
1.83211e-07
-2.91681e-07
2.80325e-07
-2.94544e-07
2.83054e-07
-2.92879e-07
2.81744e-07
-3.01075e-07
3.00079e-07
-2.94538e-07
2.90191e-07
-2.8161e-07
2.75831e-07
-2.61097e-07
2.52301e-07
-2.36427e-07
2.27036e-07
-2.27575e-07
4.36907e-06
-4.18005e-06
3.96169e-06
-3.91813e-06
5.57069e-07
-5.49411e-07
-8.01088e-07
8.38286e-07
-3.44509e-06
3.46092e-06
-3.56747e-06
2.86192e-06
-2.56651e-06
3.06485e-06
8.06745e-07
-7.43893e-07
3.7106e-06
-3.80244e-06
-1.13584e-07
1.87512e-07
3.40711e-07
-2.88627e-07
9.14129e-07
-9.01415e-07
1.15436e-06
-1.18106e-06
8.15563e-07
-7.70527e-07
-1.41976e-07
1.1273e-07
-2.82635e-07
3.30726e-07
-5.13347e-07
4.84975e-07
3.57805e-07
-2.41465e-07
7.71369e-07
-9.79003e-07
-2.56936e-08
4.06414e-08
-7.62214e-08
7.38578e-08
-1.58581e-07
1.38773e-07
-2.5817e-07
2.3201e-07
-2.8199e-07
2.82163e-07
-2.77278e-07
2.74301e-07
-2.88869e-07
2.66558e-07
-2.82579e-07
2.72559e-07
-2.69286e-07
2.61485e-07
-2.43286e-07
2.32977e-07
-2.18137e-07
2.08868e-07
-2.41021e-07
4.00086e-06
-3.82101e-06
3.86582e-06
-3.78379e-06
5.48341e-07
-5.53732e-07
-8.71558e-07
9.02209e-07
-3.4118e-06
3.29107e-06
-2.20542e-06
1.57851e-06
-3.53717e-06
3.99636e-06
7.23644e-07
-6.80212e-07
3.88729e-06
-3.97034e-06
-2.56734e-07
3.02008e-07
2.28253e-07
-1.6079e-07
9.33092e-07
-1.0562e-06
1.14985e-06
-1.04653e-06
7.27662e-07
-6.50956e-07
-3.55014e-08
-2.35225e-08
-3.60247e-07
3.58505e-07
-4.17425e-07
3.65315e-07
1.12368e-07
-9.15303e-08
9.58854e-07
-8.95293e-07
-4.4671e-08
4.38789e-08
-7.38512e-08
7.61578e-08
-1.25612e-07
1.17303e-07
-2.13645e-07
1.9355e-07
-2.67384e-07
2.43537e-07
-2.59902e-07
2.42675e-07
-2.49837e-07
2.3426e-07
-2.53975e-07
2.35495e-07
-2.54989e-07
2.42724e-07
-2.233e-07
2.15493e-07
-2.00373e-07
1.90821e-07
-2.48799e-07
3.65575e-06
-3.48978e-06
3.69404e-06
-3.58856e-06
5.64752e-07
-5.80086e-07
-9.25803e-07
9.42359e-07
-3.1266e-06
2.93104e-06
-1.02345e-06
4.70128e-07
-4.38877e-06
4.72295e-06
5.80839e-07
-4.16214e-07
4.02335e-06
-4.01955e-06
-2.93828e-07
2.21267e-07
9.16638e-08
-1.94667e-08
1.17959e-06
-1.17142e-06
9.20069e-07
-8.04842e-07
6.3698e-07
-6.62233e-07
-2.35431e-10
-6.39616e-09
-3.30302e-07
3.12713e-07
-3.1151e-07
3.30412e-07
7.72413e-08
-1.83405e-07
8.20321e-07
-6.67146e-07
-6.08704e-08
9.45272e-08
-8.10407e-08
8.8111e-08
-1.11191e-07
1.04814e-07
-1.74163e-07
1.54023e-07
-2.19122e-07
1.93141e-07
-2.23729e-07
2.01949e-07
-2.16155e-07
2.00615e-07
-2.21257e-07
2.03986e-07
-2.28257e-07
2.15028e-07
-2.0708e-07
1.93778e-07
-1.82392e-07
1.73712e-07
-2.5086e-07
3.32768e-06
-3.16031e-06
3.50214e-06
-3.43654e-06
5.82722e-07
-5.62566e-07
-9.47799e-07
9.42336e-07
-2.72622e-06
2.48946e-06
4.77468e-08
-5.71584e-07
-5.00089e-06
5.27866e-06
2.75292e-07
-1.44796e-07
3.98756e-06
-3.91447e-06
-1.37031e-07
2.94675e-08
-4.84835e-08
1.26967e-07
1.1098e-06
-1.03201e-06
7.27222e-07
-6.8432e-07
7.28652e-07
-6.52656e-07
-1.28421e-08
5.3543e-08
-2.94633e-07
2.81934e-07
-4.04786e-07
4.69128e-07
3.23205e-07
-4.18561e-07
4.94454e-07
-2.96952e-07
-1.00689e-07
6.72464e-08
-9.26955e-08
9.13646e-08
-9.72774e-08
8.68736e-08
-1.34549e-07
1.13931e-07
-1.68262e-07
1.43077e-07
-1.80228e-07
1.58151e-07
-1.8492e-07
1.66737e-07
-1.86624e-07
1.72261e-07
-2.0136e-07
1.78788e-07
-1.76739e-07
1.60826e-07
-1.65636e-07
1.50584e-07
-2.47416e-07
3.01064e-06
-2.86651e-06
3.36934e-06
-3.28137e-06
5.18307e-07
-4.63568e-07
-9.24284e-07
8.93892e-07
-2.23067e-06
1.92657e-06
1.06379e-06
-1.56903e-06
-5.56657e-06
5.91195e-06
3.83933e-08
5.95752e-08
3.79443e-06
-3.66897e-06
1.18101e-07
-2.6791e-07
-1.89101e-07
2.35972e-07
9.4679e-07
-8.60166e-07
6.58336e-07
-6.35246e-07
5.68026e-07
-4.98636e-07
-8.65435e-08
1.11022e-07
-2.50289e-07
3.39075e-07
-5.20117e-07
5.39455e-07
4.56365e-07
-4.01719e-07
1.64635e-07
-1.1306e-07
-6.28742e-08
7.95619e-08
-8.51591e-08
7.34355e-08
-7.36851e-08
5.60491e-08
-9.34403e-08
7.10752e-08
-1.1958e-07
9.5612e-08
-1.37003e-07
1.1504e-07
-1.48343e-07
1.28373e-07
-1.55019e-07
1.35766e-07
-1.57322e-07
1.36808e-07
-1.45287e-07
1.29028e-07
-1.3581e-07
1.20764e-07
-2.3926e-07
2.72936e-06
-2.5943e-06
3.22251e-06
-3.16895e-06
4.0119e-07
-3.42477e-07
-8.5391e-07
8.01065e-07
-1.60585e-06
1.25878e-06
2.03599e-06
-2.45771e-06
-6.27931e-06
6.64432e-06
-1.53121e-07
2.74412e-07
3.52258e-06
-3.3584e-06
3.86381e-07
-4.79016e-07
-2.58389e-07
2.59061e-07
7.90018e-07
-7.34959e-07
6.14484e-07
-5.91868e-07
4.43062e-07
-4.07271e-07
-1.29466e-07
1.36048e-07
-3.55346e-07
4.0107e-07
-6.40439e-07
6.2694e-07
3.43901e-07
-2.60127e-07
1.00319e-07
-4.98694e-08
-1.03186e-07
1.06834e-07
-5.55665e-08
2.88567e-08
-3.47242e-08
7.72347e-09
-4.8104e-08
2.23813e-08
-7.2745e-08
4.89079e-08
-9.41082e-08
7.27471e-08
-1.09062e-07
8.95561e-08
-1.17216e-07
9.88287e-08
-1.18608e-07
1.01326e-07
-1.13729e-07
9.86571e-08
-1.06925e-07
9.34482e-08
-2.27652e-07
2.48551e-06
-2.38072e-06
3.04923e-06
-2.92927e-06
3.09614e-07
-2.74918e-07
-7.3942e-07
6.67722e-07
-9.26555e-07
5.96958e-07
2.74873e-06
-2.92276e-06
-6.91414e-06
7.11861e-06
-4.15015e-07
5.35403e-07
3.21326e-06
-3.08243e-06
5.37128e-07
-5.66008e-07
-2.39541e-07
1.95682e-07
7.08295e-07
-6.97098e-07
5.75211e-07
-5.56983e-07
3.7913e-07
-3.74947e-07
-1.05043e-07
5.40863e-08
-4.5715e-07
5.10213e-07
-6.83125e-07
7.5355e-07
5.13097e-08
1.88097e-07
-5.73548e-08
1.98821e-07
-1.034e-07
1.42289e-07
1.94405e-09
-3.12663e-08
2.2527e-08
-5.68303e-08
4.19504e-09
-3.33698e-08
-2.58137e-08
1.63823e-09
-5.28013e-08
3.28332e-08
-7.18629e-08
5.48802e-08
-8.26173e-08
6.76038e-08
-8.64534e-08
7.29515e-08
-8.54442e-08
7.33726e-08
-8.16544e-08
7.0862e-08
-2.1689e-07
2.27284e-06
-2.15033e-06
2.84133e-06
-2.79357e-06
2.32885e-07
-1.77409e-07
-5.94181e-07
5.14235e-07
-3.05853e-07
4.0047e-08
3.00291e-06
-3.03653e-06
-7.29071e-06
7.46359e-06
-5.84315e-07
5.90337e-07
2.9414e-06
-2.77044e-06
5.65627e-07
-5.42011e-07
-1.33154e-07
5.85401e-08
6.81151e-07
-6.67147e-07
5.53315e-07
-5.58186e-07
3.95189e-07
-4.4177e-07
2.36267e-08
-1.44846e-07
-5.42902e-07
5.47471e-07
-8.13366e-07
8.93217e-07
-4.32093e-07
6.27554e-07
-2.62029e-07
3.63514e-07
-1.92125e-07
1.55573e-07
4.67161e-08
1.30781e-08
8.80115e-08
-1.05147e-07
6.11478e-08
-8.52722e-08
2.11795e-08
-4.2999e-08
-1.46699e-08
-2.4574e-09
-4.0181e-08
2.70187e-08
-5.51461e-08
4.45102e-08
-6.19828e-08
5.28099e-08
-6.35541e-08
5.52965e-08
-6.2043e-08
5.45166e-08
-2.08475e-07
2.02628e-06
-1.89903e-06
2.75505e-06
-2.7108e-06
1.23013e-07
-6.86218e-08
-4.36296e-07
3.55989e-07
1.69928e-07
-3.35124e-07
3.00001e-06
-2.83126e-06
-7.5755e-06
7.58803e-06
-5.80421e-07
5.24374e-07
2.57801e-06
-2.35044e-06
4.96967e-07
-4.32367e-07
3.48103e-08
-1.61684e-07
6.74241e-07
-7.16729e-07
5.74435e-07
-6.01005e-07
4.98319e-07
-5.51809e-07
2.94632e-07
-4.94348e-07
-5.12718e-07
4.12042e-07
-9.76536e-07
1.05969e-06
-7.77761e-07
9.11196e-07
-4.56658e-07
5.65568e-07
-8.45642e-08
1.38699e-07
-1.15809e-07
1.94684e-07
9.33884e-08
-6.68298e-08
9.73597e-08
-9.76847e-08
5.96064e-08
-7.00209e-08
1.59049e-08
-2.49527e-08
-1.7206e-08
1.12391e-08
-3.69978e-08
3.28476e-08
-4.63859e-08
4.26618e-08
-4.93097e-08
4.52574e-08
-4.87919e-08
4.42803e-08
-2.02135e-07
1.78587e-06
-1.68499e-06
2.64896e-06
-2.5635e-06
1.93602e-08
2.73121e-08
-2.80905e-07
2.09276e-07
4.45133e-07
-5.15332e-07
2.55789e-06
-2.21243e-06
-7.46217e-06
7.24969e-06
-4.506e-07
3.90184e-07
2.1014e-06
-1.80657e-06
3.49124e-07
-2.54033e-07
3.29574e-07
-5.43164e-07
7.88941e-07
-8.78163e-07
6.33333e-07
-6.85875e-07
5.98641e-07
-6.54904e-07
7.17544e-07
-9.0862e-07
-2.48193e-07
-2.49658e-08
-1.12967e-06
1.16291e-06
-1.02392e-06
1.12281e-06
-6.7843e-07
8.09303e-07
-2.08985e-07
3.01267e-07
-2.30473e-07
2.35926e-07
4.3692e-08
-1.39394e-08
8.80604e-08
-7.20856e-08
7.10846e-08
-6.07865e-08
2.64949e-08
-1.77883e-08
-1.14209e-08
2.01362e-08
-3.36951e-08
4.14339e-08
-4.27477e-08
4.7976e-08
-4.37656e-08
4.54827e-08
-4.11176e-08
3.9058e-08
-1.94757e-07
1.59943e-06
-1.49533e-06
2.45545e-06
-2.36182e-06
-6.17847e-08
8.26307e-08
-1.50727e-07
1.00156e-07
5.47005e-07
-5.51291e-07
1.8844e-06
-1.55312e-06
-6.96048e-06
6.56369e-06
-3.94335e-07
5.24902e-07
1.55204e-06
-1.33688e-06
1.86531e-07
-1.90473e-07
7.55749e-07
-9.38391e-07
9.46629e-07
-9.87016e-07
7.87615e-07
-1.01095e-06
6.39728e-07
-5.23013e-07
9.97723e-07
-1.03361e-06
3.55668e-07
-7.03077e-07
-1.09553e-06
1.01621e-06
-1.2182e-06
1.28193e-06
-8.90045e-07
9.46581e-07
-3.92837e-07
5.32006e-07
-2.72211e-07
3.17749e-07
-4.53834e-08
1.13388e-07
4.00636e-08
1.35604e-08
3.58761e-08
7.93336e-09
-3.42034e-09
4.07182e-08
-3.93947e-08
7.26851e-08
-5.80472e-08
8.72387e-08
-6.02986e-08
8.46388e-08
-5.1935e-08
7.03984e-08
-3.86349e-08
4.79339e-08
-1.847e-07
1.36631e-06
-1.20702e-06
2.2771e-06
-2.25371e-06
-5.4428e-08
2.61437e-08
-6.11081e-08
3.05717e-08
5.447e-07
-5.1984e-07
1.25019e-06
-9.37086e-07
-6.06753e-06
5.52584e-06
-7.31883e-07
9.97374e-07
1.18477e-06
-1.07984e-06
2.85591e-07
-4.57636e-07
1.04914e-06
-1.11581e-06
1.02816e-06
-1.10169e-06
1.22488e-06
-1.28706e-06
7.18131e-07
-8.43309e-07
8.36608e-07
-5.30382e-07
9.42174e-07
-1.04494e-06
-8.38903e-07
5.48878e-07
-1.2573e-06
1.20023e-06
-9.66845e-07
9.57506e-07
-6.14832e-07
6.98247e-07
-3.0878e-07
3.07976e-07
-1.6778e-07
2.30544e-07
-8.55774e-08
1.6353e-07
-6.74488e-08
1.36995e-07
-9.20153e-08
1.55468e-07
-1.20134e-07
1.78936e-07
-1.33146e-07
1.8833e-07
-1.29934e-07
1.83037e-07
-1.13216e-07
1.64284e-07
-8.13174e-08
1.25606e-07
-1.7564e-07
1.09058e-06
-1.0318e-06
2.20473e-06
-2.04102e-06
-4.61419e-08
5.15436e-08
-1.09343e-08
-2.19324e-10
4.77846e-07
-4.21005e-07
6.70433e-07
-4.29438e-07
-5.02183e-06
4.5322e-06
-1.278e-06
1.57686e-06
1.0239e-06
-9.8247e-07
6.65754e-07
-8.97409e-07
1.16821e-06
-1.23338e-06
1.13931e-06
-1.17475e-06
1.36326e-06
-1.41187e-06
7.84007e-07
-8.12564e-07
3.45153e-07
-3.05362e-07
9.51028e-07
-6.70496e-07
-1.72103e-07
-2.05044e-07
-1.04093e-06
8.8766e-07
-1.00257e-06
1.08399e-06
-7.54256e-07
8.04716e-07
-3.61813e-07
4.23913e-07
-2.87048e-07
3.18678e-07
-2.21603e-07
2.75144e-07
-2.02036e-07
2.6993e-07
-2.21325e-07
2.90689e-07
-2.43281e-07
3.0795e-07
-2.53561e-07
3.12738e-07
-2.5235e-07
3.04957e-07
-2.3527e-07
2.7747e-07
-1.86843e-07
2.16794e-07
-1.63179e-07
9.73134e-07
-8.74152e-07
1.8348e-06
-1.63829e-06
4.68674e-08
-1.12226e-07
2.67285e-09
6.75317e-09
3.50937e-07
-2.62157e-07
2.22448e-07
-3.31629e-08
-4.08885e-06
3.65479e-06
-1.84999e-06
2.07608e-06
9.53429e-07
-8.42449e-07
1.12914e-06
-1.38453e-06
1.30668e-06
-1.37349e-06
1.26367e-06
-1.34634e-06
1.39417e-06
-1.46535e-06
9.30933e-07
-1.10681e-06
3.85251e-07
-5.12948e-07
2.80075e-07
-2.36206e-07
4.75063e-07
-2.11038e-07
-6.85788e-07
4.72172e-07
-1.11953e-06
1.16783e-06
-7.6439e-07
5.87895e-07
-4.62719e-07
5.47104e-07
-3.93209e-07
4.92125e-07
-3.44422e-07
4.30714e-07
-3.40953e-07
4.18725e-07
-3.55147e-07
4.16056e-07
-3.60842e-07
4.03518e-07
-3.53347e-07
3.80396e-07
-3.32811e-07
3.46057e-07
-2.93191e-07
2.9614e-07
-2.28159e-07
2.28943e-07
-1.53664e-07
7.55525e-07
-6.35764e-07
1.56485e-06
-1.53511e-06
1.00012e-07
-6.41063e-08
-3.12677e-08
7.24176e-08
1.67879e-07
-6.71647e-08
-1.19352e-07
2.49882e-07
-3.29651e-06
2.97939e-06
-2.21973e-06
2.27062e-06
8.52534e-07
-9.84541e-07
1.54063e-06
-1.546e-06
1.41783e-06
-1.43588e-06
1.41773e-06
-1.47385e-06
1.57371e-06
-1.67041e-06
1.24138e-06
-1.31998e-06
5.88617e-07
-6.23782e-07
1.95668e-07
-1.33091e-07
1.72106e-08
9.13687e-08
-4.89051e-07
5.4032e-07
-1.07634e-06
8.84962e-07
-5.38689e-07
6.4279e-07
-6.29812e-07
6.69584e-07
-5.67314e-07
6.23491e-07
-5.09644e-07
5.74749e-07
-4.84785e-07
5.34028e-07
-4.6128e-07
4.92913e-07
-4.31611e-07
4.47841e-07
-3.94886e-07
3.96643e-07
-3.48859e-07
3.36843e-07
-2.92267e-07
2.71575e-07
-2.23572e-07
2.03821e-07
-1.48905e-07
5.47424e-07
-4.50146e-07
1.40753e-06
-1.27358e-06
8.18283e-08
-1.44006e-07
-1.18241e-07
1.66558e-07
-2.48687e-08
1.12195e-07
-3.64433e-07
4.65917e-07
-2.68823e-06
2.38058e-06
-2.2637e-06
2.1333e-06
1.07288e-06
-1.03769e-06
1.49517e-06
-1.41841e-06
1.42486e-06
-1.38075e-06
1.51395e-06
-1.51892e-06
1.73171e-06
-1.7371e-06
1.32618e-06
-1.2656e-06
6.14279e-07
-5.74877e-07
8.86708e-08
-4.58154e-08
-2.08516e-07
3.0757e-07
-5.84687e-07
6.25732e-07
-7.88586e-07
7.66253e-07
-7.10177e-07
7.62189e-07
-7.11186e-07
7.53567e-07
-6.69249e-07
7.07337e-07
-6.17716e-07
6.37339e-07
-5.62876e-07
5.61346e-07
-5.05372e-07
4.80813e-07
-4.41315e-07
4.02487e-07
-3.73796e-07
3.2625e-07
-3.04971e-07
2.56639e-07
-2.37295e-07
1.97268e-07
-1.77617e-07
1.47489e-07
-1.53937e-07
3.40838e-07
-2.24958e-07
1.1196e-06
-1.0075e-06
2.36807e-07
-3.00067e-07
-2.04467e-07
2.31897e-07
-1.85865e-07
2.50091e-07
-5.45188e-07
5.98122e-07
-2.11454e-06
1.92749e-06
-1.93721e-06
1.69927e-06
9.41392e-07
-8.42036e-07
1.32698e-06
-1.17243e-06
1.30461e-06
-1.18956e-06
1.48151e-06
-1.38834e-06
1.67104e-06
-1.53322e-06
1.16678e-06
-1.03651e-06
5.29668e-07
-4.6316e-07
-3.82081e-09
7.89883e-08
-3.99707e-07
4.99989e-07
-6.76533e-07
7.40757e-07
-7.82872e-07
8.30069e-07
-8.08469e-07
8.44981e-07
-7.90384e-07
7.81729e-07
-7.11465e-07
6.60073e-07
-6.11485e-07
5.34378e-07
-5.14518e-07
4.31725e-07
-4.23591e-07
3.44716e-07
-3.38926e-07
2.69769e-07
-2.68936e-07
2.0826e-07
-2.07616e-07
1.59532e-07
-1.58457e-07
1.21857e-07
-1.19973e-07
9.31751e-08
-1.64159e-07
1.08119e-07
1.53049e-08
9.78644e-07
-9.02915e-07
4.48227e-07
-5.39671e-07
-2.52974e-07
2.62421e-07
-2.9758e-07
3.31514e-07
-6.21339e-07
6.24669e-07
-1.72533e-06
1.47227e-06
-1.46794e-06
1.23105e-06
7.22603e-07
-5.4349e-07
9.89207e-07
-7.90859e-07
1.04742e-06
-8.70962e-07
1.23699e-06
-1.01656e-06
1.33013e-06
-1.05715e-06
8.68703e-07
-6.34043e-07
3.40427e-07
-1.93129e-07
-1.56657e-07
2.54004e-07
-5.77967e-07
6.42181e-07
-7.9744e-07
8.1909e-07
-8.58291e-07
8.28375e-07
-8.21734e-07
7.3737e-07
-7.12174e-07
6.01549e-07
-5.65907e-07
4.51542e-07
-4.34366e-07
3.37383e-07
-3.44724e-07
2.54175e-07
-2.67819e-07
1.90466e-07
-2.04131e-07
1.39277e-07
-1.54633e-07
9.99912e-08
-1.16735e-07
7.15445e-08
-8.81832e-08
5.09935e-08
-6.68523e-08
3.64862e-08
-1.79526e-07
-1.34875e-07
2.6782e-07
8.87044e-07
-8.33673e-07
7.02911e-07
-8.14203e-07
-2.56674e-07
2.4786e-07
-3.51446e-07
3.61242e-07
-6.15906e-07
5.98959e-07
-1.23101e-06
1.01353e-06
-1.02022e-06
8.41098e-07
3.49859e-07
-1.73987e-07
6.01357e-07
-4.1532e-07
6.79479e-07
-4.673e-07
7.55134e-07
-4.492e-07
7.65619e-07
-4.41105e-07
3.98257e-07
-1.65992e-07
2.39305e-08
1.57929e-07
-3.67494e-07
4.89191e-07
-6.74162e-07
6.77325e-07
-7.94986e-07
7.48378e-07
-7.53789e-07
6.73762e-07
-6.3717e-07
5.40314e-07
-4.89213e-07
3.80644e-07
-3.51729e-07
2.32861e-07
-2.46733e-07
1.59835e-07
-1.64409e-07
4.86415e-08
-1.21384e-07
6.07226e-08
-8.15178e-08
1.78457e-08
-4.37651e-08
-2.78329e-08
-2.47255e-08
-2.45121e-08
-1.14606e-08
-3.34537e-08
-4.30778e-09
-2.92827e-08
-2.0236e-07
-3.96333e-07
5.33401e-07
7.64405e-07
-7.04804e-07
8.35338e-07
-9.53668e-07
-2.32817e-07
2.09246e-07
-3.61581e-07
3.53733e-07
-5.77687e-07
5.5187e-07
-8.55828e-07
7.36497e-07
-7.0031e-07
5.9092e-07
4.00016e-08
6.72444e-08
2.52568e-07
-1.03265e-07
2.65605e-07
-7.74259e-08
1.45514e-07
1.1152e-07
5.36034e-08
3.70604e-07
-2.09885e-08
3.07491e-07
-2.84347e-07
3.18584e-07
-5.44718e-07
5.74159e-07
-6.6376e-07
6.28301e-07
-6.85401e-07
6.06083e-07
-5.78351e-07
4.72366e-07
-4.34484e-07
3.24345e-07
-2.96677e-07
1.65649e-07
-1.30691e-07
7.41566e-09
-1.07068e-07
2.41942e-08
3.59351e-08
-6.24265e-08
2.38032e-08
-1.49341e-07
2.84596e-08
-9.09217e-08
8.00765e-08
-9.03293e-08
5.5783e-08
-9.17437e-08
7.3856e-08
-1.00645e-07
6.58081e-08
-9.53904e-08
-2.23936e-07
-6.6111e-07
8.03506e-07
6.3662e-07
-6.90688e-07
1.09845e-06
-1.39731e-06
-1.7115e-07
1.39787e-07
-3.39833e-07
3.21614e-07
-5.2555e-07
4.99084e-07
-6.52232e-07
5.8748e-07
-5.17817e-07
4.67933e-07
-1.4484e-07
2.06198e-07
-1.99686e-08
1.26664e-07
-7.38518e-08
2.0515e-07
-2.67676e-07
3.90656e-07
-5.46585e-07
6.13755e-07
-6.44462e-07
7.10735e-07
-4.18649e-07
6.03718e-07
-5.22571e-07
4.13268e-07
-6.26923e-07
6.36526e-07
-5.19622e-07
4.37569e-07
-3.60257e-07
2.70684e-07
-2.05523e-07
1.16446e-07
-5.90355e-08
-3.59436e-08
4.29111e-08
-1.05774e-07
6.54201e-08
-1.32534e-07
9.959e-08
-1.39976e-07
1.59865e-07
-1.43365e-07
1.00628e-07
-1.25531e-07
1.12415e-07
-1.15329e-07
1.44e-07
-1.18078e-07
1.1836e-07
-1.08342e-07
1.13059e-07
-9.91257e-08
-1.87306e-07
-9.81456e-07
1.05058e-06
1.00579e-06
-1.26652e-06
2.21874e-06
-2.91378e-06
-1.74526e-07
1.14448e-07
-3.04161e-07
2.88967e-07
-4.77287e-07
4.60923e-07
-5.42451e-07
5.10815e-07
-4.37907e-07
4.19126e-07
-2.50101e-07
2.80778e-07
-2.07575e-07
2.6785e-07
-3.07173e-07
3.88213e-07
-4.90134e-07
5.72016e-07
-6.97645e-07
7.32739e-07
-8.44862e-07
8.07114e-07
-6.30658e-07
8.77264e-07
-2.71438e-07
2.68954e-07
-5.46897e-07
3.14773e-07
-3.58654e-07
2.43515e-07
-2.07411e-07
9.61639e-08
-5.11911e-08
3.00199e-09
8.05495e-08
-8.97479e-08
1.58989e-07
-1.65828e-07
1.58019e-07
-1.6456e-07
1.49759e-07
-1.48346e-07
1.37985e-07
-1.31778e-07
1.24953e-07
-1.17616e-07
1.13145e-07
-1.05645e-07
1.01658e-07
-9.51272e-08
9.05217e-08
-8.49569e-08
8.06643e-08
-7.48725e-08
-1.13015e-07
1.34578e-07
-1.22069e-07
1.40152e-07
-1.59648e-07
1.74644e-07
-1.85992e-07
1.93795e-07
-1.49089e-07
1.40782e-07
-4.08164e-08
1.33469e-08
1.42873e-07
-1.66454e-07
1.66384e-07
-1.77916e-07
1.76811e-07
-2.10984e-07
-6.36796e-08
1.86647e-08
-2.2923e-07
2.96217e-07
-1.03115e-07
1.66327e-07
1.70219e-07
-1.73653e-07
1.14257e-07
-1.45484e-07
2.71758e-07
-3.20506e-07
2.37337e-07
-2.70353e-07
3.95985e-07
-3.70771e-07
1.48698e-07
-1.76457e-07
1.7793e-07
-2.20448e-07
-5.73869e-08
8.48205e-08
-8.05724e-08
3.39187e-08
-1.84678e-07
1.30972e-07
1.42662e-06
-1.00057e-06
-2.50005e-06
2.65152e-06
-7.28411e-06
7.51207e-06
3.37432e-06
-3.37178e-06
7.10139e-07
-7.19025e-07
2.47791e-06
-2.29875e-06
2.48067e-06
-2.68898e-06
-2.09244e-07
1.62372e-07
-1.57569e-07
1.82981e-07
-1.58726e-07
1.79129e-07
-1.87926e-07
2.00675e-07
-1.98268e-07
2.00448e-07
-1.29986e-07
1.17813e-07
1.14389e-08
-3.38993e-08
1.83173e-07
-1.90491e-07
1.85852e-07
-1.89266e-07
2.30443e-07
-2.38289e-07
2.61075e-08
-6.78725e-08
-3.51033e-07
3.9638e-07
-2.31546e-07
2.94955e-07
1.7049e-07
-1.70856e-07
1.30648e-07
-8.53985e-08
3.25784e-07
-3.86217e-07
3.41759e-07
-4.99331e-07
3.4199e-07
-3.13675e-07
2.1166e-07
-2.52745e-07
2.64081e-07
-3.09157e-07
-1.06924e-07
1.18265e-07
-8.16946e-09
4.18642e-09
-1.45081e-08
-1.71753e-07
7.5857e-07
-3.41019e-07
-2.77354e-06
2.88117e-06
-7.67823e-06
7.79409e-06
3.34054e-06
-3.28214e-06
7.49977e-07
-7.9869e-07
2.14272e-06
-2.01803e-06
2.20827e-06
-2.43343e-06
3.33472e-07
2.81657e-07
-2.07418e-07
2.3095e-07
-1.99337e-07
2.20078e-07
-2.12177e-07
2.23523e-07
-2.01194e-07
2.01628e-07
-1.07165e-07
9.90545e-08
5.04543e-08
-6.01436e-08
1.89985e-07
-1.84663e-07
1.88153e-07
-1.82821e-07
2.34503e-07
-2.20018e-07
9.99987e-08
-1.24911e-07
-4.31402e-07
4.57529e-07
-3.41393e-07
3.65452e-07
1.8045e-07
-2.01966e-07
1.97382e-08
6.11665e-08
3.46289e-07
-2.33418e-07
6.85229e-07
-7.66697e-07
3.6138e-07
-6.10489e-07
2.84722e-07
-3.00702e-07
3.4869e-07
-3.82596e-07
-1.11691e-07
7.93312e-08
-2.5005e-08
7.00061e-08
4.56946e-07
-1.17694e-06
1.82276e-07
1.16065e-07
-2.96702e-06
3.04691e-06
-7.84419e-06
7.82763e-06
3.20015e-06
-3.088e-06
8.59871e-07
-9.3225e-07
1.93184e-06
-1.87356e-06
2.42492e-06
-2.47099e-06
5.76069e-07
-1.12125e-06
-2.49717e-07
2.63553e-07
-2.38399e-07
2.5429e-07
-2.3377e-07
2.43357e-07
-2.02571e-07
2.04614e-07
-9.53438e-08
9.63653e-08
6.11687e-08
-5.38636e-08
1.74613e-07
-1.58905e-07
1.72549e-07
-1.60497e-07
2.00673e-07
-1.77069e-07
1.37484e-07
-1.37968e-07
-4.7151e-07
4.73875e-07
-3.63995e-07
3.35366e-07
2.33773e-07
-2.80536e-07
-1.3967e-07
2.1865e-07
1.35154e-07
-7.71907e-08
6.0302e-07
-6.06816e-07
1.26313e-06
-1.22768e-06
3.01288e-07
-3.81592e-07
3.97435e-07
-3.77278e-07
-1.0761e-08
-1.07386e-07
-1.54259e-07
2.34198e-07
1.38358e-06
-2.34942e-06
-6.82536e-07
1.32402e-06
-3.11056e-06
3.16015e-06
-7.74355e-06
7.5755e-06
2.95137e-06
-2.77567e-06
1.00678e-06
-1.08224e-06
1.84271e-06
-1.83048e-06
2.55126e-06
-2.62347e-06
1.46297e-06
-1.6808e-06
-2.70576e-07
2.71533e-07
-2.65033e-07
2.7073e-07
-2.5085e-07
2.56077e-07
-2.07647e-07
2.1155e-07
-1.01927e-07
1.11858e-07
3.97255e-08
-1.8959e-08
1.38391e-07
-1.11983e-07
1.46995e-07
-1.30496e-07
1.51711e-07
-1.1766e-07
1.27019e-07
-1.02983e-07
-4.64653e-07
4.44345e-07
-2.87042e-07
2.23833e-07
3.29086e-07
-3.66721e-07
-2.6302e-07
2.97857e-07
4.48921e-08
-2.2408e-08
5.80081e-07
-5.6659e-07
9.61953e-07
-7.56844e-07
6.49805e-07
-1.1363e-06
3.37011e-07
-3.225e-07
2.33137e-07
-3.31424e-07
-4.18985e-07
2.57184e-07
2.85455e-06
-2.31158e-06
-1.93024e-06
2.53709e-06
-3.18157e-06
3.16618e-06
-7.33332e-06
7.01306e-06
2.56572e-06
-2.30791e-06
1.14968e-06
-1.20912e-06
1.83065e-06
-1.83607e-06
2.66318e-06
-2.67898e-06
1.7968e-06
-1.8545e-06
-2.67539e-07
2.59952e-07
-2.71114e-07
2.67187e-07
-2.58228e-07
2.57505e-07
-2.1544e-07
2.18998e-07
-1.24139e-07
1.38334e-07
-5.21089e-09
3.26221e-08
8.26434e-08
-5.04175e-08
1.15313e-07
-9.80754e-08
1.17657e-07
-1.2409e-07
5.77099e-08
-7.67384e-08
-4.15998e-07
3.79714e-07
-1.49129e-07
6.65138e-08
3.98141e-07
-4.25829e-07
-2.66757e-07
1.93642e-07
-1.97252e-08
2.4878e-08
5.44383e-07
-4.89701e-07
6.43662e-07
-5.03166e-07
1.11672e-06
-1.10902e-06
3.67003e-07
-4.48144e-07
2.99582e-07
-2.52353e-07
-3.80183e-08
-1.35181e-06
2.46879e-06
-2.1609e-06
-3.02804e-06
3.53625e-06
-3.10346e-06
2.98094e-06
-6.65007e-06
6.21565e-06
2.02715e-06
-1.6929e-06
1.25581e-06
-1.2952e-06
1.84048e-06
-1.84036e-06
2.67506e-06
-2.65551e-06
1.87314e-06
-1.86429e-06
-2.51095e-07
2.41189e-07
-2.60639e-07
2.52596e-07
-2.54544e-07
2.49997e-07
-2.21536e-07
2.23186e-07
-1.51938e-07
1.64953e-07
-5.8969e-08
8.45197e-08
1.9115e-08
1.21718e-08
7.32311e-08
-4.11397e-08
9.82043e-08
-5.53002e-08
1.83074e-08
-2.5655e-09
-3.40046e-07
2.95856e-07
1.39709e-08
-9.5761e-08
4.49263e-07
-4.71595e-07
-1.16213e-07
4.04848e-08
-2.66619e-08
5.97867e-08
4.47299e-07
-4.1892e-07
4.2172e-07
-3.97041e-07
9.75337e-07
-8.65629e-07
4.91243e-07
-5.14206e-07
2.42354e-07
-1.79578e-07
1.29907e-06
-1.47922e-06
2.35657e-06
-2.35222e-06
-3.97703e-06
4.39667e-06
-2.80773e-06
2.58056e-06
-5.747e-06
5.20487e-06
1.32697e-06
-9.01999e-07
1.32411e-06
-1.32628e-06
1.83498e-06
-1.82108e-06
2.62608e-06
-2.58741e-06
1.83691e-06
-1.79537e-06
-2.31804e-07
2.22795e-07
-2.44553e-07
2.36493e-07
-2.45112e-07
2.40014e-07
-2.24014e-07
2.24325e-07
-1.75717e-07
1.84798e-07
-1.05998e-07
1.24439e-07
-3.95443e-08
6.40253e-08
7.32449e-09
2.10748e-08
1.79036e-08
-2.13093e-09
-1.15213e-08
8.13843e-08
-2.45015e-07
1.65794e-07
1.74095e-07
-2.60121e-07
4.92471e-07
-5.1263e-07
2.23903e-08
-7.89833e-08
-9.25298e-08
1.15974e-07
3.83772e-07
-3.4095e-07
3.74157e-07
-3.16569e-07
7.81757e-07
-7.17602e-07
4.90632e-07
-4.48975e-07
1.9024e-07
-2.90679e-07
1.47405e-06
-1.46714e-06
2.34054e-06
-2.13025e-06
-4.77205e-06
5.09666e-06
-2.32998e-06
2.04573e-06
-4.64401e-06
4.04893e-06
4.60979e-07
-2.6828e-09
1.30883e-06
-1.27457e-06
1.80027e-06
-1.77239e-06
2.54438e-06
-2.49458e-06
1.74646e-06
-1.6894e-06
-2.14595e-07
2.06456e-07
-2.29526e-07
2.22842e-07
-2.35328e-07
2.30951e-07
-2.24173e-07
2.23439e-07
-1.91441e-07
1.96212e-07
-1.38295e-07
1.49015e-07
-8.33235e-08
9.983e-08
-4.32637e-08
6.17693e-08
-1.87991e-08
3.6332e-08
-1.23615e-07
2.17644e-07
-4.886e-08
-1.71728e-07
3.46766e-07
-4.34197e-07
5.28155e-07
-5.37468e-07
1.25228e-07
-1.66291e-07
-1.15694e-07
1.06153e-07
3.01892e-07
-2.61899e-07
2.34016e-07
-1.70102e-07
6.79706e-07
-6.3397e-07
4.25663e-07
-4.37541e-07
6.16996e-07
-8.66244e-07
1.38396e-06
-1.34354e-06
1.85837e-06
-1.53794e-06
-5.36846e-06
5.61241e-06
-1.75381e-06
1.43503e-06
-3.51487e-06
3.04363e-06
-3.89638e-07
7.00826e-07
1.2311e-06
-1.17697e-06
1.74068e-06
-1.70338e-06
2.44254e-06
-2.3837e-06
1.63008e-06
-1.56523e-06
-1.98887e-07
1.91012e-07
-2.16797e-07
2.10131e-07
-2.26751e-07
2.21439e-07
-2.21697e-07
2.18207e-07
-1.98643e-07
1.98074e-07
-1.56454e-07
1.62433e-07
-1.12838e-07
1.24434e-07
-7.86722e-08
9.00112e-08
-3.77185e-08
2.55042e-08
-2.44387e-07
2.21224e-07
2.69814e-07
-2.98645e-07
4.95215e-07
-5.29652e-07
5.36282e-07
-5.24225e-07
1.98752e-07
-2.27202e-07
-9.14644e-08
6.71276e-08
2.32888e-07
-2.06865e-07
1.44649e-07
-1.33682e-07
5.75354e-07
-5.02122e-07
4.65235e-07
-5.0062e-07
1.07065e-06
-1.40281e-06
1.15256e-06
-8.94636e-07
1.24664e-06
-9.28744e-07
-5.81353e-06
5.984e-06
-1.12146e-06
7.99203e-07
-2.69604e-06
2.44087e-06
-8.85728e-07
9.63442e-07
1.12016e-06
-1.0567e-06
1.66419e-06
-1.62054e-06
2.32456e-06
-2.262e-06
1.50056e-06
-1.43149e-06
-1.81433e-07
1.70617e-07
-2.01183e-07
1.88998e-07
-2.14303e-07
2.04214e-07
-2.1238e-07
2.04548e-07
-1.937e-07
1.89043e-07
-1.67944e-07
1.70478e-07
-1.33563e-07
1.38008e-07
-9.65523e-08
1.00629e-07
-2.27284e-08
2.80571e-08
-1.44907e-07
1.05398e-07
3.05932e-07
-3.12071e-07
5.42624e-07
-5.40359e-07
5.03905e-07
-4.77966e-07
2.51198e-07
-2.76228e-07
-2.61652e-08
-2.18007e-08
1.96105e-07
-1.90605e-07
1.26837e-07
-1.27778e-07
4.24867e-07
-3.45279e-07
5.34755e-07
-5.91364e-07
1.64409e-06
-1.69348e-06
6.41363e-07
-4.30293e-07
6.26217e-07
-3.44926e-07
-6.10764e-06
6.18183e-06
-5.05825e-07
2.36873e-07
-2.27657e-06
2.14671e-06
-9.55003e-07
8.94796e-07
9.94086e-07
-9.27279e-07
1.57625e-06
-1.52825e-06
2.20068e-06
-2.13483e-06
1.36363e-06
-1.29187e-06
-1.59573e-07
1.50249e-07
-1.76759e-07
1.63609e-07
-1.90415e-07
1.76976e-07
-1.94779e-07
1.83151e-07
-1.82493e-07
1.75578e-07
-1.7191e-07
1.74068e-07
-1.43593e-07
1.49024e-07
-1.03871e-07
8.62834e-08
-6.06088e-08
1.08613e-07
-6.0884e-08
2.36581e-08
3.34745e-07
-3.65744e-07
5.24199e-07
-4.88771e-07
4.55401e-07
-4.6051e-07
3.05931e-07
-3.44745e-07
6.13829e-08
-1.20906e-07
1.90338e-07
-2.05913e-07
1.3544e-07
-1.39529e-07
2.69899e-07
-1.91332e-07
6.6715e-07
-6.84623e-07
1.47775e-06
-1.01308e-06
3.03799e-07
-3.15424e-07
1.32654e-07
1.40537e-07
-6.18961e-06
6.10715e-06
-3.2666e-08
-1.05707e-07
-2.03165e-06
1.91057e-06
-8.18086e-07
7.39452e-07
8.63421e-07
-7.97072e-07
1.48046e-06
-1.42942e-06
2.06915e-06
-1.99826e-06
1.22196e-06
-1.14846e-06
-1.37585e-07
1.23343e-07
-1.51283e-07
1.37335e-07
-1.64194e-07
1.50015e-07
-1.71636e-07
1.57923e-07
-1.67027e-07
1.56538e-07
-1.72135e-07
1.64546e-07
-1.5894e-07
1.64865e-07
-9.39577e-08
1.08803e-07
-1.24238e-07
1.37908e-07
-1.91169e-08
2.66639e-08
3.68447e-07
-3.45992e-07
3.90494e-07
-2.51274e-07
4.88193e-07
-5.31489e-07
3.88936e-07
-4.42084e-07
1.88999e-07
-2.62549e-07
2.26869e-07
-2.54571e-07
1.43189e-07
-1.4591e-07
1.12804e-07
-2.27593e-08
6.14538e-07
-5.45766e-07
6.8794e-07
-4.34043e-07
2.4152e-07
-8.0499e-08
-2.89444e-07
3.78824e-07
-5.86406e-06
5.46913e-06
1.46265e-07
-1.61219e-07
-1.79053e-06
1.66052e-06
-6.74496e-07
6.20044e-07
7.34952e-07
-6.71556e-07
1.37924e-06
-1.32615e-06
1.92806e-06
-1.85297e-06
1.07742e-06
-1.00322e-06
-1.0985e-07
9.65732e-08
-1.234e-07
1.09364e-07
-1.35856e-07
1.21633e-07
-1.44693e-07
1.3195e-07
-1.48535e-07
1.40223e-07
-1.57615e-07
1.52284e-07
-1.63695e-07
1.6152e-07
-1.25425e-07
1.32531e-07
-1.39999e-07
1.47289e-07
-5.38219e-08
8.94126e-08
3.33728e-07
-3.24028e-07
1.91466e-07
-2.32722e-07
5.28355e-07
-4.93779e-07
4.92255e-07
-5.26554e-07
3.31611e-07
-4.05199e-07
2.89142e-07
-3.34077e-07
1.46893e-07
-1.44054e-07
-7.64766e-08
2.05773e-07
4.54652e-07
-2.84163e-07
2.80896e-07
-1.28333e-07
-1.0353e-07
2.2993e-07
-4.15536e-07
4.9348e-07
-5.11964e-06
4.72729e-06
5.37276e-08
7.63398e-08
-1.53058e-06
1.39864e-06
-5.78187e-07
5.42774e-07
6.1303e-07
-5.5419e-07
1.2744e-06
-1.22006e-06
1.77919e-06
-1.70088e-06
9.32079e-07
-8.58433e-07
-8.49583e-08
7.43393e-08
-9.70089e-08
8.5716e-08
-1.09183e-07
9.78776e-08
-1.20934e-07
1.10986e-07
-1.32821e-07
1.25963e-07
-1.4829e-07
1.44785e-07
-1.59675e-07
1.59437e-07
-1.41553e-07
1.46849e-07
-1.47671e-07
1.51251e-07
-1.15243e-07
1.22572e-07
3.21243e-07
-3.13535e-07
2.51312e-07
-2.49781e-07
4.61757e-07
-4.44617e-07
5.55706e-07
-5.86948e-07
4.71527e-07
-5.33471e-07
3.85128e-07
-4.43811e-07
1.37101e-07
-1.2484e-07
-3.68972e-07
5.76548e-07
5.9281e-08
1.38344e-07
1.2218e-07
-1.14334e-07
-3.08572e-07
4.57333e-07
-5.70398e-07
6.7258e-07
-4.31061e-06
3.93898e-06
-1.80198e-07
2.3374e-07
-1.27898e-06
1.16328e-06
-5.14195e-07
4.8892e-07
5.00611e-07
-4.47547e-07
1.16746e-06
-1.11262e-06
1.62453e-06
-1.54414e-06
7.88545e-07
-7.16975e-07
-6.56378e-08
5.81135e-08
-7.64619e-08
6.84141e-08
-8.86791e-08
8.07629e-08
-1.02967e-07
9.62671e-08
-1.20434e-07
1.16066e-07
-1.4224e-07
1.40752e-07
-1.616e-07
1.64646e-07
-1.58252e-07
1.665e-07
-1.52152e-07
1.56063e-07
-1.13677e-07
9.73942e-08
2.71941e-07
-2.27183e-07
2.48424e-07
-2.59909e-07
4.48237e-07
-4.69577e-07
6.21045e-07
-6.60658e-07
5.8675e-07
-6.37763e-07
5.00509e-07
-5.51014e-07
1.10014e-07
-9.81985e-08
-7.89696e-07
1.00539e-06
-4.07372e-07
7.97812e-07
9.78571e-08
-1.45957e-07
-6.57162e-07
8.94387e-07
-5.98202e-07
3.38901e-07
-3.59628e-06
3.41582e-06
-2.48679e-07
2.33388e-07
-1.0603e-06
9.61484e-07
-4.67795e-07
4.48761e-07
3.99856e-07
-3.53391e-07
1.05985e-06
-1.00515e-06
1.46636e-06
-1.3851e-06
6.49793e-07
-5.81834e-07
-5.21492e-08
4.68797e-08
-6.18967e-08
5.57752e-08
-7.44865e-08
6.88243e-08
-9.13966e-08
8.78255e-08
-1.13565e-07
1.13283e-07
-1.40785e-07
1.42569e-07
-1.68659e-07
1.74459e-07
-1.72977e-07
1.77374e-07
-1.53395e-07
1.52349e-07
-7.8931e-08
6.62175e-08
1.61995e-07
-1.30041e-07
2.78409e-07
-2.97278e-07
5.00069e-07
-5.32809e-07
7.01888e-07
-7.46247e-07
6.80449e-07
-7.10357e-07
5.58649e-07
-5.27762e-07
4.88687e-08
4.66396e-08
-1.08802e-06
1.22209e-06
-1.01336e-06
1.22426e-06
2.02405e-07
-3.02753e-07
-1.08053e-06
1.2482e-06
4.1982e-08
-4.16037e-07
-3.41096e-06
3.50519e-06
-1.89464e-07
1.19182e-07
-8.7428e-07
7.91657e-07
-4.32338e-07
4.16925e-07
3.12331e-07
-2.73137e-07
9.52878e-07
-8.99066e-07
1.30718e-06
-1.22653e-06
5.18931e-07
-4.56305e-07
-4.19476e-08
3.57935e-08
-4.92232e-08
3.92394e-08
-6.3157e-08
5.53995e-08
-8.53059e-08
8.16892e-08
-1.16331e-07
1.20322e-07
-1.50189e-07
1.59726e-07
-1.77014e-07
1.97256e-07
-1.79478e-07
1.82909e-07
-1.54736e-07
1.53204e-07
-6.5592e-08
6.65937e-08
1.1033e-07
-1.06135e-07
3.15684e-07
-3.32914e-07
5.60311e-07
-5.81334e-07
7.88962e-07
-8.1986e-07
7.63216e-07
-7.03278e-07
5.00817e-07
-4.40544e-07
-1.93406e-07
3.6464e-07
-1.35271e-06
1.38401e-06
-1.39396e-06
1.55992e-06
3.67145e-07
-4.13939e-07
-1.42805e-06
1.51101e-06
7.41789e-07
-1.02977e-06
-3.71492e-06
3.98214e-06
-4.26394e-08
-1.56913e-08
-7.20304e-07
6.54923e-07
-4.02922e-07
3.89209e-07
2.39195e-07
-2.07608e-07
8.48057e-07
-7.96112e-07
1.14992e-06
-1.07147e-06
3.99351e-07
-3.43848e-07
-2.71233e-08
2.12879e-08
-2.22716e-08
5.76848e-10
-4.58992e-08
4.01405e-08
-7.54827e-08
3.68649e-08
-1.33128e-07
1.43904e-07
-1.75938e-07
1.97745e-07
-2.13189e-07
2.27791e-07
-1.89445e-07
2.02751e-07
-1.51011e-07
1.52852e-07
-6.35696e-08
5.39403e-08
1.13031e-07
-1.24893e-07
3.41867e-07
-3.40197e-07
5.89133e-07
-5.80861e-07
8.23131e-07
-7.27715e-07
6.74732e-07
-7.10131e-07
3.52637e-07
-2.25944e-07
-5.02562e-07
6.23719e-07
-1.40507e-06
1.59726e-06
-1.58218e-06
1.48577e-06
4.63324e-07
-4.44786e-07
-1.48926e-06
1.46348e-06
1.09392e-06
-9.51316e-07
-4.0475e-06
3.71117e-06
-1.44899e-08
9.10463e-08
-6.00678e-07
5.53625e-07
-3.76325e-07
3.63294e-07
1.80868e-07
-1.56653e-07
7.47578e-07
-6.98858e-07
9.97709e-07
-9.23054e-07
2.94505e-07
-2.47749e-07
-3.71909e-08
4.19747e-08
-1.1548e-08
1.39927e-08
-1.33069e-08
2.30483e-09
2.73637e-08
2.87278e-10
-1.23425e-07
8.25156e-08
-1.83953e-07
1.49716e-07
-2.32272e-07
1.91948e-07
-2.05253e-07
1.82577e-07
-1.46856e-07
1.25257e-07
-3.71621e-08
1.46105e-08
1.34841e-07
-1.39256e-07
3.26989e-07
-3.04262e-07
5.4654e-07
-4.8745e-07
5.94828e-07
-5.2563e-07
6.9517e-07
-5.98739e-07
6.30533e-08
1.37367e-07
-7.60276e-07
9.1935e-07
-1.70929e-06
1.75435e-06
-1.26132e-06
9.14318e-07
3.94834e-07
-3.25196e-07
-1.40443e-06
1.23288e-06
7.14632e-07
-4.91016e-07
-3.21378e-06
2.69132e-06
-1.75497e-07
2.52545e-07
-5.15395e-07
4.81927e-07
-3.50615e-07
3.37135e-07
1.36649e-07
-1.19079e-07
6.53499e-07
-6.07962e-07
8.53757e-07
-7.84564e-07
2.07359e-07
-1.70126e-07
-8.04082e-08
1.22195e-07
9.37422e-08
-2.36966e-08
8.13369e-09
-6.52142e-08
-2.32645e-08
-6.46144e-08
-3.91436e-08
5.05026e-08
-1.3613e-07
1.24337e-07
-1.58956e-07
1.28361e-07
-1.51728e-07
1.13992e-07
-9.55253e-08
6.1755e-08
6.80179e-09
-2.43769e-08
1.37199e-07
-1.29409e-07
2.80947e-07
-2.63887e-07
4.28865e-07
-3.24361e-07
5.38841e-07
-4.70336e-07
4.37097e-07
-2.45354e-07
-3.46619e-07
5.70983e-07
-1.0664e-06
1.21604e-06
-1.71437e-06
1.56415e-06
-5.05469e-07
7.80224e-08
2.56308e-07
-2.21534e-07
-1.00559e-06
7.83044e-07
2.30062e-07
-3.67645e-09
-2.25794e-06
1.88823e-06
-3.1387e-07
3.62522e-07
-4.54581e-07
4.29896e-07
-3.23355e-07
3.07885e-07
1.04943e-07
-9.28095e-08
5.65726e-07
-5.23526e-07
7.21346e-07
-6.59349e-07
1.38521e-07
-1.0979e-07
-1.52582e-07
1.66555e-07
-5.03678e-08
9.78965e-08
1.2454e-08
3.91034e-08
2.65131e-08
1.74847e-08
-4.31954e-08
3.40195e-08
-7.96063e-08
5.03662e-08
-8.58387e-08
5.33849e-08
-7.45865e-08
4.27702e-08
-3.24603e-08
1.05626e-08
3.51618e-08
-4.03334e-08
1.16917e-07
-1.01202e-07
2.38997e-07
-1.9941e-07
2.69406e-07
-1.84036e-07
3.39131e-07
-1.92857e-07
5.80353e-08
1.24958e-07
-7.75584e-07
9.59084e-07
-1.35288e-06
1.45137e-06
-1.29106e-06
9.51564e-07
2.71725e-07
-5.8417e-07
2.42066e-07
-2.73935e-07
-6.2685e-07
5.16766e-07
-1.69025e-07
3.09593e-07
-1.59359e-06
1.32285e-06
-3.94118e-07
4.12125e-07
-4.08921e-07
3.88966e-07
-2.917e-07
2.73575e-07
8.29895e-08
-7.43e-08
4.846e-07
-4.45924e-07
6.03666e-07
-5.49669e-07
8.57979e-08
-6.44292e-08
-1.6669e-07
1.56539e-07
-1.16889e-07
1.20676e-07
-6.92202e-08
8.50423e-08
-4.23912e-08
5.94843e-08
-3.80755e-08
4.59593e-08
-3.96204e-08
3.84441e-08
-3.66881e-08
3.05975e-08
-2.50394e-08
1.77254e-08
1.07841e-09
-4.79613e-09
4.09203e-08
-3.73396e-08
8.66701e-08
-7.12657e-08
1.50668e-07
-9.62467e-08
9.80818e-08
-5.5474e-09
4.29713e-08
1.06754e-07
-3.07447e-07
5.08761e-07
-1.07718e-06
1.15573e-06
-1.44908e-06
1.3616e-06
-6.2924e-07
3.52954e-07
8.35888e-07
-1.04171e-06
3.0702e-07
-3.45575e-07
-4.28772e-07
3.25707e-07
-4.28685e-07
5.32972e-07
-1.09873e-06
9.30725e-07
-4.19423e-07
4.19429e-07
-3.70963e-07
3.52835e-07
-2.55573e-07
2.36982e-07
6.68947e-08
-6.00089e-08
4.10456e-07
-3.75445e-07
5.01257e-07
-4.54384e-07
4.69946e-08
-3.19023e-08
-1.39756e-07
1.19284e-07
-1.14631e-07
1.03061e-07
-8.90342e-08
8.5893e-08
-6.79821e-08
7.00672e-08
-5.29095e-08
5.65222e-08
-4.17613e-08
4.49585e-08
-3.12464e-08
3.41379e-08
-1.80208e-08
2.24083e-08
1.42485e-09
7.64727e-09
2.80099e-08
-1.09273e-08
5.43626e-08
-2.97787e-08
6.19286e-08
-4.2233e-08
-3.98525e-08
4.0597e-08
-2.42561e-07
3.2521e-07
-7.10899e-07
8.92969e-07
-1.21346e-06
1.21959e-06
-1.20201e-06
1.06396e-06
-1.69311e-07
4.17488e-08
1.18278e-06
-1.22912e-06
3.71976e-07
-3.68478e-07
-2.46058e-07
1.81213e-07
-5.78102e-07
5.57133e-07
-7.98189e-07
6.78182e-07
-4.12306e-07
3.98066e-07
-3.3564e-07
3.17671e-07
-2.19805e-07
2.02831e-07
5.38661e-08
-4.7917e-08
3.4357e-07
-3.12362e-07
4.12451e-07
-3.7191e-07
1.99728e-08
-1.00324e-08
-9.94864e-08
7.84259e-08
-8.92059e-08
7.16227e-08
-7.76354e-08
6.35161e-08
-6.58847e-08
5.48016e-08
-5.46978e-08
4.61971e-08
-4.45339e-08
3.85097e-08
-3.53308e-08
3.23483e-08
-2.67511e-08
2.83093e-08
-1.79384e-08
2.67157e-08
-8.08465e-09
2.74667e-08
3.9326e-09
2.70862e-08
2.70241e-08
4.57521e-09
-1.70505e-08
-9.28924e-10
-3.28893e-07
2.74464e-07
-1.02832e-06
1.08601e-06
-1.18943e-06
1.14192e-06
-9.702e-07
8.03911e-07
1.06428e-07
-2.0882e-07
1.14616e-06
-9.13991e-07
3.47159e-07
-3.18059e-07
-1.34154e-07
8.5595e-08
-4.9319e-07
4.03209e-07
-5.77778e-07
4.88598e-07
-3.79287e-07
3.55947e-07
-3.00299e-07
2.82119e-07
-1.87605e-07
1.72919e-07
4.24574e-08
-3.70768e-08
2.84217e-07
-2.56966e-07
3.358e-07
-3.01204e-07
2.50626e-09
3.44083e-09
-5.57833e-08
2.83934e-08
-5.04113e-08
2.34498e-08
-4.41299e-08
1.82334e-08
-3.75466e-08
1.33786e-08
-3.13963e-08
9.6813e-09
-2.65966e-08
8.07416e-09
-2.4067e-08
9.5306e-09
-2.49277e-08
1.53157e-08
-3.03963e-08
2.70253e-08
-4.16813e-08
4.66267e-08
-5.65141e-08
7.33893e-08
-5.11984e-08
8.72904e-08
-4.09963e-09
5.89754e-08
-1.58405e-07
-2.60749e-09
-1.03209e-06
7.8832e-07
-1.04846e-06
9.7628e-07
-5.34299e-07
4.17303e-07
2.05293e-07
-2.4998e-08
6.03165e-07
-3.84739e-07
3.11098e-07
-2.81824e-07
-4.10019e-08
-1.68474e-09
-3.16329e-07
2.39327e-07
-4.1372e-07
3.47684e-07
-3.3146e-07
3.05177e-07
-2.64755e-07
2.46994e-07
-1.60016e-07
1.47825e-07
3.2131e-08
-2.73017e-08
2.32725e-07
-2.09629e-07
2.70771e-07
-2.42061e-07
-7.66409e-09
1.07337e-08
1.60865e-09
-3.52402e-08
6.92435e-09
-4.15189e-08
1.15603e-08
-4.54598e-08
1.48856e-08
-4.68959e-08
1.61293e-08
-4.53688e-08
1.45497e-08
-4.04266e-08
9.24397e-09
-3.13688e-08
-8.41986e-10
-1.74959e-08
-1.72179e-08
2.24877e-09
-4.20169e-08
2.93217e-08
-7.65954e-08
6.5067e-08
-1.12362e-07
1.05779e-07
-1.06157e-07
1.23436e-07
5.62623e-08
5.29825e-08
-4.41503e-07
1.95145e-07
-8.17508e-07
5.7521e-07
-4.49418e-07
4.85826e-07
-1.69505e-07
2.89054e-07
1.92516e-07
-6.54729e-08
2.40566e-07
-1.84385e-07
3.23448e-08
-4.8264e-08
-1.81845e-07
1.38456e-07
-2.94834e-07
2.49778e-07
-2.80262e-07
2.55785e-07
-2.30529e-07
2.1432e-07
-1.37343e-07
1.27685e-07
2.29604e-08
-1.88546e-08
1.89489e-07
-1.70782e-07
2.17273e-07
-1.94436e-07
-1.26984e-08
1.39307e-08
7.00867e-08
-9.78131e-08
7.71339e-08
-1.04207e-07
7.96078e-08
-1.05337e-07
7.79749e-08
-1.00923e-07
7.27291e-08
-9.26809e-08
6.4087e-08
-8.13259e-08
5.16264e-08
-6.68013e-08
3.48315e-08
-4.85994e-08
1.29164e-08
-2.59161e-08
-1.49172e-08
1.69343e-09
-4.94159e-08
3.45485e-08
-8.87182e-08
7.18395e-08
-1.1969e-07
1.08823e-07
-1.17329e-07
1.37864e-07
-1.66984e-07
1.82248e-07
-3.70852e-07
2.8433e-07
-4.59788e-07
3.91362e-07
-3.10696e-07
2.98135e-07
-1.23285e-08
4.42692e-08
1.41283e-07
-9.91947e-08
4.89911e-08
-3.81275e-08
-1.09943e-07
9.11915e-08
-2.14912e-07
1.86365e-07
-2.33535e-07
2.12949e-07
-1.99974e-07
1.86643e-07
-1.19636e-07
1.12527e-07
1.53146e-08
-1.21041e-08
1.54991e-07
-1.40923e-07
1.75316e-07
-1.58413e-07
-1.45729e-08
1.48433e-08
1.12161e-07
-9.88472e-08
1.17684e-07
-1.08079e-07
1.1774e-07
-1.12989e-07
1.1152e-07
-1.11398e-07
1.0149e-07
-1.04133e-07
8.87717e-08
-9.27553e-08
7.36974e-08
-7.83664e-08
5.57305e-08
-6.0975e-08
3.3806e-08
-3.97736e-08
7.39177e-09
-1.43504e-08
-2.37447e-08
1.55215e-08
-5.92975e-08
4.98043e-08
-9.78053e-08
8.81891e-08
-1.37683e-07
1.30546e-07
-1.86377e-07
1.7928e-07
-2.5566e-07
2.35216e-07
-3.29348e-07
2.80941e-07
-2.618e-07
2.26613e-07
-5.93568e-08
7.43221e-08
5.96929e-08
-2.19463e-08
2.1616e-08
-3.00335e-09
-8.07395e-08
7.51688e-08
-1.65361e-07
1.4934e-07
-1.96222e-07
1.82411e-07
-1.75692e-07
1.66535e-07
-1.0695e-07
1.02486e-07
9.458e-09
-7.17982e-09
1.29693e-07
-1.20433e-07
1.45082e-07
-1.34302e-07
-1.48778e-08
1.47567e-08
7.96165e-08
-7.21349e-08
8.62615e-08
-7.59232e-08
9.11005e-08
-7.84803e-08
9.24487e-08
-7.9866e-08
8.97534e-08
-7.96438e-08
8.34295e-08
-7.6843e-08
7.34193e-08
-7.01868e-08
5.95425e-08
-5.90339e-08
4.12288e-08
-4.28004e-08
1.81139e-08
-2.121e-08
-1.00812e-08
5.86e-09
-4.32756e-08
3.86197e-08
-8.11932e-08
7.65792e-08
-1.23318e-07
1.18326e-07
-1.6948e-07
1.61987e-07
-2.16393e-07
2.02093e-07
-2.46324e-07
2.22805e-07
-2.03083e-07
1.87974e-07
-8.83154e-08
9.83424e-08
-7.30997e-09
2.68661e-08
-1.22242e-08
2.25254e-08
-7.27072e-08
7.14477e-08
-1.38785e-07
1.3215e-07
-1.7286e-07
1.66957e-07
-1.6022e-07
1.56725e-07
-9.95502e-08
9.80603e-08
5.45005e-09
-4.1607e-09
1.13878e-07
-1.09595e-07
1.2692e-07
-1.22326e-07
-1.4563e-08
1.43689e-08
-2.23451e-08
3.70012e-08
-4.71245e-08
5.66576e-08
-6.88042e-08
7.50427e-08
-8.02596e-08
7.99521e-08
-7.7341e-08
6.96045e-08
-5.94781e-08
4.75302e-08
-3.21054e-08
1.79708e-08
-2.32733e-09
-1.09363e-08
2.2878e-08
-3.15628e-08
3.73851e-08
-3.96322e-08
3.95403e-08
-3.78043e-08
3.50334e-08
-3.19323e-08
2.84866e-08
-2.53331e-08
2.21598e-08
-1.93991e-08
1.67124e-08
-1.4379e-08
1.2139e-08
-1.02138e-08
8.38439e-09
-6.82865e-09
5.37278e-09
-4.15268e-09
3.02879e-09
-2.102e-09
1.26329e-09
-5.82672e-10
-2.09539e-11
4.99136e-10
-9.12896e-10
1.22705e-09
-1.48358e-09
1.66089e-09
-1.78899e-09
1.86059e-09
-1.89178e-09
1.8848e-09
-1.84617e-09
1.7867e-09
-1.70491e-09
1.61596e-09
-1.51271e-09
1.41024e-09
-1.3007e-09
1.197e-09
-1.89691e-08
3.69254e-08
-5.03332e-08
6.20922e-08
-7.92897e-08
8.81414e-08
-9.70502e-08
1.00344e-07
-1.0104e-07
9.70297e-08
-9.00611e-08
8.12432e-08
-6.83908e-08
5.63779e-08
-4.15563e-08
2.81903e-08
-1.49123e-08
3.51807e-09
6.6645e-09
-1.38691e-08
1.89874e-08
-2.17464e-08
2.3069e-08
-2.32112e-08
2.25385e-08
-2.14715e-08
1.99757e-08
-1.84024e-08
1.65959e-08
-1.48223e-08
1.29431e-08
-1.11982e-08
9.44066e-09
-7.87145e-09
6.34341e-09
-5.01922e-09
3.764e-09
-2.69979e-09
1.71045e-09
-8.86518e-10
1.35784e-10
4.736e-10
-1.01324e-09
1.43765e-09
-1.79419e-09
2.0535e-09
-2.24857e-09
2.36692e-09
-2.42604e-09
2.42965e-09
-2.38562e-09
2.30681e-09
-2.19303e-09
2.06303e-09
-1.91036e-09
1.75611e-09
-1.58961e-09
1.43212e-09
-1.59157e-08
3.38558e-08
-4.71121e-08
5.90309e-08
-7.70347e-08
8.61041e-08
-9.57396e-08
9.98985e-08
-1.01522e-07
9.86667e-08
-9.2885e-08
8.55964e-08
-7.44118e-08
6.44881e-08
-5.21725e-08
4.12614e-08
-3.08113e-08
2.20332e-08
-1.37383e-08
7.28297e-09
-1.99418e-09
-1.48318e-09
3.7233e-09
-4.81165e-09
5.07165e-09
-4.80662e-09
4.08649e-09
-3.20519e-09
2.13393e-09
-1.07122e-09
-3.69677e-11
1.04039e-09
-2.0328e-09
2.874e-09
-3.64809e-09
4.27866e-09
-4.82804e-09
5.25608e-09
-5.60595e-09
5.85467e-09
-6.03687e-09
6.14202e-09
-6.18495e-09
6.16883e-09
-6.09302e-09
5.96885e-09
-5.78481e-09
5.56201e-09
-5.28015e-09
4.97211e-09
-4.61094e-09
4.23826e-09
-3.82354e-09
3.41484e-09
-2.9771e-09
2.56047e-09
-2.12781e-09
1.72798e-09
-1.50941e-08
3.31121e-08
-4.62986e-08
5.82266e-08
-7.64169e-08
8.55709e-08
-9.52836e-08
9.96482e-08
-1.01427e-07
9.86297e-08
-9.30058e-08
8.58627e-08
-7.47766e-08
6.51842e-08
-5.32327e-08
4.28929e-08
-3.34085e-08
2.58583e-08
-1.89341e-08
1.35842e-08
-9.10936e-09
6.09553e-09
-4.10698e-09
3.07532e-09
-2.79264e-09
2.97029e-09
-3.50528e-09
4.16545e-09
-4.90896e-09
5.59008e-09
-6.25372e-09
6.79855e-09
-7.27138e-09
7.6308e-09
-7.90999e-09
8.08295e-09
-8.18331e-09
8.20176e-09
-8.15096e-09
8.04696e-09
-7.88734e-09
7.69315e-09
-7.45247e-09
7.19411e-09
-6.8949e-09
6.58765e-09
-6.24169e-09
5.89254e-09
-5.50615e-09
5.12208e-09
-4.7026e-09
4.29234e-09
-3.85285e-09
3.43197e-09
-2.98989e-09
2.57508e-09
-2.14757e-09
1.75471e-09
-1.47876e-08
3.29423e-08
-4.62425e-08
5.80623e-08
-7.64979e-08
8.58359e-08
-9.55433e-08
1.00138e-07
-1.01997e-07
9.91302e-08
-9.35525e-08
8.63447e-08
-7.50739e-08
6.54165e-08
-5.31661e-08
4.26718e-08
-3.32165e-08
2.57652e-08
-1.91025e-08
1.41237e-08
-1.00641e-08
7.39308e-09
-5.71524e-09
4.88264e-09
-4.76062e-09
4.9882e-09
-5.53392e-09
6.12914e-09
-6.764e-09
7.30985e-09
-7.80141e-09
8.17259e-09
-8.46441e-09
8.6516e-09
-8.76094e-09
8.78082e-09
-8.7203e-09
8.59256e-09
-8.393e-09
8.15006e-09
-7.8497e-09
7.52802e-09
-7.16077e-09
6.7931e-09
-6.39271e-09
6.00572e-09
-5.59635e-09
5.20844e-09
-4.80517e-09
4.42859e-09
-4.03997e-09
3.67975e-09
-3.31049e-09
2.96995e-09
-2.62306e-09
2.30483e-09
-1.98223e-09
1.68836e-09
-1.44897e-08
3.28034e-08
-4.63085e-08
5.79385e-08
-7.67237e-08
8.62746e-08
-9.59687e-08
1.00868e-07
-1.02819e-07
9.98638e-08
-9.43386e-08
8.70495e-08
-7.55494e-08
6.57845e-08
-5.30945e-08
4.2288e-08
-3.26978e-08
2.50442e-08
-1.82411e-08
1.32634e-08
-9.31336e-09
6.81295e-09
-5.34589e-09
4.69504e-09
-4.76834e-09
5.11083e-09
-5.75775e-09
6.39905e-09
-7.05901e-09
7.60256e-09
-8.08679e-09
8.44707e-09
-8.72529e-09
8.89933e-09
-8.99055e-09
8.9893e-09
-8.90134e-09
8.74391e-09
-8.50494e-09
8.21963e-09
-7.8656e-09
7.49095e-09
-7.06538e-09
6.64237e-09
-6.18666e-09
5.75205e-09
-5.30112e-09
4.88476e-09
-4.46391e-09
4.08371e-09
-3.70556e-09
3.36772e-09
-3.0344e-09
2.73691e-09
-2.4431e-09
2.17983e-09
-1.91748e-09
1.68116e-09
-1.41124e-08
3.26191e-08
-4.64057e-08
5.77689e-08
-7.70134e-08
8.67761e-08
-9.64676e-08
1.01752e-07
-1.03813e-07
1.00747e-07
-9.52861e-08
8.79031e-08
-7.61458e-08
6.62561e-08
-5.3026e-08
4.18343e-08
-3.21112e-08
2.42031e-08
-1.71691e-08
1.209e-08
-8.14454e-09
5.74943e-09
-4.45549e-09
3.98521e-09
-4.28472e-09
4.78517e-09
-5.58546e-09
6.33275e-09
-7.06944e-09
7.67559e-09
-8.21029e-09
8.61319e-09
-8.93205e-09
9.14175e-09
-9.26586e-09
9.29121e-09
-9.2223e-09
9.07377e-09
-8.83523e-09
8.54282e-09
-8.17336e-09
7.7791e-09
-7.32914e-09
6.87989e-09
-6.39501e-09
5.93371e-09
-5.45524e-09
5.01531e-09
-4.57266e-09
4.17514e-09
-3.78297e-09
3.43574e-09
-3.09605e-09
2.79634e-09
-2.50265e-09
2.24159e-09
-1.98277e-09
1.75011e-09
-1.36395e-08
3.24173e-08
-4.65417e-08
5.75416e-08
-7.73708e-08
8.73361e-08
-9.70423e-08
1.02794e-07
-1.04993e-07
1.01793e-07
-9.64058e-08
8.89118e-08
-7.68801e-08
6.68406e-08
-5.29442e-08
4.12938e-08
-3.14642e-08
2.32752e-08
-1.59696e-08
1.07602e-08
-6.78653e-09
4.48618e-09
-3.36937e-09
3.10166e-09
-3.66382e-09
4.34569e-09
-5.34666e-09
6.22502e-09
-7.06992e-09
7.76038e-09
-8.36245e-09
8.8233e-09
-9.1988e-09
9.4642e-09
-9.63668e-09
9.70583e-09
-9.67e-09
9.54472e-09
-9.32436e-09
9.03748e-09
-8.67098e-09
8.27014e-09
-7.8099e-09
7.34654e-09
-6.84394e-09
6.36539e-09
-5.86673e-09
5.40534e-09
-4.93874e-09
4.51732e-09
-4.09838e-09
3.72485e-09
-3.35656e-09
3.02884e-09
-2.70531e-09
2.41578e-09
-2.12761e-09
1.86805e-09
-1.30575e-08
3.22163e-08
-4.67195e-08
5.72342e-08
-7.77792e-08
8.79299e-08
-9.76673e-08
1.03973e-07
-1.06348e-07
1.02988e-07
-9.76796e-08
9.00608e-08
-7.7759e-08
6.7541e-08
-5.28244e-08
4.06433e-08
-3.07572e-08
2.22535e-08
-1.46238e-08
9.26471e-09
-5.2411e-09
3.04196e-09
-2.12284e-09
2.09518e-09
-2.96251e-09
3.85771e-09
-5.09894e-09
6.12988e-09
-7.09728e-09
7.87254e-09
-8.55304e-09
9.07456e-09
-9.51975e-09
9.84921e-09
-1.00876e-08
1.02067e-08
-1.02188e-08
1.01262e-08
-9.92696e-09
9.65228e-09
-9.28797e-09
8.88493e-09
-8.41413e-09
7.94016e-09
-7.42176e-09
6.92475e-09
-6.40371e-09
5.91914e-09
-5.42483e-09
4.9737e-09
-4.52097e-09
4.11268e-09
-3.70517e-09
3.3389e-09
-2.97356e-09
2.64393e-09
-2.31432e-09
2.01576e-09
-1.23531e-08
3.20208e-08
-4.69595e-08
5.68427e-08
-7.82335e-08
8.8548e-08
-9.83341e-08
1.05285e-07
-1.07883e-07
1.04339e-07
-9.91015e-08
9.13512e-08
-7.88133e-08
6.83784e-08
-5.26465e-08
3.98684e-08
-3.00111e-08
2.11436e-08
-1.31143e-08
7.58324e-09
-3.47854e-09
1.39076e-09
-7.02902e-10
9.54149e-10
-2.18874e-09
3.33568e-09
-4.85513e-09
6.06162e-09
-7.16001e-09
8.03627e-09
-8.78932e-09
9.37031e-09
-9.88953e-09
1.02915e-08
-1.06004e-08
1.07884e-08
-1.08572e-08
1.08073e-08
-1.06361e-08
1.03736e-08
-1.00107e-08
9.60102e-09
-9.11696e-09
8.62458e-09
-8.0841e-09
7.56213e-09
-7.01331e-09
6.49809e-09
-5.96969e-09
5.48371e-09
-4.99132e-09
4.54281e-09
-4.09147e-09
3.68199e-09
-3.2709e-09
2.89814e-09
-2.52315e-09
2.18386e-09
-1.15106e-08
3.18253e-08
-4.72977e-08
5.63703e-08
-7.87351e-08
8.91957e-08
-9.90519e-08
1.06757e-07
-1.09625e-07
1.05885e-07
-1.0067e-07
9.27979e-08
-8.01082e-08
6.93875e-08
-5.23882e-08
3.89597e-08
-2.92687e-08
1.99618e-08
-1.14254e-08
5.69195e-09
-1.46629e-09
-4.5946e-10
8.4433e-10
-2.91442e-10
-1.33526e-09
2.77748e-09
-4.62946e-09
6.03607e-09
-7.26474e-09
8.24048e-09
-9.07294e-09
9.70751e-09
-1.03012e-08
1.07904e-08
-1.11901e-08
1.14563e-08
-1.16026e-08
1.15988e-08
-1.14592e-08
1.12108e-08
-1.08451e-08
1.04203e-08
-9.91351e-09
9.39429e-09
-8.82199e-09
8.26793e-09
-7.68167e-09
7.12996e-09
-6.56028e-09
6.03406e-09
-5.49716e-09
5.00533e-09
-4.50752e-09
4.05322e-09
-3.59473e-09
3.17707e-09
-2.75578e-09
2.37291e-09
-1.05025e-08
3.16086e-08
-4.77009e-08
5.57975e-08
-7.9243e-08
8.98437e-08
-9.97939e-08
1.08376e-07
-1.11557e-07
1.07647e-07
-1.02306e-07
9.43817e-08
-8.1728e-08
7.05627e-08
-5.19833e-08
3.78926e-08
-2.85995e-08
1.87241e-08
-9.53384e-09
3.54225e-09
8.07786e-10
-2.49731e-09
2.60409e-09
-1.68097e-09
-4.00548e-10
2.20634e-09
-4.43852e-09
6.06822e-09
-7.42153e-09
8.51221e-09
-9.40219e-09
1.00805e-08
-1.07611e-08
1.13409e-08
-1.18466e-08
1.22237e-08
-1.24639e-08
1.25197e-08
-1.24159e-08
1.21759e-08
-1.17977e-08
1.13515e-08
-1.08116e-08
1.02551e-08
-9.63998e-09
9.04248e-09
-8.40862e-09
7.8114e-09
-7.19324e-09
6.61937e-09
-6.03212e-09
5.49242e-09
-4.94425e-09
4.44298e-09
-3.9358e-09
3.47309e-09
-3.00583e-09
2.58111e-09
-9.29552e-09
3.13548e-08
-4.81565e-08
5.51009e-08
-7.97055e-08
9.04758e-08
-1.00552e-07
1.10157e-07
-1.13683e-07
1.09693e-07
-1.03858e-07
9.61458e-08
-8.38655e-08
7.18262e-08
-5.13207e-08
3.66511e-08
-2.81345e-08
1.74586e-08
-7.41527e-09
1.04685e-09
3.35837e-09
-4.80146e-09
4.59152e-09
-3.21717e-09
5.26771e-10
1.62066e-09
-4.30014e-09
6.17905e-09
-7.64884e-09
8.86143e-09
-9.77512e-09
1.04739e-08
-1.12465e-08
1.1936e-08
-1.25683e-08
1.30943e-08
-1.34633e-08
1.35949e-08
-1.35228e-08
1.3286e-08
-1.28907e-08
1.24077e-08
-1.18225e-08
1.12145e-08
-1.05448e-08
9.89337e-09
-9.20379e-09
8.55303e-09
-7.87792e-09
7.25119e-09
-6.60841e-09
6.01578e-09
-5.41271e-09
4.85988e-09
-4.30079e-09
3.79111e-09
-3.27701e-09
2.81047e-09
-7.8435e-09
3.10495e-08
-4.86799e-08
5.42451e-08
-8.00514e-08
9.10879e-08
-1.01362e-07
1.12128e-07
-1.16062e-07
1.12066e-07
-1.05096e-07
9.83582e-08
-8.67595e-08
7.28619e-08
-5.01955e-08
3.52483e-08
-2.78921e-08
1.62173e-08
-5.04153e-09
-1.77549e-09
6.2593e-09
-7.36484e-09
6.84788e-09
-4.9063e-09
1.56367e-09
1.02592e-09
-4.23035e-09
6.38513e-09
-7.96457e-09
9.32153e-09
-1.01968e-08
1.08755e-08
-1.17701e-08
1.25739e-08
-1.33537e-08
1.4101e-08
-1.46498e-08
1.48589e-08
-1.48181e-08
1.45721e-08
-1.4139e-08
1.36088e-08
-1.29594e-08
1.22873e-08
-1.15472e-08
1.08291e-08
-1.00697e-08
9.35587e-09
-8.61875e-09
7.93493e-09
-7.23452e-09
6.58988e-09
-5.93385e-09
5.33111e-09
-4.71894e-09
4.15876e-09
-3.59127e-09
3.07471e-09
-6.07156e-09
3.06583e-08
-4.92888e-08
5.31352e-08
-8.0129e-08
9.16408e-08
-1.02227e-07
1.14274e-07
-1.18782e-07
1.14582e-07
-1.06002e-07
1.01504e-07
-9.01702e-08
7.30335e-08
-4.834e-08
3.37931e-08
-2.80662e-08
1.50744e-08
-2.26504e-09
-4.99787e-09
9.51478e-09
-1.01709e-08
9.4038e-09
-6.73922e-09
2.64539e-09
4.6423e-10
-4.27058e-09
6.72251e-09
-8.39075e-09
9.90359e-09
-1.06529e-08
1.12601e-08
-1.23208e-08
1.32472e-08
-1.41944e-08
1.52893e-08
-1.60997e-08
1.63885e-08
-1.63394e-08
1.60593e-08
-1.55707e-08
1.49711e-08
-1.42373e-08
1.34785e-08
-1.2652e-08
1.18542e-08
-1.10157e-08
1.02289e-08
-9.41714e-09
8.6669e-09
-7.89923e-09
7.19369e-09
-6.47632e-09
5.81861e-09
-5.15115e-09
4.53988e-09
-3.92145e-09
3.35762e-09
-3.85265e-09
3.01327e-08
-5.00355e-08
5.16084e-08
-7.97097e-08
9.21108e-08
-1.03158e-07
1.16618e-07
-1.21926e-07
1.17043e-07
-1.07172e-07
1.05571e-07
-9.31464e-08
7.2306e-08
-4.60155e-08
3.27894e-08
-2.90132e-08
1.40433e-08
1.05887e-09
-8.60388e-09
1.34247e-08
-1.33847e-08
1.21153e-08
-8.77628e-09
3.72434e-09
3.82844e-11
-4.52276e-09
7.26843e-09
-9.02857e-09
1.06608e-08
-1.11005e-08
1.16589e-08
-1.30069e-08
1.39788e-08
-1.51112e-08
1.68396e-08
-1.81067e-08
1.83943e-08
-1.82021e-08
1.78002e-08
-1.72072e-08
1.65086e-08
-1.56661e-08
1.48017e-08
-1.38693e-08
1.29728e-08
-1.2036e-08
1.11671e-08
-1.02755e-08
9.45126e-09
-8.60642e-09
7.82676e-09
-7.03278e-09
6.30717e-09
-5.57641e-09
4.91363e-09
-4.24854e-09
3.64821e-09
-8.90821e-10
2.93951e-08
-5.10116e-08
4.93017e-08
-7.83509e-08
9.24983e-08
-1.04184e-07
1.19217e-07
-1.25478e-07
1.19651e-07
-1.08781e-07
1.09355e-07
-9.57815e-08
7.26464e-08
-4.48526e-08
3.34954e-08
-3.08686e-08
1.33468e-08
4.01353e-09
-1.2163e-08
1.80127e-08
-1.74693e-08
1.51604e-08
-1.10207e-08
5.25349e-09
-6.07019e-10
-4.8053e-09
7.94736e-09
-9.79011e-09
1.14893e-08
-1.15363e-08
1.2275e-08
-1.4045e-08
1.47985e-08
-1.62835e-08
1.93291e-08
-2.13357e-08
2.12894e-08
-2.05965e-08
1.98812e-08
-1.90961e-08
1.82657e-08
-1.72817e-08
1.62634e-08
-1.51866e-08
1.41649e-08
-1.31258e-08
1.21745e-08
-1.12061e-08
1.03167e-08
-9.4066e-09
8.56776e-09
-7.71131e-09
6.92458e-09
-6.12698e-09
5.3994e-09
-4.66593e-09
4.00171e-09
2.22721e-09
2.82834e-08
-5.23469e-08
4.52124e-08
-7.49099e-08
9.2852e-08
-1.0533e-07
1.22e-07
-1.29458e-07
1.2257e-07
-1.09769e-07
1.1245e-07
-1.00328e-07
7.58817e-08
-4.62967e-08
3.61661e-08
-3.25651e-08
1.16909e-08
9.06326e-09
-1.71757e-08
2.2305e-08
-2.11894e-08
1.88778e-08
-1.3237e-08
6.10698e-09
-6.3602e-10
-5.47939e-09
8.93092e-09
-1.08164e-08
1.25152e-08
-1.22499e-08
1.36493e-08
-1.56994e-08
1.56157e-08
-1.75646e-08
2.23892e-08
-2.52552e-08
2.46187e-08
-2.33594e-08
2.22853e-08
-2.11898e-08
2.01974e-08
-1.90764e-08
1.78829e-08
-1.66572e-08
1.55072e-08
-1.43479e-08
1.32934e-08
-1.22255e-08
1.12529e-08
-1.02692e-08
9.37009e-09
-8.4556e-09
7.6119e-09
-6.74855e-09
5.95033e-09
-5.13661e-09
4.39136e-09
6.64029e-09
2.64984e-08
-5.42564e-08
3.68972e-08
-6.67243e-08
9.34939e-08
-1.06771e-07
1.24772e-07
-1.34022e-07
1.25232e-07
-1.09363e-07
1.16097e-07
-1.06966e-07
7.90429e-08
-4.81572e-08
3.77807e-08
-3.10761e-08
9.15704e-09
1.50169e-08
-2.36041e-08
2.89797e-08
-2.56994e-08
2.25387e-08
-1.66736e-08
8.58815e-09
-8.55135e-10
-6.18272e-09
9.62094e-09
-1.19209e-08
1.3636e-08
-1.37685e-08
1.62996e-08
-1.74647e-08
1.53622e-08
-1.67051e-08
2.21353e-08
-2.58462e-08
2.55637e-08
-2.53682e-08
2.48615e-08
-2.35519e-08
2.23066e-08
-2.10247e-08
1.95665e-08
-1.81086e-08
1.6785e-08
-1.55099e-08
1.43865e-08
-1.32476e-08
1.21978e-08
-1.11186e-08
1.01213e-08
-9.10344e-09
8.17124e-09
-7.22809e-09
6.369e-09
-5.50604e-09
4.72476e-09
1.3082e-08
2.3741e-08
-5.67481e-08
2.01185e-08
-4.86363e-08
9.45435e-08
-1.09186e-07
1.2741e-07
-1.39051e-07
1.26326e-07
-1.05693e-07
1.16344e-07
-1.07989e-07
7.45731e-08
-4.48306e-08
3.33093e-08
-2.15576e-08
3.14372e-09
2.28042e-08
-2.97787e-08
3.39224e-08
-3.05753e-08
2.72357e-08
-1.96178e-08
9.58874e-09
-3.30825e-10
-6.58008e-09
1.11003e-08
-1.39934e-08
1.56592e-08
-1.68402e-08
1.93329e-08
-1.81373e-08
1.42758e-08
-1.57461e-08
2.0273e-08
-2.20792e-08
2.16332e-08
-2.5038e-08
2.78082e-08
-2.69402e-08
2.5189e-08
-2.3569e-08
2.16065e-08
-1.9769e-08
1.82736e-08
-1.69529e-08
1.58374e-08
-1.46804e-08
1.35754e-08
-1.23964e-08
1.12764e-08
-1.01133e-08
9.03876e-09
-7.95348e-09
6.97123e-09
-5.99243e-09
5.11616e-09
2.08618e-08
2.0043e-08
-5.81566e-08
-4.49569e-09
-6.22291e-09
8.93499e-08
-1.13414e-07
1.30025e-07
-1.43144e-07
1.22212e-07
-9.07375e-08
9.89527e-08
-8.53226e-08
5.13623e-08
-3.28705e-08
2.20921e-08
-5.6081e-09
-9.01985e-09
3.4053e-08
-3.85527e-08
4.22459e-08
-3.69996e-08
3.17739e-08
-2.4425e-08
1.38125e-08
-2.80431e-09
-5.86279e-09
1.27523e-08
-1.59738e-08
1.93766e-08
-2.23764e-08
2.32354e-08
-2.04357e-08
1.93202e-08
-2.3709e-08
2.44319e-08
-1.90531e-08
1.482e-08
-2.23799e-08
3.13876e-08
-3.16181e-08
2.89334e-08
-2.67426e-08
2.41934e-08
-2.19089e-08
2.03008e-08
-1.90104e-08
1.79796e-08
-1.68805e-08
1.57811e-08
-1.45524e-08
1.33328e-08
-1.2014e-08
1.07438e-08
-9.40742e-09
8.15711e-09
-6.87726e-09
5.71214e-09
2.60326e-08
1.31742e-08
-5.67831e-08
9.45808e-09
-1.3105e-08
8.33093e-08
-1.18128e-07
1.28991e-07
-1.39471e-07
1.04896e-07
-6.60918e-08
5.6791e-08
-1.36435e-08
5.75259e-09
-1.72498e-08
-4.93784e-09
1.54396e-08
-2.36569e-08
4.93461e-08
-4.77472e-08
4.71217e-08
-4.19542e-08
3.71039e-08
-2.95505e-08
1.73704e-08
-6.56223e-09
-5.30057e-09
1.72753e-08
-2.13197e-08
2.70142e-08
-2.90554e-08
2.78567e-08
-2.88587e-08
3.52981e-08
-3.96289e-08
3.44269e-08
-2.24797e-08
1.41519e-08
-2.33401e-08
3.68679e-08
-3.76129e-08
3.33986e-08
-3.02946e-08
2.73498e-08
-2.47003e-08
2.32472e-08
-2.22443e-08
2.13835e-08
-2.02902e-08
1.90356e-08
-1.75349e-08
1.60059e-08
-1.43358e-08
1.272e-08
-1.10134e-08
9.40708e-09
-7.75833e-09
6.2557e-09
2.54324e-08
-5.96056e-09
-3.56583e-08
4.18069e-08
-3.78857e-08
8.31306e-08
-1.06777e-07
1.01913e-07
-1.05709e-07
8.48827e-08
-4.15497e-08
5.61994e-10
5.38074e-09
-3.51663e-08
4.87919e-08
-3.0678e-08
4.6595e-08
-5.21397e-08
6.11857e-08
-5.6373e-08
5.74466e-08
-5.14361e-08
4.31726e-08
-3.4622e-08
2.3408e-08
-1.19194e-08
-7.98593e-09
2.53909e-08
-2.95761e-08
3.57119e-08
-3.4211e-08
3.4075e-08
-4.49869e-08
5.69602e-08
-5.4131e-08
4.52148e-08
-3.32059e-08
2.69761e-08
-3.48716e-08
4.65647e-08
-4.58914e-08
3.92982e-08
-3.52387e-08
3.31188e-08
-3.08736e-08
2.95963e-08
-2.86134e-08
2.74304e-08
-2.56523e-08
2.35205e-08
-2.10188e-08
1.85917e-08
-1.61098e-08
1.38796e-08
-1.16896e-08
9.76076e-09
-7.88572e-09
6.24879e-09
2.19098e-08
-5.24529e-08
1.57734e-08
5.86185e-08
-6.33903e-08
5.54777e-08
-3.72727e-08
-2.02852e-09
4.51312e-08
-6.13303e-08
3.17865e-07
-4.58288e-07
2.17379e-07
-5.90615e-08
5.46095e-08
-7.18159e-08
6.64466e-08
-6.18833e-08
8.85169e-08
-7.11686e-08
6.24908e-08
-5.5357e-08
4.82584e-08
-4.14559e-08
3.07059e-08
-1.8828e-08
-8.92204e-09
3.11513e-08
-3.10807e-08
3.52045e-08
-3.56975e-08
3.90371e-08
-5.78978e-08
7.43663e-08
-6.44397e-08
5.36221e-08
-4.64534e-08
4.31446e-08
-4.01529e-08
4.49488e-08
-5.03459e-08
4.51275e-08
-4.19238e-08
4.27628e-08
-4.25451e-08
4.09576e-08
-3.86978e-08
3.62173e-08
-3.30034e-08
2.93752e-08
-2.52423e-08
2.13686e-08
-1.75946e-08
1.44214e-08
-1.15467e-08
9.23254e-09
-7.17952e-09
5.53097e-09
2.3936e-08
-9.05734e-08
4.6215e-08
7.56507e-08
-7.06939e-08
-1.23527e-08
8.28848e-08
-7.51788e-08
-4.86539e-08
2.80363e-08
1.44361e-07
-3.26305e-07
4.18474e-07
-2.74081e-07
1.18905e-07
-7.94212e-08
1.06607e-07
-1.1053e-07
9.2944e-08
-7.87401e-08
7.44789e-08
-6.45626e-08
5.63114e-08
-4.66561e-08
3.70922e-08
-3.66358e-08
-1.67463e-10
3.4804e-08
-2.88143e-08
3.05742e-08
-3.65116e-08
2.87015e-08
-2.98096e-08
6.10754e-08
-6.29874e-08
5.21574e-08
-5.42033e-08
5.36975e-08
-4.31259e-08
4.12985e-08
-4.83689e-08
5.01692e-08
-5.08374e-08
5.38308e-08
-5.54896e-08
5.38415e-08
-5.02719e-08
4.66353e-08
-4.25058e-08
3.77653e-08
-3.19937e-08
2.63657e-08
-2.08129e-08
1.61827e-08
-1.20908e-08
8.92289e-09
-6.25716e-09
4.25463e-09
1.5691e-08
-1.03681e-07
7.4234e-08
5.05931e-08
2.48326e-09
-1.19814e-07
-3.78345e-08
1.18977e-07
6.16565e-07
-1.13906e-06
3.07321e-07
-3.58867e-07
4.22231e-07
-3.51178e-07
2.51935e-07
-1.67386e-07
1.41547e-07
-1.44466e-07
1.20866e-07
-9.30986e-08
7.22767e-08
-6.92501e-08
6.16234e-08
-5.48036e-08
6.26059e-08
-8.02519e-08
1.9797e-08
3.54179e-08
-2.27664e-08
2.43717e-08
-3.01507e-08
1.11739e-08
-3.07626e-10
3.15002e-08
-5.63106e-08
5.60994e-08
-6.447e-08
6.7167e-08
-5.85731e-08
4.87073e-08
-5.39248e-08
6.30374e-08
-6.78771e-08
6.85445e-08
-6.61148e-08
6.18209e-08
-5.76776e-08
5.54995e-08
-5.40601e-08
5.0282e-08
-4.33605e-08
3.55315e-08
-2.74607e-08
2.06303e-08
-1.45096e-08
9.81829e-09
-5.83755e-09
2.61509e-09
-4.76483e-10
-6.21896e-08
2.17245e-08
7.51609e-10
1.05211e-07
2.07972e-07
-1.02057e-06
5.48987e-07
2.83628e-07
-1.15942e-06
1.09289e-06
-6.4885e-07
4.87642e-07
-4.17772e-07
3.50373e-07
-2.70413e-07
1.46849e-07
-1.09354e-07
1.21307e-07
-1.02102e-07
1.00447e-07
-7.71169e-08
6.31135e-08
-7.22189e-08
9.12671e-08
-8.31691e-08
3.86284e-08
7.06773e-09
-2.13587e-08
2.4181e-08
-4.12559e-08
4.96645e-08
-4.75619e-08
3.63799e-08
-4.69571e-08
6.15085e-08
-7.34474e-08
9.71629e-08
-1.06945e-07
8.88312e-08
-7.48008e-08
8.07966e-08
-8.32987e-08
7.72942e-08
-6.53084e-08
5.51419e-08
-5.01713e-08
4.86462e-08
-4.83333e-08
4.78926e-08
-4.49648e-08
3.9493e-08
-3.19387e-08
2.35799e-08
-1.45478e-08
6.36038e-09
5.60817e-10
-5.4705e-09
-4.17359e-08
8.27882e-08
-6.06321e-08
-1.97444e-07
-1.64202e-07
1.27424e-06
-1.35159e-06
7.9064e-07
6.07339e-07
-2.14921e-06
2.01359e-06
-1.20383e-06
7.35886e-07
-4.37584e-07
3.5647e-07
-3.37591e-07
2.48943e-07
-1.78241e-07
1.62454e-07
-1.05575e-07
9.70488e-08
-9.5834e-08
7.67257e-08
-8.97087e-08
8.95038e-08
-2.7841e-08
-1.96969e-09
6.39273e-09
-2.91138e-08
4.11907e-08
-6.74219e-08
9.20682e-08
-1.16851e-07
8.13444e-08
-7.06711e-08
8.91751e-08
-1.09616e-07
1.37555e-07
-1.33252e-07
1.18119e-07
-1.10383e-07
1.10368e-07
-1.02111e-07
8.38135e-08
-7.58789e-08
6.94545e-08
-6.56136e-08
6.7105e-08
-7.46638e-08
7.64325e-08
-6.60318e-08
5.09164e-08
-3.71845e-08
2.38847e-08
-1.13321e-08
1.61923e-09
7.7502e-09
-1.38001e-08
-3.55431e-08
8.37381e-09
1.6879e-07
1.73071e-07
-9.18307e-07
1.04183e-06
-7.32986e-07
5.50566e-07
3.32229e-07
-1.33393e-06
1.21637e-06
-1.19037e-06
6.0518e-07
-6.5394e-07
3.16704e-07
-3.17094e-07
2.90389e-07
-2.01952e-07
1.96346e-07
-1.29998e-07
5.86539e-08
-7.06826e-08
6.72157e-08
-7.05026e-08
3.54222e-08
7.51636e-09
4.86129e-09
-3.04266e-08
-2.48926e-08
6.01158e-08
-7.85934e-08
1.12891e-07
-1.34106e-07
1.49445e-07
-1.6947e-07
2.53122e-07
-3.51748e-07
2.591e-07
-2.2256e-07
2.26331e-07
-2.30952e-07
2.08526e-07
-1.7681e-07
1.57133e-07
-1.38396e-07
1.24891e-07
-1.05673e-07
8.12486e-08
-5.37347e-08
3.38361e-08
-2.30359e-08
1.54304e-08
-1.58004e-09
-1.98313e-08
4.90113e-08
-7.83564e-08
1.04333e-07
-1.23498e-07
-1.18255e-07
1.35527e-06
-1.43252e-06
1.02555e-06
-8.4177e-07
5.97039e-07
-2.91246e-07
3.12022e-07
-1.82378e-07
-4.74541e-07
9.18978e-07
-1.13704e-06
1.08583e-06
-7.75812e-07
4.56434e-07
-2.90001e-07
3.06208e-07
-1.8119e-07
1.09527e-07
-1.78573e-07
1.46334e-07
-7.67865e-08
4.56978e-08
-5.18054e-09
-6.60398e-08
8.80733e-08
-2.81297e-08
-1.60592e-08
-2.34969e-09
2.57305e-08
-1.70947e-07
3.05139e-07
-3.2288e-07
3.98745e-07
-4.92535e-07
4.60166e-07
-4.2937e-07
4.39691e-07
-4.23996e-07
3.91086e-07
-3.6553e-07
3.36206e-07
-3.00199e-07
2.62406e-07
-2.19391e-07
1.8229e-07
-1.46943e-07
1.14484e-07
-8.07415e-08
5.0314e-08
-2.04865e-08
-7.78262e-09
4.15385e-08
-8.10906e-08
1.3254e-07
-1.88169e-07
2.48464e-07
-3.01137e-07
-1.08998e-09
9.81402e-10
-8.72754e-10
7.53622e-10
-6.37104e-10
5.14019e-10
-3.99328e-10
2.84839e-10
-1.8625e-10
9.80261e-11
-3.47189e-11
-3.99686e-12
8.415e-12
2.75572e-11
-1.06382e-10
2.43119e-10
-4.29532e-10
6.9668e-10
-1.02366e-09
1.4558e-09
-1.96056e-09
2.60361e-09
-3.33591e-09
4.24917e-09
-5.26503e-09
6.50635e-09
-7.8587e-09
9.47674e-09
-1.1202e-08
1.32285e-08
-1.5356e-08
1.78142e-08
-2.03395e-08
2.32604e-08
-2.61722e-08
2.93584e-08
-3.22393e-08
3.47652e-08
-3.63186e-08
3.62257e-08
-3.38702e-08
2.8027e-08
-1.94081e-08
7.57016e-09
5.39174e-09
-2.05011e-08
3.44087e-08
-4.91443e-08
6.049e-08
-7.02225e-08
7.5393e-08
-7.73066e-08
7.47435e-08
-6.95476e-08
6.12197e-08
-5.26918e-08
4.1333e-08
-3.29115e-08
2.30714e-08
-1.10842e-08
-1.2699e-09
1.10583e-09
-9.42352e-10
7.65179e-10
-5.95861e-10
4.21265e-10
-2.638e-10
1.13286e-10
8.53555e-12
-1.06358e-10
1.63496e-10
-1.7833e-10
1.42323e-10
-4.53343e-11
-1.06227e-10
3.37248e-10
-6.28976e-10
1.01705e-09
-1.46883e-09
2.0397e-09
-2.68015e-09
3.4657e-09
-4.32834e-09
5.3684e-09
-6.48299e-09
7.79442e-09
-9.16358e-09
1.07217e-08
-1.22855e-08
1.39852e-08
-1.55971e-08
1.72382e-08
-1.86473e-08
1.99678e-08
-2.08657e-08
2.13426e-08
-2.10188e-08
1.9464e-08
-1.648e-08
1.10946e-08
-3.61406e-09
-6.85256e-09
1.85665e-08
-3.21689e-08
4.5666e-08
-6.02393e-08
7.23261e-08
-8.45094e-08
9.26828e-08
-9.86569e-08
9.9927e-08
-9.775e-08
9.13552e-08
-8.22415e-08
7.05069e-08
-5.83359e-08
4.39038e-08
-3.31764e-08
2.10055e-08
-8.89338e-09
-1.32204e-09
9.13965e-10
-5.08184e-10
6.37733e-11
3.69458e-10
-8.31408e-10
1.26981e-09
-1.72407e-09
2.14203e-09
-2.56095e-09
2.93327e-09
-3.29313e-09
3.6009e-09
-3.88615e-09
4.11876e-09
-4.3211e-09
4.47114e-09
-4.58064e-09
4.63301e-09
-4.62812e-09
4.55901e-09
-4.40925e-09
4.17661e-09
-3.82824e-09
3.39059e-09
-2.80206e-09
2.13377e-09
-1.3184e-09
4.4808e-10
5.1221e-10
-1.44345e-09
2.37759e-09
-3.12094e-09
3.68183e-09
-3.77961e-09
3.32029e-09
-2.02568e-09
-4.70892e-10
4.22091e-09
-9.84417e-09
1.66395e-08
-2.53728e-08
3.45982e-08
-4.54452e-08
5.64704e-08
-6.85652e-08
7.85392e-08
-8.89316e-08
9.55928e-08
-1.00264e-07
1.00487e-07
-9.74097e-08
9.03018e-08
-8.05503e-08
6.83562e-08
-5.57661e-08
4.10658e-08
-3.02768e-08
1.83756e-08
-7.12064e-09
-1.35657e-09
9.56186e-10
-5.57045e-10
1.17858e-10
3.14332e-10
-7.81409e-10
1.23366e-09
-1.71425e-09
2.17159e-09
-2.65058e-09
3.10083e-09
-3.56851e-09
4.00553e-09
-4.45712e-09
4.87704e-09
-5.30867e-09
5.70583e-09
-6.10785e-09
6.46621e-09
-6.81183e-09
7.10146e-09
-7.34907e-09
7.51907e-09
-7.6185e-09
7.62022e-09
-7.51156e-09
7.30083e-09
-6.9621e-09
6.53555e-09
-5.99295e-09
5.42901e-09
-4.81886e-09
4.30816e-09
-3.94746e-09
3.9786e-09
-4.496e-09
5.78257e-09
-8.07224e-09
1.13712e-08
-1.62099e-08
2.19207e-08
-2.93091e-08
3.7311e-08
-4.7181e-08
5.75824e-08
-6.92591e-08
7.889e-08
-8.91597e-08
9.57209e-08
-1.00283e-07
1.00424e-07
-9.72021e-08
8.9942e-08
-8.00276e-08
6.77192e-08
-5.50248e-08
4.02425e-08
-2.94273e-08
1.77009e-08
-6.59106e-09
-1.39192e-09
1.09362e-09
-7.93674e-10
4.59342e-10
-1.24304e-10
-2.46699e-10
6.17212e-10
-1.02625e-09
1.43319e-09
-1.88089e-09
2.3246e-09
-2.81075e-09
3.28934e-09
-3.80928e-09
4.31493e-09
-4.85563e-09
5.37164e-09
-5.90907e-09
6.40586e-09
-6.90366e-09
7.34109e-09
-7.74666e-09
8.07374e-09
-8.33163e-09
8.48763e-09
-8.54374e-09
8.48803e-09
-8.31199e-09
8.0425e-09
-7.64791e-09
7.20962e-09
-6.70519e-09
6.25942e-09
-5.90836e-09
5.91039e-09
-6.29403e-09
7.4047e-09
-9.40242e-09
1.23711e-08
-1.67997e-08
2.2139e-08
-2.9262e-08
3.71627e-08
-4.70273e-08
5.75686e-08
-6.94941e-08
7.92028e-08
-8.96673e-08
9.63513e-08
-1.00906e-07
1.01033e-07
-9.76802e-08
9.02591e-08
-8.01625e-08
6.77296e-08
-5.49017e-08
4.00282e-08
-2.91659e-08
1.75429e-08
-6.39999e-09
-1.44348e-09
1.20357e-09
-9.6139e-10
6.88371e-10
-4.09128e-10
9.16905e-11
2.35035e-10
-6.08223e-10
9.92825e-10
-1.4317e-09
1.88057e-09
-2.38757e-09
2.90007e-09
-3.46742e-09
4.02835e-09
-4.63605e-09
5.21933e-09
-5.82965e-09
6.39486e-09
-6.96092e-09
7.45583e-09
-7.91934e-09
8.29147e-09
-8.58841e-09
8.7715e-09
-8.84345e-09
8.79434e-09
-8.61896e-09
8.33848e-09
-7.93818e-09
7.48005e-09
-6.94311e-09
6.45333e-09
-6.00596e-09
5.90569e-09
-6.1055e-09
7.04379e-09
-8.83673e-09
1.16379e-08
-1.59533e-08
2.12928e-08
-2.85561e-08
3.66765e-08
-4.67305e-08
5.758e-08
-6.9888e-08
7.97186e-08
-9.04249e-08
9.72666e-08
-1.01792e-07
1.0189e-07
-9.83699e-08
9.07458e-08
-8.04198e-08
6.78403e-08
-5.48461e-08
3.98678e-08
-2.89653e-08
1.74398e-08
-6.23924e-09
-1.5165e-09
1.28077e-09
-1.04165e-09
7.70747e-10
-4.92346e-10
1.73791e-10
1.57129e-10
-5.38469e-10
9.35424e-10
-1.39169e-09
1.86315e-09
-2.39879e-09
2.94248e-09
-3.54758e-09
4.14696e-09
-4.79625e-09
5.42049e-09
-6.07243e-09
6.6751e-09
-7.27605e-09
7.80248e-09
-8.28666e-09
8.66482e-09
-8.95789e-09
9.12087e-09
-9.16124e-09
9.07064e-09
-8.83333e-09
8.48996e-09
-8.01164e-09
7.48069e-09
-6.85142e-09
6.25822e-09
-5.65947e-09
5.41395e-09
-5.39304e-09
6.15458e-09
-7.77808e-09
1.04745e-08
-1.4779e-08
2.02259e-08
-2.77243e-08
3.6129e-08
-4.63931e-08
5.76235e-08
-7.03952e-08
8.03621e-08
-9.13424e-08
9.83809e-08
-1.02861e-07
1.02917e-07
-9.91961e-08
9.13282e-08
-8.0722e-08
6.79714e-08
-5.47773e-08
3.96743e-08
-2.87403e-08
1.7312e-08
-6.0459e-09
-1.6071e-09
1.34402e-09
-1.07773e-09
7.76546e-10
-4.6848e-10
1.17743e-10
2.44183e-10
-6.58339e-10
1.08676e-09
-1.57606e-09
2.07844e-09
-2.64675e-09
3.22131e-09
-3.85907e-09
4.49015e-09
-5.17372e-09
5.82809e-09
-6.51367e-09
7.14435e-09
-7.7733e-09
8.31457e-09
-8.81167e-09
9.18913e-09
-9.46704e-09
9.60291e-09
-9.58909e-09
9.42536e-09
-9.10909e-09
8.6776e-09
-8.10093e-09
7.46667e-09
-6.71064e-09
5.99315e-09
-5.19518e-09
4.78241e-09
-4.50586e-09
5.06957e-09
-6.51974e-09
9.11951e-09
-1.34414e-08
1.90286e-08
-2.68021e-08
3.55255e-08
-4.59999e-08
5.76853e-08
-7.10198e-08
8.11412e-08
-9.24224e-08
9.97102e-08
-1.04127e-07
1.0413e-07
-1.00173e-07
9.20176e-08
-8.10742e-08
6.81273e-08
-5.46969e-08
3.94445e-08
-2.84841e-08
1.71494e-08
-5.80919e-09
-1.71542e-09
1.41264e-09
-1.10659e-09
7.62245e-10
-4.12515e-10
1.72998e-11
3.86779e-10
-8.44975e-10
1.31387e-09
-1.84498e-09
2.38517e-09
-2.99138e-09
3.60144e-09
-4.2771e-09
4.94231e-09
-5.6611e-09
6.35227e-09
-7.07288e-09
7.73546e-09
-8.39068e-09
8.95332e-09
-9.46079e-09
9.83469e-09
-1.00945e-08
1.01886e-08
-1.01106e-08
9.86419e-09
-9.44153e-09
8.91027e-09
-8.21202e-09
7.46624e-09
-6.56692e-09
5.70495e-09
-4.66667e-09
4.06729e-09
-3.49392e-09
3.82563e-09
-5.08468e-09
7.57562e-09
-1.19314e-08
1.7683e-08
-2.57778e-08
3.48586e-08
-4.55297e-08
5.77461e-08
-7.17617e-08
8.20527e-08
-9.36464e-08
1.01243e-07
-1.05581e-07
1.05512e-07
-1.01285e-07
9.27998e-08
-8.14596e-08
6.82935e-08
-5.45926e-08
3.91687e-08
-2.81874e-08
1.69458e-08
-5.52519e-09
-1.84163e-09
1.49627e-09
-1.14814e-09
7.58166e-10
-3.62808e-10
-8.16548e-11
5.32867e-10
-1.04048e-09
1.5558e-09
-2.13453e-09
2.71925e-09
-3.37189e-09
4.02547e-09
-4.74638e-09
5.45449e-09
-6.22133e-09
6.95606e-09
-7.72187e-09
8.42668e-09
-9.12053e-09
9.71154e-09
-1.02332e-08
1.06072e-08
-1.08419e-08
1.08892e-08
-1.07292e-08
1.03765e-08
-9.83203e-09
9.18321e-09
-8.36158e-09
7.48353e-09
-6.43098e-09
5.40825e-09
-4.08918e-09
3.27503e-09
-2.35005e-09
2.41231e-09
-3.45385e-09
5.81552e-09
-1.0227e-08
1.61717e-08
-2.46508e-08
3.41381e-08
-4.49728e-08
5.7797e-08
-7.26412e-08
8.31144e-08
-9.5011e-08
1.02984e-07
-1.07232e-07
1.07066e-07
-1.02537e-07
9.36767e-08
-8.18735e-08
6.84686e-08
-5.44629e-08
3.88456e-08
-2.78462e-08
1.66966e-08
-5.1905e-09
-1.98674e-09
1.59741e-09
-1.20544e-09
7.66587e-10
-3.23965e-10
-1.70747e-10
6.70936e-10
-1.23073e-09
1.79529e-09
-2.42699e-09
3.06249e-09
-3.76862e-09
4.47504e-09
-5.25152e-09
6.0156e-09
-6.84098e-09
7.63273e-09
-8.46042e-09
9.21899e-09
-9.96522e-09
1.05964e-08
-1.114e-08
1.15171e-08
-1.17262e-08
1.17193e-08
-1.14662e-08
1.09788e-08
-1.02791e-08
9.49448e-09
-8.53258e-09
7.52417e-09
-6.31025e-09
5.11491e-09
-3.47744e-09
2.40661e-09
-1.07548e-09
8.14906e-10
-1.60065e-09
3.81165e-09
-8.30852e-09
1.44813e-08
-2.34299e-08
3.3388e-08
-4.43268e-08
5.78327e-08
-7.36979e-08
8.43686e-08
-9.6526e-08
1.04954e-07
-1.09115e-07
1.08815e-07
-1.0395e-07
9.46681e-08
-8.23265e-08
6.86629e-08
-5.43149e-08
3.84799e-08
-2.74615e-08
1.64015e-08
-4.80203e-09
-2.15264e-09
1.72062e-09
-1.28608e-09
7.99847e-10
-3.10288e-10
-2.36252e-10
7.87444e-10
-1.40261e-09
2.02228e-09
-2.71298e-09
3.40687e-09
-4.17653e-09
4.94461e-09
-5.78936e-09
6.62143e-09
-7.52157e-09
8.38674e-09
-9.29219e-09
1.01265e-08
-1.0943e-08
1.16265e-08
-1.22047e-08
1.25934e-08
-1.27712e-08
1.27005e-08
-1.23286e-08
1.16755e-08
-1.07769e-08
9.84665e-09
-8.74555e-09
7.58961e-09
-6.21491e-09
4.83979e-09
-2.83611e-09
1.46812e-09
2.97581e-10
-9.17062e-10
4.59016e-10
1.52922e-09
-6.14859e-09
1.25872e-08
-2.21201e-08
3.26346e-08
-4.35723e-08
5.7815e-08
-7.49465e-08
8.58482e-08
-9.81571e-08
1.07121e-07
-1.11242e-07
1.10736e-07
-1.05512e-07
9.57602e-08
-8.2798e-08
6.88612e-08
-5.41362e-08
3.80658e-08
-2.70234e-08
1.60517e-08
-4.35359e-09
-2.34036e-09
1.86687e-09
-1.38996e-09
8.56226e-10
-3.1793e-10
-2.83436e-10
8.89369e-10
-1.56485e-09
2.24387e-09
-2.99939e-09
3.75639e-09
-4.5964e-09
5.43475e-09
-6.36014e-09
7.27256e-09
-8.26342e-09
9.22136e-09
-1.02275e-08
1.11549e-08
-1.20647e-08
1.2824e-08
-1.34544e-08
1.38593e-08
-1.40034e-08
1.38542e-08
-1.33441e-08
1.24714e-08
-1.13166e-08
1.02151e-08
-8.99303e-09
7.68486e-09
-6.15477e-09
4.60513e-09
-2.17772e-09
4.40676e-10
1.81076e-09
-2.87282e-09
2.72396e-09
-1.01565e-09
-3.69939e-09
1.04583e-08
-2.07372e-08
3.19414e-08
-4.26988e-08
5.76886e-08
-7.63947e-08
8.76565e-08
-9.9883e-08
1.09431e-07
-1.13669e-07
1.12822e-07
-1.07228e-07
9.69566e-08
-8.32818e-08
6.90612e-08
-5.3925e-08
3.76033e-08
-2.65259e-08
1.56403e-08
-3.83775e-09
-2.55307e-09
2.0274e-09
-1.49928e-09
9.10844e-10
-3.19922e-10
-3.36231e-10
9.95533e-10
-1.72848e-09
2.4643e-09
-3.28445e-09
4.108e-09
-5.02421e-09
5.94355e-09
-6.9607e-09
7.96884e-09
-9.07035e-09
1.01395e-08
-1.12709e-08
1.23224e-08
-1.33513e-08
1.42174e-08
-1.49204e-08
1.53649e-08
-1.54748e-08
1.52282e-08
-1.45536e-08
1.3388e-08
-1.18799e-08
1.05885e-08
-9.29178e-09
7.82905e-09
-6.15366e-09
4.44539e-09
-1.52934e-09
-5.64265e-10
3.45171e-09
-5.06112e-09
5.28178e-09
-3.84562e-09
-8.79916e-10
8.06224e-09
-1.93058e-08
3.14624e-08
-4.17131e-08
5.73526e-08
-7.79728e-08
9.00049e-08
-1.01778e-07
1.11757e-07
-1.16479e-07
1.15108e-07
-1.09115e-07
9.82804e-08
-8.37831e-08
6.92714e-08
-5.36887e-08
3.70854e-08
-2.59671e-08
1.51626e-08
-3.24602e-09
-2.7885e-09
2.21567e-09
-1.64117e-09
1.00078e-09
-3.58235e-10
-3.54028e-10
1.06885e-09
-1.86433e-09
2.66477e-09
-3.55716e-09
4.45619e-09
-5.45933e-09
6.46627e-09
-7.58748e-09
8.70586e-09
-9.93918e-09
1.11463e-08
-1.24333e-08
1.36416e-08
-1.48262e-08
1.58437e-08
-1.66585e-08
1.71767e-08
-1.72385e-08
1.68755e-08
-1.60482e-08
1.44896e-08
-1.24362e-08
1.09269e-08
-9.66128e-09
8.04071e-09
-6.22376e-09
4.42005e-09
-9.48667e-10
-1.63886e-09
5.24996e-09
-7.58055e-09
8.14222e-09
-6.99922e-09
2.21683e-09
5.37456e-09
-1.78636e-08
3.12221e-08
-4.06623e-08
5.6612e-08
-7.93645e-08
9.30035e-08
-1.04116e-07
1.13946e-07
-1.19612e-07
1.17656e-07
-1.11135e-07
9.97226e-08
-8.42765e-08
6.94749e-08
-5.34157e-08
3.64813e-08
-2.53337e-08
1.46048e-08
-2.56333e-09
-3.04627e-09
2.44047e-09
-1.83026e-09
1.14756e-09
-4.58072e-10
-3.14755e-10
1.09502e-09
-1.96595e-09
2.84154e-09
-3.81533e-09
4.79311e-09
-5.88691e-09
6.99163e-09
-8.23368e-09
9.47779e-09
-1.08652e-08
1.22309e-08
-1.37121e-08
1.51251e-08
-1.65242e-08
1.77849e-08
-1.88261e-08
1.9493e-08
-1.94377e-08
1.88767e-08
-1.79897e-08
1.59641e-08
-1.30114e-08
1.11495e-08
-1.01302e-08
8.41002e-09
-6.45804e-09
4.709e-09
-6.4968e-10
-2.67385e-09
7.2562e-09
-1.04692e-08
1.13276e-08
-1.06197e-08
5.73942e-09
2.3358e-09
-1.64704e-08
3.14338e-08
-3.98308e-08
5.53939e-08
-8.02003e-08
9.62414e-08
-1.0721e-07
1.16239e-07
-1.2287e-07
1.20561e-07
-1.13277e-07
1.01286e-07
-8.47489e-08
6.9667e-08
-5.31063e-08
3.57678e-08
-2.46156e-08
1.39541e-08
-1.76857e-09
-3.33124e-09
2.66058e-09
-1.98822e-09
1.23964e-09
-4.87824e-10
-3.46141e-10
1.18323e-09
-2.11182e-09
3.04265e-09
-4.07933e-09
5.12295e-09
-6.29683e-09
7.49288e-09
-8.85982e-09
1.02488e-08
-1.18311e-08
1.3397e-08
-1.51196e-08
1.67994e-08
-1.8522e-08
2.02514e-08
-2.18629e-08
2.29166e-08
-2.25701e-08
2.14567e-08
-2.05805e-08
1.82149e-08
-1.3861e-08
1.12106e-08
-1.06027e-08
8.94449e-09
-6.93723e-09
5.57295e-09
-7.24291e-10
-3.7902e-09
9.24806e-09
-1.32885e-08
1.50331e-08
-1.50879e-08
9.78049e-09
-1.1621e-09
-1.52088e-08
3.24886e-08
-3.99914e-08
5.43233e-08
-8.10128e-08
9.91636e-08
-1.10618e-07
1.19103e-07
-1.26227e-07
1.23853e-07
-1.15567e-07
1.0298e-07
-8.52012e-08
6.98548e-08
-5.27708e-08
3.49459e-08
-2.38031e-08
1.31959e-08
-8.23921e-10
-3.63945e-09
2.88531e-09
-2.1329e-09
1.30573e-09
-4.89297e-10
-4.03923e-10
1.28644e-09
-2.25831e-09
3.233e-09
-4.32736e-09
5.44379e-09
-6.71666e-09
8.01639e-09
-9.52343e-09
1.10501e-08
-1.28362e-08
1.46063e-08
-1.65933e-08
1.86001e-08
-2.0805e-08
2.33386e-08
-2.6004e-08
2.78338e-08
-2.71076e-08
2.49412e-08
-2.38859e-08
2.14424e-08
-1.54326e-08
1.1359e-08
-1.11394e-08
9.68434e-09
-7.36915e-09
7.03939e-09
-1.78572e-09
-4.20889e-09
1.10352e-08
-1.6741e-08
1.90331e-08
-1.94204e-08
1.4528e-08
-5.3711e-09
-1.4062e-08
3.41917e-08
-4.18316e-08
5.46006e-08
-8.33596e-08
1.02643e-07
-1.13627e-07
1.22191e-07
-1.29786e-07
1.27508e-07
-1.18007e-07
1.04767e-07
-8.56022e-08
7.00204e-08
-5.24021e-08
3.40056e-08
-2.28734e-08
1.23061e-08
1.71408e-10
-3.94232e-09
3.15985e-09
-2.38077e-09
1.51844e-09
-6.60972e-10
-2.83478e-10
1.22628e-09
-2.26992e-09
3.31682e-09
-4.48458e-09
5.66626e-09
-7.00975e-09
8.38534e-09
-1.0032e-08
1.17241e-08
-1.37893e-08
1.58035e-08
-1.80648e-08
2.04145e-08
-2.31787e-08
2.64444e-08
-2.95782e-08
3.14354e-08
-3.01565e-08
2.77668e-08
-2.69473e-08
2.4374e-08
-1.73046e-08
1.17953e-08
-1.14348e-08
1.05514e-08
-7.45384e-09
8.54364e-09
-3.11361e-09
-6.05929e-09
1.41778e-08
-2.03397e-08
2.30007e-08
-2.49989e-08
2.0379e-08
-1.03657e-08
-1.26483e-08
3.44485e-08
-4.34869e-08
5.62607e-08
-8.6948e-08
1.07963e-07
-1.17049e-07
1.25121e-07
-1.33243e-07
1.31449e-07
-1.2072e-07
1.06594e-07
-8.59357e-08
7.01576e-08
-5.20056e-08
3.29425e-08
-2.18031e-08
1.12573e-08
1.02269e-09
-4.24552e-09
3.38165e-09
-2.52396e-09
1.57697e-09
-6.36364e-10
-4.00117e-10
1.43049e-09
-2.56439e-09
3.68562e-09
-4.91634e-09
6.13262e-09
-7.48622e-09
8.862e-09
-1.05588e-08
1.23688e-08
-1.48161e-08
1.71812e-08
-1.97804e-08
2.24625e-08
-2.53789e-08
2.8228e-08
-2.98401e-08
3.01677e-08
-2.86504e-08
2.85984e-08
-2.97058e-08
2.53775e-08
-1.75982e-08
1.28608e-08
-1.20684e-08
1.15231e-08
-7.33354e-09
7.75722e-09
-2.2545e-09
-8.17714e-09
1.74526e-08
-2.49909e-08
2.86902e-08
-3.05435e-08
2.65856e-08
-1.74186e-08
-7.3041e-09
2.67561e-08
-4.13334e-08
5.7399e-08
-8.82648e-08
1.12297e-07
-1.2074e-07
1.28148e-07
-1.35883e-07
1.3499e-07
-1.23875e-07
1.08381e-07
-8.62226e-08
7.0266e-08
-5.15956e-08
3.17563e-08
-2.05634e-08
1.00088e-08
2.04625e-09
-4.54888e-09
3.39905e-09
-2.27444e-09
1.06631e-09
9.0603e-11
-1.3077e-09
2.45577e-09
-3.65186e-09
4.78587e-09
-5.98871e-09
7.15628e-09
-8.43529e-09
9.76589e-09
-1.14438e-08
1.33489e-08
-1.62742e-08
1.89158e-08
-2.18957e-08
2.4852e-08
-2.70394e-08
2.79895e-08
-2.74447e-08
2.87508e-08
-3.1483e-08
3.68265e-08
-4.20757e-08
3.11386e-08
-1.61174e-08
1.35651e-08
-1.33349e-08
1.21659e-08
-7.49783e-09
5.70706e-09
1.892e-09
-1.47694e-08
2.32307e-08
-2.95847e-08
3.44308e-08
-3.78161e-08
3.49271e-08
-2.76882e-08
3.78612e-09
1.41267e-08
-3.53453e-08
5.62443e-08
-8.29058e-08
1.06039e-07
-1.17211e-07
1.26518e-07
-1.33766e-07
1.34773e-07
-1.25922e-07
1.09684e-07
-8.65132e-08
7.02609e-08
-5.11598e-08
3.04326e-08
-1.91072e-08
8.49894e-09
3.23365e-09
-4.75695e-09
3.28454e-09
-1.85896e-09
3.50251e-10
1.06575e-09
-2.51509e-09
3.84582e-09
-5.20554e-09
6.47178e-09
-7.79225e-09
9.03006e-09
-1.02987e-08
1.15503e-08
-1.29702e-08
1.4923e-08
-1.83333e-08
2.11129e-08
-2.50541e-08
2.81063e-08
-2.84332e-08
2.75379e-08
-2.67884e-08
3.36296e-08
-4.64784e-08
6.11185e-08
-7.55522e-08
5.16581e-08
-1.72797e-08
1.35492e-08
-1.74901e-08
1.70699e-08
-1.12664e-08
5.93738e-09
6.66202e-09
-2.13338e-08
2.96185e-08
-3.47598e-08
4.03449e-08
-4.32784e-08
4.48366e-08
-4.10388e-08
1.56816e-08
-8.04178e-09
-6.26579e-09
3.55917e-08
-5.97652e-08
7.71441e-08
-9.14119e-08
1.03025e-07
-1.10951e-07
1.17604e-07
-1.17469e-07
1.07264e-07
-8.65665e-08
6.98138e-08
-5.06999e-08
2.89567e-08
-1.73792e-08
6.64858e-09
4.60609e-09
-4.66438e-09
3.13761e-09
-1.67049e-09
1.09146e-10
1.39139e-09
-3.00266e-09
4.58591e-09
-6.34695e-09
8.14094e-09
-1.01576e-08
1.21287e-08
-1.41217e-08
1.5825e-08
-1.73893e-08
1.96802e-08
-2.28952e-08
2.57491e-08
-3.13548e-08
3.44417e-08
-3.39047e-08
3.35484e-08
-3.28064e-08
4.4248e-08
-6.57921e-08
8.36755e-08
-8.83688e-08
5.52146e-08
-2.35871e-08
1.41357e-08
-2.05647e-08
1.9776e-08
-1.51654e-08
1.0888e-08
9.73099e-09
-2.9211e-08
3.73674e-08
-4.3737e-08
5.01173e-08
-5.41581e-08
5.30904e-08
-5.31429e-08
4.00461e-08
-2.82928e-08
2.00743e-09
6.00119e-09
1.22083e-08
2.65225e-09
-3.31184e-08
4.57935e-08
-5.00222e-08
6.18038e-08
-7.5764e-08
8.76787e-08
-8.19622e-08
6.76252e-08
-4.97714e-08
2.72442e-08
-1.52303e-08
4.2584e-09
6.19092e-09
-4.04196e-09
2.67879e-09
-1.39982e-09
2.23993e-11
1.3728e-09
-3.01926e-09
4.83684e-09
-7.09989e-09
9.65177e-09
-1.27844e-08
1.60992e-08
-1.97238e-08
2.30372e-08
-2.6429e-08
2.97826e-08
-3.24287e-08
3.61514e-08
-4.31359e-08
4.77484e-08
-5.18123e-08
5.26143e-08
-4.29533e-08
4.88423e-08
-6.86085e-08
7.5883e-08
-5.25893e-08
2.55601e-08
-1.86943e-08
8.26571e-09
-1.73234e-08
1.72089e-08
-1.70673e-08
1.50217e-08
1.35906e-08
-3.81951e-08
4.22018e-08
-4.59156e-08
5.35189e-08
-5.88885e-08
6.8957e-08
-7.38363e-08
5.35143e-08
-6.16153e-08
7.41218e-08
-4.50059e-08
5.90284e-10
7.62921e-09
-2.29647e-08
7.99296e-09
2.45227e-08
-2.08949e-08
6.6819e-09
2.94877e-08
-5.53452e-08
5.76146e-08
-4.57422e-08
2.45784e-08
-1.15603e-08
2.15434e-10
8.0351e-09
-2.57144e-09
1.13598e-09
1.29986e-10
-1.4798e-09
2.86743e-09
-4.58841e-09
6.58162e-09
-9.18238e-09
1.22252e-08
-1.61346e-08
2.05993e-08
-2.60474e-08
3.17169e-08
-3.78111e-08
4.26878e-08
-4.6319e-08
5.12709e-08
-5.80383e-08
6.53635e-08
-7.00219e-08
6.2067e-08
-4.49497e-08
4.15892e-08
-5.17712e-08
5.15207e-08
-3.07289e-08
2.20694e-08
-1.63648e-08
5.18286e-09
-1.51429e-08
1.51502e-08
-1.49079e-08
9.63121e-09
3.16344e-08
-5.68377e-08
5.07346e-08
-5.33158e-08
6.29359e-08
-7.10721e-08
7.38702e-08
-8.75546e-08
9.0276e-08
-8.74302e-08
5.87229e-08
-4.97654e-08
1.42397e-07
-2.82002e-07
3.56161e-07
-4.22881e-07
7.39192e-07
-6.72634e-07
2.65151e-07
-6.77164e-08
1.78826e-08
1.98304e-08
-2.92482e-08
1.76717e-08
-1.40695e-09
-1.10881e-08
1.02897e-08
3.48415e-10
-2.95078e-09
4.98775e-09
-6.6012e-09
7.90794e-09
-9.53734e-09
1.17177e-08
-1.47822e-08
1.81695e-08
-2.20042e-08
2.5988e-08
-3.13427e-08
3.79909e-08
-4.59682e-08
5.26185e-08
-5.67518e-08
6.03125e-08
-6.34725e-08
6.63069e-08
-6.25734e-08
5.2626e-08
-5.13395e-08
4.44481e-08
-3.59412e-08
2.97731e-08
-1.70435e-08
2.45364e-08
-2.96033e-08
2.20771e-08
-2.24408e-08
1.14799e-08
-7.8012e-09
1.36656e-08
4.68155e-08
-8.24832e-08
5.85335e-08
-5.71256e-08
6.56016e-08
-7.12173e-08
9.13893e-08
-1.00713e-07
1.29206e-07
-1.38971e-07
1.07188e-07
-1.87487e-07
2.96722e-07
-3.66683e-07
4.67126e-07
-6.32454e-07
8.95055e-07
-1.30176e-06
6.31239e-07
-9.60945e-08
9.13649e-08
-5.89319e-08
1.7947e-08
-1.63418e-09
2.84996e-08
-4.20958e-08
1.43907e-08
8.58424e-09
-1.01828e-08
1.08019e-08
-1.10001e-08
1.15012e-08
-1.37063e-08
1.6936e-08
-1.95083e-08
1.98316e-08
-1.8968e-08
1.97439e-08
-2.52761e-08
3.18641e-08
-3.69966e-08
3.90658e-08
-4.58626e-08
5.66658e-08
-6.29357e-08
6.25894e-08
-6.99152e-08
8.86463e-08
-1.00048e-07
7.84247e-08
-4.97814e-08
2.88091e-08
-1.49972e-08
3.64751e-08
-5.92157e-08
5.2242e-08
-4.07981e-08
1.2573e-08
1.72047e-08
-1.29071e-08
5.00533e-08
-7.81614e-08
6.44341e-08
-6.05645e-08
7.3851e-08
-9.40832e-08
1.02024e-07
-1.0903e-07
1.28926e-07
-1.31038e-07
2.09054e-07
-3.30087e-07
3.77149e-07
-4.61356e-07
6.41275e-07
-7.6698e-07
6.34587e-07
1.18159e-07
-3.82241e-07
1.2342e-07
-2.1766e-07
-2.06248e-08
8.09414e-08
-3.7352e-08
7.09202e-08
-8.60268e-08
2.31645e-08
2.08842e-08
-2.63228e-08
2.88902e-08
-3.26194e-08
3.09869e-08
-2.92317e-08
2.74817e-08
-2.7071e-08
3.73295e-08
-5.94395e-08
7.96663e-08
-9.95174e-08
1.11746e-07
-1.20103e-07
1.16246e-07
-1.1014e-07
9.66659e-08
-7.88523e-08
8.31876e-08
-7.78349e-08
9.80826e-08
-1.43926e-07
1.39065e-07
-8.25823e-08
3.28156e-08
-2.22821e-08
5.22547e-08
-7.9841e-08
7.91263e-08
-4.38699e-08
3.13883e-08
2.00521e-08
-5.4115e-08
2.07189e-08
-2.87429e-08
5.52548e-08
-5.8194e-08
8.66125e-08
-1.01247e-07
8.72697e-08
-1.42356e-07
1.65287e-07
-1.91987e-07
3.13837e-07
-3.63493e-07
4.2484e-07
-6.1698e-07
1.06515e-06
-4.92405e-07
-6.41731e-07
2.04942e-06
-1.17553e-06
-1.12521e-07
-8.334e-07
9.14619e-07
-2.24777e-07
-5.23873e-08
6.08905e-08
-7.204e-08
3.02615e-08
1.34582e-07
-1.4264e-07
1.51259e-07
-1.62121e-07
1.81971e-07
-2.10587e-07
2.43899e-07
-2.90151e-07
3.26733e-07
-3.59086e-07
3.8436e-07
-3.99106e-07
4.028e-07
-3.74972e-07
3.30917e-07
-2.50727e-07
1.55166e-07
-5.17651e-08
5.08646e-09
-4.45672e-09
4.63994e-08
-1.13359e-07
1.37749e-07
-1.64437e-07
2.66641e-07
-9.37761e-08
8.61284e-08
-8.53686e-08
9.76326e-08
-3.46077e-08
1.31554e-08
-1.00617e-08
-2.56801e-08
-2.72483e-08
2.74588e-08
2.05231e-08
-2.43206e-08
6.03341e-08
-6.37643e-08
1.2196e-07
-1.81283e-07
1.82369e-07
-2.79475e-07
3.39729e-07
-3.46124e-07
5.56872e-07
-9.06363e-07
1.22195e-06
-9.04331e-07
-5.99883e-07
1.78659e-06
-1.42275e-06
7.66917e-07
-1.08418e-06
1.21607e-06
-8.53231e-07
3.45186e-07
-1.37864e-07
6.65505e-10
5.3137e-08
3.49011e-07
-3.90708e-07
4.26998e-07
-4.62814e-07
4.96639e-07
-5.3291e-07
5.67911e-07
-6.02732e-07
6.29606e-07
-6.45851e-07
6.42977e-07
-6.14835e-07
5.61797e-07
-4.72747e-07
3.79354e-07
-3.38196e-07
3.16767e-07
-3.03296e-07
1.69523e-07
-3.00029e-08
-3.142e-08
3.25533e-08
1.50063e-07
-2.55335e-07
3.53369e-07
-4.68139e-07
3.70167e-07
-2.46219e-07
2.80441e-07
-1.0127e-07
4.57544e-08
-5.32854e-08
2.23591e-08
-4.14873e-08
7.20611e-08
-2.04833e-08
-1.04284e-08
5.50451e-08
-1.25301e-07
1.65789e-07
-1.17729e-07
1.91583e-07
-3.12974e-07
3.05711e-07
-4.12766e-07
8.64854e-07
-3.13115e-07
3.39715e-07
-1.48425e-07
-5.0284e-07
1.12082e-06
-1.08656e-06
9.68701e-07
-1.08415e-06
1.18468e-06
-1.17296e-06
1.37986e-06
-1.51031e-06
2.3923e-07
1.18194e-08
-8.2762e-07
8.88471e-07
-8.50182e-07
6.86751e-07
-4.64744e-07
2.42586e-07
-8.88494e-08
8.80872e-08
-1.95428e-07
1.78308e-08
2.75852e-07
-4.48076e-07
4.40757e-07
-2.82376e-07
3.03366e-07
-1.23902e-07
1.42235e-07
-1.06834e-07
4.13617e-08
-7.3436e-08
7.74847e-08
-5.05949e-08
1.52639e-08
2.2904e-08
-5.25895e-08
6.26514e-08
-4.45278e-08
4.61138e-08
-1.20987e-07
5.77699e-07
-6.59158e-07
4.96837e-07
-3.64542e-07
3.05503e-07
-2.83483e-07
2.57439e-07
-2.29647e-07
2.22719e-07
-2.18049e-07
2.04233e-07
-1.92291e-07
1.82089e-07
-1.68079e-07
1.49378e-07
-1.26038e-07
1.04808e-07
-8.49637e-08
6.7869e-08
-5.09666e-08
3.56475e-08
-2.02078e-08
5.85426e-09
9.35299e-09
-2.49077e-08
4.37391e-08
-6.50705e-08
9.07142e-08
-1.16444e-07
-6.11167e-08
4.33551e-07
-6.94987e-07
7.18926e-07
-4.88382e-07
2.36212e-07
-4.01244e-08
2.50092e-08
-2.80002e-07
2.43867e-07
1.22668e-07
-3.82783e-07
5.08021e-07
-7.05836e-07
4.49854e-07
-1.66971e-07
1.32621e-07
-1.35594e-07
6.19098e-08
-5.52544e-08
5.72841e-08
-3.15966e-08
-4.75016e-09
4.78499e-08
-6.72071e-08
7.4151e-08
-1.29369e-07
2.37379e-07
-2.62214e-07
4.29727e-07
-3.61081e-07
3.43859e-07
-3.27999e-07
2.74269e-07
-2.53015e-07
2.33071e-07
-2.11858e-07
2.09034e-07
-2.11102e-07
2.01235e-07
-1.92997e-07
1.86943e-07
-1.77618e-07
1.62135e-07
-1.40304e-07
1.19083e-07
-9.84407e-08
8.06292e-08
-6.32727e-08
4.77641e-08
-3.24369e-08
1.90457e-08
-6.53906e-09
-3.91819e-09
1.46164e-08
-2.66017e-08
4.29943e-08
-6.2398e-08
-7.61257e-08
8.93206e-09
-4.28375e-07
6.54952e-07
-4.51704e-07
2.43342e-07
-3.76175e-08
-3.24384e-08
-3.55217e-07
4.61587e-07
-5.97627e-08
-2.8141e-07
4.66293e-07
-5.72404e-07
3.90218e-07
-3.33012e-07
6.97699e-08
-1.41733e-07
1.02412e-07
-2.06905e-08
-3.8505e-09
9.72884e-09
-3.10711e-08
6.64366e-08
-9.74157e-08
2.11663e-07
-4.80227e-07
5.83612e-07
-4.352e-07
3.59487e-07
-2.57476e-07
2.37105e-07
-2.1945e-07
1.66797e-07
-1.58966e-07
1.62702e-07
-1.6268e-07
1.66749e-07
-1.76984e-07
1.79807e-07
-1.71701e-07
1.63671e-07
-1.57908e-07
1.55261e-07
-1.42098e-07
1.25814e-07
-1.07755e-07
9.13046e-08
-7.50086e-08
6.05268e-08
-4.65851e-08
3.52648e-08
-2.62396e-08
2.10233e-08
-1.85379e-08
1.70369e-08
-1.34304e-08
6.05349e-09
3.86133e-08
-1.32538e-07
-2.53569e-07
5.517e-07
-3.96587e-07
2.04198e-07
-3.06722e-08
-5.58869e-08
-4.09006e-07
6.45902e-07
-2.63904e-07
-1.47194e-07
4.37706e-07
-6.77622e-07
9.09424e-07
-7.23926e-07
6.30759e-08
-1.19195e-07
1.53268e-07
-2.61412e-08
-5.53888e-08
3.7754e-08
-3.55587e-08
1.46361e-07
-1.10362e-06
8.7272e-07
-6.64535e-07
4.96529e-07
-3.2198e-07
2.30077e-07
-1.5412e-07
1.17595e-07
-8.22769e-08
3.29281e-08
-4.1176e-08
7.29223e-08
-1.03641e-07
1.14975e-07
-1.24641e-07
1.36974e-07
-1.40902e-07
1.39789e-07
-1.39892e-07
1.35677e-07
-1.32669e-07
1.23381e-07
-1.10747e-07
9.79425e-08
-8.45643e-08
7.24205e-08
-6.08358e-08
5.19482e-08
-4.59241e-08
4.42314e-08
-4.67338e-08
5.19632e-08
-5.80663e-08
6.19544e-08
5.38344e-08
-1.17858e-07
-1.68759e-07
4.29779e-07
-3.57421e-07
1.47337e-07
-7.84148e-09
-5.5471e-08
-3.99731e-07
7.44879e-07
-4.81516e-07
3.60286e-08
3.12535e-07
-4.97166e-07
6.74536e-07
-7.28448e-07
2.30474e-07
1.18942e-08
-1.11157e-08
-6.4805e-08
-8.78228e-09
7.22347e-08
-2.15337e-07
4.19944e-07
-3.64293e-07
3.50209e-07
-3.33061e-07
2.75616e-07
-1.48933e-07
8.33684e-08
-4.24529e-08
-1.7056e-09
4.95411e-08
-9.58738e-08
6.80101e-08
-1.6548e-08
-4.44728e-08
5.87507e-08
-7.27518e-08
8.63188e-08
-9.70576e-08
1.05152e-07
-1.13278e-07
1.15495e-07
-1.14066e-07
1.10843e-07
-1.05241e-07
9.80723e-08
-8.95774e-08
8.122e-08
-7.28881e-08
6.66574e-08
-6.30095e-08
6.31413e-08
-6.73282e-08
7.45886e-08
-8.42856e-08
9.36462e-08
1.5051e-08
-8.69007e-08
-3.18912e-08
2.73863e-07
-2.89272e-07
1.02981e-07
1.1582e-08
-4.79111e-08
-2.87601e-07
7.37148e-07
-7.18993e-07
2.31127e-07
1.28004e-07
-2.91175e-07
3.94255e-07
-1.43462e-07
-1.52096e-07
3.68524e-07
-7.08097e-08
9.97417e-08
-6.11436e-08
4.86183e-07
-3.34905e-07
2.70483e-07
-9.80991e-08
1.43705e-07
-1.85362e-07
1.11355e-07
-7.76487e-08
1.92273e-08
4.28334e-08
-9.86022e-08
1.53419e-07
-1.95834e-07
1.36952e-07
-5.77418e-08
-2.03514e-08
2.63716e-08
-2.70557e-08
3.66755e-08
-4.43715e-08
5.52959e-08
-6.82985e-08
7.69846e-08
-8.31485e-08
8.83343e-08
-9.11658e-08
9.08989e-08
-8.88928e-08
8.56678e-08
-8.12752e-08
7.79954e-08
-7.65581e-08
7.78163e-08
-8.21995e-08
8.90669e-08
-9.83958e-08
1.08203e-07
-2.08919e-08
-4.36527e-08
2.14826e-08
1.96532e-07
-1.38262e-07
-8.75021e-09
4.76393e-08
-4.81484e-08
-7.8228e-08
6.59429e-07
-9.90804e-07
4.58553e-07
-5.55219e-08
-1.02976e-07
1.53483e-07
-7.47862e-08
-6.66408e-08
5.01996e-08
-7.43509e-08
1.39287e-07
-1.32253e-07
3.69755e-08
-6.78654e-08
6.66195e-09
2.44254e-08
3.73503e-08
-6.14503e-08
8.28828e-08
-2.32224e-08
-3.27929e-08
9.96579e-08
-1.58161e-07
2.08688e-07
-2.39467e-07
1.54748e-07
-7.17182e-08
-1.73065e-08
5.71913e-09
8.22361e-09
-9.78036e-09
9.88656e-09
4.9339e-09
-2.03954e-08
3.43286e-08
-4.57651e-08
5.9215e-08
-6.96831e-08
7.48358e-08
-8.0821e-08
8.4237e-08
-8.3584e-08
8.42349e-08
-8.58723e-08
8.86565e-08
-9.35099e-08
1.00017e-07
-1.08417e-07
1.1719e-07
-2.93443e-08
-3.95932e-08
6.10056e-08
8.2698e-08
-6.57196e-08
-2.46329e-08
6.06017e-08
-5.12378e-08
7.76317e-08
6.18974e-07
-1.24423e-06
6.7662e-07
-2.08272e-07
7.46614e-09
1.79988e-09
5.72036e-08
-1.30757e-07
1.25799e-07
-9.32222e-08
7.41278e-08
-3.05645e-08
-6.5316e-08
6.01587e-08
-5.4103e-09
-2.6338e-08
4.56774e-08
2.35152e-08
-2.01371e-08
3.22609e-08
-6.35816e-08
1.22318e-07
-1.62955e-07
1.67514e-07
-5.71061e-08
1.11676e-07
-1.48965e-07
3.24304e-08
-1.68983e-08
3.71472e-08
-4.63489e-08
4.18017e-08
-3.13105e-08
6.67948e-09
1.61984e-08
-3.83544e-08
4.12351e-08
-4.23e-08
4.90449e-08
-5.35109e-08
6.09668e-08
-7.2177e-08
8.40095e-08
-9.16216e-08
9.71071e-08
-1.03651e-07
1.1131e-07
-1.20325e-07
1.2906e-07
-4.6464e-08
-2.23067e-08
7.4611e-08
3.78313e-08
-3.67578e-08
-2.43259e-08
5.75952e-08
-4.75183e-08
-1.60094e-09
5.62604e-07
-1.2191e-06
8.22799e-07
-3.50486e-07
1.23049e-07
-1.02804e-07
7.86799e-08
-1.63527e-07
2.54914e-07
-1.85694e-07
1.20087e-07
-5.97116e-08
-2.73339e-08
-4.34122e-09
5.64949e-08
-2.52813e-08
1.33259e-08
2.95405e-08
-1.97461e-07
1.20231e-07
-8.19046e-08
1.11425e-07
-1.26595e-07
5.90436e-08
1.20217e-07
8.87993e-09
-5.32157e-08
7.33658e-08
-5.68583e-08
6.08871e-08
-6.66163e-08
6.6609e-08
-6.12036e-08
4.80426e-08
-3.29426e-08
1.45784e-08
8.32988e-10
-1.56127e-08
2.94326e-08
-4.38314e-08
5.94363e-08
-7.61566e-08
8.82106e-08
-1.06795e-07
1.16262e-07
-1.22758e-07
1.32013e-07
-1.41691e-07
1.50178e-07
-7.06312e-08
-2.07066e-09
9.18227e-08
9.84163e-09
-2.08686e-08
-3.03241e-08
5.39212e-08
-4.19912e-08
-1.22481e-07
2.78734e-07
-8.33787e-07
8.87633e-07
-4.95218e-07
2.71101e-07
-1.71729e-07
1.32171e-07
-1.85182e-07
3.54136e-07
-3.62318e-07
2.49043e-07
-1.79917e-07
1.93931e-07
-3.17325e-07
2.22239e-07
-9.57825e-08
1.32706e-08
7.04343e-10
-3.69839e-08
6.07412e-08
-9.93838e-08
7.11811e-08
-3.65292e-08
-1.72754e-08
-1.38077e-08
2.80968e-08
9.37909e-08
-1.88188e-08
-4.00764e-08
5.70673e-08
-7.0522e-08
7.54042e-08
-7.43496e-08
6.82374e-08
-5.66865e-08
3.72992e-08
-1.43564e-08
-1.00586e-08
2.93674e-08
-4.83132e-08
6.48893e-08
-8.29945e-08
9.53902e-08
-1.09628e-07
1.29083e-07
-1.43551e-07
1.52593e-07
-1.61006e-07
1.68675e-07
-7.85989e-08
-8.97478e-09
9.53929e-08
-1.76857e-09
-8.65941e-10
-4.14271e-08
4.68654e-08
-3.16422e-08
-1.73178e-07
6.99413e-08
-5.87816e-07
9.8772e-07
-7.0978e-07
4.94676e-07
-3.53753e-07
3.17519e-07
-2.85518e-07
4.39842e-07
-5.2408e-07
4.09931e-07
-3.41983e-07
3.56236e-07
-2.94612e-07
2.78786e-07
-2.01167e-07
1.02885e-07
-1.69302e-07
1.38428e-07
-1.19188e-07
-1.63876e-08
-1.69448e-09
3.20432e-08
4.23308e-08
-1.23653e-07
-1.61477e-08
1.34193e-07
3.84987e-08
-4.92404e-08
5.54016e-08
-6.57403e-08
7.03242e-08
-6.84244e-08
6.08868e-08
-4.8163e-08
2.86884e-08
-5.9462e-09
-1.89331e-08
4.1079e-08
-6.27995e-08
7.88821e-08
-9.45764e-08
1.08947e-07
-1.26308e-07
1.3945e-07
-1.53119e-07
1.67878e-07
-1.84916e-07
1.99558e-07
-9.03323e-08
1.66488e-08
5.05519e-08
1.78469e-08
2.64102e-08
-5.26667e-08
3.462e-08
-1.55103e-08
-2.43289e-07
2.09666e-07
-7.01867e-07
1.19332e-06
-9.05404e-07
6.54724e-07
-5.48318e-07
5.42593e-07
-4.2255e-07
5.13694e-07
-6.61261e-07
5.77098e-07
-5.14964e-07
4.96262e-07
-4.11043e-07
3.85107e-07
-3.59124e-07
3.11143e-07
-2.26512e-07
3.16955e-07
-2.83954e-07
1.92681e-07
-2.24327e-07
2.25534e-07
-1.74545e-07
8.51807e-09
-4.63219e-08
8.98986e-08
4.24182e-08
-7.79866e-08
7.36141e-08
-6.89915e-08
6.27853e-08
-5.37894e-08
4.06008e-08
-2.44557e-08
3.9646e-09
1.77391e-08
-4.12364e-08
6.27459e-08
-8.3894e-08
1.02249e-07
-1.20642e-07
1.36896e-07
-1.54137e-07
1.7299e-07
-1.94456e-07
2.12457e-07
-2.27997e-07
2.41283e-07
-9.73006e-08
2.93199e-08
2.95428e-08
2.67305e-08
3.56407e-08
-5.88388e-08
1.88582e-08
4.21682e-09
-3.24928e-07
4.81655e-07
-9.48621e-07
1.46376e-06
-1.0964e-06
8.66045e-07
-7.72502e-07
6.99834e-07
-5.53448e-07
5.6787e-07
-6.8634e-07
6.72297e-07
-6.49881e-07
6.14517e-07
-5.4437e-07
5.26401e-07
-5.05638e-07
4.77069e-07
-4.21495e-07
4.97591e-07
-4.79147e-07
4.479e-07
-4.31629e-07
4.34567e-07
-3.33582e-07
2.6155e-07
-2.03731e-07
-7.63127e-09
2.03726e-08
-5.89749e-08
8.25993e-08
-7.25599e-08
5.46905e-08
-3.55044e-08
1.41792e-08
6.92294e-09
-2.9894e-08
5.19519e-08
-7.48189e-08
9.57076e-08
-1.16639e-07
1.35601e-07
-1.54913e-07
1.72748e-07
-1.91298e-07
2.09037e-07
-2.27237e-07
2.43221e-07
-2.5852e-07
2.72137e-07
-1.15746e-07
4.92188e-08
7.04979e-08
-9.70194e-09
4.25679e-08
-6.25286e-08
8.817e-10
3.29276e-08
-3.65163e-07
6.76823e-07
-9.67849e-07
1.45787e-06
-1.18805e-06
1.00436e-06
-8.63759e-07
7.69517e-07
-6.24386e-07
5.70801e-07
-6.28915e-07
6.63074e-07
-6.82591e-07
6.62448e-07
-6.35785e-07
6.37198e-07
-6.20541e-07
5.92433e-07
-5.64291e-07
6.19122e-07
-6.50128e-07
6.37686e-07
-5.81605e-07
5.15879e-07
-4.59694e-07
3.37507e-07
-1.2869e-07
7.19078e-10
1.06505e-07
-1.01961e-07
9.8527e-08
-7.31046e-08
4.23036e-08
-1.25014e-08
-1.77491e-08
4.47424e-08
-7.13189e-08
9.48838e-08
-1.17978e-07
1.38345e-07
-1.58291e-07
1.76047e-07
-1.93741e-07
2.09783e-07
-2.25995e-07
2.40805e-07
-2.55678e-07
2.69021e-07
-2.82234e-07
2.9406e-07
-1.05651e-07
1.19761e-08
7.5968e-08
-1.46584e-08
5.66871e-08
-6.59015e-08
-7.63944e-09
5.95018e-08
-3.50612e-07
6.98817e-07
-7.78968e-07
1.18782e-06
-1.01572e-06
8.80019e-07
-8.31104e-07
7.28849e-07
-5.87814e-07
4.8962e-07
-4.89238e-07
5.6164e-07
-6.24168e-07
6.19154e-07
-6.03207e-07
5.90241e-07
-5.86571e-07
5.95513e-07
-6.15755e-07
6.88229e-07
-7.65943e-07
8.07544e-07
-7.74855e-07
6.90895e-07
-6.31079e-07
6.2348e-07
-3.79484e-07
1.49912e-07
-8.67045e-08
5.46026e-08
-4.76617e-09
-8.03621e-09
-7.4138e-09
3.27533e-08
-6.39343e-08
9.24537e-08
-1.20232e-07
1.44282e-07
-1.671e-07
1.86474e-07
-2.04638e-07
2.20082e-07
-2.34781e-07
2.47562e-07
-2.60019e-07
2.71092e-07
-2.8206e-07
2.91907e-07
-3.01725e-07
3.10554e-07
-8.00904e-08
-8.37227e-09
4.6895e-08
-1.06402e-08
6.50376e-08
-6.86559e-08
-9.28586e-09
7.4925e-08
-2.84899e-07
5.84716e-07
-5.48198e-07
8.26931e-07
-7.15029e-07
7.11566e-07
-7.2148e-07
6.37626e-07
-4.452e-07
2.99202e-07
-2.54158e-07
3.55945e-07
-4.49295e-07
4.60964e-07
-4.68057e-07
4.77661e-07
-4.9391e-07
4.99894e-07
-5.56444e-07
6.29457e-07
-7.79245e-07
9.22114e-07
-9.56868e-07
9.06022e-07
-8.22703e-07
7.62615e-07
-6.12407e-07
4.59435e-07
-3.6629e-07
3.67874e-07
-4.38882e-07
3.43282e-07
-2.40551e-07
1.88852e-07
-1.77093e-07
1.80166e-07
-1.92253e-07
2.07488e-07
-2.24095e-07
2.38686e-07
-2.52133e-07
2.63065e-07
-2.72877e-07
2.80938e-07
-2.8845e-07
2.94964e-07
-3.01387e-07
3.07241e-07
-3.13227e-07
3.18785e-07
-8.41522e-08
3.06378e-08
3.12051e-08
-1.93943e-08
6.86567e-08
-7.17132e-08
-3.37136e-09
7.15074e-08
-1.81518e-07
3.87183e-07
-1.13821e-07
2.44376e-07
-3.70235e-07
4.64164e-07
-5.37938e-07
3.94868e-07
-1.45821e-07
1.41685e-08
6.90733e-08
3.75426e-08
-2.0543e-07
2.71578e-07
-3.4379e-07
3.94672e-07
-4.26999e-07
3.40401e-07
-3.87233e-07
4.41429e-07
-6.64625e-07
8.99543e-07
-1.06339e-06
1.09918e-06
-1.0292e-06
9.35264e-07
-8.2254e-07
7.06622e-07
-5.9376e-07
4.86373e-07
-4.16087e-07
4.28355e-07
-3.92567e-07
3.53025e-07
-3.29887e-07
3.09613e-07
-2.99988e-07
2.97686e-07
-2.98749e-07
3.00626e-07
-3.02168e-07
3.02782e-07
-3.026e-07
3.01927e-07
-3.01079e-07
3.00498e-07
-3.00412e-07
3.0103e-07
-3.02522e-07
3.0476e-07
-1.05601e-07
6.24649e-08
4.55905e-08
-3.56584e-08
7.01318e-08
-7.6988e-08
1.84411e-08
4.88785e-08
-8.0552e-08
1.83835e-07
1.44186e-07
-1.58938e-07
-1.30265e-07
3.22522e-07
-3.18373e-07
1.11511e-07
1.43013e-07
-2.87618e-07
3.55123e-07
-1.74125e-07
-3.84601e-08
1.59282e-07
-2.27747e-07
2.98002e-07
-3.99742e-07
1.5255e-07
-1.37373e-07
3.00205e-07
-3.89309e-07
6.88491e-07
-1.01919e-06
1.15035e-06
-1.21774e-06
1.15826e-06
-1.06287e-06
9.86184e-07
-9.05442e-07
7.68652e-07
-6.77082e-07
6.38613e-07
-6.02327e-07
5.72635e-07
-5.13312e-07
4.776e-07
-4.45578e-07
4.18824e-07
-3.93914e-07
3.72309e-07
-3.51101e-07
3.31927e-07
-3.12669e-07
2.95461e-07
-2.78848e-07
2.64908e-07
-2.52586e-07
2.43525e-07
-2.37073e-07
2.3416e-07
-5.35541e-08
-6.67173e-08
1.5143e-07
-1.13836e-07
8.56361e-08
-8.65331e-08
4.74818e-08
1.30444e-08
-6.45259e-09
5.98295e-08
2.43107e-07
-4.96725e-07
5.6405e-10
2.70017e-07
-6.30349e-08
-1.6626e-07
3.18378e-07
-4.19428e-07
3.2431e-07
-1.54212e-07
4.34679e-08
6.10268e-08
-1.02168e-07
2.13731e-07
-4.27657e-07
6.94465e-07
-8.89582e-07
6.28132e-07
-4.31135e-07
3.44603e-07
-5.83699e-07
8.38282e-07
-1.01559e-06
1.07827e-06
-1.1029e-06
1.06155e-06
-1.04129e-06
1.02024e-06
-9.37412e-07
8.51383e-07
-8.60351e-07
7.92319e-07
-7.37927e-07
6.66275e-07
-5.94258e-07
5.32193e-07
-4.72678e-07
4.20693e-07
-3.69396e-07
3.22883e-07
-2.75434e-07
2.31319e-07
-1.85412e-07
1.42152e-07
-9.68578e-08
5.46311e-08
-1.18141e-08
-2.53669e-08
-5.70563e-08
5.20107e-08
-3.0368e-09
-9.70147e-08
1.17015e-07
-9.93906e-08
7.97526e-08
-1.84446e-08
6.0439e-08
-1.10991e-08
2.77753e-07
-5.53134e-07
4.91236e-08
1.20998e-07
1.59631e-07
-3.39333e-07
3.9527e-07
-4.30643e-07
2.22526e-07
-1.13996e-07
6.15999e-08
3.40488e-09
-4.10216e-08
6.69991e-08
-1.43199e-07
4.55398e-07
-3.96094e-07
3.8892e-07
-2.03692e-07
-2.05561e-07
2.99469e-07
1.12427e-07
-4.89204e-07
8.46703e-07
-1.006e-06
1.03948e-06
-9.9442e-07
9.06086e-07
-8.50078e-07
8.37933e-07
-7.84096e-07
7.33569e-07
-6.77065e-07
6.27363e-07
-5.6929e-07
5.10094e-07
-4.45053e-07
3.8228e-07
-3.16423e-07
2.54651e-07
-1.90306e-07
1.29262e-07
-6.40313e-08
3.95177e-10
6.89171e-08
-1.36114e-07
2.071e-07
-2.71251e-07
-1.04142e-07
5.51654e-08
1.51063e-07
-2.62428e-07
1.64014e-07
-1.14983e-07
1.12531e-07
-5.30285e-08
1.23095e-07
-9.65201e-08
3.03514e-07
-4.79993e-07
3.66438e-08
-3.87562e-08
3.11896e-07
-3.83236e-07
4.12278e-07
-4.14044e-07
1.82315e-07
-9.91213e-08
2.58105e-08
6.67429e-08
-1.55666e-07
1.85469e-07
-1.67776e-07
2.70754e-07
-3.89121e-07
5.30477e-07
-6.10365e-07
5.97165e-07
-2.06744e-07
-1.06568e-07
-1.63452e-07
5.48268e-07
-7.5014e-07
7.96436e-07
-7.60898e-07
6.8031e-07
-7.20637e-07
7.51711e-07
-7.12906e-07
6.72371e-07
-5.9784e-07
5.32041e-07
-4.62763e-07
3.95533e-07
-3.24511e-07
2.59185e-07
-1.94727e-07
1.38753e-07
-8.58606e-08
4.14019e-08
-7.92271e-10
-3.18985e-08
5.9752e-08
-8.01761e-08
9.58966e-08
-1.07256e-07
-3.28695e-08
-5.77871e-08
1.31228e-07
-2.19431e-07
2.31647e-07
-1.15864e-07
1.40374e-07
-9.01682e-08
1.84444e-07
-2.04398e-07
3.56912e-07
-4.86423e-07
1.28139e-07
-1.69366e-07
3.13017e-07
-2.88685e-07
2.78598e-07
-2.73934e-07
1.17838e-07
-6.76437e-08
2.33004e-08
2.96018e-08
-1.00993e-07
1.71309e-07
-2.79661e-07
4.0581e-07
-5.40374e-07
6.6104e-07
-7.36709e-07
7.86092e-07
-7.45554e-07
6.6569e-07
-4.71863e-07
2.43946e-07
-2.27067e-07
2.91963e-07
-3.83449e-07
5.87302e-07
-6.36509e-07
5.5052e-07
-4.67812e-07
3.9618e-07
-3.20991e-07
2.47072e-07
-1.68142e-07
9.73838e-08
-3.13237e-08
-2.15146e-08
6.67379e-08
-1.00923e-07
1.29015e-07
-1.49056e-07
1.63547e-07
-1.71548e-07
1.74351e-07
-1.72934e-07
1.69061e-07
-1.62933e-07
-5.67994e-08
3.38235e-08
9.37519e-08
-1.24412e-07
1.06688e-07
-1.10612e-07
1.56437e-07
-1.22084e-07
2.14115e-07
-2.45942e-07
3.60492e-07
-4.2543e-07
1.34268e-07
-1.46283e-07
1.39359e-07
1.18088e-08
-1.00152e-07
7.15913e-08
-2.07654e-08
-2.92871e-08
4.03057e-08
-3.08894e-08
-9.21473e-09
6.30618e-08
-1.24362e-07
1.62632e-07
-1.68833e-07
1.57115e-07
-1.4761e-07
1.40949e-07
-9.65288e-08
1.15807e-08
1.05567e-07
-2.32206e-07
2.76573e-07
-1.91368e-07
9.49912e-08
-1.03574e-07
1.7096e-07
-2.28657e-07
2.70259e-07
-3.09261e-07
3.5502e-07
-3.99504e-07
4.42471e-07
-4.77146e-07
5.05993e-07
-5.25471e-07
5.37928e-07
-5.41576e-07
5.35049e-07
-5.21092e-07
4.98244e-07
-4.73378e-07
4.41505e-07
-4.08663e-07
3.74382e-07
-3.44931e-07
-3.44095e-08
-8.77404e-08
2.41725e-07
-1.10571e-07
1.77724e-08
-1.3629e-07
1.74197e-07
-1.48132e-07
2.21802e-07
-2.47973e-07
3.27245e-07
-3.65578e-07
9.95402e-08
6.44564e-08
-2.60544e-07
3.09786e-07
-2.13488e-07
1.54214e-07
-6.27906e-08
-3.21165e-08
1.08263e-07
-1.59805e-07
1.9722e-07
-2.33531e-07
2.99595e-07
-3.95485e-07
4.94306e-07
-5.56977e-07
6.02187e-07
-6.42434e-07
6.92071e-07
-7.66389e-07
8.58525e-07
-9.39981e-07
9.90782e-07
-1.00314e-06
1.01976e-06
-1.05435e-06
1.10063e-06
-1.14208e-06
1.1789e-06
-1.20013e-06
1.20426e-06
-1.19404e-06
1.16818e-06
-1.13416e-06
1.08733e-06
-1.03697e-06
9.7975e-07
-9.19969e-07
8.56407e-07
-7.98502e-07
7.41187e-07
-6.9184e-07
6.42815e-07
-6.0064e-07
5.61827e-07
-5.3065e-07
-3.5363e-08
1.33104e-07
-1.04253e-07
-4.09966e-07
2.61806e-07
-1.73442e-07
1.9452e-07
-1.68303e-07
2.15795e-07
-2.34792e-07
2.58009e-07
-2.27254e-07
2.50919e-08
2.3154e-07
-4.62872e-07
5.41457e-07
-4.22029e-07
2.5006e-07
-6.68381e-08
-8.57642e-08
2.27901e-07
-3.59288e-07
5.10639e-07
-6.81044e-07
8.84138e-07
-1.07414e-06
1.24195e-06
-1.37556e-06
1.49829e-06
-1.58113e-06
1.6588e-06
-1.73643e-06
1.81441e-06
-1.8821e-06
1.93878e-06
-1.97887e-06
2.00709e-06
-2.01242e-06
1.98917e-06
-1.94336e-06
1.8738e-06
-1.79434e-06
1.70018e-06
-1.60425e-06
1.50424e-06
-1.41434e-06
1.32734e-06
-1.25201e-06
1.17511e-06
-1.10732e-06
1.04168e-06
-9.85245e-07
9.31618e-07
-8.8614e-07
8.43344e-07
-8.07247e-07
7.73573e-07
-7.45331e-07
-4.49539e-08
1.62435e-07
-1.46562e-07
-4.32729e-07
2.69492e-07
-2.05031e-07
1.99284e-07
-1.81279e-07
2.01212e-07
-2.08622e-07
1.99861e-07
-1.09043e-07
-1.32217e-07
3.89233e-07
-6.00068e-07
5.63701e-07
-3.70068e-07
1.81649e-07
7.85022e-09
-1.82067e-07
3.7355e-07
-5.81323e-07
8.42746e-07
-1.12405e-06
1.41557e-06
-1.66037e-06
1.89616e-06
-2.09752e-06
2.26672e-06
-2.40176e-06
2.51525e-06
-2.57916e-06
2.61114e-06
-2.61387e-06
2.58976e-06
-2.54247e-06
2.46788e-06
-2.38214e-06
2.28194e-06
-2.17884e-06
2.0665e-06
-1.96155e-06
1.86174e-06
-1.77732e-06
1.68667e-06
-1.59483e-06
1.50506e-06
-1.43289e-06
1.36381e-06
-1.30289e-06
1.24513e-06
-1.19047e-06
1.13425e-06
-1.08523e-06
1.03842e-06
-9.97358e-07
9.57824e-07
-9.2408e-07
-5.26863e-08
6.00526e-08
9.21661e-09
-1.56566e-07
1.35431e-07
-2.19027e-07
2.03984e-07
-1.77726e-07
1.78066e-07
-1.71178e-07
1.49907e-07
-7.86283e-08
-7.90785e-08
2.5536e-07
-3.96146e-07
3.53564e-07
-2.19578e-07
7.37076e-08
8.90456e-08
-2.57078e-07
4.58774e-07
-6.89289e-07
9.92975e-07
-1.34383e-06
1.73133e-06
-2.01764e-06
2.20462e-06
-2.37661e-06
2.50303e-06
-2.57801e-06
2.63353e-06
-2.65823e-06
2.64466e-06
-2.6049e-06
2.54192e-06
-2.46446e-06
2.36905e-06
-2.27093e-06
2.1651e-06
-2.0668e-06
1.98284e-06
-1.89039e-06
1.78822e-06
-1.71216e-06
1.65939e-06
-1.58885e-06
1.50427e-06
-1.41195e-06
1.32743e-06
-1.25961e-06
1.21331e-06
-1.17065e-06
1.11841e-06
-1.06331e-06
1.03204e-06
-9.96184e-07
9.55782e-07
-9.17577e-07
-7.96728e-08
3.81455e-07
-3.13268e-07
-5.70414e-07
4.25634e-07
-2.54174e-07
2.16078e-07
-1.60416e-07
1.4652e-07
-1.29857e-07
1.03543e-07
-5.494e-08
-2.93258e-08
1.17747e-07
-1.90849e-07
1.70727e-07
-9.31268e-08
-5.89423e-09
1.29124e-07
-2.60782e-07
4.1206e-07
-5.64067e-07
7.20224e-07
-8.62464e-07
1.03844e-06
-1.29201e-06
1.62898e-06
-1.92109e-06
2.02115e-06
-1.92776e-06
1.87617e-06
-1.91941e-06
1.91803e-06
-1.863e-06
1.77654e-06
-1.67644e-06
1.56433e-06
-1.4544e-06
1.33557e-06
-1.21924e-06
1.11262e-06
-1.05171e-06
1.00138e-06
-9.33069e-07
8.43455e-07
-7.78633e-07
7.4147e-07
-7.16974e-07
7.0645e-07
-6.92941e-07
6.83236e-07
-6.53006e-07
6.30922e-07
-5.94222e-07
5.41967e-07
-5.08482e-07
4.90768e-07
-4.73793e-07
-3.29186e-08
1.30478e-06
-1.61989e-06
-2.20368e-06
1.38224e-06
-1.86967e-07
2.21707e-07
-1.19947e-07
1.02497e-07
-8.51756e-08
6.33772e-08
-3.23683e-08
-1.26615e-08
5.33086e-08
-8.3334e-08
7.11158e-08
-2.72131e-08
-3.45654e-08
1.15475e-07
-2.04266e-07
3.06289e-07
-4.05746e-07
5.05224e-07
-5.89367e-07
6.73257e-07
-7.72595e-07
9.0672e-07
-9.51204e-07
9.78144e-07
-9.38806e-07
7.96978e-07
-6.40466e-07
5.50838e-07
-4.77094e-07
3.98178e-07
-3.25589e-07
2.62316e-07
-1.92479e-07
1.27224e-07
-7.42843e-08
2.96781e-08
1.74144e-08
-7.06283e-08
1.4462e-07
-1.70104e-07
1.83678e-07
-1.9346e-07
1.94929e-07
-1.8955e-07
1.85074e-07
-1.84494e-07
1.86485e-07
-1.843e-07
1.73859e-07
-1.57439e-07
1.40091e-07
-1.22271e-07
1.05428e-07
-1.11698e-07
1.18873e-06
-1.59092e-06
-1.56429e-06
9.32489e-07
-1.49565e-07
1.12209e-07
-4.59452e-08
4.42082e-08
-3.85468e-08
2.96259e-08
-1.65747e-08
-1.55071e-09
1.78063e-08
-2.88842e-08
2.6355e-08
-1.13335e-08
-1.28749e-08
4.69339e-08
-8.66442e-08
1.35481e-07
-1.86601e-07
2.40455e-07
-2.82363e-07
3.02878e-07
-2.85013e-07
2.22813e-07
-1.10488e-07
2.44935e-07
-5.68444e-07
5.94471e-07
-4.70798e-07
3.36243e-07
-2.30066e-07
1.51926e-07
-1.0709e-07
6.14103e-08
-2.59115e-08
-6.59397e-09
3.18086e-08
-5.0325e-08
5.40707e-08
-4.88562e-08
4.26993e-08
-3.7653e-08
3.52155e-08
-3.41502e-08
3.38073e-08
-3.32797e-08
3.22316e-08
-3.03697e-08
2.77557e-08
-2.40403e-08
1.96118e-08
-1.42241e-08
8.69394e-09
-2.78847e-09
-2.6355e-09
1.42882e-07
-1.68279e-07
1.9127e-07
-2.13359e-07
2.31932e-07
-2.48881e-07
2.62162e-07
-2.72247e-07
2.76719e-07
-2.74175e-07
2.63379e-07
-2.43385e-07
2.18599e-07
-1.932e-07
1.7648e-07
-1.651e-07
1.57164e-07
-1.55571e-07
1.36111e-07
-9.04923e-08
4.57194e-08
-3.60429e-08
9.08596e-08
-1.79172e-07
2.44391e-07
-2.91188e-07
2.94352e-07
-3.03995e-07
3.18831e-07
-3.23278e-07
3.17998e-07
-1.03187e-07
3.17801e-08
-2.70544e-08
5.58356e-08
-3.32608e-08
-1.94168e-09
2.40508e-08
-6.76839e-08
7.29659e-08
-5.08621e-08
1.22343e-07
-1.48093e-07
1.22628e-07
-2.39092e-07
5.22194e-07
-2.80194e-07
2.96475e-08
9.23796e-08
-2.53962e-07
4.20127e-07
-4.0836e-07
4.39595e-07
-4.82416e-07
4.51459e-07
-4.34185e-07
5.90214e-07
-7.86962e-07
1.26767e-06
-1.25548e-07
8.54836e-08
-1.10387e-07
1.34824e-07
-1.59248e-07
1.79456e-07
-1.96502e-07
2.08005e-07
-2.14613e-07
2.15359e-07
-2.10035e-07
1.99386e-07
-1.8367e-07
1.67115e-07
-1.51656e-07
1.52162e-07
-1.55793e-07
1.56905e-07
-1.63806e-07
1.67592e-07
-1.43792e-07
1.11666e-07
-9.61613e-08
1.31182e-07
-2.10451e-07
2.56888e-07
-2.71533e-07
2.61941e-07
-2.85258e-07
3.50919e-07
-4.54878e-07
4.94803e-07
-4.67526e-07
2.81629e-07
-9.06377e-08
4.2932e-08
-4.11766e-08
9.20013e-09
1.00837e-08
-4.96166e-08
5.48466e-08
-6.14203e-08
1.58789e-07
-1.37971e-07
8.71725e-08
-3.72366e-07
4.01574e-07
-2.42831e-07
-1.5226e-07
2.38108e-07
-2.40497e-07
2.90589e-07
-3.30001e-07
4.11995e-07
-4.22825e-07
3.61644e-07
-3.20801e-07
4.0698e-07
-4.84724e-07
4.9323e-07
-1.33023e-07
6.20006e-09
-2.26486e-08
4.14155e-08
-6.22603e-08
8.05813e-08
-9.62699e-08
1.06518e-07
-1.12051e-07
1.12995e-07
-1.10704e-07
1.06993e-07
-1.03303e-07
1.02278e-07
-1.06308e-07
1.16357e-07
-1.31084e-07
1.41356e-07
-1.58442e-07
1.77787e-07
-1.79863e-07
1.67291e-07
-1.51249e-07
1.65229e-07
-2.09612e-07
2.08156e-07
-1.62813e-07
1.31007e-07
-1.41522e-07
2.20026e-07
-3.47979e-07
4.46243e-07
-6.33237e-07
7.96915e-07
-8.05626e-07
1.52988e-07
-5.71314e-09
5.12706e-09
-1.79753e-08
3.13593e-09
2.27959e-08
-9.13661e-08
1.7186e-07
-8.76068e-08
2.44058e-07
-4.507e-07
7.30851e-07
-1.64378e-07
-3.02143e-07
3.65801e-07
-1.89416e-07
1.05337e-07
-2.15568e-07
3.52201e-07
-3.33671e-07
2.59141e-07
-2.11777e-07
2.42622e-07
-2.09859e-07
1.29596e-07
1.52523e-07
-6.25409e-08
5.90694e-08
-5.20464e-08
4.17178e-08
-3.09748e-08
2.06245e-08
-1.31309e-08
8.10644e-09
-5.07299e-09
1.702e-09
3.85956e-09
-1.37757e-08
2.7913e-08
-4.69071e-08
6.74203e-08
-9.22198e-08
1.05721e-07
-1.2425e-07
1.49609e-07
-1.83105e-07
1.94054e-07
-1.79703e-07
1.70478e-07
-1.67965e-07
1.1964e-07
-5.945e-08
1.09e-08
6.98623e-10
4.36709e-08
-1.21595e-07
1.53895e-07
-1.50556e-07
1.7729e-07
-3.48157e-07
6.13886e-07
-2.73924e-07
5.71157e-09
-2.73989e-08
6.76658e-08
2.68998e-08
-1.52651e-07
4.82229e-08
1.36564e-07
6.69282e-07
-1.17442e-06
6.61476e-07
-5.52558e-08
-4.23099e-07
4.44514e-07
-7.24999e-08
-1.69679e-07
-5.55517e-08
2.65501e-07
-2.25302e-07
1.5786e-07
-1.22713e-07
1.22537e-07
-4.53508e-08
5.63978e-09
2.78151e-08
-1.02157e-07
1.08657e-07
-1.1265e-07
1.14341e-07
-1.13957e-07
1.12248e-07
-1.10096e-07
1.07398e-07
-1.03508e-07
9.60622e-08
-8.37816e-08
6.42985e-08
-4.01294e-08
1.07132e-08
1.86264e-08
-4.37053e-08
5.88872e-08
-4.06622e-08
4.06645e-08
-1.43264e-07
1.88538e-07
-1.6009e-07
1.31742e-07
-8.3828e-08
9.12543e-09
5.17303e-08
-8.31505e-08
9.46101e-08
-1.2571e-07
1.72779e-07
-1.30644e-07
9.73271e-08
-7.51208e-08
1.55806e-08
9.76006e-08
-1.59019e-07
1.78599e-07
-6.89937e-08
2.44912e-08
3.84302e-08
-6.58795e-09
-2.21964e-08
-1.96969e-07
5.46982e-07
-7.04195e-07
4.01951e-07
8.8994e-08
-5.04929e-07
4.42215e-07
1.22575e-07
-4.85568e-07
1.19734e-07
1.61027e-07
-1.10174e-07
6.34812e-08
-5.45784e-08
5.01627e-08
3.12276e-08
-2.73124e-08
-8.13606e-08
-1.18532e-07
1.28518e-07
-1.37374e-07
1.45774e-07
-1.52323e-07
1.57327e-07
-1.60288e-07
1.61045e-07
-1.58507e-07
1.50784e-07
-1.3718e-07
1.15662e-07
-8.93155e-08
5.74405e-08
-2.61383e-08
-3.15391e-09
2.79978e-08
-5.21971e-08
7.80827e-08
-9.50046e-08
1.53436e-07
-9.23895e-08
5.27208e-08
2.57098e-08
-1.06194e-07
1.53912e-07
-1.77345e-07
1.82492e-07
-2.5992e-07
3.13451e-07
-3.11665e-07
2.3867e-07
-1.96268e-07
1.5712e-07
-7.56736e-08
-1.65204e-07
2.9889e-07
-2.05119e-07
1.62021e-07
-7.15129e-08
8.15114e-08
1.15787e-07
-6.30454e-08
3.07427e-07
-5.03105e-07
1.97121e-07
2.43656e-07
-5.41693e-07
3.68488e-07
2.06505e-07
-6.75152e-07
3.08083e-07
5.78521e-08
-1.05592e-08
-1.83519e-08
-6.80208e-09
1.21805e-08
5.73582e-08
-2.79318e-08
-1.43346e-07
-1.26643e-07
1.36248e-07
-1.45633e-07
1.54911e-07
-1.62954e-07
1.69981e-07
-1.74867e-07
1.77562e-07
-1.76735e-07
1.71132e-07
-1.60368e-07
1.42995e-07
-1.21517e-07
9.50226e-08
-6.76504e-08
3.79247e-08
-4.1099e-09
-3.76986e-08
7.50951e-08
-7.3068e-08
8.71549e-08
-2.75755e-08
-2.3265e-08
1.22822e-07
-2.01157e-07
2.34588e-07
-2.55463e-07
2.61394e-07
-3.24269e-07
3.15938e-07
-2.83195e-07
2.95487e-07
-2.60339e-07
2.12262e-07
-1.89379e-07
1.21826e-07
-3.79543e-08
2.58852e-08
-2.31073e-09
-6.14426e-08
5.0781e-08
2.35341e-07
-2.30166e-07
2.39811e-07
-2.28131e-07
-1.22315e-08
3.87612e-07
-5.28109e-07
2.77535e-07
-8.66135e-10
-5.59987e-07
4.58021e-07
-1.7006e-08
8.8764e-08
-7.13148e-08
2.85174e-08
-7.70605e-09
6.26388e-08
-1.96049e-08
-1.74766e-07
-1.37958e-07
1.46667e-07
-1.54867e-07
1.63056e-07
-1.70024e-07
1.76421e-07
-1.81108e-07
1.83844e-07
-1.83995e-07
1.80927e-07
-1.74285e-07
1.63206e-07
-1.4935e-07
1.31698e-07
-1.12401e-07
9.08498e-08
-6.86612e-08
3.33798e-08
-1.24501e-08
7.99339e-10
4.14313e-08
-1.01059e-07
-1.58748e-08
1.76924e-07
-2.63568e-07
2.92748e-07
-3.08273e-07
3.16246e-07
-3.6249e-07
3.49393e-07
-3.49673e-07
3.50853e-07
-3.11797e-07
2.15559e-07
-1.33006e-07
2.15442e-07
-1.77547e-07
1.48201e-07
-1.24889e-07
1.44797e-07
-4.71119e-07
4.82603e-07
-3.99418e-07
3.33898e-07
-6.20187e-08
-2.51336e-07
5.23134e-07
-4.96406e-07
2.04484e-07
-1.88166e-07
-3.45889e-07
4.39038e-07
-4.6712e-08
1.53861e-07
-1.10395e-07
5.08257e-08
-1.9121e-08
6.10776e-08
-9.03828e-09
-1.90472e-07
-1.58673e-07
1.67136e-07
-1.74706e-07
1.81846e-07
-1.87891e-07
1.93474e-07
-1.97674e-07
2.00746e-07
-2.02488e-07
2.02697e-07
-2.00266e-07
1.94615e-07
-1.87176e-07
1.76676e-07
-1.63668e-07
1.48626e-07
-1.31723e-07
1.12517e-07
-1.1113e-07
1.35482e-07
-1.0874e-07
5.68539e-08
-1.5494e-07
2.73199e-07
-3.34216e-07
3.40819e-07
-3.39633e-07
3.40721e-07
-3.73181e-07
3.83342e-07
-3.9803e-07
3.90467e-07
-3.61456e-07
3.39689e-07
-3.14236e-07
3.24895e-07
-2.66279e-07
2.24141e-07
-2.51834e-07
4.3794e-07
-6.42351e-07
6.15834e-07
-4.24857e-07
1.55335e-07
1.35968e-07
-4.45572e-07
6.46696e-07
-4.91948e-07
1.78377e-07
-1.63049e-07
-1.84539e-07
2.51143e-07
-6.62462e-08
1.92845e-07
-1.36036e-07
6.50104e-08
-2.58202e-08
5.7139e-08
2.00498e-09
-1.97611e-07
-1.77103e-07
1.85588e-07
-1.95167e-07
2.04597e-07
-2.13545e-07
2.22468e-07
-2.29605e-07
2.36034e-07
-2.41861e-07
2.47008e-07
-2.51382e-07
2.52695e-07
-2.47183e-07
2.3672e-07
-2.2759e-07
2.21281e-07
-2.1474e-07
2.08556e-07
-2.11332e-07
2.14155e-07
-2.90472e-07
3.39276e-07
-3.46562e-07
3.75677e-07
-3.88649e-07
3.61283e-07
-3.40963e-07
3.35927e-07
-3.59922e-07
3.93697e-07
-4.3466e-07
4.25868e-07
-4.1511e-07
4.32883e-07
-4.2604e-07
4.11696e-07
-3.34441e-07
2.82142e-07
-3.16277e-07
2.69206e-07
-5.10494e-07
5.83399e-07
-3.30126e-07
-2.68515e-08
3.29376e-07
-6.14712e-07
7.38353e-07
-5.06658e-07
2.1328e-07
-1.3485e-07
-2.94457e-08
9.23017e-08
-1.00739e-07
2.13998e-07
-1.5138e-07
7.44371e-08
-3.01513e-08
5.23795e-08
8.93866e-09
-1.99969e-07
-2.07635e-07
2.15358e-07
-2.26402e-07
2.40726e-07
-2.52965e-07
2.65119e-07
-2.78918e-07
2.91879e-07
-3.01648e-07
3.09687e-07
-3.16237e-07
3.18098e-07
-3.16666e-07
3.09362e-07
-3.03777e-07
3.0506e-07
-3.01818e-07
3.1277e-07
-2.80218e-07
2.6869e-07
-3.13204e-07
3.73131e-07
-3.95806e-07
3.88556e-07
-3.72396e-07
3.19582e-07
-2.97016e-07
3.0248e-07
-3.32182e-07
3.72991e-07
-4.12574e-07
4.49079e-07
-4.48812e-07
4.73887e-07
-4.81551e-07
4.71832e-07
-3.96451e-07
2.98101e-07
-3.7389e-07
3.08033e-07
-9.23089e-08
1.19894e-07
6.60012e-09
-3.08437e-07
5.20709e-07
-7.33293e-07
7.41068e-07
-4.73938e-07
2.6973e-07
-1.32949e-07
1.78856e-08
5.3502e-08
-1.30217e-07
2.23338e-07
-1.59482e-07
8.11455e-08
-3.33621e-08
4.73724e-08
1.83066e-08
-1.99243e-07
-2.56058e-07
2.70934e-07
-2.83599e-07
2.95708e-07
-3.08034e-07
3.21906e-07
-3.34689e-07
3.48027e-07
-3.59542e-07
3.71365e-07
-3.79915e-07
3.86823e-07
-3.88756e-07
3.86196e-07
-3.76281e-07
3.70971e-07
-3.63297e-07
3.58267e-07
-3.42642e-07
3.39693e-07
-3.44234e-07
3.54574e-07
-3.57277e-07
3.14456e-07
-2.16178e-07
2.02008e-07
-2.29691e-07
2.60731e-07
-3.04921e-07
3.6045e-07
-4.28543e-07
4.75595e-07
-4.96552e-07
5.30572e-07
-5.34232e-07
5.16058e-07
-4.37528e-07
3.33775e-07
-2.63689e-07
1.45797e-07
1.79343e-07
-2.149e-07
2.88805e-07
-5.72449e-07
7.21355e-07
-8.19591e-07
5.76508e-07
-3.33099e-07
2.9254e-07
-1.23381e-07
3.34163e-09
8.12291e-08
-1.46184e-07
2.25155e-07
-1.63033e-07
8.63144e-08
-3.61345e-08
4.2484e-08
2.77156e-08
-1.96482e-07
-2.85975e-07
2.99824e-07
-3.13317e-07
3.2775e-07
-3.41684e-07
3.56566e-07
-3.70725e-07
3.85482e-07
-3.98712e-07
4.09891e-07
-4.17894e-07
4.26464e-07
-4.33395e-07
4.38323e-07
-4.39493e-07
4.30031e-07
-4.1341e-07
4.04706e-07
-4.02616e-07
3.89214e-07
-3.62056e-07
3.38032e-07
-3.25768e-07
2.87785e-07
-2.27976e-07
2.43987e-07
-2.40852e-07
2.58035e-07
-3.08206e-07
3.77135e-07
-4.46197e-07
5.19061e-07
-5.53633e-07
5.8428e-07
-5.85263e-07
5.4713e-07
-4.47895e-07
4.15933e-07
-3.24819e-07
1.28377e-07
2.47694e-08
-3.06034e-07
4.90061e-07
-7.52676e-07
7.89387e-07
-7.74779e-07
4.25286e-07
-1.30227e-07
2.37717e-07
-1.08057e-07
-2.18802e-08
1.11469e-07
-1.53326e-07
2.22579e-07
-1.64053e-07
9.05776e-08
-3.88212e-08
3.7912e-08
3.58659e-08
-1.92486e-07
-3.05853e-07
3.17591e-07
-3.29206e-07
3.41883e-07
-3.54238e-07
3.67416e-07
-3.79866e-07
3.92511e-07
-4.03527e-07
4.13353e-07
-4.20755e-07
4.26786e-07
-4.3078e-07
4.33345e-07
-4.3519e-07
4.31675e-07
-4.22653e-07
4.06318e-07
-4.05936e-07
3.98029e-07
-3.72199e-07
3.38988e-07
-3.36203e-07
3.63629e-07
-3.82219e-07
3.60463e-07
-3.28442e-07
3.21521e-07
-3.50673e-07
4.15158e-07
-4.81487e-07
5.64819e-07
-6.15871e-07
6.36709e-07
-6.29755e-07
5.58037e-07
-3.94839e-07
2.97516e-07
-7.26329e-08
-3.36037e-07
3.42189e-07
-4.48425e-07
5.27067e-07
-6.64265e-07
7.41184e-07
-7.60019e-07
3.4334e-07
-8.5164e-08
1.89025e-07
-8.88008e-08
-3.0855e-08
1.26527e-07
-1.55103e-07
2.17024e-07
-1.63442e-07
9.39971e-08
-4.14027e-08
3.36194e-08
4.27226e-08
-1.87423e-07
-3.19373e-07
3.28154e-07
-3.36856e-07
3.46363e-07
-3.55617e-07
3.6544e-07
-3.74638e-07
3.83881e-07
-3.919e-07
3.99164e-07
-4.04693e-07
4.08966e-07
-4.11511e-07
4.12289e-07
-4.10127e-07
4.02381e-07
-3.90978e-07
3.86521e-07
-3.8562e-07
3.85469e-07
-3.94363e-07
4.289e-07
-3.87306e-07
3.57452e-07
-3.56095e-07
3.59229e-07
-3.62849e-07
3.77466e-07
-4.11564e-07
4.72944e-07
-5.26224e-07
6.04106e-07
-6.60805e-07
6.69027e-07
-6.54202e-07
5.28825e-07
-3.15679e-07
1.91267e-07
7.77606e-08
-2.54812e-07
2.71287e-07
-4.67153e-07
6.6698e-07
-6.98019e-07
6.2364e-07
-6.56419e-07
3.13719e-07
-1.49333e-07
1.64272e-07
-7.0672e-08
-3.2303e-08
1.3276e-07
-1.53885e-07
2.09468e-07
-1.61778e-07
9.65581e-08
-4.37882e-08
2.95528e-08
4.82318e-08
-1.81563e-07
-3.24508e-07
3.3038e-07
-3.36343e-07
3.42984e-07
-3.49501e-07
3.56377e-07
-3.62653e-07
3.68672e-07
-3.73542e-07
3.77511e-07
-3.80012e-07
3.81331e-07
-3.81297e-07
3.79116e-07
-3.75103e-07
3.7079e-07
-3.64313e-07
3.56336e-07
-3.59004e-07
3.65084e-07
-3.83547e-07
3.84239e-07
-3.19051e-07
2.82541e-07
-3.01041e-07
3.36163e-07
-3.66654e-07
3.99976e-07
-4.41205e-07
5.05092e-07
-5.47779e-07
6.01255e-07
-6.08891e-07
6.22895e-07
-5.73567e-07
3.04514e-07
-2.21888e-07
5.23812e-08
1.63169e-07
-3.45669e-07
2.8922e-07
-4.37795e-07
6.23936e-07
-5.83401e-07
2.02518e-07
-2.35592e-07
2.30739e-07
-1.82162e-07
1.38239e-07
-5.34343e-08
-3.3769e-08
1.34504e-07
-1.50926e-07
2.003e-07
-1.59237e-07
9.81336e-08
-4.58631e-08
2.55791e-08
5.23374e-08
-1.75067e-07
-3.07923e-07
3.12013e-07
-3.16945e-07
3.23167e-07
-3.29719e-07
3.36632e-07
-3.42299e-07
3.46706e-07
-3.49226e-07
3.49499e-07
-3.46451e-07
3.40711e-07
-3.33092e-07
3.26582e-07
-3.24027e-07
3.15135e-07
-3.13031e-07
3.17393e-07
-3.15006e-07
3.14437e-07
-3.15062e-07
2.95188e-07
-2.75476e-07
2.71854e-07
-2.9026e-07
3.19106e-07
-3.46608e-07
3.81057e-07
-4.23771e-07
4.53081e-07
-5.0594e-07
4.79402e-07
-4.52457e-07
3.14855e-07
-1.68089e-07
6.02822e-08
7.0337e-08
-4.35587e-07
6.05282e-07
-4.15329e-07
3.50936e-07
-3.31279e-07
5.11132e-07
-5.03165e-07
1.77414e-07
-1.01797e-07
3.11525e-07
-1.8691e-07
1.10367e-07
-3.38182e-08
-3.75373e-08
1.32886e-07
-1.46889e-07
1.8978e-07
-1.55836e-07
9.86199e-08
-4.76117e-08
2.1589e-08
5.50171e-08
-1.6819e-07
-2.34583e-07
2.38935e-07
-2.47605e-07
2.62005e-07
-2.78973e-07
2.95653e-07
-3.05154e-07
3.10799e-07
-3.17005e-07
3.1627e-07
-3.03464e-07
2.85829e-07
-2.69616e-07
2.53726e-07
-2.37793e-07
2.25966e-07
-2.1943e-07
2.15547e-07
-2.17739e-07
2.20252e-07
-2.23276e-07
2.2606e-07
-2.32956e-07
2.43625e-07
-2.52578e-07
2.59559e-07
-2.67359e-07
2.73175e-07
-2.76447e-07
2.16244e-07
-1.87698e-07
1.45587e-07
-5.76816e-08
-8.60455e-08
2.23968e-07
-2.14203e-07
2.35266e-07
-6.72936e-07
6.95198e-07
-4.27556e-07
3.7817e-07
-4.0047e-07
3.78719e-07
-4.29411e-07
3.65257e-07
-7.14665e-08
1.36827e-07
-3.25888e-08
6.277e-08
-1.03103e-08
-4.39344e-08
1.2928e-07
-1.42161e-07
1.77994e-07
-1.51255e-07
9.78994e-08
-4.93674e-08
1.75423e-08
5.62131e-08
-1.61093e-07
5.87495e-08
-8.36946e-08
9.95967e-08
-1.11922e-07
1.22893e-07
-1.22997e-07
9.61632e-08
-1.0528e-08
-5.37008e-08
4.7071e-08
-6.75501e-08
1.03139e-07
-1.16931e-07
1.1821e-07
-1.1373e-07
1.10689e-07
-1.08187e-07
1.07832e-07
-1.13827e-07
1.28533e-07
-1.4531e-07
1.61866e-07
-1.71814e-07
1.70412e-07
-1.57205e-07
1.33615e-07
-9.9295e-08
3.56653e-08
9.72211e-08
-9.64362e-08
1.11397e-07
-2.41905e-07
4.04796e-07
-5.75955e-07
7.12512e-07
-8.28893e-07
9.40919e-07
-9.56255e-07
7.31808e-07
-4.76588e-07
5.2654e-07
-4.44446e-07
3.8539e-07
-4.1024e-07
6.46925e-07
-2.01981e-07
-2.95412e-07
7.66265e-08
7.82518e-09
1.38581e-08
-5.20874e-08
1.24416e-07
-1.37096e-07
1.64968e-07
-1.44966e-07
9.58629e-08
-5.05062e-08
1.35184e-08
5.57785e-08
-1.53634e-07
3.32489e-07
-3.84825e-07
4.23259e-07
-4.14921e-07
3.07186e-07
-2.76094e-07
2.65656e-07
-3.19163e-07
3.4214e-07
-3.05999e-07
2.62627e-07
-1.94272e-07
1.80687e-07
-1.54554e-07
1.21561e-07
-8.66492e-08
5.58e-08
-2.42961e-08
-5.43667e-09
3.45154e-08
-5.59279e-08
6.74729e-08
-6.54157e-08
4.98154e-08
-2.65006e-08
-2.85303e-09
6.14386e-08
-1.83297e-07
1.70085e-07
-2.93934e-07
4.55576e-07
-6.70276e-07
8.79528e-07
-1.08172e-06
1.22877e-06
-1.31187e-06
1.2719e-06
-9.56335e-07
5.47487e-07
-4.12097e-07
4.80985e-07
-4.17981e-07
1.90695e-07
-1.9692e-07
4.57875e-07
-1.14178e-07
-3.19201e-07
1.01856e-07
-4.05298e-08
3.42749e-08
-6.16209e-08
1.1853e-07
-1.3231e-07
1.51236e-07
-1.37101e-07
9.25805e-08
-5.03458e-08
9.7324e-09
5.34835e-08
-1.44797e-07
1.18621e-07
-1.36382e-07
1.6677e-07
-2.11599e-07
2.85664e-07
-3.64684e-07
4.17443e-07
-3.63672e-07
4.01773e-07
-4.1812e-07
4.10813e-07
-3.80984e-07
3.36255e-07
-2.89127e-07
2.46605e-07
-2.02927e-07
1.63523e-07
-1.26165e-07
9.687e-08
-7.46342e-08
6.3849e-08
-6.45591e-08
7.7051e-08
-1.01722e-07
1.26612e-07
-1.81767e-07
2.36723e-07
-2.86334e-07
4.17538e-07
-6.17339e-07
8.04657e-07
-9.93299e-07
1.1979e-06
-1.41489e-06
1.55172e-06
-1.52719e-06
1.2541e-06
-7.33882e-07
3.84135e-07
-3.28231e-07
3.07699e-07
-2.75112e-07
1.18919e-07
-1.15467e-07
2.88169e-07
-7.45467e-08
-2.20096e-07
9.69612e-08
-6.53663e-08
4.94017e-08
-7.03778e-08
1.11366e-07
-1.27551e-07
1.37796e-07
-1.27976e-07
8.8126e-08
-4.91997e-08
6.41601e-09
4.9266e-08
-1.33919e-07
1.57562e-07
-1.52431e-07
1.52566e-07
-1.61538e-07
1.8053e-07
-2.09755e-07
2.39871e-07
-2.67668e-07
2.92574e-07
-3.10125e-07
3.14181e-07
-3.08432e-07
2.97686e-07
-2.82757e-07
2.66061e-07
-2.47012e-07
2.29281e-07
-2.12956e-07
2.01315e-07
-1.94411e-07
1.93823e-07
-2.0049e-07
2.15021e-07
-2.37811e-07
2.86552e-07
-3.74896e-07
4.6085e-07
-5.95244e-07
7.4513e-07
-9.21279e-07
1.10377e-06
-1.26434e-06
1.38243e-06
-1.46467e-06
1.46238e-06
-1.31959e-06
9.97265e-07
-5.92737e-07
3.41019e-07
-2.32688e-07
1.99602e-07
-1.78389e-07
9.03951e-08
-6.50702e-08
1.84161e-07
-1.24766e-07
-9.93564e-08
7.83256e-08
-7.10282e-08
5.76157e-08
-7.56193e-08
1.02909e-07
-1.2091e-07
1.25312e-07
-1.17907e-07
8.2658e-08
-4.71901e-08
3.6976e-09
4.47118e-08
-1.216e-07
3.18727e-07
-2.96699e-07
2.79916e-07
-2.67607e-07
2.61563e-07
-2.61026e-07
2.65018e-07
-2.72482e-07
2.8098e-07
-2.89766e-07
2.96716e-07
-3.02095e-07
3.05413e-07
-3.07285e-07
3.07934e-07
-3.0802e-07
3.08316e-07
-3.09744e-07
3.13115e-07
-3.1951e-07
3.28839e-07
-3.42428e-07
3.59332e-07
-3.86416e-07
4.20734e-07
-4.60389e-07
5.05789e-07
-5.87992e-07
7.23798e-07
-9.16392e-07
1.11853e-06
-1.28499e-06
1.34272e-06
-1.29119e-06
1.1316e-06
-9.05707e-07
7.22064e-07
-5.25915e-07
3.8485e-07
-2.87767e-07
2.61366e-07
-2.41038e-07
1.61391e-07
-9.67862e-08
1.41916e-07
-6.33478e-08
-6.91887e-08
6.00505e-08
-6.71748e-08
5.94335e-08
-7.66281e-08
9.48555e-08
-1.12035e-07
1.13185e-07
-1.07042e-07
7.62797e-08
-4.4404e-08
1.77985e-09
4.01541e-08
-1.08193e-07
5.03133e-07
-4.7949e-07
4.59692e-07
-4.41918e-07
4.28063e-07
-4.16582e-07
4.08324e-07
-4.0203e-07
3.97848e-07
-3.9489e-07
3.93065e-07
-3.91937e-07
3.91512e-07
-3.91805e-07
3.92997e-07
-3.95617e-07
3.9996e-07
-4.07216e-07
4.17507e-07
-4.32686e-07
4.51698e-07
-4.76269e-07
5.02115e-07
-5.27795e-07
5.43003e-07
-5.35684e-07
5.12138e-07
-4.8286e-07
4.86543e-07
-5.89371e-07
7.24719e-07
-8.22809e-07
7.92645e-07
-6.94524e-07
6.00761e-07
-4.18114e-07
2.69937e-07
-2.25265e-07
3.08226e-07
-3.77725e-07
3.99043e-07
-3.91858e-07
3.44797e-07
-2.58001e-07
1.94057e-07
-7.89666e-08
-2.14379e-08
3.72791e-08
-5.60585e-08
5.60042e-08
-7.33774e-08
8.6294e-08
-1.01519e-07
1.01035e-07
-9.55754e-08
6.91408e-08
-4.09958e-08
9.47969e-10
3.51603e-08
-9.40607e-08
7.19007e-07
-6.94559e-07
6.71916e-07
-6.48758e-07
6.27548e-07
-6.06143e-07
5.86757e-07
-5.67437e-07
5.50181e-07
-5.33261e-07
5.18458e-07
-5.04325e-07
4.92411e-07
-4.81653e-07
4.73372e-07
-4.67012e-07
4.63631e-07
-4.63425e-07
4.67105e-07
-4.75973e-07
4.90187e-07
-5.12516e-07
5.41944e-07
-5.82528e-07
6.29152e-07
-6.62144e-07
6.67173e-07
-6.19811e-07
5.03753e-07
-3.52946e-07
2.99028e-07
-2.9888e-07
2.0542e-07
-1.45353e-07
-1.24258e-07
2.96932e-07
-2.93406e-07
5.97165e-08
2.5111e-07
-4.43468e-07
4.5043e-07
-4.17005e-07
3.72413e-07
-2.75612e-07
1.8873e-07
-8.43467e-08
9.46887e-09
1.7862e-08
-4.23489e-08
4.90815e-08
-6.64456e-08
7.66257e-08
-8.95273e-08
8.85066e-08
-8.35607e-08
6.12896e-08
-3.70481e-08
7.67219e-10
2.96653e-08
-7.94292e-08
8.919e-07
-8.60922e-07
8.3092e-07
-7.98976e-07
7.68603e-07
-7.36817e-07
7.07024e-07
-6.76335e-07
6.4807e-07
-6.19491e-07
5.9368e-07
-5.68099e-07
5.45475e-07
-5.23605e-07
5.0483e-07
-4.8727e-07
4.72795e-07
-4.59981e-07
4.50174e-07
-4.42473e-07
4.37864e-07
-4.36463e-07
4.39669e-07
-4.50922e-07
4.75993e-07
-5.25325e-07
5.72505e-07
-6.01277e-07
5.47622e-07
-3.50028e-07
3.21287e-09
2.82629e-07
-4.41401e-07
5.57886e-07
-5.25771e-07
4.03766e-07
-2.09262e-07
2.57349e-08
1.66488e-07
-2.55648e-07
2.96905e-07
-2.88237e-07
2.57576e-07
-2.04392e-07
1.46911e-07
-7.68439e-08
2.39939e-08
4.43665e-09
-2.93523e-08
4.03508e-08
-5.68157e-08
6.57099e-08
-7.61942e-08
7.53116e-08
-7.09704e-08
5.27265e-08
-3.25878e-08
1.0263e-09
2.37608e-08
-6.45337e-08
8.81051e-07
-8.4682e-07
8.11972e-07
-7.74034e-07
7.38418e-07
-7.01417e-07
6.67268e-07
-6.32812e-07
6.01733e-07
-5.7094e-07
5.43579e-07
-5.16765e-07
4.93104e-07
-4.70045e-07
4.49786e-07
-4.30074e-07
4.12738e-07
-3.9578e-07
3.80615e-07
-3.65297e-07
3.50893e-07
-3.35347e-07
3.19697e-07
-3.02106e-07
2.85045e-07
-2.69695e-07
2.65948e-07
-2.92322e-07
3.56668e-07
-4.13248e-07
3.85087e-07
-1.66161e-07
-3.81968e-08
1.77849e-07
-2.03886e-07
1.72465e-07
-1.50824e-07
4.09416e-08
3.68606e-08
-8.47081e-08
1.2781e-07
-1.47981e-07
1.47255e-07
-1.30774e-07
1.02259e-07
-6.27057e-08
2.784e-08
-3.55866e-09
-1.8691e-08
3.1102e-08
-4.54499e-08
5.34411e-08
-6.14919e-08
6.09843e-08
-5.74417e-08
4.31871e-08
-2.73967e-08
1.53555e-09
1.75836e-08
-4.94391e-08
4.56125e-07
-4.40564e-07
4.26217e-07
-4.09205e-07
3.95728e-07
-3.81588e-07
3.69185e-07
-3.57167e-07
3.46569e-07
-3.36425e-07
3.27617e-07
-3.19202e-07
3.11756e-07
-3.04366e-07
2.97469e-07
-2.90199e-07
2.83067e-07
-2.75237e-07
2.67346e-07
-2.58481e-07
2.49395e-07
-2.38907e-07
2.28104e-07
-2.15716e-07
2.03174e-07
-1.89892e-07
1.78874e-07
-1.71723e-07
1.71543e-07
-1.76694e-07
1.80822e-07
-1.69639e-07
1.40969e-07
-8.77655e-08
2.57525e-08
3.19696e-08
-6.83047e-08
6.14252e-08
-4.63375e-08
1.62231e-08
2.32794e-08
-5.58458e-08
7.23576e-08
-7.4838e-08
6.43868e-08
-4.44574e-08
2.34543e-08
-5.54823e-09
-1.11792e-08
2.22227e-08
-3.31741e-08
3.97063e-08
-4.52809e-08
4.50179e-08
-4.23707e-08
3.21279e-08
-2.08969e-08
1.8397e-09
1.14925e-08
-3.4228e-08
-8.69668e-08
6.80403e-08
-4.88092e-08
2.72167e-08
-5.39884e-09
-1.87054e-08
4.05934e-08
-6.23626e-08
8.13111e-08
-9.91077e-08
1.13487e-07
-1.26003e-07
1.35328e-07
-1.42781e-07
1.47728e-07
-1.51037e-07
1.52469e-07
-1.52404e-07
1.50948e-07
-1.48123e-07
1.44358e-07
-1.39403e-07
1.33964e-07
-1.27599e-07
1.2107e-07
-1.13867e-07
1.06872e-07
-9.94337e-08
9.2206e-08
-8.38295e-08
7.40298e-08
-5.99418e-08
4.11201e-08
-1.29343e-08
-2.1683e-08
5.83202e-08
-8.18505e-08
8.20111e-08
-6.80183e-08
4.12822e-08
-1.20251e-08
-1.30302e-08
2.82591e-08
-3.44595e-08
3.1998e-08
-2.34256e-08
1.28706e-08
-2.50925e-09
-7.04161e-09
1.39833e-08
-2.02989e-08
2.42118e-08
-2.71476e-08
2.68298e-08
-2.51013e-08
1.89748e-08
-1.24198e-08
1.2325e-09
6.14902e-09
-1.91498e-08
7.92265e-09
-1.28735e-08
1.73233e-08
-2.15586e-08
2.50038e-08
-2.79425e-08
3.01e-08
-3.18396e-08
3.31631e-08
-3.44423e-08
3.56643e-08
-3.70519e-08
3.83875e-08
-3.97393e-08
4.08044e-08
-4.16101e-08
4.19742e-08
-4.19333e-08
4.15054e-08
-4.07494e-08
3.98708e-08
-3.88735e-08
3.76121e-08
-3.65564e-08
3.58134e-08
-3.51798e-08
3.466e-08
-3.41245e-08
3.34494e-08
-3.22587e-08
3.01624e-08
-2.62843e-08
2.02926e-08
-1.10419e-08
-9.85047e-11
1.22773e-08
-2.09036e-08
2.37997e-08
-2.15396e-08
1.52752e-08
-7.78185e-09
1.10117e-09
3.04206e-09
-4.62172e-09
3.61905e-09
-7.96257e-10
-2.52954e-09
5.65963e-09
-7.88912e-09
8.63933e-09
-8.8324e-09
8.76812e-09
-8.48841e-09
7.33918e-09
-6.04749e-09
3.98768e-09
-2.49433e-09
8.03699e-11
1.37228e-09
-4.29753e-09
)
;
boundaryField
{
leftWall
{
type calculated;
value uniform 0;
}
rightWall
{
type calculated;
value uniform 0;
}
lowerWall
{
type calculated;
value uniform 0;
}
atmosphere
{
type calculated;
value nonuniform List<scalar>
240
(
1.53857e-07
4.23944e-07
7.72908e-07
5.10904e-07
1.42496e-07
-8.61308e-08
-1.96458e-07
-2.4785e-07
-2.74611e-07
-2.88231e-07
-2.93258e-07
-2.91058e-07
-2.81904e-07
-2.6692e-07
-2.48819e-07
-2.32965e-07
-2.24144e-07
-2.22635e-07
-2.2269e-07
-2.18479e-07
-2.1017e-07
-1.94925e-07
-1.74339e-07
-1.53405e-07
-1.32932e-07
-1.15548e-07
-1.01904e-07
-8.99274e-08
-7.2143e-08
-4.30735e-08
1.08112e-06
-1.6687e-06
-3.54559e-06
7.70892e-08
2.87226e-07
4.52001e-07
4.92691e-07
4.08053e-07
2.958e-07
3.01909e-07
4.37049e-07
6.2587e-07
7.53253e-07
7.44913e-07
1.01171e-06
2.94982e-07
1.80218e-07
1.65375e-07
5.04848e-08
-2.95034e-08
-1.08265e-07
-1.60614e-07
-1.59514e-07
-1.47281e-07
-1.31251e-07
-1.15753e-07
-1.01929e-07
-8.97385e-08
-7.905e-08
-6.95838e-08
-6.76843e-08
-7.24783e-08
-7.63233e-08
-7.85421e-08
-7.84212e-08
-7.55071e-08
-6.91213e-08
-5.86688e-08
-4.32271e-08
-2.20878e-08
4.59838e-09
3.78762e-08
7.60604e-08
1.17652e-07
1.5989e-07
1.96101e-07
2.11664e-07
1.79347e-07
1.00602e-07
3.43596e-08
2.66683e-08
7.04464e-08
1.28824e-07
1.64726e-07
1.56531e-07
9.83413e-08
-2.87031e-09
-1.08103e-07
-1.20874e-07
1.45474e-08
3.70296e-07
7.247e-07
4.94249e-07
1.43812e-07
-6.27235e-08
-1.70727e-07
-2.23676e-07
-2.4979e-07
-2.62281e-07
-2.67825e-07
-2.69148e-07
-2.67519e-07
-2.63626e-07
-2.5731e-07
-2.48746e-07
-2.37967e-07
-2.25147e-07
-2.10436e-07
-1.94026e-07
-1.76402e-07
-1.57912e-07
-1.39034e-07
-1.20122e-07
-1.01585e-07
-8.36527e-08
-6.64986e-08
-5.00816e-08
-3.42618e-08
-1.89561e-08
-4.47634e-09
-1.67366e-06
-4.707e-06
1.25664e-05
-2.83528e-06
-2.00004e-07
3.28836e-07
4.63876e-07
4.35789e-07
3.2332e-07
2.67525e-07
3.3876e-07
5.0551e-07
6.67858e-07
7.28942e-07
7.3574e-07
8.1216e-07
1.43092e-07
1.70045e-07
1.14906e-07
1.30208e-08
-5.95915e-08
-1.37203e-07
-1.5387e-07
-1.46586e-07
-1.32429e-07
-1.17108e-07
-1.03201e-07
-9.08821e-08
-8.00095e-08
-7.03718e-08
-6.86924e-08
-7.39017e-08
-7.84601e-08
-8.17579e-08
-8.29693e-08
-8.14251e-08
-7.6643e-08
-6.78931e-08
-5.43238e-08
-3.51616e-08
-9.87431e-09
2.15141e-08
5.94722e-08
1.01693e-07
1.46448e-07
1.88992e-07
2.19034e-07
2.14028e-07
1.49374e-07
6.54533e-08
2.39667e-08
4.62513e-08
1.05825e-07
1.59061e-07
1.74698e-07
1.39552e-07
5.0773e-08
-7.38444e-08
-1.76953e-07
-1.62629e-07
2.61844e-07
5.85572e-07
7.12451e-07
3.00501e-07
1.00574e-08
-1.4628e-07
-2.17846e-07
-2.52938e-07
-2.71671e-07
-2.80556e-07
-2.81801e-07
-2.76198e-07
-2.64433e-07
-2.4802e-07
-2.31019e-07
-2.18673e-07
-2.14106e-07
-2.14367e-07
-2.12589e-07
-2.06436e-07
-1.95617e-07
-1.77712e-07
-1.57543e-07
-1.37463e-07
-1.18961e-07
-1.04189e-07
-9.23508e-08
-7.93054e-08
-5.62325e-08
-1.95646e-08
2.10738e-07
5.66901e-07
7.19119e-07
3.14194e-07
2.52188e-08
-1.31662e-07
-2.10074e-07
-2.48755e-07
-2.67786e-07
-2.76341e-07
-2.79602e-07
-2.79453e-07
-2.76522e-07
-2.7128e-07
-2.6344e-07
-2.53464e-07
-2.41192e-07
-2.26769e-07
-2.10557e-07
-1.92884e-07
-1.74031e-07
-1.54509e-07
-1.34776e-07
-1.15239e-07
-9.62531e-08
-7.79885e-08
-6.0539e-08
-4.38021e-08
-2.75914e-08
-1.19956e-08
)
;
}
defaultFaces
{
type empty;
value nonuniform 0();
}
}
// ************************************************************************* //
| [
"stig.m.nilsen@gmail.com"
] | stig.m.nilsen@gmail.com | |
be229d671775fd8dc8b337eb34a0b85f98af4d71 | fb26c19ead12a893e04ecdec4281d30ddb54278f | /VitalsOneProj/VitalsOneProj/Forest/Forest.cpp | 2da15be8c4daf80a63ca3a3ac3c04b4e34554fad | [] | no_license | TLadd/SeniorDesign | 2b90b39529314e19cbaeb82190aac0fba8bfb4ac | a40ac21efc8c6dca57aeabd6de69e0fbed63284e | refs/heads/master | 2021-01-06T20:45:28.157179 | 2014-04-19T06:50:22 | 2014-04-19T06:50:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,838 | cpp |
#include "Forest.h"
#include "NodeFactory.h"
#include <boost/thread/thread.hpp>
#include <ctime>
#include <qdebug.h>
using namespace std;
using namespace cv;
using namespace boost;
Forest::Forest(){}
Forest::Forest(string fileName) {
}
Forest::Forest(int _numClasses, int _depth,
int _numFeatures, int _numThresh, double _subSampleRatio,
int _minNumInNode, double _backgroundPenalty, std::pair<double, double> _featureRange,
std::pair<double, double> _thresholdRange) {
numClasses = _numClasses;
depth = _depth;
numFeatures = _numFeatures;
numThresh = _numThresh;
subSampleRatio = _subSampleRatio;
minNumInNode = _minNumInNode;
backgroundPenalty = _backgroundPenalty;
featureRange = _featureRange;
thresholdRange = _thresholdRange;
trees = vector<ITreeNode *>();
}
/*
* Gets an integer array whose contents are from 0 to n-1 and shuffled randomly
*/
vector<int> getRandVector(int n) {
vector<int> retVec(n);
int i;
for(i=0; i < n; i++) {
retVec.at(i) = i;
}
random_shuffle(retVec.begin(), retVec.end());
return retVec;
}
/*
* Gets an integer array whose contents are from 0 to n-1 and shuffled randomly
*/
vector<int> getRandPixels(Mat classifiedImage) {
vector<int> retVec = vector<int>();
int width = classifiedImage.size().width;
int height = classifiedImage.size().height;
int counter = 0;
for(int i=0; i < height; i++) {
for(int j =0; j < width; j++) {
if(classifiedImage.at<uchar>(i, j) != 0) {
retVec.push_back(counter);
}
counter++;
}
}
random_shuffle(retVec.begin(), retVec.end());
return retVec;
}
Mat Forest::computePrediction2(HistogramMatrix histograms, int width, int height, vector<pair<int,int>> pixels) {
int zeroCount = 0;
int oneCount = 0;
Mat classifiedImage = Mat(height, width, CV_8UC1);
// Initially set all predictions to 0
classifiedImage.setTo(0);
// Iterate through every pixel
for(pair<int,int> pixel : pixels) {
// Compute the max class
double maxTally = -1;
int maxIndex = -1;
vector<double> hist = histograms.getHistogram(pixel.first, pixel.second);
for(int n=0; n < numClasses; n++) {
if(hist.at(n) > maxTally) {
maxTally = hist.at(n);
maxIndex = n;
}
}
if(maxIndex == 0) {
zeroCount++;
}
else if(maxIndex == 1) {
oneCount++;
}
// Set the pixel to the max class
classifiedImage.at<uchar>(pixel.first,pixel.second) = maxIndex+1;
}
return classifiedImage;
}
/*
* Takes the vector of histogram matrices and averages them for each pixel, and then
* chooses the maximum count as the class for the pixel
*/
Mat Forest::computePrediction(vector<HistogramMatrix> matrices, int width, int height, vector<pair<int,int>> pixels) {
int zeroCount = 0;
int oneCount = 0;
Mat classifiedImage = Mat(height, width, CV_8UC1);
// Initially set all predictions to 0
classifiedImage.setTo(0);
// Iterate through every pixel
for(pair<int,int> pixel : pixels) {
// Keep a sum of the histogram counts
vector<double> sum = vector<double>(numClasses, 0);
// Iterate through each matrix of histograms
for(int k = 0; k < matrices.size(); k++) {
// Get the histogram for this pixel and histogram matrix
vector<double> hist = matrices.at(k).getHistogram(pixel.first, pixel.second);
// Sum up all the classes in the histogram
for(int m = 0; m < hist.size(); m++) {
sum.at(m) += hist.at(m);
}
}
// Compute the max class
double maxTally = -1;
int maxIndex = -1;
for(int n=0; n < numClasses; n++) {
if(sum.at(n) > maxTally) {
maxTally = sum.at(n);
maxIndex = n;
}
}
if(maxIndex == 0) {
zeroCount++;
}
else if(maxIndex == 1) {
oneCount++;
}
// Set the pixel to the max class
classifiedImage.at<uchar>(pixel.first,pixel.second) = maxIndex+1;
}
return classifiedImage;
}
void Forest::makeTreeOperation(vector<Mat> &allInputDepthImages, vector<Mat> &allInputClassifiedImages, int numImages, int numTrees, vector<ITreeNode *> *addedTrees, int index) {
vector<int> imageSelector = getRandVector(allInputDepthImages.size());
vector<Mat> inputDepthImages = vector<Mat>();
vector<Mat> inputClassifiedImages = vector<Mat>();
for(int j = 0; j < numImages; j++) {
int selectedIndex = imageSelector.at(j);
inputDepthImages.push_back(allInputDepthImages.at(selectedIndex));
inputClassifiedImages.push_back(allInputClassifiedImages.at(selectedIndex));
}
ITreeNode *node = makeTree(inputDepthImages, inputClassifiedImages);
addedTrees->at(index) = node;
}
/*
* Utility method to make making multiple trees at once easier. Makes numTrees trees by following this process:
* Takes in two vectors of filenames and selects numImages of them randomly.
* The images are then placed in a vector and a tree is added with that training data
*/
void Forest::makeTrees(vector<Mat> &allInputDepthImages, vector<Mat> &allInputClassifiedImages, int numImages, int numTrees) {
vector<thread *> waitingThreads;
vector<ITreeNode *> addedTrees = vector<ITreeNode *>(numTrees);
for(int i=0; i < numTrees; i++) {
thread *t = new thread(&Forest::makeTreeOperation, this, allInputDepthImages, allInputClassifiedImages, numImages, numTrees, &addedTrees, i);
waitingThreads.push_back(t);
}
for(thread *tj : waitingThreads) {
tj->join();
delete tj;
}
for(ITreeNode * tree : addedTrees) {
trees.push_back(tree);
}
}
void predictOperation(ITreeNode *node, int index, vector<HistogramMatrix> *matrices, int width, int height, Mat &inputDepth, vector<pair<int,int>> pixels) {
// Construct a container for the matrix of histograms
HistogramMatrix histMat = HistogramMatrix(width, height);
// Delegate to the tree. ClassifiedImage will have the results.
node->predict(inputDepth, histMat, pixels);
matrices->at(index) = histMat;
}
vector<HistogramMatrix> traverseTreeParallel(vector<ITreeNode *> trees, int width, int height, Mat &inputDepth, vector<pair<int,int>> pixels) {
vector<HistogramMatrix> matrices = vector<HistogramMatrix>(trees.size());
vector<thread *> waitingThreads = vector<thread *>();
for(int k = 0; k < trees.size(); k++) {
ITreeNode *node = trees.at(k);
thread *t = new thread(predictOperation, node, k, &matrices, width, height, inputDepth, pixels);
waitingThreads.push_back(t);
}
for(thread *tj : waitingThreads) {
tj->join();
delete tj;
}
return matrices;
}
vector<HistogramMatrix> traverseTreeSerial(vector<ITreeNode *> trees, int width, int height, Mat &inputDepth, vector<pair<int,int>> pixels) {
vector<HistogramMatrix> matrices = vector<HistogramMatrix>();
for(ITreeNode *node : trees) {
// Construct a container for the matrix of histograms
HistogramMatrix histMat = HistogramMatrix(width, height);
// Delegate to the tree. ClassifiedImage will have the results.
node->predict(inputDepth, histMat, pixels);
matrices.push_back(histMat);
}
return matrices;
}
/*
* Takes in an input depth image and outputs a Mat where each pixel corresponds to the classification
* of the corresponding pixel in the depth image
*/
Mat Forest::classifyImage(Mat &inputDepth) {
int width = inputDepth.size().width;
int height = inputDepth.size().height;
vector<pair<int,int>> pixels = vector<pair<int,int>>();
// Make a vector of foreground pixels
for(int i=0; i < inputDepth.size().height; i++) {
for(int j = 0; j < inputDepth.size().width; j++) {
if(inputDepth.at<uchar>(i,j) != 0) {
pixels.push_back(pair<int,int>(i, j));
}
else {
//cout << "Hi";
}
}
}
int timed, times;
times = clock();
vector<HistogramMatrix> matrices = traverseTreeParallel(trees, width, height, inputDepth, pixels);
timed = clock();
cout << "Going through tree took "<< (timed-times) <<" ticks.\n"<< endl;
times = clock();
Mat classifiedImage = computePrediction(matrices, width, height, pixels);
timed = clock();
cout << "Summing histograms took "<< (timed-times) <<" ticks.\n"<< endl;
return classifiedImage;
}
Mat Forest::classifyImageSparse(Mat &inputDepth, int boxWidth, int boxHeight) {
int timed, times;
times = clock();
int width = inputDepth.size().width;
int height = inputDepth.size().height;
vector<pair<int,int>> pixels = vector<pair<int,int>>();
vector<pair<int,int>> startingPoints = vector<pair<int,int>>();
// Make a sparse vector of foreground pixels
for(int i=0; i < inputDepth.size().height; i=i+boxHeight) {
for(int j = 0; j < inputDepth.size().width; j=j+boxWidth) {
int centerRow = min(height-1, i+boxHeight/2);
int centerCol = min(width-1, j+boxWidth/2);
if(inputDepth.at<uchar>(centerRow,centerCol) != 0) {
pixels.push_back(pair<int,int>(centerRow, centerCol));
startingPoints.push_back(pair<int,int>(i, j));
}
else {
//cout << "Hi";
}
}
}
ITreeNode *node = trees.at(2);
// Construct a container for the matrix of histograms
HistogramMatrix histMat = HistogramMatrix(width, height);
// Delegate to the tree. ClassifiedImage will have the results.
node->predict(inputDepth, histMat, pixels);
Mat classifiedImage = Mat(height, width, CV_8UC1);
// Initially set all predictions to 0
classifiedImage.setTo(0);
for(int k=0; k < startingPoints.size(); k++) {
pair<int,int> pnt = startingPoints.at(k);
int centerRow = min(height-1, pnt.first+boxHeight/2);
int centerCol = min(width-1, pnt.second+boxWidth/2);
vector<double> sum = histMat.getHistogram(centerRow, centerCol);
double maxTally = -1;
int maxIndex = -1;
for(int n=0; n < numClasses; n++) {
if(sum.at(n) > maxTally) {
maxTally = sum.at(n);
maxIndex = n;
}
}
for(int i=pnt.first; i < pnt.first+boxHeight; i++) {
for(int j = pnt.second; j < pnt.second+boxWidth; j++) {
if(inputDepth.at<uchar>(centerRow,centerCol) != 0) {
// Set the pixel to the max class
classifiedImage.at<uchar>(i,j) = maxIndex+1;
}
}
}
}
timed = clock();
QString poop = QString::number((timed-times));
//qDebug() << poop;
return classifiedImage;
}
Mat Forest::classifyImageSparseAllTrees(Mat &inputDepth, int boxWidth, int boxHeight) {
int timed, times;
times = clock();
int width = inputDepth.size().width;
int height = inputDepth.size().height;
vector<pair<int,int>> pixels = vector<pair<int,int>>();
vector<pair<int,int>> startingPoints = vector<pair<int,int>>();
// Make a sparse vector of foreground pixels
for(int i=0; i < inputDepth.size().height; i=i+boxHeight) {
for(int j = 0; j < inputDepth.size().width; j=j+boxWidth) {
int centerRow = min(height-1, i+boxHeight/2);
int centerCol = min(width-1, j+boxWidth/2);
if(inputDepth.at<uchar>(centerRow,centerCol) != 0) {
pixels.push_back(pair<int,int>(centerRow, centerCol));
startingPoints.push_back(pair<int,int>(i, j));
}
else {
//cout << "Hi";
}
}
}
vector<HistogramMatrix> matrices = traverseTreeSerial(trees, width, height, inputDepth, pixels);
Mat classifiedImage = Mat(height, width, CV_8UC1);
// Initially set all predictions to 0
classifiedImage.setTo(0);
for(int m=0; m < startingPoints.size(); m++) {
pair<int,int> pnt = startingPoints.at(m);
int centerRow = min(height-1, pnt.first+boxHeight/2);
int centerCol = min(width-1, pnt.second+boxWidth/2);
// Keep a sum of the histogram counts
vector<double> sum = vector<double>(numClasses, 0);
// Iterate through each matrix of histograms
for(int k = 0; k < matrices.size(); k++) {
// Get the histogram for this pixel and histogram matrix
vector<double> hist = matrices.at(k).getHistogram(centerRow, centerCol);
// Sum up all the classes in the histogram
for(int m = 0; m < hist.size(); m++) {
sum.at(m) += hist.at(m);
}
}
// Compute the max class
double maxTally = -1;
int maxIndex = -1;
for(int n=0; n < numClasses; n++) {
if(sum.at(n) > maxTally) {
maxTally = sum.at(n);
maxIndex = n;
}
}
for(int i=pnt.first; i < pnt.first+boxHeight; i++) {
for(int j = pnt.second; j < pnt.second+boxWidth; j++) {
if(inputDepth.at<uchar>(centerRow,centerCol) != 0) {
// Set the pixel to the max class
classifiedImage.at<uchar>(i,j) = maxIndex+1;
}
}
}
}
return classifiedImage;
}
/*
* Adds a single tree using the specified training images
*/
ITreeNode * Forest::makeTree(vector<Mat> inputDepthImages, vector<Mat> inputClassifiedImages) {
// Randomly selected pixels container
vector<TripletWrapper> relevantPixels = vector<TripletWrapper>();
// Iterate through all the depth images
for(int j=0; j < inputDepthImages.size(); j++) {
Mat image = inputDepthImages.at(j);
int width = image.size().width;
int height = image.size().height;
int numPossible = width * height;
double numGen = numPossible * subSampleRatio;
// Shuffled vector os possible indexes to select images from
vector<int> pixelSelector = getRandPixels(inputClassifiedImages.at(j));
// Grabs the apropriate number of pixels and places them in relevantPixels
for(int k=0; k < numGen; k++) {
int row = pixelSelector.at(k) / width;
int column = pixelSelector.at(k) % width;
relevantPixels.push_back(TripletWrapper(j, pair<int,int>(row, column)));
}
}
// Creates a tree from the selected pixels
NodeFactory nodeFac = NodeFactory();
ITreeNode *node = nodeFac.makeNode(numClasses, depth, 0, numFeatures, numThresh, minNumInNode, backgroundPenalty,
featureRange, thresholdRange, inputDepthImages, inputClassifiedImages, relevantPixels);
return node;
}
/*
* Adds a single tree using the specified training images
*/
void Forest::addTree(vector<Mat> inputDepthImages, vector<Mat> inputClassifiedImages) {
ITreeNode *node = makeTree(inputDepthImages, inputClassifiedImages);
trees.push_back(node);
}
| [
"thomas.rye.ladd@gmail.com"
] | thomas.rye.ladd@gmail.com |
231c24c66609d15b957cc39f31dc3324da9fc465 | b2a9850912ee4c9b5728d3f8cc8238760087a2f6 | /include/GLM/detail/type_vec3.hpp | 31d2acd61b72e10ccf867527dcb14f4aea56ce10 | [
"MIT"
] | permissive | AJTech2002/Pathfinding-Renderer | 02baa902e576d98ba4ce0704ce50d2718663295d | e2d6886611cfe0c88f34f04051cff013ce0bc8cb | refs/heads/main | 2023-08-29T07:31:53.593647 | 2021-09-06T09:03:50 | 2021-09-06T09:03:50 | 394,891,739 | 1 | 0 | MIT | 2021-08-15T21:55:35 | 2021-08-11T06:52:10 | C | UTF-8 | C++ | false | false | 15,962 | hpp | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
/// in the Software without restriction, including without limitation the rights
/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
/// copies of the Software, and to permit persons to whom the Software is
/// furnished to do so, subject to the following conditions:
///
/// The above copyright notice and this permission notice shall be included in
/// all copies or substantial portions of the Software.
///
/// Restrictions:
/// By making use of the Software for military purposes, you choose to make
/// a Bunny unhappy.
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
/// THE SOFTWARE.
///
/// @ref core
/// @file glm/detail/type_vec3.hpp
/// @date 2008-08-22 / 2011-06-15
/// @author Christophe Riccio
///////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "type_vec.hpp"
#ifdef GLM_SWIZZLE
# if GLM_HAS_ANONYMOUS_UNION
# include "_swizzle.hpp"
# else
# include "_swizzle_func.hpp"
# endif
#endif //GLM_SWIZZLE
#include <cstddef>
namespace glm
{
template <typename T, precision P = defaultp>
struct tvec3
{
// -- Implementation detail --
typedef tvec3<T, P> type;
typedef tvec3<bool, P> bool_type;
typedef T value_type;
# ifdef GLM_META_PROG_HELPERS
static GLM_RELAXED_CONSTEXPR length_t components = 3;
static GLM_RELAXED_CONSTEXPR precision prec = P;
# endif//GLM_META_PROG_HELPERS
// -- Data --
# if GLM_HAS_ANONYMOUS_UNION
union
{
struct{ T x, y, z; };
struct{ T r, g, b; };
struct{ T s, t, p; };
# ifdef GLM_SWIZZLE
_GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, x, y, z)
_GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, r, g, b)
_GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, s, t, p)
_GLM_SWIZZLE3_3_MEMBERS(T, P, tvec3, x, y, z)
_GLM_SWIZZLE3_3_MEMBERS(T, P, tvec3, r, g, b)
_GLM_SWIZZLE3_3_MEMBERS(T, P, tvec3, s, t, p)
_GLM_SWIZZLE3_4_MEMBERS(T, P, tvec4, x, y, z)
_GLM_SWIZZLE3_4_MEMBERS(T, P, tvec4, r, g, b)
_GLM_SWIZZLE3_4_MEMBERS(T, P, tvec4, s, t, p)
# endif//GLM_SWIZZLE
};
# else
union { T x, r, s; };
union { T y, g, t; };
union { T z, b, p; };
# ifdef GLM_SWIZZLE
GLM_SWIZZLE_GEN_VEC_FROM_VEC3(T, P, tvec3, tvec2, tvec3, tvec4)
# endif//GLM_SWIZZLE
# endif//GLM_LANG
// -- Component accesses --
# ifdef GLM_FORCE_SIZE_FUNC
/// Return the count of components of the vector
typedef size_t size_type;
GLM_FUNC_DECL GLM_CONSTEXPR size_type size() const;
GLM_FUNC_DECL T & operator[](size_type i);
GLM_FUNC_DECL T const & operator[](size_type i) const;
# else
/// Return the count of components of the vector
typedef length_t length_type;
GLM_FUNC_DECL GLM_CONSTEXPR length_type length() const;
GLM_FUNC_DECL T & operator[](length_type i);
GLM_FUNC_DECL T const & operator[](length_type i) const;
# endif//GLM_FORCE_SIZE_FUNC
// -- Implicit basic constructors --
GLM_FUNC_DECL tvec3() GLM_DEFAULT_CTOR;
GLM_FUNC_DECL tvec3(tvec3<T, P> const & v) GLM_DEFAULT;
template <precision Q>
GLM_FUNC_DECL tvec3(tvec3<T, Q> const & v);
// -- Explicit basic constructors --
GLM_FUNC_DECL explicit tvec3(ctor);
GLM_FUNC_DECL explicit tvec3(T const & s);
GLM_FUNC_DECL tvec3(T const & a, T const & b, T const & c);
// -- Conversion scalar constructors --
/// Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename A, typename B, typename C>
GLM_FUNC_DECL tvec3(A const & a, B const & b, C const & c);
template <typename A, typename B, typename C>
GLM_FUNC_DECL tvec3(tvec1<A, P> const & a, tvec1<B, P> const & b, tvec1<C, P> const & c);
// -- Conversion vector constructors --
/// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename A, typename B, precision Q>
GLM_FUNC_DECL explicit tvec3(tvec2<A, Q> const & a, B const & b);
/// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename A, typename B, precision Q>
GLM_FUNC_DECL explicit tvec3(tvec2<A, Q> const & a, tvec1<B, Q> const & b);
/// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename A, typename B, precision Q>
GLM_FUNC_DECL explicit tvec3(A const & a, tvec2<B, Q> const & b);
/// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename A, typename B, precision Q>
GLM_FUNC_DECL explicit tvec3(tvec1<A, Q> const & a, tvec2<B, Q> const & b);
/// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename U, precision Q>
GLM_FUNC_DECL explicit tvec3(tvec4<U, Q> const & v);
/// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
template <typename U, precision Q>
GLM_FUNC_DECL GLM_EXPLICIT tvec3(tvec3<U, Q> const & v);
// -- Swizzle constructors --
# if GLM_HAS_ANONYMOUS_UNION && defined(GLM_SWIZZLE)
template <int E0, int E1, int E2>
GLM_FUNC_DECL tvec3(detail::_swizzle<3, T, P, tvec3<T, P>, E0, E1, E2, -1> const & that)
{
*this = that();
}
template <int E0, int E1>
GLM_FUNC_DECL tvec3(detail::_swizzle<2, T, P, tvec2<T, P>, E0, E1, -1, -2> const & v, T const & s)
{
*this = tvec3<T, P>(v(), s);
}
template <int E0, int E1>
GLM_FUNC_DECL tvec3(T const & s, detail::_swizzle<2, T, P, tvec2<T, P>, E0, E1, -1, -2> const & v)
{
*this = tvec3<T, P>(s, v());
}
# endif// GLM_HAS_ANONYMOUS_UNION && defined(GLM_SWIZZLE)
// -- Unary arithmetic operators --
GLM_FUNC_DECL tvec3<T, P> & operator=(tvec3<T, P> const & v) GLM_DEFAULT;
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator+=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator+=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator+=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator-=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator-=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator-=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator*=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator*=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator*=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator/=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator/=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator/=(tvec3<U, P> const & v);
// -- Increment and decrement operators --
GLM_FUNC_DECL tvec3<T, P> & operator++();
GLM_FUNC_DECL tvec3<T, P> & operator--();
GLM_FUNC_DECL tvec3<T, P> operator++(int);
GLM_FUNC_DECL tvec3<T, P> operator--(int);
// -- Unary bit operators --
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator%=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator%=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator%=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator&=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator&=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator&=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator|=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator|=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator|=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator^=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator^=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator^=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator<<=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator<<=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator<<=(tvec3<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator>>=(U s);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator>>=(tvec1<U, P> const & v);
template <typename U>
GLM_FUNC_DECL tvec3<T, P> & operator>>=(tvec3<U, P> const & v);
};
// -- Unary operators --
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v);
// -- Binary operators --
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator+(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator+(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator+(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator+(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator+(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator-(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator-(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator*(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator*(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator/(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator/(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator/(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator/(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator/(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator%(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator%(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator%(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator%(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator%(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator&(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator&(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator&(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator&(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator&(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator|(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator|(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator|(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator|(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator|(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator^(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator^(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator^(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator^(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator^(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator<<(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator<<(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator<<(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator<<(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator<<(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator>>(tvec3<T, P> const & v, T const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator>>(tvec3<T, P> const & v, tvec1<T, P> const & s);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator>>(T const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator>>(tvec1<T, P> const & s, tvec3<T, P> const & v);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator>>(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL tvec3<T, P> operator~(tvec3<T, P> const & v);
// -- Boolean operators --
template <typename T, precision P>
GLM_FUNC_DECL bool operator==(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
template <typename T, precision P>
GLM_FUNC_DECL bool operator!=(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
}//namespace glm
#ifndef GLM_EXTERNAL_TEMPLATE
#include "type_vec3.inl"
#endif//GLM_EXTERNAL_TEMPLATE
| [
"Ajay Venkat"
] | Ajay Venkat |
1a790c0c0077305e1e5448079d3ec18bfdb5f176 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/lambda/closures.hpp | fd5417c97026792d7058a03ed7ad822e1c1865e1 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,819 | hpp | /*=============================================================================
Adaptable closures
Phoenix V0.9
Copyright (c) 2001-2002 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See
accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
URL: http://spirit.sourceforge.net/
==============================================================================*/
#ifndef PHOENIX_CLOSURES_HPP
#define PHOENIX_CLOSURES_HPP
///////////////////////////////////////////////////////////////////////////////
#include "sstd/boost/lambda/core.hpp"
///////////////////////////////////////////////////////////////////////////////
namespace boost {
namespace lambda {
///////////////////////////////////////////////////////////////////////////////
//
// Adaptable closures
//
// The framework will not be complete without some form of closures
// support. Closures encapsulate a stack frame where local
// variables are created upon entering a function and destructed
// upon exiting. Closures provide an environment for local
// variables to reside. Closures can hold heterogeneous types.
//
// Phoenix closures are true hardware stack based closures. At the
// very least, closures enable true reentrancy in lambda functions.
// A closure provides access to a function stack frame where local
// variables reside. Modeled after Pascal nested stack frames,
// closures can be nested just like nested functions where code in
// inner closures may access local variables from in-scope outer
// closures (accessing inner scopes from outer scopes is an error
// and will cause a run-time assertion failure).
//
// There are three (3) interacting classes:
//
// 1) closure:
//
// At the point of declaration, a closure does not yet create a
// stack frame nor instantiate any variables. A closure declaration
// declares the types and names[note] of the local variables. The
// closure class is meant to be subclassed. It is the
// responsibility of a closure subclass to supply the names for
// each of the local variable in the closure. Example:
//
// struct my_closure : closure<int, string, double> {
//
// member1 num; // names the 1st (int) local variable
// member2 message; // names the 2nd (string) local variable
// member3 real; // names the 3rd (double) local variable
// };
//
// my_closure clos;
//
// Now that we have a closure 'clos', its local variables can be
// accessed lazily using the dot notation. Each qualified local
// variable can be used just like any primitive actor (see
// primitives.hpp). Examples:
//
// clos.num = 30
// clos.message = arg1
// clos.real = clos.num * 1e6
//
// The examples above are lazily evaluated. As usual, these
// expressions return composite actors that will be evaluated
// through a second function call invocation (see operators.hpp).
// Each of the members (clos.xxx) is an actor. As such, applying
// the operator() will reveal its identity:
//
// clos.num() // will return the current value of clos.num
//
// *** [note] Acknowledgement: Juan Carlos Arevalo-Baeza (JCAB)
// introduced and initilally implemented the closure member names
// that uses the dot notation.
//
// 2) closure_member
//
// The named local variables of closure 'clos' above are actually
// closure members. The closure_member class is an actor and
// conforms to its conceptual interface. member1..memberN are
// predefined typedefs that correspond to each of the listed types
// in the closure template parameters.
//
// 3) closure_frame
//
// When a closure member is finally evaluated, it should refer to
// an actual instance of the variable in the hardware stack.
// Without doing so, the process is not complete and the evaluated
// member will result to an assertion failure. Remember that the
// closure is just a declaration. The local variables that a
// closure refers to must still be instantiated.
//
// The closure_frame class does the actual instantiation of the
// local variables and links these variables with the closure and
// all its members. There can be multiple instances of
// closure_frames typically situated in the stack inside a
// function. Each closure_frame instance initiates a stack frame
// with a new set of closure local variables. Example:
//
// void foo()
// {
// closure_frame<my_closure> frame(clos);
// /* do something */
// }
//
// where 'clos' is an instance of our closure 'my_closure' above.
// Take note that the usage above precludes locally declared
// classes. If my_closure is a locally declared type, we can still
// use its self_type as a paramater to closure_frame:
//
// closure_frame<my_closure::self_type> frame(clos);
//
// Upon instantiation, the closure_frame links the local variables
// to the closure. The previous link to another closure_frame
// instance created before is saved. Upon destruction, the
// closure_frame unlinks itself from the closure and relinks the
// preceding closure_frame prior to this instance.
//
// The local variables in the closure 'clos' above is default
// constructed in the stack inside function 'foo'. Once 'foo' is
// exited, all of these local variables are destructed. In some
// cases, default construction is not desirable and we need to
// initialize the local closure variables with some values. This
// can be done by passing in the initializers in a compatible
// tuple. A compatible tuple is one with the same number of
// elements as the destination and where each element from the
// destination can be constructed from each corresponding element
// in the source. Example:
//
// tuple<int, char const*, int> init(123, "Hello", 1000);
// closure_frame<my_closure> frame(clos, init);
//
// Here now, our closure_frame's variables are initialized with
// int: 123, char const*: "Hello" and int: 1000.
//
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
//
// closure_frame class
//
///////////////////////////////////////////////////////////////////////////////
template <typename ClosureT>
class closure_frame : public ClosureT::tuple_t {
public:
closure_frame(ClosureT& clos)
: ClosureT::tuple_t(), save(clos.frame), frame(clos.frame)
{ clos.frame = this; }
template <typename TupleT>
closure_frame(ClosureT& clos, TupleT const& init)
: ClosureT::tuple_t(init), save(clos.frame), frame(clos.frame)
{ clos.frame = this; }
~closure_frame()
{ frame = save; }
private:
closure_frame(closure_frame const&); // no copy
closure_frame& operator=(closure_frame const&); // no assign
closure_frame* save;
closure_frame*& frame;
};
///////////////////////////////////////////////////////////////////////////////
//
// closure_member class
//
///////////////////////////////////////////////////////////////////////////////
template <int N, typename ClosureT>
class closure_member {
public:
typedef typename ClosureT::tuple_t tuple_t;
closure_member()
: frame(ClosureT::closure_frame_ref()) {}
template <typename TupleT>
struct sig {
typedef typename detail::tuple_element_as_reference<
N, typename ClosureT::tuple_t
>::type type;
};
template <class Ret, class A, class B, class C>
// typename detail::tuple_element_as_reference
// <N, typename ClosureT::tuple_t>::type
Ret
call(A&, B&, C&) const
{
assert(frame);
return boost::tuples::get<N>(*frame);
}
private:
typename ClosureT::closure_frame_t*& frame;
};
///////////////////////////////////////////////////////////////////////////////
//
// closure class
//
///////////////////////////////////////////////////////////////////////////////
template <
typename T0 = null_type,
typename T1 = null_type,
typename T2 = null_type,
typename T3 = null_type,
typename T4 = null_type
>
class closure {
public:
typedef tuple<T0, T1, T2, T3, T4> tuple_t;
typedef closure<T0, T1, T2, T3, T4> self_t;
typedef closure_frame<self_t> closure_frame_t;
closure()
: frame(0) { closure_frame_ref(&frame); }
closure_frame_t& context() { assert(frame); return frame; }
closure_frame_t const& context() const { assert(frame); return frame; }
typedef lambda_functor<closure_member<0, self_t> > member1;
typedef lambda_functor<closure_member<1, self_t> > member2;
typedef lambda_functor<closure_member<2, self_t> > member3;
typedef lambda_functor<closure_member<3, self_t> > member4;
typedef lambda_functor<closure_member<4, self_t> > member5;
private:
closure(closure const&); // no copy
closure& operator=(closure const&); // no assign
template <int N, typename ClosureT>
friend class closure_member;
template <typename ClosureT>
friend class closure_frame;
static closure_frame_t*&
closure_frame_ref(closure_frame_t** frame_ = 0)
{
static closure_frame_t** frame = 0;
if (frame_ != 0)
frame = frame_;
return *frame;
}
closure_frame_t* frame;
};
}}
// namespace
#endif
| [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
ed0e7712c8c55c0ef0de87f2150002c6c3303e18 | 385cb811d346a4d7a285fc087a50aaced1482851 | /gym/100494/L/main.cpp | 3bb70c51923b5d9addbc48fd8bbda9ac0ffff379 | [] | no_license | NoureldinYosri/competitive-programming | aa19f0479420d8d1b10605536e916f0f568acaec | 7739344404bdf4709c69a97f61dc3c0b9deb603c | refs/heads/master | 2022-11-22T23:38:12.853482 | 2022-11-10T20:32:28 | 2022-11-10T20:32:28 | 40,174,513 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include <bits/stdc++.h>
#define loop(i,n) for(int i = 0;i < (n);i++)
#define range(i,a,b) for(int i = (a);i <= (b);i++)
#define all(A) A.begin(),A.end()
#define PI acos(-1)
#define pb push_back
#define mp make_pair
#define sz(A) ((int)A.size())
#define vi vector<int>
#define vl vector<long long>
#define vd vector<double>
#define vp vector<pair<int,int> >
#define ll long long
#define pi pair<int,int>
#define point pair<double,double>
#define pl pair<ll,ll>
#define popcnt(x) __builtin_popcount(x)
#define LSOne(x) ((x) & (-(x)))
#define xx first
#define yy second
#define PQ priority_queue
#define print(A,t) cerr << #A << ": "; copy(all(A),ostream_iterator<t>(cerr," " )); cerr << endl
#define prp(p) cerr << "(" << (p).first << " ," << (p).second << ")";
#define prArr(A,n,t) cerr << #A << ": "; copy(A,A + n,ostream_iterator<t>(cerr," " )); cerr << endl
#define PRESTDIO() cin.tie(0),cerr.tie(0),ios_base::sync_with_stdio(0)
using namespace std;
int main(){
int T; scanf("%d",&T);
range(t,1,T){
queue<int> atA,atB;
queue<int> A,B;
int turn,NA,NB; scanf("%d %d %d",&turn,&NA,&NB);
loop(i,NA){
int h,m; scanf("%d:%d",&h,&m);
A.push(h*60 + m);
}
loop(i,NB){
int h,m; scanf("%d:%d",&h,&m);
B.push(h*60 + m);
}
while(!A.empty() || !B.empty()){
int t;
if(A.empty()) t = B.front(),B.pop();
else if(B.empty()) t = A.front(),A.pop();
else if(A.front() > B.front()) t = B.front(),B.pop();
else t = A.front(),A.pop();
int x = atA.empty() ? 3600 : atA.front(),y = atB.empty() ? 3600 : atB.front();
}
printf("%d\n",atA.size() + atB.size());
}
return 0;
}
| [
"noureldinyosri@gmail.com"
] | noureldinyosri@gmail.com |
3814e132be66eb1de4e470c91ee75ba28bbb7bf9 | 850a39e68e715ec5b3033c5da5938bbc9b5981bf | /drgraf4_0/MMgrPat/Loft_Com.cpp | a91ffb0448e29d2ee46fbf74c392dd41a99296d5 | [] | no_license | 15831944/drProjects | 8cb03af6d7dda961395615a0a717c9036ae1ce0f | 98e55111900d6a6c99376a1c816c0a9582c51581 | refs/heads/master | 2022-04-13T12:26:31.576952 | 2020-01-04T04:18:17 | 2020-01-04T04:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,465 | cpp |
#include "stdafx.h"
#include "DListMgr.h"
#include "DrCurve.h"
#include "Def_MouseAct.h"
///////////////////
#include "Loft_Com.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNAMIC(CLoft_Compat, CObject)
////////////////////
BOOL CLoft_Compat::AreCurvesCompatible(CDListMgr* pCurveList,CList<CURVELATCH,CURVELATCH>* pLatchList)
{
BOOL bClosed;
int nDim_S;
int nTopDegree;
//////////////////////////////////////////////////////////// ALL Closed or Open
if(!IsCompat_Closed(pCurveList,bClosed))
return FALSE;
//////////////////////////////////////////////////////////// Segment Compatibility
PreProcessCurvesControlInfo(pCurveList,nDim_S,nTopDegree); // TopDegree? etc
//////////////////////////////////////////////////////////// Do it
int nCon_BZ;
int nBezSeg;
// Total Expected CNodes of EACH Curve
if(!IsCompat_NumberOfCNodes(pCurveList,nTopDegree,nBezSeg,nCon_BZ) )
return FALSE;
//////////////////////////////////////////////////////////// Output Compatibility
if(!IsCompat_OutputInfo(pCurveList,pLatchList) ) // ElPerSegList etc
return FALSE;
//////////
return TRUE;
}
BOOL CLoft_Compat::IsCompat_Closed(CDListMgr* pCurveList,BOOL& bClosed)
{
/////////////////////////////////////// Is ALL Closed or Open?
CDListMgr* pList = pCurveList;
bClosed = FALSE;
int i = -1;
//////////////////////////////////////////////////////////// Find Highest Degree
for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;)
{
CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos);
if(!pCurve)
return FALSE;
///////////////////////////////////////////// IsClosed
i++;
if(i<=0)
bClosed = pCurve->IsClosed_S();
else
if(bClosed != pCurve->IsClosed_S())
return FALSE;
/////
}
////////////
return TRUE;
}
int CLoft_Compat::PreProcessCurvesControlInfo(CDListMgr* pCurveList,int& nDim_S,int& nTopDegree)
{
/////////////////////////////////////// Rational?
nDim_S = 3;
if(IsRational(pCurveList))
nDim_S = 4;
/////////////////////////////////////// Find Highest Degree
nTopDegree = GetTopDegree(pCurveList);
////////////
return MA_OK;
}
BOOL CLoft_Compat::IsRational(CDListMgr* pCurveList)
{
CDListMgr* pList = pCurveList;
//////////////////////////////////////////////////////////// Find Highest Degree
for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;)
{
CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos);
if(!pCurve)
continue;
///////////////////////////////////////////// Get Degree/Update
int nDim = pCurve->GetnDim_S();
if(4 == nDim)
return TRUE;
/////
}
return FALSE;
}
int CLoft_Compat::GetTopDegree(CDListMgr* pCurveList)
{
CDListMgr* pList = pCurveList;
//////////////////////////////
int nDegree=0,nDeg_C;
//////////////////////////////////////////////////////////// Find Highest Degree
for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;)
{
CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos);
if(!pCurve)
continue;
///////////////////////////////////////////// Get Degree/Update
nDeg_C = (pCurve->GetOrder_S()) - 1;
if(nDeg_C>nDegree)
nDegree = nDeg_C;
/////
}
return nDegree;
}
BOOL CLoft_Compat::IsCompat_NumberOfCNodes(CDListMgr* pCurveList,int nTopDegree,
int& nCurveSeg,int& nConBZ)
{
// Check All Curves Have Same Number of CNodes after Elevation
//////////////////////////////////////////////////////////////
CDListMgr* pList = pCurveList; // Curves making up Profile
int nDeg_C,nElev,nCon;
int nConBZOld;
// BOOL bClosed;
//////////////////////////////////////////////////////////// Total CNodes
int k = 0;
for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;)
{
CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos);
if(!pCurve)
return FALSE; // error
////
k++;
nConBZ = 0;
///////////////////////////////////////////// Get Degree/Update
nDeg_C = (pCurve->GetOrder_S()) - 1;
nElev = nTopDegree - nDeg_C; // How many Elevations
nCon = pCurve->GetMaxCNodes_S();
nCurveSeg = pCurve->GetMaxBezSegments_S();
// bClosed = pCurve->IsClosed_S();
///////////////////////////////////////////// Update Total Control Nodes
nConBZ = nCon;
if(nElev>0)
nConBZ += nElev * nCurveSeg; // nElev Cnodes per Curve Segment
///////////////////////////////////////////// Check Compatibility
if(k<=1)
nConBZOld = nConBZ; // first time
else
if(nConBZOld != nConBZ) // InCompatible
return FALSE;
}
///////////////
return TRUE;
}
BOOL CLoft_Compat::IsCompat_OutputInfo(CDListMgr* pCurveList,
CList<CURVELATCH,CURVELATCH>* pLatchList)
{
POSITION pos,posL;
BOOL bCompareBKward = FALSE;
CURVELATCH LatchOld;
CURVELATCH Latch;
int nOut,nOutOld,nBezSegs;
pINT pNum;
pINT pNumOld;
/////////////////////////////////////// Is ALL Output Info same?
CDListMgr* pList = pCurveList;
int i= -1,j;
//////////////////////////////////////////////////////////// Find Highest Degree
for (pos = pList->GetFirstObjectPos(),posL = pLatchList->GetHeadPosition();pos !=NULL;)
{
CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos);
if(!pCurve)
return FALSE;
Latch = pLatchList->GetNext(posL);
nOut = (int)pCurve->GetLongOutPts();
pNum = pCurve->GetNum_tPointer_S();
/////////////////////////////////////////////
i++;
if(i<=0)
{
nBezSegs = pCurve->GetMaxBezSegments_S();
pNumOld = pNum;
LatchOld = Latch;
nOutOld = nOut;
/////////
continue;
}
else
{
if(nOutOld != nOut)
return FALSE;
///////////////////////////////////////// SegmentWise
bCompareBKward = (LatchOld == Latch)? FALSE:TRUE;
///////////////////////////////////////////// go over the list
if(bCompareBKward)
{
for (j=0;j<nBezSegs;j++)
{
////
int nElems = pNum[(nBezSegs-1)-j];
///////
int nElemsOld = pNumOld[j];
///////////////////////////////////////////////// same
if(nElemsOld != nElems)
return FALSE;
}
}
else
{
for (j=0;j<nBezSegs;j++)
{
////
int nElems = pNum[j];
///////
int nElemsOld = pNumOld[j];
///////////////////////////////////////////////// same
if(nElemsOld != nElems)
return FALSE;
}
}
}
}
////////////
return TRUE;
/*
POSITION pos,posL;
BOOL bCompareBKward = FALSE;
CURVELATCH LatchOld;
CURVELATCH Latch;
/////////////////////////////////////// Is ALL Output Info same?
CDListMgr* pList = pCurveList;
CList<int,int>* pElperSegList;
CList<int,int>* pElperSegListOld;
int i= -1,j;
//////////////////////////////////////////////////////////// Find Highest Degree
for (pos = pList->GetFirstObjectPos(),posL = pLatchList->GetHeadPosition();pos !=NULL;)
{
CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos);
if(!pCurve)
return FALSE;
Latch = pLatchList->GetNext(posL);
pElperSegList = pCurve->GetElperSegList_S();
///////////////////////////////////////////// ElperSegList
i++;
if(i<=0)
{
pElperSegListOld = pElperSegList;
LatchOld = Latch;
///
if(pElperSegList->IsEmpty()) // must have some Elems
return FALSE;
else
continue;
}
else
{
///////////////////////////////////////////// same count of indices?
if(pElperSegList->GetCount() != pElperSegListOld->GetCount())
return FALSE;
/////////////////////////////////////////////////
bCompareBKward = (LatchOld == Latch)? FALSE:TRUE;
///////////////////////////////////////////// go over the list
if(bCompareBKward)
{
j = -1;
for (POSITION posI = pElperSegList->GetTailPosition( );posI !=NULL;)
{
j++;
////
int nElems = pElperSegList->GetPrev(posI);
///////
POSITION posOld = pElperSegListOld->FindIndex(j);
int nElemsOld = pElperSegList->GetAt(posOld);
///////////////////////////////////////////////// same
if(nElemsOld != nElems)
return FALSE;
}
}
else
{
j = -1;
for (POSITION posI = pElperSegList->GetHeadPosition( );posI !=NULL;)
{
j++;
////
int nElems = pElperSegList->GetNext(posI);
///////
POSITION posOld = pElperSegListOld->FindIndex(j);
int nElemsOld = pElperSegList->GetAt(posOld);
///////////////////////////////////////////////// same
if(nElemsOld != nElems)
return FALSE;
}
}
}
}
////////////
return TRUE;
*/
}
////////////////////////////// end of Module ////////////////////////
| [
"sray12345678@gmail.com"
] | sray12345678@gmail.com |
780b039703f7cb9cab2e9a41249bdb9a48fe53f2 | 5fe5d44504f802efc07a09b5b269cf01af4df022 | /include/std_msgs/Byte.h | 79fc80a408fb14e1151d8078559816a3de4dbe6a | [] | no_license | southpaw-wu/ros_ios_chamo | 737579b30b887799df51155f2bece68b8e3110d0 | a668c434ccff9c5f19678a6c4c58d3ffe67f7c37 | refs/heads/master | 2020-09-27T07:42:57.782856 | 2019-12-07T06:39:05 | 2019-12-07T06:39:05 | 226,466,720 | 0 | 0 | null | 2019-12-07T06:28:38 | 2019-12-07T06:28:38 | null | UTF-8 | C++ | false | false | 4,403 | h | // Generated by gencpp from file std_msgs/Byte.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_BYTE_H
#define STD_MSGS_MESSAGE_BYTE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace std_msgs
{
template <class ContainerAllocator>
struct Byte_
{
typedef Byte_<ContainerAllocator> Type;
Byte_()
: data(0) {
}
Byte_(const ContainerAllocator& _alloc)
: data(0) {
(void)_alloc;
}
typedef int8_t _data_type;
_data_type data;
typedef boost::shared_ptr< ::std_msgs::Byte_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::std_msgs::Byte_<ContainerAllocator> const> ConstPtr;
}; // struct Byte_
typedef ::std_msgs::Byte_<std::allocator<void> > Byte;
typedef boost::shared_ptr< ::std_msgs::Byte > BytePtr;
typedef boost::shared_ptr< ::std_msgs::Byte const> ByteConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::std_msgs::Byte_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::std_msgs::Byte_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace std_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/src/std_msgs/msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Byte_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::std_msgs::Byte_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Byte_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::std_msgs::Byte_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Byte_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::std_msgs::Byte_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::std_msgs::Byte_<ContainerAllocator> >
{
static const char* value()
{
return "ad736a2e8818154c487bb80fe42ce43b";
}
static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xad736a2e8818154cULL;
static const uint64_t static_value2 = 0x487bb80fe42ce43bULL;
};
template<class ContainerAllocator>
struct DataType< ::std_msgs::Byte_<ContainerAllocator> >
{
static const char* value()
{
return "std_msgs/Byte";
}
static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::std_msgs::Byte_<ContainerAllocator> >
{
static const char* value()
{
return "byte data\n\
";
}
static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::std_msgs::Byte_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.data);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct Byte_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::std_msgs::Byte_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Byte_<ContainerAllocator>& v)
{
s << indent << "data: ";
Printer<int8_t>::stream(s, indent + " ", v.data);
}
};
} // namespace message_operations
} // namespace ros
#endif // STD_MSGS_MESSAGE_BYTE_H
| [
"user@users-MacBook-Pro.local"
] | user@users-MacBook-Pro.local |
710a30813723c4efce5004b7cf7fb28afcae47a6 | 5446d232249fb394900a458af2bb7e9aaa9c5a76 | /leetcode/single-number-ii.h | 95d51f2bede697788c09266d31e356ff3c739ad4 | [] | no_license | huozhi/algorithm | 32b54dbf3578929dbe18db789dea0c8b15ed433c | ba722e2341a10ef6f7948b70f3b2d7bfd7ca4584 | refs/heads/master | 2021-01-20T00:40:16.429935 | 2018-07-21T08:33:08 | 2018-07-21T08:37:12 | 18,261,041 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | h | /*
Given an array of integers, every element appears three times except for one.
Find that single one.
*/
// Solution 1, use hash table
class Solution {
public:
int singleNumber(int A[], int n) {
if (n <= 0)
return -1;
else if(n == 1)
return A[0];
unordered_map<int, int> um;
for(int i=0; i<n; i++) {
if (um.count(A[i])) {
if (um[A[i]] == 2)
um.erase(A[i]);
else
++um[A[i]];
}
else {
um[A[i]] = 1;
}
}
return um.begin()->first;
}
};
// Solution 2
class Solution {
public:
int singleNumber(int A[], int n) {
int ones = 0, twos = 0, xthrees = 0;
for(int i = 0; i < n; ++i) {
twos |= (ones & A[i]);
ones ^= A[i];
xthrees = ~(ones & twos);
ones &= xthrees;
twos &= xthrees;
}
return ones;
}
}; | [
"gilesliu12@gmail.com"
] | gilesliu12@gmail.com |
d88f0f3fcda0cfd70ec582cab2a7ae50ef50246b | 05ee5944509635baaac0326965304cd3011c5a4b | /CS106B/Chapter01 (Overview of C++) BookExercises/11.PiAproximattion/PiAproximattion.cpp | 7631231013064bf53fd239c89d623982d7e3a1a9 | [] | no_license | oliverpecha/Stanford-SEE | f170889ad02f6e9c9caeb19ccbfceda5cd64d6ad | 562605a8e0e72fb84bc7c899346d5c2282e6f31c | refs/heads/master | 2023-07-09T02:33:34.291651 | 2023-07-04T15:22:14 | 2023-07-04T15:22:14 | 229,628,585 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | /*
* File: PiAproximattion.cpp
* --------------
* The German mathematician Leibniz (1646–1716) discovered the rather remarkable fact that the mathematical constant PI
* can be computed using the following mathematical relationship:
* "1–+–+–+...
* The formula to the right of the equal sign represents an infinite series; each fraction represents a term in that series.
* If you start with 1, subtract one-third, add one-fifth, and so on, for each of the odd integers, you get a number that gets closer and closer
* to the value of !/4 as you go along.
* Write a program that calculates an approximation of ! consisting of the first 10,000 terms in Leibniz’s series.
*/
#include <cmath>
#include "console.h"
#include "simpio.h"
using namespace std;
double terms = 10000;
int main()
{
if (terms > 0){
double partial = 0;
for (int i = 0; i < terms; i++)
if (i % 2 == 0)
partial += 1/((2.0 * i) + 1);
else
partial -= 1/((2.0 * i) + 1);
double newPi = 4 * partial;
cout << "The approximation is " << newPi << " using " << terms << " terms.\n";
}
return 0;
}
| [
"oliverpecha@gmail.com"
] | oliverpecha@gmail.com |
492fc17f39ad0927562aff42a03ac09a5eecb902 | e1a6af52111a1dfa0ae053183e2b3d0180d1e9ec | /src/test/fuzz/script_sign.cpp | 1b65023009bb9976cc2cf60a0e508a7fba80fb90 | [
"MIT"
] | permissive | UFO-ETL/ufo | df392b66b3f528a3442c2a26304e061fb6e1a631 | e85dde0c8b12c1bf3357003afb77ea85b1476d6b | refs/heads/main | 2023-03-12T04:27:35.910420 | 2021-03-05T06:54:21 | 2021-03-05T06:54:21 | 344,399,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,586 | cpp | // Copyright (c) 2020 The UFO Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <chainparamsbase.h>
#include <key.h>
#include <pubkey.h>
#include <script/keyorigin.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <streams.h>
#include <test/fuzz/FuzzedDataProvider.h>
#include <test/fuzz/fuzz.h>
#include <test/fuzz/util.h>
#include <cassert>
#include <cstdint>
#include <iostream>
#include <map>
#include <optional>
#include <string>
#include <vector>
void initialize_script_sign()
{
static const ECCVerifyHandle ecc_verify_handle;
ECC_Start();
SelectParams(CBaseChainParams::REGTEST);
}
FUZZ_TARGET_INIT(script_sign, initialize_script_sign)
{
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
const std::vector<uint8_t> key = ConsumeRandomLengthByteVector(fuzzed_data_provider, 128);
{
CDataStream random_data_stream = ConsumeDataStream(fuzzed_data_provider);
std::map<CPubKey, KeyOriginInfo> hd_keypaths;
try {
DeserializeHDKeypaths(random_data_stream, key, hd_keypaths);
} catch (const std::ios_base::failure&) {
}
CDataStream serialized{SER_NETWORK, PROTOCOL_VERSION};
SerializeHDKeypaths(serialized, hd_keypaths, fuzzed_data_provider.ConsumeIntegral<uint8_t>());
}
{
std::map<CPubKey, KeyOriginInfo> hd_keypaths;
while (fuzzed_data_provider.ConsumeBool()) {
const std::optional<CPubKey> pub_key = ConsumeDeserializable<CPubKey>(fuzzed_data_provider);
if (!pub_key) {
break;
}
const std::optional<KeyOriginInfo> key_origin_info = ConsumeDeserializable<KeyOriginInfo>(fuzzed_data_provider);
if (!key_origin_info) {
break;
}
hd_keypaths[*pub_key] = *key_origin_info;
}
CDataStream serialized{SER_NETWORK, PROTOCOL_VERSION};
try {
SerializeHDKeypaths(serialized, hd_keypaths, fuzzed_data_provider.ConsumeIntegral<uint8_t>());
} catch (const std::ios_base::failure&) {
}
std::map<CPubKey, KeyOriginInfo> deserialized_hd_keypaths;
try {
DeserializeHDKeypaths(serialized, key, hd_keypaths);
} catch (const std::ios_base::failure&) {
}
assert(hd_keypaths.size() >= deserialized_hd_keypaths.size());
}
{
SignatureData signature_data_1{ConsumeScript(fuzzed_data_provider)};
SignatureData signature_data_2{ConsumeScript(fuzzed_data_provider)};
signature_data_1.MergeSignatureData(signature_data_2);
}
FillableSigningProvider provider;
CKey k;
const std::vector<uint8_t> key_data = ConsumeRandomLengthByteVector(fuzzed_data_provider);
k.Set(key_data.begin(), key_data.end(), fuzzed_data_provider.ConsumeBool());
if (k.IsValid()) {
provider.AddKey(k);
}
{
const std::optional<CMutableTransaction> mutable_transaction = ConsumeDeserializable<CMutableTransaction>(fuzzed_data_provider);
const std::optional<CTxOut> tx_out = ConsumeDeserializable<CTxOut>(fuzzed_data_provider);
const unsigned int n_in = fuzzed_data_provider.ConsumeIntegral<unsigned int>();
if (mutable_transaction && tx_out && mutable_transaction->vin.size() > n_in) {
SignatureData signature_data_1 = DataFromTransaction(*mutable_transaction, n_in, *tx_out);
CTxIn input;
UpdateInput(input, signature_data_1);
const CScript script = ConsumeScript(fuzzed_data_provider);
SignatureData signature_data_2{script};
signature_data_1.MergeSignatureData(signature_data_2);
}
if (mutable_transaction) {
CTransaction tx_from{*mutable_transaction};
CMutableTransaction tx_to;
const std::optional<CMutableTransaction> opt_tx_to = ConsumeDeserializable<CMutableTransaction>(fuzzed_data_provider);
if (opt_tx_to) {
tx_to = *opt_tx_to;
}
CMutableTransaction script_tx_to = tx_to;
CMutableTransaction sign_transaction_tx_to = tx_to;
if (n_in < tx_to.vin.size() && tx_to.vin[n_in].prevout.n < tx_from.vout.size()) {
(void)SignSignature(provider, tx_from, tx_to, n_in, fuzzed_data_provider.ConsumeIntegral<int>());
}
if (n_in < script_tx_to.vin.size()) {
(void)SignSignature(provider, ConsumeScript(fuzzed_data_provider), script_tx_to, n_in, ConsumeMoney(fuzzed_data_provider), fuzzed_data_provider.ConsumeIntegral<int>());
MutableTransactionSignatureCreator signature_creator{&tx_to, n_in, ConsumeMoney(fuzzed_data_provider), fuzzed_data_provider.ConsumeIntegral<int>()};
std::vector<unsigned char> vch_sig;
CKeyID address;
if (fuzzed_data_provider.ConsumeBool()) {
if (k.IsValid()) {
address = k.GetPubKey().GetID();
}
} else {
address = CKeyID{ConsumeUInt160(fuzzed_data_provider)};
}
(void)signature_creator.CreateSig(provider, vch_sig, address, ConsumeScript(fuzzed_data_provider), fuzzed_data_provider.PickValueInArray({SigVersion::BASE, SigVersion::WITNESS_V0}));
}
std::map<COutPoint, Coin> coins;
while (fuzzed_data_provider.ConsumeBool()) {
const std::optional<COutPoint> outpoint = ConsumeDeserializable<COutPoint>(fuzzed_data_provider);
if (!outpoint) {
break;
}
const std::optional<Coin> coin = ConsumeDeserializable<Coin>(fuzzed_data_provider);
if (!coin) {
break;
}
coins[*outpoint] = *coin;
}
std::map<int, std::string> input_errors;
(void)SignTransaction(sign_transaction_tx_to, &provider, coins, fuzzed_data_provider.ConsumeIntegral<int>(), input_errors);
}
}
{
SignatureData signature_data_1;
(void)ProduceSignature(provider, DUMMY_SIGNATURE_CREATOR, ConsumeScript(fuzzed_data_provider), signature_data_1);
SignatureData signature_data_2;
(void)ProduceSignature(provider, DUMMY_MAXIMUM_SIGNATURE_CREATOR, ConsumeScript(fuzzed_data_provider), signature_data_2);
}
}
| [
"xiaka53@vip.qq.com"
] | xiaka53@vip.qq.com |
a0d9f715358de6c17e6307de8d37486d01036050 | b42e8fae99402454ec567b868cd7c6800f44b739 | /poj/2887 Big String.cpp | 0639677e57282b8373e50f3604d34c7521f1ef31 | [] | no_license | GadyPu/OnlineJudge | a0799a47454f351e94c9ad8ed20fd2d5ed7e40be | 0740f8e5e7d6e923ac51baec783a6b40cd24260e | refs/heads/master | 2021-01-01T05:06:55.238653 | 2016-05-21T12:54:09 | 2016-05-21T12:54:09 | 59,358,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,861 | cpp | #include<algorithm>
#include<iostream>
#include<cstdlib>
#include<cstring>
#include<cstdio>
#include<vector>
#include<set>
using std::set;
using std::sort;
using std::pair;
using std::swap;
using std::vector;
using std::multiset;
#define pb(e) push_back(e)
#define sz(c) (int)(c).size()
#define mp(a, b) make_pair(a, b)
#define all(c) (c).begin(), (c).end()
#define iter(c) __typeof((c).begin())
#define cls(arr, val) memset(arr, val, sizeof(arr))
#define cpresent(c, e) (find(all(c), (e)) != (c).end())
#define rep(i, n) for(int i = 0; i < (int)n; i++)
#define tr(c, i) for(iter(c) i = (c).begin(); i != (c).end(); ++i)
const int N = 1 << 20;
char buf[N];
struct Node {
int s;
char dat;
Node *fa, *ch[2];
inline void set(int i, char j, Node *p) {
s = i, dat = j;
fa = ch[0] = ch[1] = p;
}
inline void push_up() {
s = ch[0]->s + ch[1]->s + 1;
}
inline bool dir() const {
return fa->ch[0] == this;
}
inline void link(Node *x, bool d) {
ch[d] = x;
x->fa = this;
}
};
struct SplayTree {
Node *root, *tail, *null, stack[N];
inline void init(int n) {
tail = &stack[0];
null = tail++;
null->set(0, '.', NULL);
root = newNode('.');
root->link(newNode('.'), 1);
Node *x = built(1, n);
root->ch[1]->link(x, 0);
root->ch[1]->push_up();
root->push_up();
splay(x, null);
}
inline Node *built(int l, int r) {
if(l > r) return null;
int mid = (l + r) >> 1;
Node *p = newNode(buf[mid - 1]);
p->ch[0] = built(l, mid -1);
if(p->ch[0] != null) p->ch[0]->fa = p;
p->ch[1] = built(mid + 1, r);
if(p->ch[1] != null) p->ch[1]->fa = p;
p->push_up();
return p;
}
inline Node *newNode(char dat) {
Node *p = tail++;
p->set(1, dat, null);
return p;
}
inline void rotate(Node *&x, bool d) {
Node *y = x->fa;
y->ch[!d] = x->ch[d];
x->fa = y->fa;
if(x->ch[d]->s) x->ch[d]->fa = y;
if(y->fa->s) y->fa->ch[!y->dir()] = x;
x->ch[d] = y;
y->fa = x, y->push_up();
if (y == root) root = x;
}
inline void splay(Node *x, Node *f) {
if(x == root) return;
while(x->fa != f) {
if(x->fa->fa == f) {
rotate(x, x->dir());
} else {
bool d = x->fa->dir();
if(d == x->dir()) rotate(x->fa, d), rotate(x, d);
else rotate(x, !d), rotate(x, d);
}
}
x->push_up();
}
inline Node *select(Node *x, int k) {
for(int t = 0; x->s; ) {
t = x->ch[0]->s;
if(t == k) break;
else if(k < t) x = x->ch[0];
else k -= t + 1, x = x->ch[1];
}
return x;
}
inline void insert(char dat, int k) {
if(k > root->s) k = root->s - 2;
k--;
splay(select(root, k), null);
splay(select(root, k + 1), root);
Node *x = newNode(dat);
root->ch[1]->link(x, 0);
root->ch[1]->push_up();
root->push_up();
splay(x, null);
}
inline char operator[](int k) {
splay(select(root, k), null);
return root->dat;
}
}spt;
int main() {
#ifdef LOCAL
freopen("in.txt", "r", stdin);
freopen("out.txt", "w+", stdout);
#endif
int q, k;
char op, dat;
while(~scanf("%s", buf)) {
scanf("%d", &q);
spt.init(strlen(buf));
while(q--) {
getchar();
scanf("%c", &op);
if(op == 'Q') {
scanf(" %d", &k);
printf("%c\n", spt[k]);
} else {
scanf(" %c %d", &dat, &k);
spt.insert(dat, k);
}
}
}
return 0;
}
| [
"GadyPu@gmail.com"
] | GadyPu@gmail.com |
a6c62d7db6c5056d423ccc506fb9e9721d9de103 | d2d60b3fbb1bbe612cee41e0356e04f4e245c312 | /ZigZagConversion.cpp | 628725e671fc7aad565a68f4a89034e13edb0461 | [] | no_license | xiaoningyb/leetcode | 3bc90fac1563a4c5c17d3262971190b7fd262c79 | f6b8db74d45ad985cbd24be903f018efe2f7198e | refs/heads/master | 2016-09-06T11:43:22.405866 | 2015-11-12T07:00:19 | 2015-11-12T07:00:19 | 9,593,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include <string>
#include <iostream>
using namespace std;
string convert(string s, int nRows) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if(nRows < 2)
return s;
string ret;
int step = (nRows - 1) * 2;
for(int j = 0; j < nRows; ++j)
{
int count = 0;
if((j%step == 0) || ((j+1)%step == 0))
count = step;
else
count = 2*j;
for(int i = j; i < s.size(); i += count )
{
ret += s[i];
if(count != step)
count = step - count;
}
}
return ret;
}
int main()
{
string src = "PAYPALISHIRING";
cout<<"2 :"<<convert(src, 2)<<endl;
cout<<"3 :"<<convert(src, 3)<<endl;
cout<<"4 :"<<convert(src, 4)<<endl;
}
| [
"ning.xiao@nebutown.com"
] | ning.xiao@nebutown.com |
96ecee63320e1c52d4e7bb0f171cfd03e92414ae | 1d4abaef87c708ab68be6642660283b94e4c69e7 | /Problem56/Problem56.cpp | 920687dd73fece9a1d1bf02878f321e7574b0974 | [] | no_license | yulotomorrow/Project-Euler-100 | 93b698dd0935e5ceb32761757288d7d54cac24f6 | e040dabbda06a70fc3678a39882dac271bd07351 | refs/heads/main | 2023-07-16T04:36:57.540531 | 2021-08-26T05:23:46 | 2021-08-26T05:23:46 | 386,851,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,886 | cpp | #include <iostream>
#include <string>
#include <array>
#include <vector>
#include <deque>
#include <chrono>
using namespace std;
deque<int> BigIntSum(deque<int> num1, deque<int> num2)
{
deque<int> sumResult = {};
auto itr1 = num1.crbegin();
auto itr2 = num2.crbegin();
int additional = 0;
while (itr1 != num1.crend() && itr2 != num2.crend())
{
int newDigit = (*itr1 + *itr2 + additional) % 10;
sumResult.push_front(newDigit);
additional = (*itr1 + *itr2 + additional) / 10;
++itr1;
++itr2;
}
while (itr1 != num1.crend() && itr2 == num2.crend())
{
int newDigit = (*itr1 + additional) % 10;
sumResult.push_front(newDigit);
additional = (*itr1 + additional) / 10;
++itr1;
}
while (itr1 == num1.crend() && itr2 != num2.crend())
{
int newDigit = (*itr2 + additional) % 10;
sumResult.push_front(newDigit);
additional = (*itr2 + additional) / 10;
++itr2;
}
if (additional != 0)
sumResult.push_front(additional);
return sumResult;
}
deque<int> SingleDigitMultiplyNew(deque<int> multiplier, int digit)
{
deque<int> multiplyResult = {};
auto itr = multiplier.crbegin();
int additional = 0;
while (itr != multiplier.crend())
{
int newDigit = (*itr * digit) % 10;
multiplyResult.push_front(newDigit + additional);
additional = (*itr * digit) / 10;
++itr;
}
if (additional != 0)
multiplyResult.push_front(additional);
return multiplyResult;
}
deque<int> GeneralMultiply(deque<int> multiplier1, deque<int> multiplier2)
{
auto itr = multiplier2.crbegin();
deque<int> multiplyResult = {};
int digitPos = 0;
while (itr != multiplier2.crend())
{
deque<int> nextDigitMulti = SingleDigitMultiplyNew(multiplier1, *itr);
if (digitPos > 0)
{
for (int i = 0; i < digitPos; ++i)
{
nextDigitMulti.push_back(0);
}
}
deque<int> tempList = BigIntSum(nextDigitMulti, multiplyResult);
multiplyResult.assign(tempList.begin(), tempList.end());
++digitPos;
++itr;
}
return multiplyResult;
}
deque<int> IntToContainer(int num)
{
deque<int> container = {};
string storageTemp = to_string(num);
for (auto& a : storageTemp)
{
container.push_back(a - '0');
}
return container;
}
void MaxDigitSum()
{
int maxSum = 0;
for (int i = 2; i < 100; ++i)
{
for (int j = 2; j < 100; ++j)
{
deque<int> multiplier1 = IntToContainer(i);
deque<int> multiplier2 = IntToContainer(i);
int times = j - 1;
while (times > 0)
{
multiplier1 = GeneralMultiply(multiplier1, multiplier2);
--times;
}
int sum = 0;
for (auto& a : multiplier1)
{
sum += a;
}
if (sum > maxSum)
{
maxSum = sum;
}
}
}
cout << maxSum << "\n";
}
int main()
{
auto startTime = chrono::system_clock::now();
MaxDigitSum();
auto endTime = chrono::system_clock::now();
auto runTime = chrono::duration_cast<chrono::milliseconds>(endTime - startTime).count();
cout << runTime / 1000.0 << "\n";
} | [
"yulotomorrow@gmail.com"
] | yulotomorrow@gmail.com |
6bafcf01cf3f2fadfd208808e1e0d39b81585463 | 5898d3bd9e4cb58043b40fa58961c7452182db08 | /part3/ch24/24-4-4-Totally_ordered/src/user.cpp | 9f6ac0f34849c473e9b1943986cbe6a47401362c | [] | no_license | sasaki-seiji/ProgrammingLanguageCPP4th | 1e802f3cb15fc2ac51fa70403b95f52878223cff | 2f686b385b485c27068328c6533926903b253687 | refs/heads/master | 2020-04-04T06:10:32.942026 | 2017-08-10T11:35:08 | 2017-08-10T11:35:08 | 53,772,682 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,316 | cpp | /*
* user.cpp
*
* Created on: 2017/06/20
* Author: sasaki
*/
#include "totally_ordered.h"
using namespace Estd;
#include <vector>
#include <memory>
#include <complex>
#include <iostream>
using namespace std;
void test_single_type()
{
cout << "-- test_single_type() --\n";
bool b1 = Totally_ordered<int>();
bool b2 = Totally_ordered<vector<int>>();
bool b3 = Totally_ordered<unique_ptr<int>>();
bool b4 = Totally_ordered<complex<double>>();
bool b5 = Totally_ordered<istream>();
cout << boolalpha;
cout << "Totally_ordered<int>(): " << b1 << endl;
cout << "Totally_ordered<vector<int>>(): " << b2 << endl;
cout << "Totally_ordered<unique_ptr<int>>(): " << b3 << endl;
cout << "Totally_ordered<complex<double>>(): " << b4 << endl;
cout << "Totally_ordered<istream>(): " << b5 << endl;
}
void test_type_pair()
{
cout << "-- test_type_pair() --\n";
bool b1 = Totally_ordered<int,double>();
bool b2 = Totally_ordered<double,complex<double>>();
bool b3 = Equality_comparable<vector<int>,vector<double>>();
cout << boolalpha;
cout << "Totally_ordered<int,double>(): " << b1 << endl;
cout << "Totally_ordered<double,complex<double>>(): " << b2 << endl;
cout << "Totally_ordered<vector<int>,vector<double>>(): " << b3 << endl;
}
int main()
{
test_single_type();
test_type_pair();
}
| [
"sasaki-seiji@msj.biglobe.ne.jp"
] | sasaki-seiji@msj.biglobe.ne.jp |
f3167c270c0ba12672fb1743855a163ddff57f14 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dmatsmatsub/MDaHCb.cpp | da3f5839915e174bef84ff35712c4da3dc8b4c10 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,158 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatsub/MDaHCb.cpp
// \brief Source file for the MDaHCb dense matrix/sparse matrix subtraction math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library. You can redistribute it and/or modify it under
// the terms of the New (Revised) BSD License. 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. Neither the names of the Blaze development group nor the names of its contributors
// may be used to endorse or promote products derived from this software without specific
// prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT HOLDER OR CONTRIBUTORS 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.
*/
//=================================================================================================
//*************************************************************************************************
// Includes
//*************************************************************************************************
#include <cstdlib>
#include <iostream>
#include <blaze/math/CompressedMatrix.h>
#include <blaze/math/DynamicMatrix.h>
#include <blaze/math/HermitianMatrix.h>
#include <blazetest/mathtest/Creator.h>
#include <blazetest/mathtest/dmatsmatsub/OperationTest.h>
#include <blazetest/system/MathTest.h>
//=================================================================================================
//
// MAIN FUNCTION
//
//=================================================================================================
//*************************************************************************************************
int main()
{
std::cout << " Running 'MDaHCb'..." << std::endl;
using blazetest::mathtest::NumericA;
using blazetest::mathtest::NumericB;
try
{
// Matrix type definitions
typedef blaze::DynamicMatrix<NumericA> MDa;
typedef blaze::HermitianMatrix< blaze::CompressedMatrix<NumericB> > HCb;
// Creator type definitions
typedef blazetest::Creator<MDa> CMDa;
typedef blazetest::Creator<HCb> CHCb;
// Running tests with small matrices
for( size_t i=0UL; i<=6UL; ++i ) {
for( size_t j=0UL; j<=i*i; ++j ) {
RUN_DMATSMATSUB_OPERATION_TEST( CMDa( i, i ), CHCb( i, j ) );
}
}
// Running tests with large matrices
RUN_DMATSMATSUB_OPERATION_TEST( CMDa( 67UL, 67UL ), CHCb( 67UL, 7UL ) );
RUN_DMATSMATSUB_OPERATION_TEST( CMDa( 128UL, 128UL ), CHCb( 128UL, 16UL ) );
}
catch( std::exception& ex ) {
std::cerr << "\n\n ERROR DETECTED during dense matrix/sparse matrix subtraction:\n"
<< ex.what() << "\n";
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
//*************************************************************************************************
| [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
58bc57515fdbe0d8372174b1c7471d0ab70cfd06 | b312a2dbfa4bdc7c6468c398d600708b9ca483db | /test/test.cc | 9d0359e84bc2b39fc4db5e36c51a5747a2259fc4 | [] | no_license | tiestoparabola/test | 925cacafde0071cb6587b78e254f85d5fe0b12dd | 2ac2ab6916ef2fc8fb4b0787fd310a345d2e8794 | refs/heads/master | 2020-04-02T01:17:13.943709 | 2015-05-07T21:32:45 | 2015-05-07T21:32:45 | 35,244,512 | 0 | 0 | null | 2015-05-07T21:30:25 | 2015-05-07T21:30:25 | null | UTF-8 | C++ | false | false | 306 | cc | #include <iostream>
using namespace std;
int main()
{
vector<int> v(10);
for (int i = 0; i < 10; ++i) cin >> v[i];
for (int i = 0; i < 10; ++i) cout << v[i] << endl;
cout << "Hello World" << endl;
cout << "Hola" << endl;
cout << "გამარჯობა" << endl;
}
| [
"Yoh0xFF@gmail.com"
] | Yoh0xFF@gmail.com |
6988c08d1a42f2fb1019f8635507ad5713ef3b92 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13748/function13748_schedule_26/function13748_schedule_26_wrapper.cpp | 5f8d9818369ce4066a9f20400a41b942b86f8dad | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | #include "Halide.h"
#include "function13748_schedule_26_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(1024);
Halide::Buffer<int32_t> buf01(256, 1024);
Halide::Buffer<int32_t> buf02(256);
Halide::Buffer<int32_t> buf03(256, 1024);
Halide::Buffer<int32_t> buf04(256);
Halide::Buffer<int32_t> buf05(256);
Halide::Buffer<int32_t> buf06(256, 1024);
Halide::Buffer<int32_t> buf07(256);
Halide::Buffer<int32_t> buf08(1024);
Halide::Buffer<int32_t> buf09(256, 1024);
Halide::Buffer<int32_t> buf0(256, 256, 1024);
init_buffer(buf0, (int32_t)0);
auto t1 = std::chrono::high_resolution_clock::now();
function13748_schedule_26(buf00.raw_buffer(), buf01.raw_buffer(), buf02.raw_buffer(), buf03.raw_buffer(), buf04.raw_buffer(), buf05.raw_buffer(), buf06.raw_buffer(), buf07.raw_buffer(), buf08.raw_buffer(), buf09.raw_buffer(), buf0.raw_buffer());
auto t2 = std::chrono::high_resolution_clock::now();
std::chrono::duration<double> diff = t2 - t1;
std::ofstream exec_times_file;
exec_times_file.open("../data/programs/function13748/function13748_schedule_26/exec_times.txt", std::ios_base::app);
if (exec_times_file.is_open()){
exec_times_file << diff.count() * 1000000 << "us" <<std::endl;
exec_times_file.close();
}
return 0;
} | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
eaf723e9df5046190a320f0f0a2213e093c9c7cc | 0888a19865566ddca5ae404fd7d3d389bce2943b | /task.cpp | eea0add36a93e0040bfbded0dcd0d0a705e06dc2 | [
"MIT"
] | permissive | Perveance/ThreadPool | 8c51c457b331b4c1d55933c62b5be0371f2f397b | 81e2068d7ab1cf3762d8c1cb065565290ccc6e0f | refs/heads/master | 2021-01-10T16:01:22.670250 | 2016-04-24T20:17:12 | 2016-04-24T20:17:12 | 55,917,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp |
#include "task.h"
Task::Task(func_type f, void *args) : m_func(f), m_args(args)
{
}
Task::~Task()
{
}
void Task::execute()
{
m_func(m_args);
}
| [
"mszhidko@gmail.com"
] | mszhidko@gmail.com |
c280f9cffb3ce264214f1bbfcd4619602b7895d5 | e3f64b5dea5e0c8137b3dd84afbd948a5c585ba6 | /gazebo/gui/BoxMaker.cc | e1706cf618b1dc45d84a0c8585aaded4b1999c43 | [
"Apache-2.0"
] | permissive | Karandaras/scene-reconstruction-gazebo | 40a99d9ae8820ba76b1d298ceabb91813b91402e | 8fdfc66ee5a73a0d18e36cf85e965f964e1ad15d | refs/heads/master | 2020-12-24T15:40:04.385097 | 2013-01-24T08:05:01 | 2013-01-24T08:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,791 | cc | /*
* Copyright 2011 Nate Koenig
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#include <sstream>
#include "msgs/msgs.hh"
#include "common/Console.hh"
#include "gui/GuiEvents.hh"
#include "math/Quaternion.hh"
#include "common/MouseEvent.hh"
#include "rendering/UserCamera.hh"
#include "transport/Publisher.hh"
#include "gui/BoxMaker.hh"
using namespace gazebo;
using namespace gui;
unsigned int BoxMaker::counter = 0;
BoxMaker::BoxMaker()
: EntityMaker()
{
this->state = 0;
this->visualMsg = new msgs::Visual();
this->visualMsg->mutable_geometry()->set_type(msgs::Geometry::BOX);
this->visualMsg->mutable_material()->mutable_script()->set_uri(
"gazebo://media/materials/scripts/gazebo.material");
this->visualMsg->mutable_material()->mutable_script()->set_name(
"Gazebo/TurquoiseGlowOutline");
msgs::Set(this->visualMsg->mutable_pose()->mutable_orientation(),
math::Quaternion());
}
BoxMaker::~BoxMaker()
{
this->camera.reset();
delete this->visualMsg;
}
void BoxMaker::Start(const rendering::UserCameraPtr _camera)
{
this->camera = _camera;
std::ostringstream stream;
stream << "__GZ_USER_box_" << counter++;
this->visualMsg->set_name(stream.str());
this->state = 1;
}
void BoxMaker::Stop()
{
msgs::Request *msg = msgs::CreateRequest("entity_delete",
this->visualMsg->name());
this->requestPub->Publish(*msg);
delete msg;
this->state = 0;
gui::Events::moveMode(true);
}
bool BoxMaker::IsActive() const
{
return this->state > 0;
}
void BoxMaker::OnMousePush(const common::MouseEvent &_event)
{
if (this->state == 0)
return;
this->mousePushPos = _event.pressPos;
}
/////////////////////////////////////////////////
void BoxMaker::OnMouseRelease(const common::MouseEvent &_event)
{
if (this->state == 0)
return;
this->state++;
this->mouseReleasePos = _event.pos;
if (this->state == 3)
{
this->CreateTheEntity();
this->Stop();
}
}
/////////////////////////////////////////////////
void BoxMaker::OnMouseMove(const common::MouseEvent &_event)
{
if (this->state != 2)
return;
math::Vector3 p = msgs::Convert(this->visualMsg->pose().position());
math::Vector3 scale = msgs::Convert(this->visualMsg->geometry().box().size());
scale.z = (this->mouseReleasePos.y - _event.pos.y)*0.01;
if (!_event.shift)
scale.z = rint(scale.z);
p.z = scale.z/2.0;
msgs::Set(this->visualMsg->mutable_pose()->mutable_position(), p);
msgs::Set(this->visualMsg->mutable_geometry()->mutable_box()->mutable_size(),
scale);
this->visPub->Publish(*this->visualMsg);
}
/////////////////////////////////////////////////
void BoxMaker::OnMouseDrag(const common::MouseEvent &_event)
{
if (this->state != 1)
return;
math::Vector3 norm(0, 0, 1);
math::Vector3 p1, p2;
if (!this->camera->GetWorldPointOnPlane(this->mousePushPos.x,
this->mousePushPos.y,
math::Plane(norm), p1))
{
gzerr << "Invalid mouse point\n";
return;
}
p1 = this->GetSnappedPoint(p1);
if (!this->camera->GetWorldPointOnPlane(
_event.pos.x, _event.pos.y , math::Plane(norm), p2))
{
gzerr << "Invalid mouse point\n";
return;
}
p2 = this->GetSnappedPoint(p2);
msgs::Set(this->visualMsg->mutable_pose()->mutable_position(), p1);
math::Vector3 scale = p1-p2;
math::Vector3 p = msgs::Convert(this->visualMsg->pose().position());
scale.z = 0.01;
p.x = p1.x - scale.x/2.0;
p.y = p1.y - scale.y/2.0;
msgs::Set(this->visualMsg->mutable_pose()->mutable_position(), p);
msgs::Set(this->visualMsg->mutable_geometry()->mutable_box()->mutable_size(),
scale.GetAbs());
this->visPub->Publish(*this->visualMsg);
}
/////////////////////////////////////////////////
std::string BoxMaker::GetSDFString()
{
std::ostringstream newModelStr;
newModelStr << "<sdf version ='1.3'>"
<< "<model name='unit_box_" << counter << "'>"
<< "<pose>0 0 0.5 0 0 0</pose>"
<< "<link name ='link'>"
<< "<inertial><mass>1.0</mass></inertial>"
<< "<collision name ='collision'>"
<< "<geometry>"
<< "<box>"
<< "<size>1.0 1.0 1.0</size>"
<< "</box>"
<< "</geometry>"
<< "</collision>"
<< "<visual name ='visual'>"
<< "<geometry>"
<< "<box>"
<< "<size>1.0 1.0 1.0</size>"
<< "</box>"
<< "</geometry>"
<< "<material>"
<< "<script>"
<< "<uri>file://media/materials/scripts/gazebo.material</uri>"
<< "<name>Gazebo/Grey</name>"
<< "</script>"
<< "</material>"
<< "</visual>"
<< "</link>"
<< "</model>"
<< "</sdf>";
return newModelStr.str();
}
void BoxMaker::CreateTheEntity()
{
msgs::Factory msg;
math::Vector3 p = msgs::Convert(this->visualMsg->pose().position());
math::Vector3 size = msgs::Convert(this->visualMsg->geometry().box().size());
msg.set_sdf(this->GetSDFString());
msgs::Request *requestMsg = msgs::CreateRequest("entity_delete",
this->visualMsg->name());
this->requestPub->Publish(*requestMsg);
delete requestMsg;
this->makerPub->Publish(msg);
this->camera.reset();
}
| [
"bastian.klingen@rwth-aachen.de"
] | bastian.klingen@rwth-aachen.de |
6a0d91ffafe15b76c535c2958b8162b81d1e4b26 | 95ccfcabf9e5a7c46016135a4ea88d1236a0a3b2 | /AVL tree/include/BSTNode.h | 3adea6f521bcc2ce14d11abec75456117914522c | [] | no_license | jfhr1999/MaterialTecComputacion | db3ebd2a8459191e473e94f1f7bfac4604a98d1f | 2028ec0f7d7fe9343506bcb4db0ac28486c7c7f6 | refs/heads/master | 2020-04-08T17:46:40.422099 | 2018-11-29T00:11:16 | 2018-11-29T00:11:16 | 159,580,456 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #ifndef BSTNODE_H
#define BSTNODE_H
class BSTNode{
public:
BSTNode(E element, BTSNode<E> *left = NULL, BTSNode<E> *right = NULL){
this->element = element;
this->left = left;
this->right = right;
}
~BSTNode(){}
void setElement(E pElement){
this->element = pElement;
}
E getElement(){
return element;
}
void setLeft(BSTNode<E> *pLeft){
this->left = pLeft;
}
BSTNode<E> * getLeft(){
return left;
}
void setRight(BSTNode<E> *pRight){
this->right = pRigth;
}
BSTNode<E> * getRight(){
return rigth;
}
bool isLeaf(){
return left == NULL && right == NULL;
}
int childrenCount(){
return (left == NULL? 0:1) + (right == NULL? 0:1);
}
protected:
private:
E element;
BSTNode<E> *left;
BSTNode<E> *right;
};
#endif // BSTNODE_H
| [
"33138600+chaos20@users.noreply.github.com"
] | 33138600+chaos20@users.noreply.github.com |
3299bc5ada4ec1a58cdd2e244edc961a99d325b7 | fdebc7dbab00dc23baa3f5eb1b7138153d85cfeb | /src/model/input/SyntheticSource.hpp | 2b949c3abd21c52980c92b1e5e1764d94b46c3a6 | [] | no_license | ipapaste/Capit2 | 5aaa38170977e11521306d6c613afaf47185f7f6 | a105c9e8b0e1d67626a0624814f58f7319cdac6d | refs/heads/master | 2021-05-30T11:56:07.815843 | 2012-03-13T23:10:26 | 2012-03-13T23:10:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | hpp | /*
* SyntheticSource.hpp
*
* Created on: Jan 23, 2012
* Author: issle
*/
#ifndef SYNTHETICSOURCE_HPP_
#define SYNTHETICSOURCE_HPP_
#include <iostream>
#include <vector>
#include "AbstractSource.hpp"
#include "ActiveFlow.hpp"
#include "commons/math/Rnd.hpp"
#include <boost/lexical_cast.hpp>
#include "../IMatrix.hpp"
using namespace std;
class SyntheticSource:public AbstractSource
{
IMatrix& markovMatrix_;
IMatrix& delayMatrix_;
int port_;
int count_;
public:
SyntheticSource(IMatrix& markovMatrix, IMatrix& delay, int port, int count):markovMatrix_(markovMatrix),delayMatrix_(delay)
{
port_ = port;
count_ = count;
}
int getPort()
{
return port_;
}
IMatrix& getDelayMatrix()
{
return delayMatrix_;
}
int getCount()
{
return count_;
}
void print()
{
cout << "SyntheticSource info:" << endl;
cout << "Port: " << port_ << " Clients: " << count_ << endl;
cout << "Delay matrix:" << endl;
delayMatrix_.print();
cout <<"Probability matrix:" << endl;
markovMatrix_.print();
}
void replay()
{
for(int i = 0; i < count_; i++)
{
int sourcePort = Rnd::getInt(1024 , 12000);
string sourceIp("");
for(int i =0; i< 4; i++)
{
int chunk = Rnd::getInt(10,255);
sourceIp.append(boost::lexical_cast<string>(chunk));
if( i != 3)
sourceIp.append(".");
}
cout << sourceIp << endl;
string targetIp = ClientManagerInstance::getInstance().getTargetIp();
int targetPort = port_;
bool result = markovMatrix_.validate();
if(result == 0)
continue;
ActiveFlow* aflow = new ActiveFlow(sourceIp, targetIp, sourcePort, targetPort, markovMatrix_, delayMatrix_);
cout << "Scheduling a flow" << endl;
aflow->execute(2000);
}
}
void extract()
{
}
};
#endif /* SYNTHETICSOURCE_HPP_ */
| [
"ipapaste@gmail.com"
] | ipapaste@gmail.com |
dc3542624cac78286dfbdd7f4e39688a457db850 | a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d | /Codeforces/352/a.cpp | 26a7dc48c4d1a97643a1ba55971eacc16cd31910 | [] | no_license | Ra1nWarden/Online-Judges | 79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15 | 6d8516bb1560f3620bdc2fc429863a1551d60e6a | refs/heads/master | 2022-05-01T17:50:00.253901 | 2022-04-18T06:55:25 | 2022-04-18T06:55:25 | 18,355,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include <cstdio>
#include <sstream>
using namespace std;
int main() {
int n;
scanf("%d", &n);
stringstream ss;
for(int i = 1; ss.tellp() < n && i <= 1000; i++) {
ss << i;
}
printf("%c\n", ss.str()[n - 1]);
return 0;
}
| [
"wzh19921016@gmail.com"
] | wzh19921016@gmail.com |
d09d6d4026f0b1ea750258e86ffd8a1622298895 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/ConfigurationComponent/UNIX_ConfigurationComponent.h | a62a06d7d14e85a4a1a85426143cfdf27887bf70 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,358 | h | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor licenses this file to you under the OpenPegasus Open
// Source License; you may not use this file except in compliance with the
// License.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//////////////////////////////////////////////////////////////////////////
//
//%/////////////////////////////////////////////////////////////////////////
/* **** Association *** */
/*
TRUE
*/
/* **** Deprecated *** */
/*
CIM_ConcreteComponent
*/
/* **** Aggregation *** */
/*
TRUE
*/
/* **** Version *** */
/*
2.10.0
*/
/* **** UMLPackagePath *** */
/*
CIM::Core::Settings
*/
/* **** Description *** */
/*
Note: The Configuration class is being deprecated in lieu of using a ConcreteComponent relationship to indicate a hierarchy of instances of Setting or SettingData. Deprecated description: ConfigurationComponent aggregates "lower-level" Configuration objects into a "high-level" Configuration. This association enables the assembly of complex configurations by grouping together simpler ones. For example, a logon policy for the United States could consist of two Configuration groups, one for the East Coast and one for the West Coast. Each of these groups could in turn consist of multiple Configurations to handle different aspects of the logon process.
*/
/*
*** Properties ***
UNIX_ConfigurationComponent:
ConfigGroup Reference
ConfigComponent Reference
*/
/*
*** Methods ***
UNIX_ConfigurationComponent:
*/
#ifndef __UNIX_CONFIGURATIONCOMPONENT_H
#define __UNIX_CONFIGURATIONCOMPONENT_H
#include "CIM_ClassBase.h"
#include "UNIX_ConfigurationComponentDeps.h"
#ifndef PROPERTY_CONFIG_GROUP
#define PROPERTY_CONFIG_GROUP \
"ConfigGroup"
#endif
#ifndef PROPERTY_CONFIG_COMPONENT
#define PROPERTY_CONFIG_COMPONENT \
"ConfigComponent"
#endif
class UNIX_ConfigurationComponent :
public CIM_ClassBase
{
public:
UNIX_ConfigurationComponent();
~UNIX_ConfigurationComponent();
virtual Boolean initialize();
virtual Boolean load(int&);
virtual Boolean finalize();
virtual Boolean find(const Array<CIMKeyBinding>&);
virtual Boolean validateKey(CIMKeyBinding&) const;
virtual void setScope(CIMName);
virtual void setCIMOMHandle(CIMOMHandle&);
virtual void clearInstance();
virtual Boolean loadInstance(const CIMInstance&);
virtual Boolean createInstance(const OperationContext&);
virtual Boolean modifyInstance(const OperationContext&);
virtual Boolean deleteInstance(const OperationContext&);
virtual Boolean validateInstance();
virtual Boolean getConfigGroup(CIMProperty&) const;
virtual CIMInstance getConfigGroup() const;
virtual void setConfigGroup(CIMInstance&);
virtual Boolean getConfigComponent(CIMProperty&) const;
virtual CIMInstance getConfigComponent() const;
virtual void setConfigComponent(CIMInstance&);
private:
CIMName currentScope;
CIMOMHandle _cimomHandle;
CIMInstance _configGroup;
CIMInstance _configComponent;
# include "UNIX_ConfigurationComponentPrivate.h"
};
#endif /* UNIX_CONFIGURATIONCOMPONENT */
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
e685f6e0fe58a003663e3fa95fb9daf2d571cb1f | e98093aeb2a37264aed69cd7ca2fc9def445498c | /static_assert/config.hpp | f618896b99ef81c3ecb553e59de47a6bc5341a05 | [
"BSD-3-Clause"
] | permissive | mocsy/playground | 5f0e65378e7d3154484874a8f777f8f94f32f908 | 326d2dfaeb47a4e7f2b6787487fcde32e4cdf8b6 | refs/heads/master | 2020-04-06T06:22:58.581040 | 2016-02-13T20:11:42 | 2016-02-13T20:11:42 | 19,531,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | hpp | // Boost config.hpp configuration header file ------------------------------//
// (C) Copyright John Maddock 2002.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/config for most recent version.
// Boost config.hpp policy and rationale documentation has been moved to
// http://www.boost.org/libs/config
//
// CAUTION: This file is intended to be completely stable -
// DO NOT MODIFY THIS FILE!
//
#ifndef BOOST_CONFIG_HPP
#define BOOST_CONFIG_HPP
// if we don't have a user config, then use the default location:
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
# define BOOST_USER_CONFIG <user.hpp>
#endif
// include it first:
#ifdef BOOST_USER_CONFIG
# include BOOST_USER_CONFIG
#endif
// if we don't have a compiler config set, try and find one:
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <select_compiler_config.hpp>
#endif
// if we have a compiler config, include it now:
#ifdef BOOST_COMPILER_CONFIG
# include BOOST_COMPILER_CONFIG
#endif
// if we don't have a std library config set, try and find one:
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) && defined(__cplusplus)
# include <select_stdlib_config.hpp>
#endif
// if we have a std library config, include it now:
#ifdef BOOST_STDLIB_CONFIG
# include BOOST_STDLIB_CONFIG
#endif
// if we don't have a platform config set, try and find one:
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
# include <select_platform_config.hpp>
#endif
// if we have a platform config, include it now:
#ifdef BOOST_PLATFORM_CONFIG
# include BOOST_PLATFORM_CONFIG
#endif
// get config suffix code:
#include <suffix.hpp>
#endif // BOOST_CONFIG_HPP
| [
"amocsy@gmail.com"
] | amocsy@gmail.com |
31d858f2dbff84b2beb04b21c0737406c153c809 | 559401eefd912bd66c56541cd202a3be54b20bbf | /dominio/atividade.cpp | bb80afda930c21182e8281217e34af7b61dd01fc | [] | no_license | faakit/Trabalho_ProgIII_Cpp | 3ed9f927d213487c3e0e2572fcda5966182b581f | 19a68c94829fa524b734d8f988e6620717dff522 | refs/heads/master | 2023-01-31T08:56:09.855204 | 2020-12-10T18:58:59 | 2020-12-10T18:58:59 | 316,269,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | cpp | #include "atividade.h"
namespace dominio{
atividade::atividade(int numero, string nome, bool sincrona, double cargaHoraria) {
this->numero = numero;
this->nome = move(nome);
this->sincrona = sincrona;
this->cargaHoraria = cargaHoraria;
}
string atividade::getNome() const {
return this->nome;
}
int atividade::getNumero() const {
return this->numero;
}
void atividade::addNota(const string& matricula, nota* notaDoAluno) {
this->notas.emplace(matricula, notaDoAluno);
this->notas.find(matricula)->second->getAluno()->incrementaAvaliacoes(notaDoAluno->getNota());
}
bool atividade::isSincrona() const {
return this->sincrona;
}
string atividade::getData(const string& dateFormat) {
return "";
}
double atividade::getCargaHoraria() const {
return this->cargaHoraria;
}
bool atividade::existeNota(const string& matricula) const {
if(notas.count(matricula) > 0) return true;
else return false;
}
bool atividade::compareTo(atividade *o) {
return (this->getData(utils::DATE_FORMAT_STRCMP) < o->getData(utils::DATE_FORMAT_STRCMP) ||
(this->getData(utils::DATE_FORMAT_STRCMP) < o->getData(utils::DATE_FORMAT_STRCMP)) && (this->nome < o->nome));
}
} | [
"64740422+faakit@users.noreply.github.com"
] | 64740422+faakit@users.noreply.github.com |
9cb305502f5cbba0ce0385f5893054986e3a16f9 | 53dfa57b214d2a735e9b4ff72945a5377e236743 | /Chapter4/fence8.cpp | 67bfb63b82ab28c9a5e6ed7bb5b8f2e0638eb3be | [] | no_license | sangoblin/USACO | 8e033562b0bc32feee0d600805e3e3dc90881349 | e687dda00a743ef5cd1c60dcffb9bf2a9f69f660 | refs/heads/master | 2020-04-06T14:07:23.614652 | 2013-10-21T16:02:44 | 2013-10-21T16:02:44 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,303 | cpp | /*
ID: sangobl1
PROG: fence8
LANG: C++
*/
#include <fstream>
#include <algorithm>
#include <numeric>
#include <vector>
#include <cstdlib>
using namespace std;
const int nN = 50;
const int nR = 1023;
int N, R;
int boards[nN], rails[nR];
bool e2f[nR];
//int remains[nR+1];
int waste;
int upper, ans;
bool result = false;
//bool can[nN][nN][nR][nR]; //表示从i到j的boards能否容纳下m到n的木板
//我在搜索的过程中搜索了很多对称的存放方式,此点可以通过剪枝进行避免
//pollution用来表示已经有哪些board被使用了,不过些法似乎只能用于boards的长度均相同时
//现在只能换一种剪枝的方法了,即通过我们需要的rail中有很多相同的尺寸的,因此start用于记录相同大小的rail的第一个出现的位置
bool search(/*vector<int>&,*/ /*vector<int>&,*/ int depth, /*int w,*/ int start);
int main(int argc, char** argv)
{
ifstream in("fence8.in");
ofstream out("fence8.out");
in >> N;
for (int i = 0; i < N; ++ i)
in >> boards[i];
in >> R;
for (int i = 0; i < R; ++ i)
in >> rails[i];
in.clear();
in.close();
//sort(boards, boards+N, greater<int>());
sort(boards, boards+N, greater<int>());
sort(rails, rails+R);
//因为如果有无法放入board当中的rail,那么这个rail一定是非常长的,可以用贪心算法得出该结论
//int sum = 0;
int sum_b = accumulate(boards, boards+N, 0), sum = 0;
e2f[0] = false;
for (int i = 1; i < R; ++ i)
{
if (rails[i] == rails[i-1])
e2f[i] = true;
else
e2f[i] = false;
}
//remains[R] = rails[R];
while (sum < sum_b)
{
sum += rails[upper++]; //upper
if (upper >= R)
break;
}
ans = (sum>sum_b)?--upper:upper;
while (!result)
{
//vector<int> vBoards(boards, boards+N);
vector<int> vRails(rails, rails+ans);
/*remains[ans] = vRails[ans-1];
for (int i = ans-1; i >= 1; --i)
{
remains[i] = remains[i+1]+vRails[i-1];
}*/
//int sum_r = accumulate(vRails.begin(), vRails.end(), 0);
int sum_r = accumulate(rails, rails+ans, 0);
waste = sum_b-sum_r; //最多只能允许这么多的空间被浪费掉
//sort(vRails.begin(), vRails.end(), greater<int>());
result = search(/*vBoards, *//*vRails,*/ 0, /*0,*/ 0);
if(!result)
--ans;
}
out << ans << endl;
out.clear();
out.close();
return EXIT_SUCCESS;
}
bool search(/*vector<int>& boards, *//*vector<int>& rails,*/ int depth, /*int w,*/ int start)
{
bool result;
int start_ = 0, anotherw = 0;
if (depth == ans)
return true;
for (int i = 0; i < N; ++i)
if (boards[i] < rails[0])
anotherw += boards[i];
if (anotherw > waste)
return false;
for (int j = start; j < N; ++ j)
{
if (boards[j] >= rails[ans-depth-1])
{
//backrail = rails[depth];
boards[j] -= rails[ans-depth-1];
//rails.erase(rails.begin());
//if (depth+1<rails.size() && rails[depth+1] == rails[depth])
//result = search(boards, rails, depth-1, w, j);
if (e2f[depth+1])
start_ = j;
result = search(/*boards,*/ /*rails,*/ depth+1, /*w,*/ start_);
if (result)
return true;
else
{
boards[j] += rails[ans-depth-1];
}
}
//else //the shortest rail cannot be set to this board, then it cannot be utilized any more
//{
// w += boards[j];
// if (w > waste)
// return false;
//}
}
return false;
} | [
"sangoblin@gmail.com"
] | sangoblin@gmail.com |
260c7291167b33d1259493f03849cd3edb8fc287 | cd945137f34d309e8f02ccf15f99e0900ea4143b | /Projet-INF8702/StringUtils.cpp | f623f1584d88aa99a90650c7f7d4e3da662ffcc4 | [] | no_license | Rodyll/Ray-Tracing-GPU | 7dba80fcc08a366fcf7e89b26e1989b070b9323e | 2a192543c940f9b923913248e3296ed8474adf6d | refs/heads/master | 2021-01-10T15:29:08.509791 | 2015-12-07T20:05:55 | 2015-12-07T20:05:55 | 52,723,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include "StringUtils.h"
string CStringUtils::TrimRight( const string& Source, const string& T )
{
string Str = Source;
return Str.erase( Str.find_last_not_of ( T ) + 1 ) ;
}
string CStringUtils::TrimLeft( const string& Source, const string& T )
{
string Str = Source;
return Str.erase( 0 , Source.find_first_not_of ( T ) ) ;
}
string CStringUtils::Trim( const string& Source, const string& T )
{
string Str = Source;
return TrimLeft( TrimRight( Str , T ), T );
}
| [
"seb.m18@gmail.com"
] | seb.m18@gmail.com |
39b3ea53c593937b4d2a9517992b6fe7ef9257a3 | d814e4fd5866ddc2d82abd21dc444be35b608ad5 | /VisualClipper/GeneratedFiles/qrc_VisualClipper.cpp | d9cecc5d964aaa420ef756a41acf9ccc06d2dfcf | [] | no_license | and1gc/VisualClipper | 1e88814d1ea43aebc63250aa171dd56627f179a1 | 2cda14c8d0086c9cec8397932de48043bb728282 | refs/heads/master | 2020-04-23T21:02:38.579676 | 2019-02-20T05:54:23 | 2019-02-20T05:54:23 | 165,246,921 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,145 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.11.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsigned char qt_resource_data[] = {
// C:/Users/andgc/Desktop/VisualClipper/VisualClipper/forward.png
0x0,0x0,0x2,0x89,
0x89,
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
0x0,0x0,0x10,0x0,0x0,0x0,0x10,0x8,0x6,0x0,0x0,0x0,0x1f,0xf3,0xff,0x61,
0x0,0x0,0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xaf,0xc8,0x37,0x5,0x8a,0xe9,
0x0,0x0,0x0,0x19,0x74,0x45,0x58,0x74,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,
0x0,0x41,0x64,0x6f,0x62,0x65,0x20,0x49,0x6d,0x61,0x67,0x65,0x52,0x65,0x61,0x64,
0x79,0x71,0xc9,0x65,0x3c,0x0,0x0,0x2,0x1b,0x49,0x44,0x41,0x54,0x78,0xda,0xa4,
0x53,0x3b,0x6b,0x62,0x51,0x10,0x9e,0xbb,0x68,0xe1,0x1b,0x83,0xca,0x45,0x44,0x2,
0xde,0x42,0x94,0x2d,0x44,0xb1,0xd1,0x22,0x17,0x16,0xab,0xd4,0x21,0x9d,0x45,0xf0,
0x2f,0x84,0xdd,0x2c,0x58,0xa4,0x8,0x61,0xab,0x85,0x74,0xf1,0xf,0x84,0xd4,0x29,
0x17,0xbc,0x16,0xa,0xb1,0x30,0xdd,0x8a,0x1a,0xf1,0x85,0x12,0x1f,0x5c,0x9f,0x20,
0xbe,0x70,0x67,0x4e,0xf6,0xb8,0x11,0x16,0x96,0x25,0x7,0x86,0x3b,0x77,0xce,0x37,
0xdf,0xcc,0x39,0xf3,0x1d,0x61,0xbb,0xdd,0xc2,0x7b,0x96,0x40,0x4,0x27,0x3f,0x4e,
0xde,0xc6,0x7c,0x68,0xa7,0x68,0xc7,0x68,0x81,0xdf,0xb1,0x27,0xb4,0x7,0xb4,0x3b,
0xb4,0x9f,0x1c,0x78,0xff,0xe9,0x1e,0x34,0xe4,0x6c,0x36,0x1b,0x8,0x87,0xc3,0x90,
0xcf,0xe7,0x13,0x1a,0x8d,0xe6,0xd2,0x66,0xb3,0x89,0x56,0xab,0x15,0x4c,0x26,0x13,
0x3,0x4e,0xa7,0xd3,0xc0,0x70,0x38,0xc,0xc,0x6,0x83,0xc4,0x7a,0xbd,0x4e,0x22,
0x36,0x85,0x58,0xb6,0xc7,0x8,0x30,0x8,0xb9,0x5c,0x2e,0xa1,0xd7,0xeb,0x6f,0xdd,
0x6e,0x37,0x58,0x2c,0x16,0xe0,0xc4,0xb4,0x30,0xce,0xcc,0x68,0x34,0x8a,0xcd,0x66,
0xf3,0x16,0xb1,0x14,0x4e,0xed,0x8,0x56,0xab,0x95,0x8f,0x2a,0x3b,0x9d,0x4e,0x30,
0x18,0xc,0x80,0xd5,0xa0,0xd7,0xeb,0x41,0xbf,0xdf,0x67,0x4,0x76,0xbb,0x1d,0x1c,
0xe,0x7,0xeb,0x88,0x30,0x95,0x4a,0xe5,0x12,0x8b,0x66,0xe9,0x38,0x1f,0x8,0xb0,
0x5c,0x2e,0x4f,0xb1,0xaa,0x48,0x55,0x54,0x55,0x85,0x62,0xb1,0x38,0x6d,0xb7,0xdb,
0x5f,0x83,0xc1,0xa0,0x40,0x46,0x3e,0xc5,0x68,0x8f,0x30,0x84,0xa5,0x1c,0xca,0xe5,
0x4,0x62,0xa3,0xd1,0x50,0x32,0x99,0xc,0x14,0xa,0x5,0x98,0x4c,0x26,0xd7,0xa1,
0x50,0xe8,0xa,0x3b,0xa3,0xee,0x80,0x7c,0x8a,0xb5,0x5a,0x2d,0xf6,0x6f,0x36,0x9b,
0x29,0xe7,0x78,0x6f,0xa,0x2e,0x97,0xeb,0x9f,0x23,0xcb,0x66,0xb3,0xdb,0x48,0x24,
0xc2,0x7d,0x78,0x3c,0x7b,0x14,0xd8,0x1d,0xe0,0x99,0xd2,0x68,0x47,0x7f,0x4b,0x8a,
0x46,0xa3,0x2,0xf7,0xb1,0x2a,0xeb,0x80,0xfb,0xbb,0x4b,0x5c,0x2c,0x16,0x47,0xf1,
0x78,0x7c,0x2f,0xb1,0x5e,0xaf,0x3,0x1e,0x49,0xb9,0xf9,0x78,0xf3,0x2a,0x8e,0xef,
0xbe,0xb,0xba,0x48,0x4a,0xc4,0xe3,0x50,0xce,0xd3,0x8e,0x80,0x82,0xa5,0x52,0x89,
0x1,0x69,0x84,0xe4,0x97,0xcb,0x65,0xe5,0xf9,0xfc,0x59,0xa6,0x98,0xf4,0x4d,0xba,
0xc0,0x9,0x7c,0xf1,0x7a,0xbd,0xc,0xdb,0xe9,0x74,0xe8,0xfb,0xb0,0x47,0xc0,0x5b,
0x9b,0xcd,0x66,0x20,0x49,0x12,0xeb,0xea,0xf0,0xea,0x90,0xe9,0xdc,0xe3,0xf1,0x80,
0xdf,0xef,0x87,0xf9,0x7c,0xce,0xc6,0x8b,0x97,0xf9,0x82,0x63,0xbc,0x7b,0xab,0x3,
0x26,0x26,0x62,0xd6,0xe9,0x74,0x6c,0xd6,0xa4,0xcc,0x58,0x2c,0xc6,0x48,0x47,0xa3,
0x11,0x74,0xbb,0x5d,0xb6,0x5f,0xad,0x56,0x89,0x28,0xc9,0x25,0xbd,0x53,0x22,0x6d,
0xd4,0x6a,0x35,0x45,0xab,0xd5,0x7a,0xb1,0x8a,0x48,0xe2,0xe1,0x8a,0x1c,0x8f,0xc7,
0x4c,0x54,0x2f,0xb8,0xb0,0x58,0x52,0x96,0xe5,0x54,0x3a,0x9d,0xfe,0xf3,0x98,0xe,
0x3e,0x1f,0x50,0xab,0xa,0x9a,0xfc,0x3f,0x8f,0x49,0xbd,0x56,0x5f,0x9,0xde,0xb3,
0x7e,0x9,0x30,0x0,0xaf,0xb5,0x36,0x5e,0x44,0x33,0xfd,0x27,0x0,0x0,0x0,0x0,
0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,
// C:/Users/andgc/Desktop/VisualClipper/VisualClipper/reverse.png
0x0,0x0,0x2,0x74,
0x89,
0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0,
0x0,0x0,0x10,0x0,0x0,0x0,0x10,0x8,0x6,0x0,0x0,0x0,0x1f,0xf3,0xff,0x61,
0x0,0x0,0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xaf,0xc8,0x37,0x5,0x8a,0xe9,
0x0,0x0,0x0,0x19,0x74,0x45,0x58,0x74,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65,
0x0,0x41,0x64,0x6f,0x62,0x65,0x20,0x49,0x6d,0x61,0x67,0x65,0x52,0x65,0x61,0x64,
0x79,0x71,0xc9,0x65,0x3c,0x0,0x0,0x2,0x6,0x49,0x44,0x41,0x54,0x78,0xda,0xa4,
0x53,0x4b,0x6b,0x1a,0x51,0x14,0x3e,0x53,0x7,0xf1,0x81,0x8,0x1,0x61,0x54,0x8,
0x82,0x29,0xc8,0xb8,0x12,0xc5,0x75,0x86,0x16,0x57,0x5d,0x87,0xfe,0x81,0xfc,0x85,
0x90,0xa4,0x6d,0x16,0xa1,0x84,0xd0,0x9f,0x60,0xff,0x40,0xc9,0x3a,0xcb,0xe,0xba,
0x72,0x5b,0x10,0x1c,0x51,0x54,0xf0,0x81,0x6f,0x7c,0x75,0x21,0xbe,0xb0,0xe7,0xbb,
0x9d,0x19,0xa6,0x81,0xae,0x72,0xe1,0xf3,0x1e,0xcf,0x39,0xdf,0x77,0xef,0xb9,0xe7,
0x8c,0x74,0x3c,0x1e,0xe9,0x35,0x4b,0xc6,0xcf,0xc5,0xcf,0x8b,0xff,0xa9,0x14,0x19,
0x1a,0x23,0xcf,0x18,0x32,0x7e,0x30,0xc,0x2b,0xf8,0xf4,0xfe,0x89,0xde,0xc0,0x38,
0x1c,0xe,0x45,0x45,0x51,0x28,0x9d,0x4e,0xff,0x3,0xf6,0x9f,0x9b,0xfb,0xdb,0x50,
0x28,0xf4,0x45,0x92,0x24,0x9d,0xed,0x4b,0xd3,0x27,0x44,0x84,0xc0,0x7e,0xbf,0xd7,
0xda,0xed,0x76,0x71,0x30,0x18,0x88,0x80,0x5,0xf6,0x5b,0xfb,0x79,0x34,0x1a,0xa5,
0x58,0x2c,0xa6,0xb8,0xdd,0xee,0x7c,0xa9,0x54,0xba,0x44,0xcc,0x16,0xd8,0xed,0x76,
0x2a,0xbf,0x45,0xc2,0xe5,0x72,0x9,0x92,0x5,0xf6,0xdb,0xfb,0x7c,0x3e,0x27,0xbf,
0xdf,0x4f,0x91,0x48,0x84,0x38,0xf7,0x1e,0x1c,0x5b,0x60,0xbb,0xdd,0x7e,0xc,0x6,
0x83,0x8a,0xcf,0xe7,0xa3,0xd9,0x6c,0x46,0x9d,0x4e,0x47,0x90,0xd8,0x6f,0xed,0x9f,
0xaa,0xd5,0xea,0x6f,0xc4,0x90,0x83,0x5c,0x70,0x9c,0x2,0x1f,0x2,0x81,0x80,0x48,
0xee,0x76,0xbb,0x54,0xaf,0xd7,0x8b,0xad,0x56,0xcb,0x16,0xc8,0x64,0x32,0xf,0xab,
0xd5,0xea,0x11,0x31,0xfc,0x47,0x2e,0x38,0xb6,0xc0,0x66,0xb3,0x49,0x79,0x3c,0x1e,
0x41,0xe8,0xf5,0x7a,0x20,0x68,0x8d,0x46,0xa3,0xc8,0x7e,0xe1,0x3,0x20,0x82,0x18,
0x6c,0xe4,0x82,0x63,0xb7,0xd1,0x3a,0xc9,0x69,0x67,0xb3,0x59,0xcd,0x7c,0x1f,0xbb,
0xa7,0x2f,0xf3,0x9c,0x37,0xf8,0x35,0x9d,0x4e,0x85,0x93,0xeb,0x23,0x5d,0xd7,0x6f,
0xad,0x93,0x2d,0xc0,0x87,0x18,0x6c,0xe4,0x82,0xe3,0xbc,0xc1,0x73,0xbf,0xdf,0x4f,
0x79,0xbd,0x5e,0x4a,0x24,0x12,0xb4,0x5c,0x2e,0x6f,0x98,0x40,0x8d,0xab,0xc6,0x3,
0xe2,0x67,0xdf,0xce,0x6e,0xb9,0xee,0x1b,0xc4,0x20,0xc0,0xb9,0x82,0x83,0x98,0x84,
0x51,0x3e,0xfd,0x7a,0xaa,0xca,0xb2,0xac,0xab,0xaa,0xaa,0x84,0xc3,0x61,0x82,0x50,
0xa5,0x52,0xa1,0x66,0xb3,0x29,0xae,0x19,0x8f,0xc7,0x29,0x99,0x4c,0xd2,0x7a,0xbd,
0x26,0xcc,0x8a,0x61,0x18,0x43,0x6e,0xef,0xbb,0xce,0xe7,0x8e,0x21,0x9b,0x75,0x1a,
0x8c,0xbb,0x5a,0xad,0x96,0x47,0xdf,0xd1,0x6b,0x7e,0x3,0xca,0xe5,0x72,0x42,0x60,
0xb1,0x58,0xd0,0x68,0x34,0x12,0x27,0x43,0x94,0x85,0xee,0xac,0x91,0x96,0xcd,0x49,
0x24,0x4d,0xd3,0xbe,0x17,0xa,0x5,0x2a,0x97,0xcb,0xf7,0xe3,0xf1,0x58,0xe1,0xd1,
0x15,0xef,0x81,0xc5,0x25,0xd1,0x64,0x32,0xa1,0x21,0x2f,0x1c,0x64,0xe5,0xda,0x25,
0x9c,0x5c,0x9f,0x38,0x3f,0x20,0x4c,0x18,0x86,0x4,0x7d,0x4e,0x99,0x3e,0x3c,0xd8,
0xf3,0xcb,0x8f,0x69,0xf6,0x38,0xfb,0x2b,0xf0,0x9a,0xf5,0x47,0x80,0x1,0x0,0xac,
0xa0,0x81,0x18,0xa9,0xa7,0x49,0x60,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,
0x42,0x60,0x82,
// C:/Users/andgc/Desktop/VisualClipper/VisualClipper/gaochong.ico
0x0,0x0,0x42,0x3e,
0x0,
0x0,0x1,0x0,0x1,0x0,0x40,0x40,0x0,0x0,0x1,0x0,0x20,0x0,0x28,0x42,0x0,
0x0,0x16,0x0,0x0,0x0,0x28,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x80,0x0,0x0,
0x0,0x1,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x81,0x39,0x16,
0xff,0x81,0x38,0x16,0xff,0x80,0x38,0x15,0xff,0x87,0x3c,0x16,0xff,0x8d,0x3c,0x13,
0xff,0x8a,0x39,0x12,0xff,0x8b,0x3a,0x14,0xff,0x8c,0x3b,0x15,0xff,0x8c,0x3d,0x15,
0xff,0x8c,0x3e,0x16,0xff,0x8c,0x3e,0x16,0xff,0x89,0x3e,0x13,0xff,0x7f,0x38,0x13,
0xff,0x86,0x3c,0x13,0xff,0x8e,0x3d,0x14,0xff,0x8a,0x3f,0x15,0xff,0x86,0x3b,0x14,
0xff,0x87,0x3e,0x18,0xff,0x80,0x3b,0x17,0xff,0x7a,0x39,0x18,0xff,0x75,0x37,0x18,
0xff,0x79,0x34,0x14,0xff,0x7e,0x39,0x19,0xff,0x7e,0x39,0x18,0xff,0x7c,0x39,0x17,
0xff,0x79,0x38,0x17,0xff,0x7f,0x3b,0x18,0xff,0x7f,0x3c,0x19,0xff,0x7b,0x3a,0x1a,
0xff,0x79,0x38,0x19,0xff,0x77,0x37,0x19,0xff,0x76,0x37,0x16,0xff,0x78,0x3a,0x17,
0xff,0x79,0x3b,0x18,0xff,0x79,0x39,0x18,0xff,0x7d,0x38,0x18,0xff,0x81,0x3a,0x19,
0xff,0x87,0x3d,0x17,0xff,0x8c,0x3e,0x17,0xff,0x8a,0x3e,0x16,0xff,0x8c,0x3e,0x17,
0xff,0x90,0x41,0x1a,0xff,0x91,0x40,0x18,0xff,0x97,0x43,0x18,0xff,0x9d,0x46,0x18,
0xff,0xa1,0x45,0x17,0xff,0xa2,0x46,0x17,0xff,0xa2,0x47,0x17,0xff,0xa1,0x45,0x17,
0xff,0xa1,0x45,0x1a,0xff,0x9a,0x42,0x18,0xff,0x9f,0x46,0x19,0xff,0xa4,0x48,0x1a,
0xff,0xa3,0x48,0x1b,0xff,0xa2,0x46,0x19,0xff,0x9f,0x48,0x1a,0xff,0x9b,0x46,0x1a,
0xff,0x95,0x43,0x1b,0xff,0x8e,0x3f,0x1a,0xff,0x90,0x40,0x1b,0xff,0x90,0x40,0x1a,
0xff,0x8e,0x41,0x1c,0xff,0x88,0x3f,0x19,0xff,0x84,0x3e,0x19,0xff,0x8a,0x3c,0x13,
0xff,0x8b,0x3c,0x17,0xff,0x81,0x39,0x16,0xff,0x86,0x3b,0x17,0xff,0x89,0x3b,0x13,
0xff,0x8a,0x3b,0x13,0xff,0x8b,0x3c,0x15,0xff,0x8b,0x3c,0x16,0xff,0x82,0x38,0x14,
0xff,0x7e,0x38,0x14,0xff,0x7d,0x38,0x13,0xff,0x7e,0x36,0x13,0xff,0x80,0x37,0x17,
0xff,0x81,0x38,0x14,0xff,0x87,0x3a,0x16,0xff,0x8b,0x3d,0x18,0xff,0x83,0x3d,0x15,
0xff,0x7a,0x39,0x19,0xff,0x6f,0x34,0x19,0xff,0x6b,0x32,0x18,0xff,0x6a,0x31,0x17,
0xff,0x6e,0x31,0x17,0xff,0x6f,0x32,0x18,0xff,0x6e,0x31,0x17,0xff,0x74,0x36,0x19,
0xff,0x78,0x37,0x17,0xff,0x79,0x38,0x17,0xff,0x78,0x37,0x17,0xff,0x77,0x37,0x17,
0xff,0x76,0x34,0x19,0xff,0x72,0x34,0x18,0xff,0x6e,0x33,0x15,0xff,0x71,0x36,0x17,
0xff,0x70,0x34,0x16,0xff,0x72,0x36,0x15,0xff,0x77,0x38,0x17,0xff,0x7d,0x39,0x19,
0xff,0x82,0x3a,0x19,0xff,0x82,0x3b,0x16,0xff,0x82,0x3d,0x16,0xff,0x84,0x3d,0x17,
0xff,0x8a,0x3f,0x19,0xff,0x8c,0x3f,0x17,0xff,0x90,0x41,0x14,0xff,0x98,0x46,0x18,
0xff,0x9d,0x45,0x19,0xff,0xa1,0x44,0x19,0xff,0xa0,0x45,0x19,0xff,0x9c,0x43,0x17,
0xff,0x9a,0x42,0x16,0xff,0x9c,0x45,0x19,0xff,0x9e,0x47,0x1b,0xff,0x9b,0x45,0x1a,
0xff,0x9a,0x46,0x1c,0xff,0x9b,0x47,0x1d,0xff,0x9b,0x45,0x1b,0xff,0x96,0x43,0x19,
0xff,0x8e,0x3f,0x15,0xff,0x8f,0x40,0x18,0xff,0x93,0x41,0x15,0xff,0x95,0x43,0x17,
0xff,0x96,0x46,0x1b,0xff,0x92,0x46,0x1b,0xff,0x8f,0x41,0x1a,0xff,0x90,0x40,0x13,
0xff,0x90,0x3f,0x15,0xff,0x86,0x3c,0x16,0xff,0x7f,0x37,0x15,0xff,0x83,0x39,0x15,
0xff,0x88,0x3d,0x17,0xff,0x88,0x3b,0x14,0xff,0x88,0x3a,0x12,0xff,0x85,0x3a,0x15,
0xff,0x81,0x3a,0x14,0xff,0x7c,0x35,0x13,0xff,0x81,0x38,0x17,0xff,0x84,0x3c,0x18,
0xff,0x80,0x3a,0x16,0xff,0x82,0x3a,0x16,0xff,0x82,0x39,0x16,0xff,0x77,0x35,0x13,
0xff,0x70,0x33,0x17,0xff,0x6d,0x33,0x18,0xff,0x6e,0x35,0x19,0xff,0x6d,0x33,0x18,
0xff,0x6b,0x32,0x17,0xff,0x68,0x30,0x15,0xff,0x69,0x32,0x17,0xff,0x67,0x30,0x17,
0xff,0x6d,0x33,0x17,0xff,0x6f,0x33,0x17,0xff,0x70,0x34,0x18,0xff,0x6f,0x33,0x17,
0xff,0x6d,0x31,0x16,0xff,0x68,0x2f,0x13,0xff,0x68,0x31,0x15,0xff,0x68,0x31,0x16,
0xff,0x68,0x31,0x16,0xff,0x68,0x31,0x14,0xff,0x6c,0x33,0x16,0xff,0x6e,0x32,0x16,
0xff,0x73,0x34,0x18,0xff,0x76,0x36,0x16,0xff,0x79,0x39,0x16,0xff,0x7d,0x3a,0x17,
0xff,0x80,0x39,0x17,0xff,0x82,0x3d,0x17,0xff,0x85,0x3f,0x17,0xff,0x88,0x3e,0x14,
0xff,0x92,0x41,0x16,0xff,0x9a,0x44,0x18,0xff,0x9d,0x45,0x1a,0xff,0x9a,0x43,0x18,
0xff,0x98,0x42,0x16,0xff,0x94,0x42,0x18,0xff,0x97,0x44,0x18,0xff,0x96,0x45,0x1a,
0xff,0x8f,0x40,0x17,0xff,0x95,0x46,0x1d,0xff,0x9c,0x46,0x1c,0xff,0x9b,0x46,0x1b,
0xff,0x95,0x43,0x18,0xff,0x94,0x42,0x19,0xff,0x9a,0x47,0x1c,0xff,0x9b,0x45,0x19,
0xff,0x9a,0x46,0x1b,0xff,0x96,0x47,0x1c,0xff,0x91,0x42,0x1c,0xff,0x8e,0x3f,0x14,
0xff,0x8d,0x3e,0x13,0xff,0x8d,0x3e,0x11,0xff,0x8a,0x3d,0x11,0xff,0x80,0x39,0x15,
0xff,0x7f,0x37,0x17,0xff,0x83,0x37,0x15,0xff,0x8a,0x3b,0x16,0xff,0x88,0x3b,0x14,
0xff,0x84,0x3c,0x14,0xff,0x80,0x3a,0x15,0xff,0x80,0x3a,0x18,0xff,0x81,0x3b,0x19,
0xff,0x80,0x39,0x1a,0xff,0x80,0x38,0x1a,0xff,0x7e,0x39,0x1a,0xff,0x74,0x35,0x16,
0xff,0x71,0x35,0x19,0xff,0x6f,0x35,0x19,0xff,0x6e,0x34,0x17,0xff,0x6d,0x33,0x16,
0xff,0x6c,0x34,0x17,0xff,0x6d,0x35,0x18,0xff,0x69,0x32,0x16,0xff,0x67,0x31,0x16,
0xff,0x68,0x2e,0x14,0xff,0x69,0x2f,0x15,0xff,0x6a,0x31,0x17,0xff,0x6a,0x31,0x17,
0xff,0x69,0x30,0x16,0xff,0x69,0x30,0x16,0xff,0x6b,0x32,0x18,0xff,0x6b,0x33,0x18,
0xff,0x6b,0x33,0x18,0xff,0x6d,0x32,0x18,0xff,0x6f,0x34,0x1a,0xff,0x6f,0x34,0x1a,
0xff,0x71,0x35,0x1a,0xff,0x74,0x35,0x16,0xff,0x78,0x39,0x17,0xff,0x7b,0x3a,0x17,
0xff,0x7e,0x38,0x16,0xff,0x7f,0x39,0x14,0xff,0x7f,0x39,0x14,0xff,0x80,0x3a,0x15,
0xff,0x88,0x3e,0x18,0xff,0x93,0x41,0x18,0xff,0x97,0x43,0x18,0xff,0x96,0x42,0x18,
0xff,0x98,0x44,0x1a,0xff,0x95,0x40,0x19,0xff,0x9d,0x46,0x1b,0xff,0x9b,0x42,0x17,
0xff,0x96,0x3e,0x15,0xff,0x9b,0x44,0x1a,0xff,0xa4,0x49,0x1b,0xff,0xa4,0x48,0x1a,
0xff,0xa2,0x47,0x19,0xff,0x9f,0x46,0x1a,0xff,0xa0,0x47,0x1b,0xff,0xa0,0x47,0x19,
0xff,0x9c,0x48,0x1a,0xff,0x90,0x42,0x18,0xff,0x8c,0x40,0x19,0xff,0x93,0x40,0x14,
0xff,0x91,0x40,0x16,0xff,0x8e,0x3e,0x15,0xff,0x87,0x3c,0x12,0xff,0x88,0x3c,0x12,
0xff,0x8a,0x3e,0x15,0xff,0x8a,0x3e,0x15,0xff,0x8c,0x3e,0x13,0xff,0x8a,0x3c,0x11,
0xff,0x86,0x3c,0x13,0xff,0x81,0x3c,0x16,0xff,0x77,0x36,0x14,0xff,0x73,0x34,0x14,
0xff,0x73,0x31,0x15,0xff,0x72,0x31,0x15,0xff,0x76,0x35,0x1a,0xff,0x71,0x32,0x17,
0xff,0x6b,0x31,0x16,0xff,0x6d,0x33,0x18,0xff,0x6e,0x34,0x19,0xff,0x6c,0x31,0x16,
0xff,0x67,0x31,0x15,0xff,0x66,0x30,0x14,0xff,0x67,0x31,0x15,0xff,0x68,0x30,0x16,
0xff,0x6a,0x30,0x16,0xff,0x68,0x30,0x14,0xff,0x67,0x32,0x15,0xff,0x6d,0x31,0x16,
0xff,0x6c,0x31,0x17,0xff,0x6b,0x32,0x17,0xff,0x6c,0x32,0x18,0xff,0x6d,0x33,0x19,
0xff,0x6d,0x33,0x18,0xff,0x6e,0x33,0x1a,0xff,0x6e,0x34,0x19,0xff,0x70,0x36,0x1a,
0xff,0x72,0x36,0x1b,0xff,0x73,0x37,0x17,0xff,0x74,0x37,0x17,0xff,0x77,0x39,0x17,
0xff,0x7b,0x3a,0x16,0xff,0x81,0x3b,0x17,0xff,0x83,0x3c,0x19,0xff,0x83,0x3d,0x19,
0xff,0x88,0x40,0x1a,0xff,0x89,0x3c,0x15,0xff,0x8b,0x3b,0x13,0xff,0x8f,0x3f,0x16,
0xff,0x92,0x41,0x18,0xff,0x9a,0x42,0x1a,0xff,0xa0,0x45,0x19,0xff,0xa3,0x45,0x18,
0xff,0xa4,0x45,0x18,0xff,0xa4,0x46,0x19,0xff,0xa3,0x48,0x17,0xff,0xa3,0x47,0x16,
0xff,0xa4,0x48,0x17,0xff,0xa6,0x49,0x19,0xff,0xa2,0x47,0x19,0xff,0x9b,0x44,0x18,
0xff,0x98,0x43,0x16,0xff,0x9b,0x47,0x1a,0xff,0x9e,0x46,0x18,0xff,0x96,0x41,0x13,
0xff,0x92,0x3f,0x16,0xff,0x88,0x3a,0x15,0xff,0x7b,0x37,0x14,0xff,0x7b,0x36,0x14,
0xff,0x8a,0x3d,0x14,0xff,0x8b,0x3d,0x12,0xff,0x8b,0x3e,0x13,0xff,0x86,0x3b,0x11,
0xff,0x81,0x39,0x13,0xff,0x7f,0x38,0x15,0xff,0x7d,0x37,0x17,0xff,0x75,0x33,0x16,
0xff,0x72,0x33,0x17,0xff,0x75,0x36,0x1a,0xff,0x72,0x33,0x18,0xff,0x70,0x32,0x18,
0xff,0x6b,0x31,0x17,0xff,0x67,0x30,0x15,0xff,0x66,0x2f,0x14,0xff,0x65,0x2e,0x14,
0xff,0x65,0x30,0x15,0xff,0x66,0x31,0x16,0xff,0x68,0x32,0x17,0xff,0x6b,0x32,0x18,
0xff,0x6c,0x33,0x19,0xff,0x6e,0x34,0x1b,0xff,0x6c,0x32,0x1a,0xff,0x69,0x34,0x1e,
0xff,0x68,0x38,0x25,0xff,0x63,0x3b,0x2e,0xff,0x61,0x40,0x37,0xff,0x5e,0x3e,0x3a,
0xff,0x61,0x3f,0x41,0xff,0x61,0x3f,0x41,0xff,0x5f,0x3f,0x3d,0xff,0x5d,0x3e,0x38,
0xff,0x60,0x3b,0x31,0xff,0x62,0x36,0x26,0xff,0x68,0x36,0x20,0xff,0x72,0x39,0x1c,
0xff,0x7c,0x3b,0x19,0xff,0x82,0x3b,0x19,0xff,0x85,0x3e,0x1c,0xff,0x84,0x3e,0x19,
0xff,0x88,0x40,0x18,0xff,0x8e,0x42,0x1b,0xff,0x92,0x42,0x18,0xff,0x91,0x3f,0x14,
0xff,0x90,0x3e,0x13,0xff,0x9a,0x42,0x19,0xff,0x9e,0x44,0x17,0xff,0xa2,0x45,0x16,
0xff,0xa4,0x46,0x18,0xff,0xa3,0x45,0x17,0xff,0x9b,0x41,0x18,0xff,0x98,0x3f,0x17,
0xff,0x9d,0x43,0x18,0xff,0xa7,0x4a,0x1a,0xff,0xa1,0x46,0x1a,0xff,0x9b,0x43,0x19,
0xff,0xa0,0x46,0x1b,0xff,0xa5,0x48,0x1a,0xff,0xa8,0x49,0x18,0xff,0x95,0x3f,0x15,
0xff,0x93,0x3e,0x14,0xff,0x91,0x3e,0x14,0xff,0x8b,0x3d,0x13,0xff,0x8a,0x3c,0x12,
0xff,0x8b,0x3c,0x14,0xff,0x8a,0x3c,0x14,0xff,0x8a,0x3c,0x13,0xff,0x8a,0x3c,0x13,
0xff,0x85,0x3a,0x14,0xff,0x83,0x39,0x17,0xff,0x78,0x36,0x14,0xff,0x79,0x37,0x1a,
0xff,0x77,0x35,0x17,0xff,0x73,0x34,0x15,0xff,0x71,0x36,0x17,0xff,0x67,0x30,0x15,
0xff,0x66,0x30,0x15,0xff,0x65,0x30,0x15,0xff,0x64,0x2f,0x14,0xff,0x66,0x31,0x16,
0xff,0x66,0x2f,0x16,0xff,0x67,0x33,0x16,0xff,0x6d,0x34,0x1d,0xff,0x6a,0x38,0x28,
0xff,0x66,0x4c,0x4f,0xff,0x6a,0x61,0x78,0xff,0x6b,0x71,0x92,0xff,0x5f,0x77,0xa0,
0xff,0x58,0x73,0xa1,0xff,0x56,0x6b,0x9d,0xff,0x53,0x67,0x9a,0xff,0x4f,0x65,0x98,
0xff,0x51,0x66,0x9b,0xff,0x53,0x6e,0xa0,0xff,0x62,0x7b,0xab,0xff,0x61,0x78,0xa8,
0xff,0x59,0x6e,0x9c,0xff,0x56,0x68,0x91,0xff,0x56,0x61,0x86,0xff,0x5b,0x59,0x74,
0xff,0x61,0x51,0x56,0xff,0x6c,0x41,0x37,0xff,0x7b,0x3b,0x1d,0xff,0x85,0x3e,0x1a,
0xff,0x89,0x40,0x1b,0xff,0x8e,0x40,0x1c,0xff,0x93,0x41,0x18,0xff,0x98,0x43,0x18,
0xff,0x9b,0x43,0x19,0xff,0x96,0x41,0x15,0xff,0x97,0x41,0x14,0xff,0x9f,0x48,0x19,
0xff,0xa5,0x49,0x19,0xff,0xa8,0x47,0x14,0xff,0xa5,0x44,0x15,0xff,0xa3,0x42,0x15,
0xff,0xa5,0x43,0x15,0xff,0xa8,0x45,0x16,0xff,0xa2,0x42,0x16,0xff,0xa1,0x43,0x17,
0xff,0xa6,0x48,0x1b,0xff,0xa7,0x48,0x1a,0xff,0xa9,0x48,0x18,0xff,0x95,0x3f,0x15,
0xff,0x95,0x3f,0x15,0xff,0x95,0x3f,0x15,0xff,0x94,0x3f,0x15,0xff,0x94,0x3e,0x14,
0xff,0x93,0x3f,0x17,0xff,0x92,0x3e,0x18,0xff,0x8f,0x3c,0x15,0xff,0x8e,0x3e,0x14,
0xff,0x87,0x3b,0x14,0xff,0x81,0x39,0x16,0xff,0x72,0x36,0x14,0xff,0x6f,0x33,0x15,
0xff,0x71,0x31,0x16,0xff,0x6d,0x31,0x16,0xff,0x6b,0x33,0x17,0xff,0x66,0x31,0x16,
0xff,0x65,0x30,0x16,0xff,0x65,0x30,0x15,0xff,0x66,0x31,0x16,0xff,0x68,0x33,0x19,
0xff,0x67,0x38,0x29,0xff,0x62,0x4a,0x52,0xff,0x56,0x59,0x76,0xff,0x50,0x61,0x90,
0xff,0x56,0x73,0xa6,0xff,0x63,0x82,0xb3,0xff,0x61,0x80,0xb2,0xff,0x5b,0x7b,0xad,
0xff,0x55,0x74,0xa7,0xff,0x53,0x72,0xa5,0xff,0x56,0x72,0xa5,0xff,0x57,0x72,0xa5,
0xff,0x56,0x71,0xa4,0xff,0x54,0x75,0xa9,0xff,0x65,0x83,0xb8,0xff,0x78,0x92,0xc5,
0xff,0x73,0x8d,0xb9,0xff,0x67,0x81,0xad,0xff,0x60,0x7b,0xa6,0xff,0x5b,0x74,0xa1,
0xff,0x58,0x71,0x95,0xff,0x56,0x71,0x95,0xff,0x62,0x6a,0x85,0xff,0x6b,0x55,0x5b,
0xff,0x78,0x42,0x2d,0xff,0x88,0x3f,0x19,0xff,0x90,0x43,0x19,0xff,0x95,0x44,0x19,
0xff,0x99,0x45,0x1a,0xff,0x9c,0x47,0x1a,0xff,0x9b,0x46,0x19,0xff,0x94,0x3e,0x10,
0xff,0xa5,0x4a,0x1a,0xff,0xac,0x4a,0x16,0xff,0xac,0x4a,0x17,0xff,0xac,0x4b,0x18,
0xff,0xac,0x4a,0x17,0xff,0xab,0x47,0x17,0xff,0xa6,0x46,0x1a,0xff,0xa3,0x44,0x18,
0xff,0xa3,0x45,0x17,0xff,0xa3,0x45,0x17,0xff,0xa3,0x45,0x18,0xff,0x98,0x43,0x16,
0xff,0x97,0x42,0x15,0xff,0x96,0x41,0x15,0xff,0x93,0x3d,0x13,0xff,0x95,0x3f,0x15,
0xff,0x93,0x3e,0x13,0xff,0x91,0x3f,0x13,0xff,0x8d,0x3e,0x12,0xff,0x88,0x3c,0x12,
0xff,0x83,0x3a,0x14,0xff,0x7b,0x35,0x14,0xff,0x73,0x33,0x15,0xff,0x6c,0x33,0x18,
0xff,0x6a,0x31,0x15,0xff,0x67,0x31,0x14,0xff,0x64,0x31,0x14,0xff,0x63,0x2d,0x17,
0xff,0x68,0x31,0x1c,0xff,0x6a,0x34,0x1a,0xff,0x64,0x3a,0x2f,0xff,0x59,0x4e,0x61,
0xff,0x55,0x66,0x8e,0xff,0x4b,0x66,0x90,0xff,0x4a,0x62,0x8d,0xff,0x4c,0x68,0x95,
0xff,0x55,0x75,0xa6,0xff,0x5b,0x79,0xae,0xff,0x58,0x74,0xaa,0xff,0x56,0x72,0xa7,
0xff,0x54,0x73,0xa6,0xff,0x58,0x77,0xaa,0xff,0x5b,0x7a,0xad,0xff,0x5d,0x7c,0xaf,
0xff,0x5e,0x7d,0xb0,0xff,0x5b,0x7d,0xb0,0xff,0x62,0x85,0xb8,0xff,0x6f,0x90,0xc2,
0xff,0x78,0x95,0xc8,0xff,0x76,0x94,0xc6,0xff,0x71,0x8f,0xbf,0xff,0x6f,0x8e,0xba,
0xff,0x5e,0x7e,0xa6,0xff,0x57,0x71,0x9a,0xff,0x58,0x6f,0x95,0xff,0x5e,0x76,0x98,
0xff,0x66,0x77,0x95,0xff,0x6e,0x5d,0x67,0xff,0x7c,0x42,0x2f,0xff,0x92,0x43,0x1a,
0xff,0x9d,0x47,0x1e,0xff,0x9f,0x48,0x1e,0xff,0xa2,0x48,0x1b,0xff,0xa2,0x47,0x1b,
0xff,0x9c,0x3e,0x13,0xff,0xaa,0x49,0x1c,0xff,0xa7,0x48,0x1a,0xff,0xa5,0x47,0x18,
0xff,0xa9,0x4b,0x1b,0xff,0xac,0x4c,0x19,0xff,0xab,0x4b,0x18,0xff,0xa8,0x4a,0x18,
0xff,0xa6,0x48,0x19,0xff,0xa4,0x45,0x1a,0xff,0x9d,0x43,0x1a,0xff,0x96,0x41,0x14,
0xff,0x96,0x42,0x14,0xff,0x96,0x42,0x16,0xff,0x96,0x40,0x16,0xff,0x94,0x3f,0x15,
0xff,0x8f,0x3d,0x15,0xff,0x89,0x3b,0x14,0xff,0x88,0x3c,0x15,0xff,0x8a,0x3d,0x15,
0xff,0x83,0x3a,0x13,0xff,0x7e,0x38,0x17,0xff,0x72,0x31,0x14,0xff,0x6a,0x2f,0x15,
0xff,0x65,0x2f,0x17,0xff,0x60,0x2d,0x14,0xff,0x5f,0x2e,0x15,0xff,0x67,0x31,0x17,
0xff,0x62,0x35,0x26,0xff,0x54,0x45,0x4c,0xff,0x48,0x56,0x73,0xff,0x4c,0x5e,0x88,
0xff,0x4e,0x65,0x90,0xff,0x46,0x64,0x8d,0xff,0x49,0x64,0x8f,0xff,0x4f,0x6b,0x99,
0xff,0x55,0x74,0xa5,0xff,0x54,0x72,0xa6,0xff,0x52,0x6f,0xa5,0xff,0x53,0x70,0xa5,
0xff,0x56,0x75,0xa8,0xff,0x5b,0x7a,0xad,0xff,0x5f,0x7e,0xb1,0xff,0x63,0x82,0xb5,
0xff,0x66,0x85,0xb8,0xff,0x65,0x87,0xba,0xff,0x66,0x89,0xbb,0xff,0x6d,0x8f,0xc2,
0xff,0x73,0x96,0xc8,0xff,0x76,0x98,0xca,0xff,0x7a,0x9a,0xca,0xff,0x7c,0x9b,0xc8,
0xff,0x77,0x97,0xc1,0xff,0x6b,0x8b,0xb4,0xff,0x5d,0x7a,0xa0,0xff,0x56,0x70,0x92,
0xff,0x5d,0x77,0x94,0xff,0x65,0x7a,0x97,0xff,0x69,0x70,0x8b,0xff,0x77,0x4f,0x46,
0xff,0x91,0x44,0x1e,0xff,0x9e,0x47,0x1d,0xff,0xa1,0x48,0x1a,0xff,0xa2,0x4a,0x19,
0xff,0xa0,0x48,0x1a,0xff,0x9f,0x41,0x19,0xff,0xa6,0x47,0x1b,0xff,0xa2,0x44,0x16,
0xff,0xa3,0x45,0x17,0xff,0xa0,0x45,0x17,0xff,0xa3,0x47,0x19,0xff,0xa7,0x4a,0x1b,
0xff,0xa6,0x48,0x1a,0xff,0xa6,0x48,0x1d,0xff,0x9e,0x45,0x1c,0xff,0x96,0x41,0x16,
0xff,0x91,0x41,0x15,0xff,0x90,0x40,0x16,0xff,0x90,0x3e,0x16,0xff,0x8f,0x3d,0x15,
0xff,0x8a,0x3d,0x17,0xff,0x85,0x3a,0x15,0xff,0x86,0x39,0x17,0xff,0x85,0x39,0x14,
0xff,0x82,0x3b,0x14,0xff,0x75,0x31,0x14,0xff,0x6c,0x2e,0x14,0xff,0x66,0x2c,0x12,
0xff,0x62,0x2d,0x15,0xff,0x61,0x2d,0x17,0xff,0x64,0x31,0x1d,0xff,0x5f,0x3a,0x30,
0xff,0x4c,0x48,0x5b,0xff,0x48,0x58,0x7a,0xff,0x4e,0x60,0x85,0xff,0x4e,0x63,0x8c,
0xff,0x4d,0x64,0x91,0xff,0x4f,0x66,0x93,0xff,0x4e,0x68,0x95,0xff,0x4f,0x6d,0x9c,
0xff,0x52,0x70,0x9f,0xff,0x4f,0x6d,0x9d,0xff,0x50,0x6e,0x9e,0xff,0x51,0x70,0xa1,
0xff,0x53,0x72,0xa5,0xff,0x59,0x78,0xab,0xff,0x60,0x80,0xb3,0xff,0x62,0x84,0xb6,
0xff,0x67,0x89,0xbb,0xff,0x6a,0x8c,0xc1,0xff,0x6b,0x8d,0xc2,0xff,0x6c,0x8e,0xc3,
0xff,0x67,0x8a,0xbc,0xff,0x75,0x98,0xca,0xff,0x7b,0x9c,0xcc,0xff,0x7c,0x9d,0xcb,
0xff,0x7d,0x9f,0xcd,0xff,0x76,0x9b,0xc8,0xff,0x6f,0x8e,0xbb,0xff,0x5d,0x78,0xa3,
0xff,0x58,0x74,0x96,0xff,0x60,0x79,0x99,0xff,0x65,0x7e,0x9a,0xff,0x69,0x78,0x92,
0xff,0x74,0x59,0x58,0xff,0x90,0x45,0x1a,0xff,0xa1,0x4a,0x17,0xff,0xa3,0x4a,0x19,
0xff,0xa8,0x4b,0x1e,0xff,0x9c,0x3d,0x15,0xff,0xa7,0x49,0x1c,0xff,0xa4,0x46,0x18,
0xff,0xa2,0x45,0x17,0xff,0x9f,0x43,0x18,0xff,0x9f,0x44,0x18,0xff,0xa3,0x47,0x1c,
0xff,0xa3,0x46,0x1b,0xff,0xa4,0x46,0x1b,0xff,0xa2,0x48,0x20,0xff,0x91,0x3f,0x1a,
0xff,0x90,0x40,0x1a,0xff,0x90,0x41,0x1a,0xff,0x91,0x3f,0x1a,0xff,0x90,0x3e,0x1a,
0xff,0x89,0x3b,0x18,0xff,0x86,0x3b,0x16,0xff,0x84,0x3a,0x14,0xff,0x7f,0x3a,0x10,
0xff,0x79,0x37,0x13,0xff,0x6e,0x2f,0x15,0xff,0x69,0x2f,0x15,0xff,0x65,0x30,0x15,
0xff,0x64,0x30,0x17,0xff,0x62,0x32,0x22,0xff,0x53,0x3a,0x3b,0xff,0x42,0x4a,0x62,
0xff,0x43,0x58,0x7c,0xff,0x4c,0x5f,0x88,0xff,0x4f,0x65,0x8f,0xff,0x4d,0x64,0x91,
0xff,0x4e,0x65,0x92,0xff,0x50,0x68,0x94,0xff,0x50,0x6b,0x98,0xff,0x52,0x6f,0x9d,
0xff,0x52,0x6f,0x9d,0xff,0x51,0x6c,0x99,0xff,0x53,0x6e,0x9b,0xff,0x52,0x6e,0x9b,
0xff,0x54,0x71,0xa3,0xff,0x5a,0x79,0xac,0xff,0x5f,0x83,0xb5,0xff,0x63,0x8b,0xba,
0xff,0x68,0x90,0xbf,0xff,0x71,0x93,0xc6,0xff,0x74,0x94,0xc9,0xff,0x72,0x93,0xc7,
0xff,0x74,0x97,0xc9,0xff,0x77,0x9a,0xcc,0xff,0x7b,0x9d,0xcd,0xff,0x7d,0x9d,0xcd,
0xff,0x7e,0x9f,0xcf,0xff,0x78,0x9a,0xcc,0xff,0x73,0x96,0xc8,0xff,0x6a,0x8c,0xbc,
0xff,0x5f,0x7c,0xa6,0xff,0x5d,0x7a,0x9d,0xff,0x63,0x7f,0x9e,0xff,0x67,0x7b,0x9a,
0xff,0x68,0x79,0x92,0xff,0x6b,0x4e,0x45,0xff,0x97,0x47,0x1b,0xff,0xa8,0x4d,0x1d,
0xff,0xa9,0x4d,0x20,0xff,0x9c,0x40,0x18,0xff,0xa5,0x46,0x1c,0xff,0xa3,0x46,0x19,
0xff,0xa4,0x48,0x19,0xff,0xa4,0x46,0x1c,0xff,0xa7,0x47,0x1d,0xff,0xac,0x49,0x1f,
0xff,0xa6,0x4e,0x26,0xff,0xb3,0x75,0x53,0xff,0xd7,0xba,0xa9,0xff,0x97,0x46,0x20,
0xff,0x94,0x43,0x1d,0xff,0x96,0x44,0x1e,0xff,0x96,0x41,0x1b,0xff,0x93,0x3e,0x18,
0xff,0x8c,0x3c,0x15,0xff,0x87,0x3c,0x17,0xff,0x80,0x37,0x16,0xff,0x7f,0x3a,0x18,
0xff,0x6f,0x31,0x12,0xff,0x6b,0x30,0x15,0xff,0x6a,0x30,0x16,0xff,0x66,0x31,0x16,
0xff,0x64,0x33,0x1a,0xff,0x4f,0x35,0x38,0xff,0x3e,0x46,0x62,0xff,0x41,0x57,0x7b,
0xff,0x47,0x60,0x88,0xff,0x4d,0x66,0x91,0xff,0x4e,0x69,0x95,0xff,0x4e,0x69,0x95,
0xff,0x50,0x69,0x95,0xff,0x4e,0x6a,0x96,0xff,0x50,0x6d,0x99,0xff,0x52,0x6d,0x99,
0xff,0x51,0x6c,0x98,0xff,0x51,0x6a,0x96,0xff,0x4f,0x6b,0x97,0xff,0x4f,0x6d,0x99,
0xff,0x55,0x6f,0x9f,0xff,0x57,0x74,0xa8,0xff,0x5b,0x7f,0xb2,0xff,0x5f,0x86,0xb7,
0xff,0x67,0x8f,0xc0,0xff,0x74,0x94,0xc7,0xff,0x78,0x97,0xca,0xff,0x7a,0x99,0xcc,
0xff,0x7a,0x99,0xcc,0xff,0x7b,0x9b,0xcd,0xff,0x7c,0x9c,0xce,0xff,0x7d,0x9c,0xcf,
0xff,0x7d,0x9c,0xcf,0xff,0x76,0x99,0xcb,0xff,0x73,0x96,0xc8,0xff,0x73,0x94,0xc6,
0xff,0x6c,0x89,0xb9,0xff,0x60,0x80,0xa7,0xff,0x61,0x7e,0xa1,0xff,0x66,0x80,0x9f,
0xff,0x62,0x79,0x95,0xff,0x5d,0x57,0x60,0xff,0x8a,0x42,0x1d,0xff,0xa8,0x4e,0x1f,
0xff,0xab,0x51,0x24,0xff,0x9a,0x42,0x19,0xff,0xa3,0x49,0x1e,0xff,0xa8,0x48,0x1d,
0xff,0xa7,0x4d,0x20,0xff,0xa9,0x52,0x25,0xff,0xb7,0x77,0x54,0xff,0xd0,0xad,0x97,
0xff,0xed,0xe1,0xda,0xff,0xfd,0xfc,0xfc,0xff,0xfe,0xfe,0xfe,0xff,0xce,0xb4,0xaa,
0xff,0xb1,0x86,0x71,0xff,0x98,0x59,0x3c,0xff,0x8e,0x43,0x22,0xff,0x95,0x45,0x20,
0xff,0x8d,0x42,0x1c,0xff,0x84,0x3c,0x19,0xff,0x7e,0x3a,0x19,0xff,0x77,0x38,0x19,
0xff,0x6e,0x33,0x17,0xff,0x6d,0x34,0x1a,0xff,0x6c,0x32,0x17,0xff,0x67,0x31,0x1b,
0xff,0x4b,0x2d,0x26,0xff,0x3e,0x42,0x5a,0xff,0x41,0x55,0x7a,0xff,0x47,0x5f,0x87,
0xff,0x49,0x63,0x8d,0xff,0x4e,0x69,0x94,0xff,0x4e,0x6b,0x97,0xff,0x4d,0x6a,0x96,
0xff,0x4d,0x69,0x95,0xff,0x4b,0x6a,0x96,0xff,0x4b,0x6b,0x97,0xff,0x4c,0x68,0x95,
0xff,0x4f,0x68,0x96,0xff,0x4f,0x67,0x95,0xff,0x4b,0x66,0x93,0xff,0x48,0x65,0x92,
0xff,0x46,0x65,0x95,0xff,0x4b,0x6a,0x9d,0xff,0x54,0x74,0xab,0xff,0x58,0x7b,0xb2,
0xff,0x61,0x84,0xbb,0xff,0x70,0x91,0xc5,0xff,0x7a,0x99,0xcd,0xff,0x81,0x9c,0xd1,
0xff,0x80,0x9a,0xcf,0xff,0x79,0x99,0xcd,0xff,0x7d,0x9e,0xcf,0xff,0x7e,0x9f,0xce,
0xff,0x7b,0x9a,0xcd,0xff,0x77,0x96,0xca,0xff,0x74,0x95,0xc9,0xff,0x72,0x95,0xc9,
0xff,0x70,0x93,0xc6,0xff,0x6a,0x8c,0xb9,0xff,0x66,0x83,0xac,0xff,0x66,0x81,0xa5,
0xff,0x5b,0x77,0x93,0xff,0x46,0x43,0x4f,0xff,0x88,0x40,0x1e,0xff,0xae,0x54,0x28,
0xff,0xad,0x57,0x28,0xff,0x99,0x46,0x19,0xff,0xa7,0x5e,0x34,0xff,0xbd,0x87,0x68,
0xff,0xd0,0xb6,0xa3,0xff,0xf1,0xe6,0xe1,0xff,0xfe,0xfe,0xfd,0xff,0xfd,0xfe,0xfe,
0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfe,0xff,0xff,0xfe,0xfe,0xff,0xff,0xfb,0xfd,0xfd,
0xff,0xfa,0xfc,0xfc,0xff,0xfc,0xfd,0xfc,0xff,0xe9,0xe1,0xdc,0xff,0xc6,0xb0,0xa4,
0xff,0xa9,0x81,0x6e,0xff,0x8a,0x54,0x3d,0xff,0x80,0x40,0x25,0xff,0x7b,0x3e,0x22,
0xff,0x71,0x37,0x19,0xff,0x76,0x3b,0x1e,0xff,0x71,0x38,0x1b,0xff,0x5d,0x31,0x1d,
0xff,0x3c,0x32,0x32,0xff,0x41,0x51,0x71,0xff,0x48,0x5e,0x8a,0xff,0x4d,0x63,0x91,
0xff,0x4d,0x63,0x91,0xff,0x52,0x69,0x96,0xff,0x54,0x6b,0x97,0xff,0x52,0x69,0x96,
0xff,0x4c,0x68,0x94,0xff,0x47,0x67,0x92,0xff,0x47,0x69,0x94,0xff,0x4b,0x69,0x94,
0xff,0x4d,0x67,0x92,0xff,0x49,0x61,0x8d,0xff,0x47,0x5e,0x8a,0xff,0x45,0x5c,0x88,
0xff,0x41,0x59,0x8a,0xff,0x42,0x5f,0x93,0xff,0x4d,0x6d,0xa4,0xff,0x57,0x78,0xb0,
0xff,0x5e,0x7f,0xb7,0xff,0x68,0x8a,0xbf,0xff,0x73,0x92,0xc7,0xff,0x7b,0x97,0xcd,
0xff,0x7a,0x98,0xce,0xff,0x78,0x99,0xcd,0xff,0x7e,0xa0,0xce,0xff,0x80,0xa1,0xcf,
0xff,0x7a,0x9a,0xcc,0xff,0x7a,0x96,0xcb,0xff,0x75,0x95,0xca,0xff,0x72,0x95,0xca,
0xff,0x71,0x95,0xc9,0xff,0x71,0x93,0xc2,0xff,0x6a,0x89,0xb3,0xff,0x59,0x70,0x8d,
0xff,0x36,0x42,0x51,0xff,0x46,0x2c,0x26,0xff,0x99,0x4f,0x2a,0xff,0xca,0x89,0x6b,
0xff,0xc5,0x9b,0x86,0xff,0xe0,0xd2,0xc7,0xff,0xfc,0xfa,0xf7,0xff,0xfc,0xfe,0xfc,
0xff,0xfb,0xfe,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xff,
0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfe,0xff,0xfe,0xfe,0xfe,
0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfc,0xfc,0xff,0xf2,0xee,0xeb,0xff,0xd2,0xc3,0xbb,
0xff,0xb0,0x91,0x82,0xff,0xad,0x85,0x71,0xff,0x85,0x4f,0x32,0xff,0x62,0x34,0x1f,
0xff,0x3b,0x2d,0x2f,0xff,0x47,0x59,0x76,0xff,0x4b,0x65,0x91,0xff,0x4e,0x66,0x95,
0xff,0x52,0x65,0x95,0xff,0x54,0x69,0x97,0xff,0x55,0x6b,0x98,0xff,0x4f,0x69,0x95,
0xff,0x4c,0x66,0x94,0xff,0x49,0x65,0x90,0xff,0x47,0x65,0x8e,0xff,0x45,0x62,0x8c,
0xff,0x45,0x5f,0x86,0xff,0x45,0x5c,0x82,0xff,0x42,0x58,0x7f,0xff,0x40,0x56,0x7d,
0xff,0x43,0x58,0x85,0xff,0x48,0x61,0x94,0xff,0x52,0x6f,0xa6,0xff,0x5a,0x78,0xb0,
0xff,0x61,0x80,0xb7,0xff,0x64,0x88,0xbd,0xff,0x6c,0x8c,0xc3,0xff,0x74,0x90,0xc9,
0xff,0x77,0x95,0xcb,0xff,0x78,0x95,0xcb,0xff,0x7c,0x9b,0xce,0xff,0x7e,0x9d,0xcf,
0xff,0x7a,0x99,0xcb,0xff,0x7d,0x98,0xcc,0xff,0x76,0x96,0xc9,0xff,0x75,0x98,0xca,
0xff,0x76,0x93,0xc9,0xff,0x61,0x7b,0xa6,0xff,0x36,0x3f,0x52,0xff,0x17,0x1b,0x1e,
0xff,0x33,0x22,0x1c,0xff,0x87,0x55,0x39,0xff,0xe0,0xcb,0xba,0xff,0xfb,0xfd,0xfd,
0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfd,0xfe,
0xff,0xfe,0xfd,0xfe,0xff,0xfc,0xfd,0xfe,0xff,0xef,0xea,0xe5,0xff,0x82,0x65,0x55,
0xff,0x41,0x2b,0x21,0xff,0x27,0x25,0x28,0xff,0x3f,0x4b,0x64,0xff,0x58,0x6c,0x8e,
0xff,0x56,0x6c,0x97,0xff,0x55,0x69,0x97,0xff,0x54,0x6b,0x97,0xff,0x4e,0x69,0x95,
0xff,0x4d,0x63,0x92,0xff,0x4a,0x60,0x8c,0xff,0x45,0x5b,0x84,0xff,0x43,0x57,0x7e,
0xff,0x42,0x54,0x77,0xff,0x45,0x53,0x75,0xff,0x47,0x54,0x77,0xff,0x4c,0x5a,0x7d,
0xff,0x4a,0x61,0x87,0xff,0x4d,0x65,0x92,0xff,0x4f,0x69,0x99,0xff,0x54,0x6f,0x9e,
0xff,0x57,0x73,0xa1,0xff,0x58,0x73,0xa4,0xff,0x57,0x74,0xa8,0xff,0x5c,0x7c,0xb2,
0xff,0x6a,0x89,0xbe,0xff,0x73,0x92,0xc7,0xff,0x77,0x96,0xca,0xff,0x7a,0x99,0xcc,
0xff,0x78,0x97,0xca,0xff,0x7d,0x9b,0xce,0xff,0x7d,0x97,0xca,0xff,0x83,0x96,0xc4,
0xff,0x6c,0x68,0x7b,0xff,0x4e,0x3c,0x39,0xff,0x46,0x31,0x2a,0xff,0x4d,0x37,0x2d,
0xff,0xa5,0x84,0x75,0xff,0xee,0xe6,0xe1,0xff,0xfc,0xfe,0xfd,0xff,0xfe,0xfe,0xfe,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff,0xff,0xfe,0xff,
0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf6,0xf6,0xf4,
0xff,0xb2,0xa2,0x9b,0xff,0x6a,0x53,0x4a,0xff,0x65,0x55,0x4d,0xff,0x83,0x79,0x7c,
0xff,0x8e,0x95,0xab,0xff,0x56,0x6f,0x95,0xff,0x50,0x6a,0x95,0xff,0x4a,0x63,0x92,
0xff,0x46,0x5e,0x8a,0xff,0x48,0x59,0x83,0xff,0x4f,0x5b,0x82,0xff,0x50,0x5e,0x84,
0xff,0x51,0x62,0x87,0xff,0x53,0x67,0x8e,0xff,0x57,0x6b,0x95,0xff,0x5b,0x6e,0x9d,
0xff,0x59,0x71,0xa1,0xff,0x5b,0x77,0xa7,0xff,0x5f,0x7f,0xb2,0xff,0x67,0x87,0xba,
0xff,0x74,0x91,0xc1,0xff,0x77,0x91,0xc2,0xff,0x77,0x90,0xc2,0xff,0x75,0x8f,0xc1,
0xff,0x6d,0x87,0xba,0xff,0x6a,0x87,0xbd,0xff,0x71,0x8f,0xc5,0xff,0x77,0x96,0xcb,
0xff,0x78,0x97,0xcc,0xff,0x77,0x9c,0xce,0xff,0x7f,0x9f,0xcb,0xff,0xe0,0xe5,0xed,
0xff,0xfc,0xfb,0xfb,0xff,0xfd,0xfb,0xfa,0xff,0xfa,0xf8,0xf7,0xff,0xfb,0xfa,0xf9,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xfe,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff,
0xff,0xfc,0xfe,0xfe,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfe,
0xff,0xdf,0xe1,0xe3,0xff,0x5f,0x73,0x94,0xff,0x51,0x67,0x92,0xff,0x4c,0x60,0x8e,
0xff,0x4c,0x5e,0x85,0xff,0x54,0x69,0x8d,0xff,0x5a,0x70,0x95,0xff,0x5b,0x72,0x9c,
0xff,0x58,0x73,0x9c,0xff,0x57,0x75,0x9f,0xff,0x59,0x76,0xa4,0xff,0x5c,0x78,0xaa,
0xff,0x59,0x76,0xab,0xff,0x5b,0x7a,0xaf,0xff,0x60,0x81,0xb7,0xff,0x74,0x93,0xc7,
0xff,0x83,0xa2,0xd1,0xff,0x89,0xa5,0xd1,0xff,0x8a,0xa6,0xd2,0xff,0x8a,0xa5,0xd2,
0xff,0x84,0xa1,0xce,0xff,0x79,0x99,0xc9,0xff,0x72,0x91,0xc5,0xff,0x6f,0x8e,0xc3,
0xff,0x75,0x94,0xc9,0xff,0x7a,0x9b,0xcd,0xff,0x84,0xa0,0xcc,0xff,0xec,0xee,0xf4,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfd,0xff,0xfe,
0xff,0xeb,0xec,0xef,0xff,0x66,0x77,0x94,0xff,0x55,0x68,0x8d,0xff,0x54,0x63,0x89,
0xff,0x60,0x70,0x95,0xff,0x60,0x76,0x9e,0xff,0x5c,0x79,0xa3,0xff,0x58,0x78,0xa3,
0xff,0x59,0x79,0xa4,0xff,0x58,0x78,0xa3,0xff,0x58,0x76,0xa5,0xff,0x56,0x74,0xa7,
0xff,0x55,0x74,0xaa,0xff,0x5b,0x75,0xb0,0xff,0x65,0x78,0xb7,0xff,0x7c,0x90,0xca,
0xff,0x85,0xa2,0xce,0xff,0x8a,0xa8,0xd2,0xff,0x8a,0xa8,0xd2,0xff,0x8a,0xa9,0xd3,
0xff,0x89,0xab,0xd6,0xff,0x86,0xa8,0xd3,0xff,0x80,0x9e,0xcf,0xff,0x77,0x95,0xca,
0xff,0x6d,0x8f,0xc4,0xff,0x72,0x94,0xc5,0xff,0x83,0x9e,0xcd,0xff,0xde,0xe4,0xed,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfd,0xfe,0xfe,
0xff,0xef,0xf0,0xf2,0xff,0x6b,0x7a,0x93,0xff,0x5b,0x6c,0x8b,0xff,0x61,0x70,0x91,
0xff,0x64,0x78,0x9d,0xff,0x5b,0x76,0x9e,0xff,0x55,0x73,0x9d,0xff,0x55,0x72,0x9d,
0xff,0x52,0x6f,0x9b,0xff,0x4f,0x6c,0x9a,0xff,0x4f,0x6b,0x9c,0xff,0x4c,0x67,0x9c,
0xff,0x4d,0x68,0xa0,0xff,0x57,0x6e,0xaa,0xff,0x5c,0x72,0xb3,0xff,0x6b,0x83,0xc0,
0xff,0x75,0x93,0xc6,0xff,0x7a,0x9a,0xc9,0xff,0x81,0xa1,0xd0,0xff,0x83,0xa3,0xd1,
0xff,0x85,0xa6,0xd1,0xff,0x89,0xab,0xd6,0xff,0x86,0xa6,0xd5,0xff,0x7b,0x9b,0xcf,
0xff,0x74,0x95,0xcc,0xff,0x74,0x8f,0xc6,0xff,0x79,0x92,0xc6,0xff,0xc7,0xcf,0xdf,
0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfd,0xfe,0xfe,
0xff,0xed,0xee,0xef,0xff,0x70,0x7e,0x93,0xff,0x62,0x75,0x92,0xff,0x5e,0x74,0x94,
0xff,0x5e,0x73,0x9a,0xff,0x54,0x70,0x99,0xff,0x55,0x6d,0x9a,0xff,0x59,0x70,0x9d,
0xff,0x58,0x6f,0x9c,0xff,0x53,0x6a,0x99,0xff,0x4f,0x65,0x98,0xff,0x4e,0x63,0x9a,
0xff,0x4b,0x5f,0x94,0xff,0x53,0x66,0xa0,0xff,0x58,0x75,0xb0,0xff,0x61,0x81,0xb9,
0xff,0x6d,0x8f,0xc2,0xff,0x7d,0x9b,0xce,0xff,0x82,0x9f,0xd2,0xff,0x81,0x9e,0xd0,
0xff,0x80,0x9f,0xcd,0xff,0x7e,0x9d,0xcb,0xff,0x7e,0xa0,0xce,0xff,0x7a,0x9d,0xce,
0xff,0x76,0x98,0xcd,0xff,0x72,0x97,0xca,0xff,0x78,0x94,0xc9,0xff,0x8f,0xa3,0xc8,
0xff,0xe3,0xe9,0xf1,0xff,0xfe,0xfe,0xfc,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfc,0xfe,0xfe,
0xff,0xe2,0xe5,0xe9,0xff,0x71,0x80,0x97,0xff,0x64,0x78,0x96,0xff,0x5f,0x76,0x98,
0xff,0x56,0x70,0x98,0xff,0x4e,0x6b,0x96,0xff,0x55,0x6b,0x9a,0xff,0x5c,0x73,0xa0,
0xff,0x5b,0x6f,0x9e,0xff,0x5a,0x6c,0x9b,0xff,0x55,0x64,0x9a,0xff,0x55,0x61,0xa1,
0xff,0x54,0x5f,0xa5,0xff,0x58,0x62,0xaa,0xff,0x5f,0x6d,0xb7,0xff,0x6a,0x77,0xc0,
0xff,0x79,0x89,0xca,0xff,0x81,0x98,0xcf,0xff,0x85,0x9e,0xd1,0xff,0x7c,0x95,0xcd,
0xff,0x70,0x8d,0xc3,0xff,0x6a,0x88,0xbe,0xff,0x72,0x91,0xc5,0xff,0x7f,0xa0,0xd0,
0xff,0x7e,0x9f,0xce,0xff,0x7e,0x9b,0xd0,0xff,0x80,0x99,0xd0,0xff,0x7c,0x98,0xd0,
0xff,0x96,0xa8,0xce,0xff,0xf4,0xf4,0xf8,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfb,0xfd,0xfd,
0xff,0xa6,0xb0,0xbd,0xff,0x6a,0x7b,0x9c,0xff,0x66,0x7a,0x9e,0xff,0x65,0x7b,0xa2,
0xff,0x5b,0x75,0x9e,0xff,0x49,0x62,0x8f,0xff,0x46,0x56,0x84,0xff,0x4a,0x5a,0x86,
0xff,0x47,0x50,0x85,0xff,0x4c,0x4f,0x88,0xff,0x4f,0x4f,0x8d,0xff,0x51,0x50,0x95,
0xff,0x4f,0x4d,0x99,0xff,0x55,0x4e,0xa0,0xff,0x5b,0x59,0xac,0xff,0x64,0x64,0xb3,
0xff,0x69,0x6a,0xb6,0xff,0x6a,0x69,0xb5,0xff,0x62,0x69,0xb0,0xff,0x50,0x60,0x9f,
0xff,0x48,0x5b,0x96,0xff,0x54,0x72,0xab,0xff,0x74,0x94,0xc6,0xff,0x85,0xa3,0xd2,
0xff,0x87,0xa5,0xd4,0xff,0x86,0xa4,0xd5,0xff,0x85,0xa3,0xd4,0xff,0x81,0x9f,0xd2,
0xff,0x82,0x9c,0xce,0xff,0xbb,0xc8,0xdc,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfd,0xff,0xe8,0xec,0xed,
0xff,0x79,0x89,0xa0,0xff,0x68,0x7d,0xa1,0xff,0x67,0x7c,0xa2,0xff,0x62,0x7a,0xa3,
0xff,0x5c,0x75,0xa2,0xff,0x4d,0x64,0x91,0xff,0x45,0x56,0x82,0xff,0x3d,0x46,0x6d,
0xff,0x40,0x48,0x6f,0xff,0x46,0x4b,0x7a,0xff,0x47,0x4a,0x7f,0xff,0x49,0x4a,0x86,
0xff,0x4b,0x4f,0x91,0xff,0x5b,0x5e,0xa9,0xff,0x5d,0x64,0xb1,0xff,0x5f,0x68,0xb0,
0xff,0x5e,0x69,0xaf,0xff,0x63,0x6f,0xb5,0xff,0x69,0x76,0xb6,0xff,0x61,0x73,0xa8,
0xff,0x58,0x70,0xa6,0xff,0x6c,0x89,0xbb,0xff,0x80,0x9f,0xcd,0xff,0x89,0xa8,0xd4,
0xff,0x89,0xa9,0xd5,0xff,0x8a,0xa8,0xd7,0xff,0x8a,0xa8,0xd7,0xff,0x87,0xa7,0xd6,
0xff,0x82,0xa1,0xd3,0xff,0x8f,0xa8,0xcd,0xff,0xf2,0xf4,0xf7,0xff,0xfe,0xfe,0xfe,
0xff,0xff,0xff,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfd,0xff,0xbd,0xc6,0xce,
0xff,0x6c,0x83,0xa2,0xff,0x6a,0x7f,0xa2,0xff,0x69,0x7e,0xa4,0xff,0x62,0x7b,0xa5,
0xff,0x5e,0x78,0xa6,0xff,0x5d,0x74,0xa0,0xff,0x54,0x69,0x90,0xff,0x54,0x62,0x8b,
0xff,0x57,0x6d,0x94,0xff,0x59,0x6f,0x97,0xff,0x5c,0x6e,0x9e,0xff,0x5a,0x69,0xa1,
0xff,0x5f,0x70,0xad,0xff,0x5e,0x72,0xb0,0xff,0x5c,0x76,0xb2,0xff,0x6c,0x85,0xbf,
0xff,0x7d,0x8f,0xc7,0xff,0x88,0x99,0xcb,0xff,0x89,0x9a,0xca,0xff,0x81,0x93,0xc3,
0xff,0x78,0x90,0xc0,0xff,0x7e,0x97,0xc4,0xff,0x8a,0xa8,0xd3,0xff,0x8e,0xae,0xd9,
0xff,0x8c,0xac,0xd7,0xff,0x90,0xae,0xdd,0xff,0x8c,0xaa,0xd9,0xff,0x8a,0xa9,0xd9,
0xff,0x8a,0xa5,0xd4,0xff,0x87,0xa2,0xd1,0xff,0xd5,0xd9,0xe4,0xff,0xfe,0xfe,0xfe,
0xff,0xff,0xff,0xfc,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfd,0xff,0x96,0xa4,0xb4,
0xff,0x70,0x83,0xa4,0xff,0x6d,0x7f,0xa4,0xff,0x6b,0x7f,0xa5,0xff,0x68,0x7f,0xa8,
0xff,0x65,0x7e,0xa8,0xff,0x63,0x80,0xaa,0xff,0x62,0x7d,0xa5,0xff,0x64,0x77,0x9f,
0xff,0x5e,0x72,0x9a,0xff,0x5b,0x6b,0x95,0xff,0x58,0x69,0x94,0xff,0x56,0x6b,0x97,
0xff,0x61,0x75,0xa5,0xff,0x63,0x77,0xaa,0xff,0x61,0x74,0xa8,0xff,0x6f,0x84,0xb6,
0xff,0x74,0x8c,0xbd,0xff,0x7c,0x91,0xc2,0xff,0x82,0x97,0xc5,0xff,0x87,0x9e,0xc9,
0xff,0x85,0xa0,0xca,0xff,0x88,0xa3,0xcd,0xff,0x8e,0xaa,0xd3,0xff,0x93,0xaf,0xd9,
0xff,0x91,0xae,0xd7,0xff,0x94,0xaf,0xdb,0xff,0x8f,0xab,0xd7,0xff,0x8e,0xa9,0xd6,
0xff,0x8c,0xa5,0xd6,0xff,0x88,0xa0,0xd5,0xff,0xb2,0xc0,0xdb,0xff,0xfd,0xfe,0xfc,
0xff,0xfc,0xfd,0xfe,0xff,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,
0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf6,0xf8,0xf8,0xff,0x7d,0x8f,0xa4,
0xff,0x6b,0x80,0xa7,0xff,0x6a,0x80,0xa6,0xff,0x68,0x80,0xa7,0xff,0x67,0x81,0xaa,
0xff,0x6a,0x83,0xad,0xff,0x66,0x83,0xad,0xff,0x65,0x81,0xac,0xff,0x69,0x80,0xad,
0xff,0x61,0x78,0xa6,0xff,0x59,0x6d,0x9d,0xff,0x51,0x60,0x91,0xff,0x4e,0x5a,0x8c,
0xff,0x52,0x63,0x99,0xff,0x5f,0x70,0xa9,0xff,0x69,0x7a,0xb3,0xff,0x71,0x84,0xbb,
0xff,0x72,0x88,0xbf,0xff,0x79,0x8e,0xc6,0xff,0x81,0x98,0xcb,0xff,0x86,0xa1,0xce,
0xff,0x87,0xa1,0xcf,0xff,0x84,0x9e,0xcd,0xff,0x86,0xa0,0xcf,0xff,0x8c,0xa6,0xd4,
0xff,0x8e,0xa8,0xd6,0xff,0x8e,0xa9,0xd5,0xff,0x90,0xaa,0xd6,0xff,0x8e,0xa8,0xd5,
0xff,0x89,0xa3,0xd4,0xff,0x86,0x9f,0xd4,0xff,0x91,0xa3,0xd1,0xff,0xc6,0xd1,0xe5,
0xff,0xf2,0xf5,0xf8,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xfe,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,
0xff,0xfe,0xfe,0xfe,0xff,0xf5,0xf7,0xf9,0xff,0xb5,0xba,0xc9,0xff,0x75,0x85,0xa3,
0xff,0x6a,0x7f,0xa9,0xff,0x6b,0x80,0xa9,0xff,0x66,0x7c,0xa6,0xff,0x6b,0x81,0xab,
0xff,0x67,0x82,0xab,0xff,0x64,0x7e,0xab,0xff,0x5f,0x78,0xa8,0xff,0x5f,0x79,0xa6,
0xff,0x5c,0x70,0xa2,0xff,0x51,0x5c,0x94,0xff,0x3e,0x48,0x7f,0xff,0x47,0x51,0x89,
0xff,0x56,0x64,0x9b,0xff,0x63,0x74,0xaf,0xff,0x77,0x8b,0xc4,0xff,0x77,0x8a,0xc5,
0xff,0x56,0x66,0xa9,0xff,0x5c,0x71,0xb2,0xff,0x78,0x8c,0xcb,0xff,0x7b,0x92,0xc7,
0xff,0x75,0x8c,0xc4,0xff,0x77,0x8e,0xc6,0xff,0x83,0x9e,0xcc,0xff,0x8a,0xa5,0xd1,
0xff,0x8f,0xaa,0xd6,0xff,0x95,0xac,0xd9,0xff,0x95,0xac,0xd9,0xff,0x90,0xa7,0xd5,
0xff,0x8a,0xa4,0xd3,0xff,0x84,0xa2,0xd1,0xff,0x85,0x9e,0xcf,0xff,0x84,0xa2,0xd6,
0xff,0x9a,0xb0,0xd7,0xff,0xe8,0xed,0xf5,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xfd,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff,
0xff,0xfc,0xfe,0xfc,0xff,0xac,0xb3,0xc5,0xff,0x76,0x80,0xa7,0xff,0x71,0x7f,0xa5,
0xff,0x69,0x7e,0xa6,0xff,0x68,0x7c,0xa7,0xff,0x65,0x7b,0xa6,0xff,0x69,0x7f,0xaa,
0xff,0x6a,0x80,0xaa,0xff,0x66,0x7a,0xa9,0xff,0x5e,0x73,0xa5,0xff,0x57,0x6e,0x9e,
0xff,0x58,0x6d,0x9a,0xff,0x6d,0x7e,0xad,0xff,0x65,0x75,0xa5,0xff,0x6c,0x7b,0xad,
0xff,0x72,0x83,0xb4,0xff,0x7c,0x8e,0xc1,0xff,0x8f,0xa0,0xd1,0xff,0xa2,0xb2,0xe0,
0xff,0xa0,0xb1,0xdc,0xff,0xa0,0xb3,0xdb,0xff,0x9b,0xaf,0xdd,0xff,0x75,0x86,0xc3,
0xff,0x6d,0x81,0xbf,0xff,0x7c,0x93,0xc7,0xff,0x87,0xa0,0xcc,0xff,0x89,0xa2,0xd0,
0xff,0x8c,0xa7,0xd4,0xff,0x91,0xa9,0xd6,0xff,0x94,0xab,0xd8,0xff,0x93,0xa9,0xd7,
0xff,0x8e,0xa5,0xd4,0xff,0x8a,0xa5,0xd3,0xff,0x89,0xa2,0xd3,0xff,0x86,0x9d,0xd0,
0xff,0x89,0xa6,0xd8,0xff,0xa7,0xba,0xdb,0xff,0xf8,0xfa,0xfa,0xff,0xfe,0xfe,0xfd,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff,
0xff,0xf7,0xf8,0xfa,0xff,0x87,0x91,0xae,0xff,0x76,0x87,0xa8,0xff,0x6f,0x81,0xa6,
0xff,0x69,0x7e,0xa7,0xff,0x68,0x7e,0xaa,0xff,0x69,0x7e,0xab,0xff,0x6b,0x80,0xac,
0xff,0x68,0x7e,0xa8,0xff,0x66,0x7a,0xa8,0xff,0x62,0x76,0xa6,0xff,0x5d,0x71,0xa1,
0xff,0x57,0x6b,0x9b,0xff,0x71,0x84,0xad,0xff,0x7f,0x92,0xb9,0xff,0x81,0x93,0xbc,
0xff,0x80,0x94,0xc1,0xff,0x8f,0xa1,0xcb,0xff,0xa0,0xb0,0xd8,0xff,0xa7,0xb8,0xe0,
0xff,0xa2,0xb2,0xdb,0xff,0x9c,0xae,0xd7,0xff,0x8b,0x9e,0xcf,0xff,0x79,0x8e,0xc6,
0xff,0x7c,0x93,0xc9,0xff,0x82,0x97,0xc8,0xff,0x89,0x9d,0xcd,0xff,0x8a,0x9f,0xcf,
0xff,0x85,0x9f,0xce,0xff,0x8c,0xa7,0xd3,0xff,0x96,0xad,0xda,0xff,0x9a,0xaf,0xdc,
0xff,0x9a,0xb1,0xde,0xff,0x92,0xac,0xd8,0xff,0x8f,0xa7,0xd5,0xff,0x83,0x93,0xcd,
0xff,0x64,0x7a,0xbb,0xff,0x8b,0x9f,0xd4,0xff,0xc1,0xc8,0xe1,0xff,0xfe,0xfe,0xfd,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff,
0xff,0xc2,0xc8,0xd4,0xff,0x6d,0x7b,0xa3,0xff,0x7b,0x8c,0xaa,0xff,0x72,0x83,0xaa,
0xff,0x6e,0x82,0xac,0xff,0x6b,0x7f,0xad,0xff,0x67,0x7c,0xaa,0xff,0x65,0x79,0xa8,
0xff,0x63,0x78,0xa5,0xff,0x62,0x76,0xa5,0xff,0x60,0x74,0xa4,0xff,0x61,0x75,0xa5,
0xff,0x63,0x77,0xa7,0xff,0x64,0x77,0xa7,0xff,0x73,0x87,0xb1,0xff,0x7d,0x93,0xb7,
0xff,0x83,0x99,0xc0,0xff,0x96,0xa5,0xce,0xff,0xa6,0xb5,0xdc,0xff,0xa7,0xb9,0xe0,
0xff,0xa8,0xbb,0xdf,0xff,0x9f,0xb2,0xdc,0xff,0x99,0xad,0xdb,0xff,0x8a,0xa0,0xd0,
0xff,0x81,0x97,0xca,0xff,0x7f,0x95,0xc9,0xff,0x82,0x97,0xcc,0xff,0x82,0x98,0xca,
0xff,0x7f,0x96,0xc6,0xff,0x88,0xa0,0xce,0xff,0x97,0xac,0xd9,0xff,0xa2,0xb4,0xdf,
0xff,0xa4,0xb7,0xe2,0xff,0x98,0xaf,0xdc,0xff,0x93,0xaa,0xda,0xff,0x8f,0xa4,0xd5,
0xff,0x72,0x87,0xc3,0xff,0x52,0x63,0xb0,0xff,0x8c,0x9d,0xd0,0xff,0xee,0xef,0xf6,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd,
0xff,0x83,0x8c,0xab,0xff,0x5f,0x6d,0x9d,0xff,0x7c,0x8e,0xaf,0xff,0x77,0x89,0xad,
0xff,0x72,0x86,0xae,0xff,0x6b,0x80,0xac,0xff,0x67,0x7c,0xa9,0xff,0x64,0x79,0xa6,
0xff,0x5d,0x71,0xa1,0xff,0x59,0x6d,0x9d,0xff,0x5b,0x6f,0x9f,0xff,0x5c,0x70,0xa0,
0xff,0x5f,0x73,0xa3,0xff,0x64,0x78,0xa9,0xff,0x6f,0x85,0xb0,0xff,0x7c,0x94,0xb7,
0xff,0x80,0x97,0xba,0xff,0x98,0xa6,0xcc,0xff,0xaa,0xb8,0xdc,0xff,0xa8,0xb9,0xe0,
0xff,0xa7,0xb7,0xe0,0xff,0x9f,0xb4,0xde,0xff,0x96,0xaa,0xd8,0xff,0x87,0x9a,0xcd,
0xff,0x7d,0x8f,0xc7,0xff,0x78,0x8e,0xc5,0xff,0x71,0x88,0xc1,0xff,0x74,0x89,0xc1,
0xff,0x7e,0x91,0xc6,0xff,0x89,0x9f,0xcf,0xff,0x9b,0xae,0xdb,0xff,0xa7,0xb9,0xe2,
0xff,0xa8,0xbc,0xe4,0xff,0x9c,0xb2,0xdf,0xff,0x93,0xa9,0xda,0xff,0x90,0xa6,0xd7,
0xff,0x6e,0x80,0xbc,0xff,0x3f,0x4b,0xa4,0xff,0x59,0x6b,0xba,0xff,0xc9,0xce,0xe4,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf0,0xf2,0xf4,
0xff,0x64,0x6b,0x98,0xff,0x64,0x74,0x9d,0xff,0x78,0x8d,0xac,0xff,0x79,0x8d,0xae,
0xff,0x74,0x88,0xad,0xff,0x6e,0x82,0xa8,0xff,0x69,0x7c,0xa6,0xff,0x65,0x77,0xa4,
0xff,0x5e,0x6e,0xa0,0xff,0x58,0x67,0x9b,0xff,0x54,0x63,0x99,0xff,0x55,0x66,0x99,
0xff,0x58,0x6d,0x9c,0xff,0x5d,0x72,0xa1,0xff,0x66,0x7a,0xa8,0xff,0x72,0x87,0xb1,
0xff,0x7d,0x91,0xb7,0xff,0x92,0xa2,0xc6,0xff,0xa9,0xb9,0xd5,0xff,0xa6,0xb7,0xdc,
0xff,0x9e,0xad,0xdc,0xff,0x97,0xa9,0xda,0xff,0x8d,0xa2,0xd3,0xff,0x7a,0x92,0xc4,
0xff,0x6e,0x83,0xb9,0xff,0x64,0x76,0xb0,0xff,0x6a,0x79,0xb7,0xff,0x77,0x86,0xc0,
0xff,0x87,0x97,0xca,0xff,0x95,0xa8,0xd4,0xff,0x9f,0xb1,0xdc,0xff,0xa2,0xb5,0xdf,
0xff,0xa1,0xb7,0xe1,0xff,0x9b,0xb5,0xdf,0xff,0x95,0xb0,0xdb,0xff,0x8d,0xa6,0xd5,
0xff,0x64,0x74,0xa6,0xff,0x4f,0x5f,0xa8,0xff,0x68,0x7d,0xc6,0xff,0x92,0x9e,0xcd,
0xff,0xfb,0xfb,0xfb,0xff,0xfd,0xfe,0xfe,0xff,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xe8,0xe9,0xed,
0xff,0x5e,0x60,0x90,0xff,0x63,0x71,0x91,0xff,0x7d,0x8f,0xae,0xff,0x77,0x8c,0xad,
0xff,0x71,0x84,0xaa,0xff,0x6d,0x80,0xa6,0xff,0x69,0x7b,0xa4,0xff,0x62,0x72,0xa0,
0xff,0x5f,0x6e,0xa0,0xff,0x59,0x67,0x9d,0xff,0x55,0x5d,0x97,0xff,0x55,0x59,0x93,
0xff,0x52,0x5c,0x91,0xff,0x5a,0x68,0x97,0xff,0x5c,0x70,0x9d,0xff,0x59,0x73,0xa0,
0xff,0x6b,0x80,0xae,0xff,0x8a,0x9e,0xc3,0xff,0x9e,0xb1,0xd3,0xff,0x9e,0xb1,0xd9,
0xff,0x8f,0xa3,0xd7,0xff,0x84,0x9c,0xd1,0xff,0x79,0x8f,0xc4,0xff,0x69,0x7c,0xb3,
0xff,0x58,0x69,0xa3,0xff,0x5c,0x67,0xa6,0xff,0x66,0x70,0xb0,0xff,0x73,0x7f,0xb8,
0xff,0x85,0x94,0xc5,0xff,0x95,0xa6,0xd1,0xff,0x9c,0xad,0xd8,0xff,0x9a,0xad,0xd8,
0xff,0x98,0xaf,0xd9,0xff,0x96,0xb1,0xdb,0xff,0x95,0xb2,0xdb,0xff,0x8d,0xa8,0xd7,
0xff,0x5f,0x6f,0x9a,0xff,0x6b,0x7f,0xad,0xff,0x8b,0x9e,0xd9,0xff,0x54,0x5e,0xac,
0xff,0xdd,0xdf,0xec,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfd,0xfe,0xff,0xdf,0xe0,0xe6,
0xff,0x57,0x54,0x85,0xff,0x5c,0x64,0x80,0xff,0x85,0x95,0xaf,0xff,0x6f,0x86,0xa8,
0xff,0x60,0x74,0x9f,0xff,0x5a,0x6f,0x97,0xff,0x55,0x63,0x92,0xff,0x60,0x68,0x95,
0xff,0x5c,0x68,0x86,0xff,0x3a,0x44,0x5f,0xff,0x42,0x49,0x66,0xff,0x64,0x6b,0x8e,
0xff,0x4f,0x55,0x83,0xff,0x4c,0x5b,0x89,0xff,0x4f,0x63,0x8e,0xff,0x53,0x68,0x93,
0xff,0x5c,0x73,0x9f,0xff,0x6e,0x84,0xb2,0xff,0x83,0x9a,0xc9,0xff,0x8e,0xa8,0xd4,
0xff,0x8c,0xa6,0xd4,0xff,0x7d,0x94,0xc6,0xff,0x65,0x75,0xb0,0xff,0x5d,0x69,0xa3,
0xff,0x55,0x5e,0x8f,0xff,0x5e,0x65,0x8d,0xff,0x39,0x43,0x64,0xff,0x46,0x50,0x6d,
0xff,0x88,0x93,0xaf,0xff,0x8e,0x9d,0xc0,0xff,0x7e,0x8d,0xc1,0xff,0x78,0x8c,0xc3,
0xff,0x7e,0x96,0xca,0xff,0x8c,0xa5,0xd5,0xff,0x8f,0xac,0xd7,0xff,0x93,0xa9,0xd6,
0xff,0x51,0x57,0x81,0xff,0x6b,0x7e,0xb1,0xff,0x82,0x8e,0xce,0xff,0x4e,0x55,0xac,
0xff,0xda,0xde,0xea,0xff,0xfc,0xfe,0xfd,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfe,0xfd,0xff,0xb1,0xb8,0xc9,
0xff,0x4e,0x58,0x8c,0xff,0x4a,0x53,0x7a,0xff,0x85,0x90,0xac,0xff,0x72,0x86,0xa2,
0xff,0x61,0x73,0x97,0xff,0x42,0x53,0x7e,0xff,0x3e,0x47,0x6c,0xff,0x71,0x71,0x83,
0xff,0x54,0x59,0x68,0xff,0x2d,0x30,0x3c,0xff,0x35,0x36,0x40,0xff,0x81,0x83,0x92,
0xff,0x4c,0x55,0x78,0xff,0x4d,0x5a,0x8a,0xff,0x4b,0x59,0x89,0xff,0x4f,0x5f,0x8f,
0xff,0x5a,0x70,0xa0,0xff,0x65,0x7a,0xae,0xff,0x75,0x8b,0xbf,0xff,0x81,0x9a,0xcc,
0xff,0x7e,0x97,0xca,0xff,0x6a,0x84,0xba,0xff,0x54,0x68,0xa9,0xff,0x54,0x67,0xa3,
0xff,0x51,0x60,0x8c,0xff,0x52,0x5a,0x71,0xff,0x2f,0x34,0x43,0xff,0x35,0x39,0x45,
0xff,0x8a,0x8f,0x9a,0xff,0x80,0x88,0x9e,0xff,0x4e,0x5e,0x8c,0xff,0x66,0x7d,0xb3,
0xff,0x82,0x99,0xce,0xff,0x85,0x9e,0xcf,0xff,0x86,0xa0,0xd1,0xff,0x8a,0xa0,0xcd,
0xff,0x56,0x5d,0x7f,0xff,0x61,0x6c,0xa0,0xff,0x7c,0x8f,0xcb,0xff,0x70,0x7d,0xbc,
0xff,0xea,0xf0,0xf6,0xff,0xfd,0xfe,0xfd,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfc,0xfe,0xfe,0xff,0xfe,0xfe,0xfd,0xff,0xd6,0xdd,0xe4,
0xff,0x89,0x95,0xab,0xff,0x5a,0x64,0x7e,0xff,0x81,0x89,0xa6,0xff,0x77,0x82,0xa1,
0xff,0x6f,0x81,0xa3,0xff,0x61,0x73,0xa0,0xff,0x56,0x65,0x91,0xff,0x4c,0x59,0x7d,
0xff,0x4a,0x53,0x71,0xff,0x3f,0x4a,0x6b,0xff,0x42,0x4e,0x73,0xff,0x4f,0x5a,0x86,
0xff,0x53,0x61,0x95,0xff,0x50,0x60,0x90,0xff,0x4f,0x62,0x92,0xff,0x50,0x64,0x99,
0xff,0x5d,0x6f,0xa5,0xff,0x62,0x78,0xad,0xff,0x66,0x80,0xb5,0xff,0x66,0x82,0xb8,
0xff,0x64,0x80,0xb6,0xff,0x61,0x7d,0xb5,0xff,0x5e,0x79,0xb3,0xff,0x59,0x73,0xad,
0xff,0x5a,0x71,0xa9,0xff,0x53,0x68,0x97,0xff,0x49,0x57,0x84,0xff,0x4d,0x5e,0x89,
0xff,0x59,0x73,0x98,0xff,0x6c,0x83,0xb1,0xff,0x85,0x9b,0xcc,0xff,0x93,0xa6,0xd3,
0xff,0x90,0xa4,0xd1,0xff,0x88,0x9c,0xcd,0xff,0x86,0x9c,0xcd,0xff,0x7e,0x96,0xc8,
0xff,0x46,0x53,0x70,0xff,0x76,0x79,0x80,0xff,0xcc,0xcf,0xd9,0xff,0xe8,0xea,0xf1,
0xff,0xfd,0xfd,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,
0xff,0xb8,0xb9,0xb8,0xff,0x51,0x59,0x67,0xff,0x7a,0x88,0xa3,0xff,0x77,0x84,0xa1,
0xff,0x6b,0x7b,0x9b,0xff,0x6b,0x7c,0xa0,0xff,0x68,0x78,0xa2,0xff,0x65,0x76,0xa5,
0xff,0x64,0x73,0xa7,0xff,0x5d,0x6f,0xa4,0xff,0x54,0x66,0x9a,0xff,0x52,0x62,0x8e,
0xff,0x4d,0x5c,0x84,0xff,0x4d,0x5e,0x87,0xff,0x54,0x66,0x96,0xff,0x5a,0x6f,0xa3,
0xff,0x65,0x77,0xaf,0xff,0x63,0x77,0xaf,0xff,0x64,0x7d,0xb3,0xff,0x61,0x7b,0xb2,
0xff,0x5f,0x7a,0xb0,0xff,0x62,0x75,0xa7,0xff,0x5e,0x6e,0x9f,0xff,0x5f,0x6f,0x9e,
0xff,0x5f,0x75,0xa3,0xff,0x62,0x78,0xac,0xff,0x62,0x7a,0xb1,0xff,0x67,0x7f,0xb5,
0xff,0x70,0x87,0xbb,0xff,0x7b,0x92,0xc2,0xff,0x94,0xa2,0xc9,0xff,0x93,0xa0,0xc7,
0xff,0x85,0x95,0xbe,0xff,0x82,0x99,0xc7,0xff,0x87,0x9f,0xcf,0xff,0x79,0x91,0xc9,
0xff,0x4a,0x57,0x81,0xff,0x40,0x44,0x51,0xff,0xd1,0xd6,0xd3,0xff,0xfd,0xfd,0xfe,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0x91,0x92,0x8f,0xff,0x48,0x50,0x61,0xff,0x70,0x80,0xa1,0xff,0x6f,0x7f,0xa0,
0xff,0x5d,0x6c,0x86,0xff,0x57,0x61,0x7b,0xff,0x56,0x5f,0x7b,0xff,0x50,0x59,0x76,
0xff,0x49,0x4d,0x6d,0xff,0x45,0x4b,0x62,0xff,0x3d,0x43,0x55,0xff,0x3e,0x45,0x55,
0xff,0x4d,0x56,0x72,0xff,0x5a,0x67,0x91,0xff,0x66,0x74,0xab,0xff,0x6c,0x7d,0xb4,
0xff,0x70,0x84,0xbb,0xff,0x70,0x84,0xba,0xff,0x6e,0x83,0xb9,0xff,0x6d,0x83,0xb7,
0xff,0x6d,0x83,0xb7,0xff,0x69,0x82,0xb2,0xff,0x68,0x7d,0xaa,0xff,0x5c,0x6d,0x94,
0xff,0x54,0x5f,0x7c,0xff,0x49,0x50,0x68,0xff,0x47,0x50,0x66,0xff,0x4b,0x54,0x6e,
0xff,0x50,0x58,0x76,0xff,0x62,0x6a,0x8b,0xff,0x6e,0x7c,0x9b,0xff,0x73,0x84,0xa5,
0xff,0x7e,0x8f,0xb6,0xff,0x88,0x9f,0xcd,0xff,0x7f,0x99,0xd0,0xff,0x70,0x89,0xc6,
0xff,0x46,0x59,0x84,0xff,0x3d,0x44,0x52,0xff,0xc4,0xc8,0xc8,0xff,0xfe,0xfe,0xfe,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd,
0xff,0x7a,0x7b,0x7a,0xff,0x3e,0x47,0x56,0xff,0x5e,0x73,0x94,0xff,0x6a,0x7e,0xa1,
0xff,0x6f,0x81,0xa5,0xff,0x6a,0x79,0x98,0xff,0x56,0x64,0x7d,0xff,0x52,0x5e,0x72,
0xff,0x53,0x5f,0x6e,0xff,0x5a,0x67,0x78,0xff,0x60,0x6e,0x86,0xff,0x6c,0x7b,0x9b,
0xff,0x77,0x85,0xac,0xff,0x7c,0x8a,0xb8,0xff,0x7e,0x8d,0xbe,0xff,0x81,0x94,0xc0,
0xff,0x81,0x97,0xc4,0xff,0x81,0x97,0xc4,0xff,0x7f,0x94,0xc1,0xff,0x7c,0x91,0xbe,
0xff,0x7f,0x94,0xc1,0xff,0x80,0x93,0xc2,0xff,0x81,0x96,0xc4,0xff,0x83,0x98,0xc2,
0xff,0x8d,0x9f,0xc4,0xff,0x8a,0x9b,0xbd,0xff,0x86,0x98,0xb6,0xff,0x83,0x96,0xb5,
0xff,0x84,0x96,0xb7,0xff,0x82,0x96,0xb5,0xff,0x8d,0xa3,0xc6,0xff,0x96,0xac,0xd5,
0xff,0x8d,0xa4,0xd3,0xff,0x7f,0x9b,0xcf,0xff,0x74,0x93,0xcc,0xff,0x62,0x7a,0xb4,
0xff,0x4e,0x57,0x80,0xff,0x3f,0x44,0x53,0xff,0x85,0x89,0x89,0xff,0xfd,0xfd,0xfd,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfa,0xfa,0xfa,
0xff,0x64,0x66,0x65,0xff,0x3d,0x44,0x4d,0xff,0x56,0x68,0x87,0xff,0x63,0x76,0x9c,
0xff,0x69,0x7c,0xa2,0xff,0x68,0x7d,0xa6,0xff,0x6e,0x85,0xac,0xff,0x71,0x89,0xac,
0xff,0x79,0x8c,0xaf,0xff,0x76,0x8d,0xb0,0xff,0x78,0x91,0xb4,0xff,0x80,0x96,0xba,
0xff,0x8c,0x9e,0xc3,0xff,0x8d,0x9f,0xc3,0xff,0x8c,0x9f,0xc3,0xff,0x91,0xa3,0xc7,
0xff,0x97,0xa6,0xc8,0xff,0x96,0xa6,0xc8,0xff,0x8d,0x9e,0xc3,0xff,0x85,0x98,0xbf,
0xff,0x87,0x9a,0xc1,0xff,0x93,0xa4,0xca,0xff,0x97,0xa7,0xce,0xff,0x99,0xa9,0xcf,
0xff,0x99,0xab,0xd0,0xff,0x96,0xad,0xd1,0xff,0x93,0xad,0xd2,0xff,0x94,0xae,0xd5,
0xff,0x93,0xae,0xd4,0xff,0x95,0xae,0xd5,0xff,0x95,0xad,0xd8,0xff,0x91,0xa9,0xd7,
0xff,0x84,0xa0,0xd1,0xff,0x79,0x97,0xcc,0xff,0x6f,0x8d,0xc6,0xff,0x5c,0x73,0xa7,
0xff,0x4c,0x52,0x74,0xff,0x3f,0x43,0x52,0xff,0x49,0x4f,0x4e,0xff,0xe5,0xe6,0xe6,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xd3,0xd3,0xd3,
0xff,0x3b,0x40,0x3d,0xff,0x39,0x3e,0x44,0xff,0x54,0x61,0x7b,0xff,0x60,0x74,0x9a,
0xff,0x63,0x79,0xa2,0xff,0x61,0x7e,0xa5,0xff,0x60,0x80,0xa8,0xff,0x65,0x84,0xab,
0xff,0x6a,0x89,0xae,0xff,0x6c,0x8c,0xb0,0xff,0x72,0x90,0xb4,0xff,0x7c,0x96,0xba,
0xff,0x80,0x99,0xbd,0xff,0x82,0x9a,0xbf,0xff,0x7f,0x95,0xbb,0xff,0x88,0x9a,0xc1,
0xff,0x8b,0x9f,0xc3,0xff,0x83,0x99,0xc0,0xff,0x80,0x95,0xbd,0xff,0x7f,0x93,0xbb,
0xff,0x84,0x98,0xc0,0xff,0x91,0xa2,0xc6,0xff,0x97,0xa8,0xcb,0xff,0x96,0xa7,0xcc,
0xff,0x93,0xa6,0xcf,0xff,0x90,0xa7,0xcf,0xff,0x8b,0xa8,0xd1,0xff,0x89,0xa8,0xd2,
0xff,0x8a,0xa8,0xd3,0xff,0x8f,0xaa,0xd3,0xff,0x90,0xaa,0xd5,0xff,0x8c,0xa7,0xd5,
0xff,0x81,0x9f,0xd1,0xff,0x79,0x96,0xcc,0xff,0x72,0x91,0xc6,0xff,0x5e,0x74,0xa3,
0xff,0x4a,0x54,0x70,0xff,0x3a,0x3d,0x49,0xff,0x35,0x3a,0x3b,0xff,0xa3,0xa6,0xa6,
0xff,0xfd,0xfd,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd,0xfd,0xfd,0xff,0x8d,0x8d,0x8d,
0xff,0x2b,0x31,0x2f,0xff,0x2f,0x34,0x3a,0xff,0x4d,0x5a,0x74,0xff,0x63,0x77,0x9d,
0xff,0x63,0x7a,0xa5,0xff,0x60,0x7e,0xa5,0xff,0x5d,0x7d,0xa6,0xff,0x61,0x81,0xaa,
0xff,0x61,0x81,0xab,0xff,0x63,0x83,0xad,0xff,0x66,0x82,0xad,0xff,0x6a,0x81,0xaf,
0xff,0x6a,0x81,0xae,0xff,0x66,0x80,0xaf,0xff,0x68,0x81,0xb1,0xff,0x6f,0x84,0xb4,
0xff,0x74,0x8b,0xb9,0xff,0x6e,0x87,0xb8,0xff,0x6f,0x87,0xb8,0xff,0x76,0x8a,0xb9,
0xff,0x7a,0x8f,0xbd,0xff,0x81,0x98,0xc6,0xff,0x81,0x99,0xc6,0xff,0x84,0x9b,0xc8,
0xff,0x85,0x9b,0xca,0xff,0x84,0x9e,0xcc,0xff,0x84,0xa3,0xce,0xff,0x85,0xa5,0xd0,
0xff,0x87,0xa7,0xd2,0xff,0x8d,0xa9,0xd2,0xff,0x91,0xad,0xd6,0xff,0x8c,0xa8,0xd4,
0xff,0x82,0xa0,0xd1,0xff,0x7d,0x99,0xce,0xff,0x78,0x93,0xc7,0xff,0x67,0x78,0xa7,
0xff,0x48,0x50,0x6b,0xff,0x37,0x39,0x44,0xff,0x2e,0x33,0x36,0xff,0x59,0x5d,0x5c,
0xff,0xf4,0xf4,0xf4,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xf6,0xf6,0xf6,0xff,0x76,0x76,0x76,
0xff,0x2c,0x31,0x31,0xff,0x2a,0x2d,0x33,0xff,0x48,0x4f,0x67,0xff,0x60,0x79,0x9b,
0xff,0x68,0x7e,0xa9,0xff,0x67,0x82,0xa8,0xff,0x68,0x86,0xab,0xff,0x66,0x87,0xac,
0xff,0x64,0x85,0xab,0xff,0x61,0x81,0xaa,0xff,0x64,0x81,0xae,0xff,0x64,0x7e,0xae,
0xff,0x65,0x7f,0xaf,0xff,0x66,0x81,0xaf,0xff,0x68,0x83,0xb0,0xff,0x6c,0x86,0xb3,
0xff,0x6c,0x85,0xb4,0xff,0x67,0x84,0xb3,0xff,0x71,0x89,0xb7,0xff,0x76,0x90,0xbd,
0xff,0x79,0x92,0xbf,0xff,0x76,0x92,0xc0,0xff,0x79,0x95,0xc4,0xff,0x79,0x96,0xc5,
0xff,0x79,0x97,0xc6,0xff,0x7d,0x9a,0xc9,0xff,0x82,0x9e,0xcc,0xff,0x88,0xa3,0xd0,
0xff,0x8d,0xa9,0xd2,0xff,0x8f,0xab,0xd3,0xff,0x90,0xac,0xd5,0xff,0x8e,0xa9,0xd3,
0xff,0x8a,0xa3,0xd2,0xff,0x82,0x9e,0xd0,0xff,0x78,0x97,0xc8,0xff,0x67,0x76,0xa4,
0xff,0x42,0x44,0x59,0xff,0x36,0x3b,0x3f,0xff,0x30,0x35,0x38,0xff,0x41,0x45,0x46,
0xff,0xd4,0xd5,0xd5,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xf9,0xf9,0xf9,0xff,0x76,0x77,0x77,
0xff,0x2c,0x2f,0x31,0xff,0x25,0x29,0x29,0xff,0x31,0x3b,0x46,0xff,0x5a,0x74,0x90,
0xff,0x6c,0x84,0xaa,0xff,0x6b,0x85,0xaa,0xff,0x6b,0x88,0xad,0xff,0x68,0x8a,0xae,
0xff,0x67,0x88,0xad,0xff,0x66,0x87,0xaf,0xff,0x63,0x83,0xaf,0xff,0x62,0x83,0xb1,
0xff,0x64,0x84,0xb2,0xff,0x6b,0x88,0xb4,0xff,0x70,0x8b,0xb7,0xff,0x73,0x8e,0xb9,
0xff,0x71,0x8d,0xb6,0xff,0x6e,0x8c,0xb5,0xff,0x78,0x8f,0xbb,0xff,0x7e,0x94,0xc1,
0xff,0x80,0x96,0xc2,0xff,0x7e,0x96,0xc1,0xff,0x7f,0x98,0xc2,0xff,0x82,0x9b,0xc6,
0xff,0x80,0x9d,0xcc,0xff,0x80,0x9e,0xcd,0xff,0x86,0xa1,0xd0,0xff,0x8e,0xa8,0xd5,
0xff,0x8f,0xab,0xd4,0xff,0x90,0xac,0xd5,0xff,0x91,0xad,0xd6,0xff,0x90,0xaa,0xd4,
0xff,0x8a,0xa3,0xd1,0xff,0x7f,0x9b,0xcc,0xff,0x77,0x94,0xc2,0xff,0x54,0x61,0x86,
0xff,0x32,0x35,0x3a,0xff,0x33,0x38,0x3b,0xff,0x2f,0x33,0x36,0xff,0x3c,0x41,0x42,
0xff,0xbb,0xbc,0xbc,0xff,0xfe,0xfd,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd,0xfd,0xfd,0xff,0xa4,0xa4,0xa4,
0xff,0x2f,0x33,0x32,0xff,0x22,0x27,0x26,0xff,0x1f,0x25,0x27,0xff,0x46,0x51,0x6c,
0xff,0x6a,0x7f,0xa4,0xff,0x6f,0x86,0xaa,0xff,0x70,0x8a,0xae,0xff,0x6c,0x8a,0xad,
0xff,0x67,0x89,0xad,0xff,0x68,0x8a,0xae,0xff,0x67,0x88,0xae,0xff,0x69,0x89,0xb3,
0xff,0x6c,0x8c,0xb6,0xff,0x70,0x8d,0xb7,0xff,0x74,0x90,0xb8,0xff,0x76,0x93,0xb8,
0xff,0x77,0x8f,0xb9,0xff,0x78,0x90,0xba,0xff,0x7f,0x95,0xc0,0xff,0x88,0x9c,0xc6,
0xff,0x89,0x9f,0xc5,0xff,0x8c,0xa0,0xc5,0xff,0x92,0xa6,0xcb,0xff,0x92,0xa5,0xcb,
0xff,0x8c,0xa2,0xcb,0xff,0x8a,0xa4,0xcc,0xff,0x8e,0xaa,0xd2,0xff,0x91,0xad,0xd5,
0xff,0x92,0xad,0xd5,0xff,0x92,0xaf,0xd4,0xff,0x91,0xae,0xd3,0xff,0x8d,0xab,0xd2,
0xff,0x83,0xa2,0xcf,0xff,0x7d,0x9a,0xcb,0xff,0x6c,0x84,0xb4,0xff,0x37,0x3b,0x52,
0xff,0x2d,0x31,0x34,0xff,0x33,0x36,0x3a,0xff,0x32,0x35,0x39,0xff,0x3f,0x43,0x44,
0xff,0xbf,0xc0,0xc0,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xc6,0xc6,0xc6,
0xff,0x41,0x46,0x45,0xff,0x23,0x29,0x28,0xff,0x1c,0x21,0x22,0xff,0x23,0x25,0x2d,
0xff,0x4b,0x57,0x75,0xff,0x66,0x80,0xa4,0xff,0x6f,0x8a,0xac,0xff,0x69,0x89,0xab,
0xff,0x67,0x88,0xab,0xff,0x69,0x89,0xae,0xff,0x6b,0x8a,0xaf,0xff,0x6d,0x8d,0xb2,
0xff,0x70,0x90,0xb6,0xff,0x73,0x92,0xb4,0xff,0x72,0x90,0xb4,0xff,0x71,0x8e,0xb5,
0xff,0x77,0x91,0xba,0xff,0x7a,0x93,0xbd,0xff,0x83,0x97,0xc0,0xff,0x91,0xa3,0xc6,
0xff,0x97,0xaa,0xc9,0xff,0x94,0xa9,0xc8,0xff,0x97,0xac,0xcb,0xff,0x9a,0xae,0xce,
0xff,0x99,0xac,0xcf,0xff,0x95,0xac,0xcf,0xff,0x94,0xad,0xd1,0xff,0x96,0xae,0xd2,
0xff,0x97,0xb0,0xd4,0xff,0x92,0xae,0xd3,0xff,0x8f,0xac,0xd2,0xff,0x89,0xa7,0xd0,
0xff,0x7e,0x9e,0xcb,0xff,0x71,0x8d,0xbf,0xff,0x45,0x51,0x72,0xff,0x2b,0x2c,0x2f,
0xff,0x2a,0x2d,0x2f,0xff,0x2d,0x31,0x34,0xff,0x34,0x38,0x3a,0xff,0x63,0x67,0x68,
0xff,0xd9,0xda,0xda,0xff,0xfe,0xfd,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xe6,0xe6,0xe6,
0xff,0x6d,0x70,0x70,0xff,0x2c,0x30,0x2f,0xff,0x22,0x27,0x26,0xff,0x20,0x21,0x20,
0xff,0x21,0x24,0x2c,0xff,0x49,0x57,0x70,0xff,0x60,0x76,0x98,0xff,0x55,0x6c,0x8e,
0xff,0x55,0x6b,0x8e,0xff,0x5c,0x71,0x99,0xff,0x64,0x7a,0xa2,0xff,0x66,0x7f,0xa5,
0xff,0x64,0x80,0xa9,0xff,0x63,0x80,0xa9,0xff,0x63,0x7f,0xa8,0xff,0x66,0x83,0xab,
0xff,0x6e,0x8b,0xb1,0xff,0x78,0x92,0xb8,0xff,0x89,0x9d,0xbf,0xff,0xa2,0xb0,0xc6,
0xff,0xa4,0xb5,0xca,0xff,0x9d,0xb2,0xcc,0xff,0x9b,0xb0,0xcb,0xff,0x9c,0xb0,0xcc,
0xff,0x9d,0xb1,0xcf,0xff,0x98,0xaf,0xd1,0xff,0x94,0xae,0xd2,0xff,0x91,0xab,0xd0,
0xff,0x91,0xab,0xd0,0xff,0x8f,0xa8,0xd1,0xff,0x87,0xa4,0xd0,0xff,0x7e,0x9b,0xcb,
0xff,0x71,0x8c,0xbd,0xff,0x48,0x58,0x7c,0xff,0x25,0x29,0x33,0xff,0x27,0x2a,0x2d,
0xff,0x2a,0x2e,0x2e,0xff,0x2f,0x34,0x33,0xff,0x3a,0x3f,0x3e,0xff,0x86,0x89,0x88,
0xff,0xf0,0xf0,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xea,0xea,0xea,
0xff,0xa1,0xa4,0xa0,0xff,0x3f,0x41,0x40,0xff,0x25,0x28,0x29,0xff,0x1e,0x24,0x25,
0xff,0x1e,0x21,0x21,0xff,0x25,0x26,0x29,0xff,0x3e,0x46,0x58,0xff,0x45,0x4d,0x64,
0xff,0x3e,0x43,0x5a,0xff,0x37,0x3b,0x54,0xff,0x39,0x3e,0x58,0xff,0x3d,0x46,0x61,
0xff,0x3e,0x49,0x65,0xff,0x3d,0x50,0x72,0xff,0x3f,0x54,0x79,0xff,0x43,0x58,0x7e,
0xff,0x4d,0x60,0x88,0xff,0x5b,0x6a,0x97,0xff,0x68,0x77,0xa4,0xff,0x7d,0x8d,0xb2,
0xff,0x8b,0x9f,0xbf,0xff,0x8d,0xa3,0xc2,0xff,0x94,0xaa,0xc6,0xff,0x99,0xae,0xc9,
0xff,0x9a,0xae,0xcd,0xff,0x94,0xab,0xcc,0xff,0x8f,0xa9,0xce,0xff,0x8a,0xa5,0xcd,
0xff,0x85,0xa0,0xc8,0xff,0x7d,0x93,0xc3,0xff,0x6b,0x86,0xb8,0xff,0x5a,0x72,0xa0,
0xff,0x40,0x4d,0x6f,0xff,0x27,0x2b,0x35,0xff,0x22,0x24,0x2b,0xff,0x25,0x28,0x2b,
0xff,0x2a,0x2e,0x30,0xff,0x34,0x3b,0x3b,0xff,0x56,0x5b,0x5a,0xff,0xae,0xb0,0xaf,
0xff,0xfd,0xfd,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xf9,0xf9,0xf9,
0xff,0xe3,0xe8,0xe5,0xff,0x8b,0x90,0x8d,0xff,0x38,0x3f,0x3b,0xff,0x22,0x28,0x27,
0xff,0x1e,0x20,0x20,0xff,0x1d,0x1d,0x1d,0xff,0x1f,0x22,0x23,0xff,0x2d,0x31,0x36,
0xff,0x32,0x37,0x3d,0xff,0x2a,0x2e,0x35,0xff,0x24,0x28,0x2d,0xff,0x22,0x28,0x2a,
0xff,0x22,0x28,0x2a,0xff,0x23,0x28,0x2d,0xff,0x28,0x2c,0x35,0xff,0x2f,0x32,0x3e,
0xff,0x2f,0x35,0x41,0xff,0x37,0x3b,0x4b,0xff,0x40,0x46,0x5a,0xff,0x4f,0x57,0x71,
0xff,0x5d,0x66,0x89,0xff,0x65,0x73,0x98,0xff,0x65,0x78,0x9e,0xff,0x6b,0x81,0xa7,
0xff,0x6f,0x85,0xae,0xff,0x6c,0x86,0xaf,0xff,0x6b,0x88,0xb2,0xff,0x65,0x83,0xae,
0xff,0x5e,0x7c,0xa7,0xff,0x54,0x6a,0x91,0xff,0x48,0x53,0x74,0xff,0x34,0x3b,0x4c,
0xff,0x29,0x30,0x32,0xff,0x24,0x28,0x28,0xff,0x2a,0x2d,0x31,0xff,0x31,0x34,0x38,
0xff,0x36,0x39,0x3d,0xff,0x43,0x48,0x4a,0xff,0x77,0x79,0x78,0xff,0xcf,0xcf,0xcd,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,
0xff,0xfc,0xfd,0xfd,0xff,0xe8,0xea,0xe9,0xff,0xb2,0xb5,0xb2,0xff,0x5d,0x60,0x5d,
0xff,0x30,0x31,0x2e,0xff,0x1b,0x1c,0x1a,0xff,0x18,0x19,0x18,0xff,0x1d,0x1d,0x1b,
0xff,0x22,0x25,0x27,0xff,0x28,0x2b,0x2d,0xff,0x23,0x26,0x28,0xff,0x22,0x26,0x26,
0xff,0x25,0x28,0x29,0xff,0x25,0x28,0x25,0xff,0x25,0x27,0x25,0xff,0x28,0x2a,0x2a,
0xff,0x28,0x2c,0x2e,0xff,0x2a,0x2f,0x2f,0xff,0x2c,0x30,0x31,0xff,0x30,0x33,0x38,
0xff,0x37,0x3a,0x41,0xff,0x3d,0x40,0x4c,0xff,0x3e,0x47,0x55,0xff,0x46,0x53,0x65,
0xff,0x4c,0x58,0x75,0xff,0x48,0x54,0x74,0xff,0x4a,0x5a,0x76,0xff,0x47,0x56,0x75,
0xff,0x3e,0x4f,0x6a,0xff,0x37,0x3b,0x4f,0xff,0x2f,0x30,0x39,0xff,0x27,0x2c,0x2b,
0xff,0x25,0x28,0x2a,0xff,0x25,0x2a,0x29,0xff,0x2d,0x2f,0x2f,0xff,0x38,0x3a,0x3b,
0xff,0x45,0x46,0x47,0xff,0x71,0x74,0x6f,0xff,0xba,0xba,0xb7,0xff,0xfa,0xfa,0xf8,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd,0xff,0xed,0xed,0xec,0xff,0xa3,0xa4,0xa0,
0xff,0x47,0x48,0x44,0xff,0x24,0x25,0x23,0xff,0x1b,0x1b,0x1b,0xff,0x17,0x18,0x18,
0xff,0x17,0x1b,0x1b,0xff,0x1c,0x21,0x20,0xff,0x1b,0x20,0x1f,0xff,0x1e,0x23,0x22,
0xff,0x20,0x25,0x24,0xff,0x22,0x24,0x23,0xff,0x25,0x25,0x25,0xff,0x27,0x28,0x28,
0xff,0x26,0x2b,0x2a,0xff,0x22,0x27,0x26,0xff,0x22,0x26,0x27,0xff,0x22,0x25,0x29,
0xff,0x27,0x2a,0x2e,0xff,0x2b,0x2c,0x31,0xff,0x2c,0x30,0x34,0xff,0x2b,0x32,0x35,
0xff,0x2d,0x33,0x35,0xff,0x2c,0x30,0x37,0xff,0x32,0x36,0x3b,0xff,0x2c,0x2e,0x37,
0xff,0x27,0x2a,0x2e,0xff,0x20,0x23,0x26,0xff,0x1c,0x20,0x21,0xff,0x1d,0x22,0x21,
0xff,0x22,0x27,0x26,0xff,0x2a,0x2f,0x2e,0xff,0x3f,0x41,0x3e,0xff,0x71,0x73,0x6e,
0xff,0xae,0xaf,0xab,0xff,0xe0,0xe2,0xdd,0xff,0xfb,0xfb,0xfb,0xff,0xfe,0xfe,0xfe,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf5,0xf5,0xf5,
0xff,0x8c,0x8d,0x8b,0xff,0x3f,0x40,0x3e,0xff,0x24,0x24,0x24,0xff,0x1e,0x1e,0x1e,
0xff,0x1d,0x1d,0x1d,0xff,0x1d,0x1d,0x1d,0xff,0x1c,0x1f,0x1f,0xff,0x1d,0x23,0x22,
0xff,0x1e,0x20,0x20,0xff,0x1f,0x1f,0x1f,0xff,0x1c,0x1c,0x1c,0xff,0x1f,0x20,0x20,
0xff,0x1f,0x20,0x1f,0xff,0x22,0x23,0x23,0xff,0x23,0x23,0x23,0xff,0x20,0x21,0x21,
0xff,0x24,0x25,0x26,0xff,0x2a,0x2a,0x2a,0xff,0x26,0x26,0x27,0xff,0x26,0x26,0x27,
0xff,0x27,0x27,0x27,0xff,0x24,0x25,0x25,0xff,0x1f,0x20,0x23,0xff,0x1d,0x20,0x24,
0xff,0x19,0x1c,0x1f,0xff,0x16,0x1b,0x1a,0xff,0x1e,0x23,0x22,0xff,0x24,0x29,0x27,
0xff,0x36,0x3b,0x37,0xff,0x52,0x58,0x53,0xff,0x84,0x87,0x81,0xff,0xa2,0xa4,0x9e,
0xff,0xd5,0xd7,0xd1,0xff,0xf9,0xf9,0xf8,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,
0xff,0xe5,0xe5,0xe4,0xff,0x9e,0x9f,0x9d,0xff,0x5b,0x5b,0x5b,0xff,0x34,0x34,0x34,
0xff,0x2c,0x2c,0x2c,0xff,0x2b,0x2b,0x2b,0xff,0x25,0x28,0x27,0xff,0x1d,0x22,0x21,
0xff,0x1c,0x1e,0x1e,0xff,0x1b,0x1b,0x1b,0xff,0x1d,0x1d,0x1d,0xff,0x22,0x22,0x21,
0xff,0x22,0x22,0x22,0xff,0x21,0x21,0x21,0xff,0x22,0x22,0x22,0xff,0x26,0x26,0x26,
0xff,0x29,0x29,0x29,0xff,0x26,0x26,0x26,0xff,0x28,0x28,0x28,0xff,0x28,0x28,0x28,
0xff,0x2a,0x2a,0x2a,0xff,0x27,0x27,0x27,0xff,0x27,0x28,0x2b,0xff,0x20,0x23,0x26,
0xff,0x1e,0x21,0x24,0xff,0x21,0x25,0x25,0xff,0x2e,0x33,0x32,0xff,0x49,0x4e,0x4c,
0xff,0x81,0x87,0x82,0xff,0xad,0xb3,0xae,0xff,0xdf,0xe0,0xde,0xff,0xf9,0xf9,0xf8,
0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,
0xff,0xff,0xff,0xfe,0xff,0xfb,0xfb,0xf9,0xff,0xdd,0xdf,0xda,0xff,0xae,0xb0,0xab,
0xff,0x80,0x87,0x82,0xff,0x50,0x54,0x4f,0xff,0x3f,0x42,0x3f,0xff,0x2b,0x30,0x2f,
0xff,0x25,0x2a,0x29,0xff,0x25,0x27,0x24,0xff,0x28,0x29,0x25,0xff,0x27,0x28,0x24,
0xff,0x22,0x22,0x22,0xff,0x23,0x23,0x23,0xff,0x2b,0x2b,0x2a,0xff,0x2e,0x2f,0x2b,
0xff,0x29,0x2a,0x26,0xff,0x2b,0x2b,0x2b,0xff,0x2e,0x2e,0x2e,0xff,0x2b,0x2b,0x2b,
0xff,0x2a,0x2b,0x2b,0xff,0x2c,0x2d,0x2d,0xff,0x2c,0x2c,0x2c,0xff,0x2f,0x2f,0x2f,
0xff,0x42,0x42,0x42,0xff,0x61,0x62,0x5e,0xff,0x82,0x83,0x7f,0xff,0x9f,0x9f,0x9d,
0xff,0xdc,0xdc,0xdc,0xff,0xf6,0xf6,0xf6,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfd,
0xff,0xe1,0xe1,0xde,0xff,0xc0,0xc4,0xc0,0xff,0xa4,0xaa,0xa7,0xff,0x61,0x65,0x63,
0xff,0x39,0x3d,0x3b,0xff,0x2e,0x31,0x2d,0xff,0x2e,0x30,0x2c,0xff,0x2d,0x2f,0x2b,
0xff,0x2f,0x2f,0x2f,0xff,0x2d,0x2d,0x2d,0xff,0x2c,0x2d,0x2b,0xff,0x29,0x2b,0x28,
0xff,0x27,0x29,0x26,0xff,0x2d,0x2d,0x2d,0xff,0x2e,0x2e,0x2e,0xff,0x32,0x33,0x33,
0xff,0x32,0x38,0x37,0xff,0x39,0x3f,0x3e,0xff,0x4c,0x4e,0x4e,0xff,0x78,0x78,0x78,
0xff,0xac,0xac,0xac,0xff,0xd0,0xd1,0xce,0xff,0xe9,0xea,0xe7,0xff,0xfc,0xfc,0xfa,
0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xfe,0xfe,0xfe,0xff,0xfc,0xfc,0xfc,0xff,0xf4,0xf4,0xf3,0xff,0xdb,0xdd,0xd8,
0xff,0xb4,0xb6,0xb2,0xff,0x50,0x55,0x50,0xff,0x37,0x3d,0x38,0xff,0x2a,0x30,0x2b,
0xff,0x33,0x33,0x33,0xff,0x38,0x38,0x38,0xff,0x33,0x35,0x35,0xff,0x2f,0x34,0x33,
0xff,0x30,0x35,0x34,0xff,0x36,0x37,0x35,0xff,0x4c,0x4c,0x4a,0xff,0x60,0x61,0x5e,
0xff,0x8e,0x91,0x8b,0xff,0xbf,0xc2,0xbd,0xff,0xca,0xcc,0xca,0xff,0xeb,0xeb,0xeb,
0xff,0xf7,0xf7,0xf7,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfd,
0xff,0xfd,0xfe,0xfd,0xff,0xdd,0xe0,0xde,0xff,0xa4,0xa7,0xa4,0xff,0x63,0x66,0x63,
0xff,0x45,0x45,0x45,0xff,0x51,0x51,0x51,0xff,0x55,0x57,0x55,0xff,0x65,0x69,0x65,
0xff,0x81,0x84,0x81,0xff,0xb0,0xb2,0xae,0xff,0xd3,0xd4,0xd0,0xff,0xef,0xef,0xec,
0xff,0xfc,0xfb,0xfb,0xff,0xfe,0xfc,0xfc,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd,
0xff,0xd6,0xd6,0xd6,0xff,0xc8,0xc8,0xc8,0xff,0xe8,0xe9,0xe7,0xff,0xf8,0xf9,0xf6,
0xff,0xfd,0xfd,0xfa,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// C:/Users/andgc/Desktop/VisualClipper/VisualClipper/VisualClipper.ico
0x0,0x0,0x0,0xf1,
0x0,
0x0,0x6,0x7e,0x78,0x9c,0xed,0xd0,0x31,0x6b,0x2,0x41,0x10,0x5,0xe0,0x11,0x82,
0xb5,0x95,0xa4,0xb1,0xb1,0xa,0x6,0xc2,0xfd,0x24,0xa3,0x42,0x52,0x6b,0x71,0x45,
0xc,0x5e,0x61,0x6f,0x9b,0x10,0xac,0x6c,0x25,0x8d,0x85,0x88,0x88,0x7,0x96,0x82,
0x7d,0x8,0xba,0xd8,0x28,0x28,0xb9,0x53,0x44,0x57,0x14,0x5c,0xdf,0xec,0x58,0xa7,
0x8a,0xa4,0xb9,0x37,0x3b,0xfb,0x2d,0x53,0x2c,0xcb,0x12,0xc5,0x50,0x8e,0x93,0x20,
0xa2,0x1b,0x7a,0x8e,0x13,0x25,0x71,0xba,0x43,0x3b,0xe8,0x2c,0x3a,0x86,0x39,0xc7,
0x13,0x6c,0x12,0x97,0x96,0x78,0x76,0x91,0xe7,0x9,0x5c,0x38,0xf8,0xbe,0xf,0x79,
0x62,0xec,0x22,0x63,0x4,0x2e,0x1e,0xf1,0x16,0x25,0x4a,0x94,0x28,0xff,0x14,0x63,
0x73,0xd,0x6b,0x35,0x51,0x29,0x31,0xc,0xd9,0xe9,0xec,0x71,0xba,0x56,0x44,0x93,
0xc5,0x67,0x10,0xc0,0xbe,0xeb,0xba,0xf9,0x10,0x6a,0xb7,0xdd,0xb4,0x96,0x5a,0xed,
0x27,0x78,0xec,0x74,0x5a,0x45,0x78,0x48,0xe7,0xca,0x5,0x22,0xd5,0x95,0x7b,0x55,
0x4f,0x9c,0xa7,0xfa,0xd6,0xfd,0xd7,0xef,0xef,0xd0,0xb3,0xdb,0xb7,0x77,0xb8,0x59,
0x2c,0xef,0x33,0x70,0xbb,0xfb,0xf9,0xa8,0xb3,0xba,0xfe,0x3d,0x86,0x3b,0xfd,0x3a,
0x66,0xf5,0x4b,0x31,0x18,0xc1,0x63,0xa3,0x1a,0x3e,0xb0,0xb8,0xfe,0xc4,0xe2,0xf5,
0xa6,0x2,0x87,0xe2,0x6a,0x80,0x79,0xe5,0xef,0xfe,0xe9,0xc,0x93,0xda,0x19,0xf0,
};
static const unsigned char qt_resource_name[] = {
// VisualClipper
0x0,0xd,
0x4,0x25,0x7,0xa2,
0x0,0x56,
0x0,0x69,0x0,0x73,0x0,0x75,0x0,0x61,0x0,0x6c,0x0,0x43,0x0,0x6c,0x0,0x69,0x0,0x70,0x0,0x70,0x0,0x65,0x0,0x72,
// forward.png
0x0,0xb,
0x8,0x5d,0x84,0xe7,
0x0,0x66,
0x0,0x6f,0x0,0x72,0x0,0x77,0x0,0x61,0x0,0x72,0x0,0x64,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
// reverse.png
0x0,0xb,
0x9,0x69,0xce,0xc7,
0x0,0x72,
0x0,0x65,0x0,0x76,0x0,0x65,0x0,0x72,0x0,0x73,0x0,0x65,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67,
// gaochong.ico
0x0,0xc,
0xb,0xfa,0xfc,0x7f,
0x0,0x67,
0x0,0x61,0x0,0x6f,0x0,0x63,0x0,0x68,0x0,0x6f,0x0,0x6e,0x0,0x67,0x0,0x2e,0x0,0x69,0x0,0x63,0x0,0x6f,
// VisualClipper.ico
0x0,0x11,
0x7,0xad,0x5,0x9f,
0x0,0x56,
0x0,0x69,0x0,0x73,0x0,0x75,0x0,0x61,0x0,0x6c,0x0,0x43,0x0,0x6c,0x0,0x69,0x0,0x70,0x0,0x70,0x0,0x65,0x0,0x72,0x0,0x2e,0x0,0x69,0x0,0x63,0x0,0x6f,
};
static const unsigned char qt_resource_struct[] = {
// :
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/VisualClipper
0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x4,0x0,0x0,0x0,0x2,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
// :/VisualClipper/VisualClipper.ico
0x0,0x0,0x0,0x76,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x47,0x47,
0x0,0x0,0x1,0x67,0xa1,0x3,0xd7,0xc,
// :/VisualClipper/forward.png
0x0,0x0,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,
0x0,0x0,0x1,0x67,0xa1,0x24,0x8a,0x70,
// :/VisualClipper/reverse.png
0x0,0x0,0x0,0x3c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x2,0x8d,
0x0,0x0,0x1,0x67,0xa1,0x24,0xb2,0x40,
// :/VisualClipper/gaochong.ico
0x0,0x0,0x0,0x58,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x5,0x5,
0x0,0x0,0x1,0x67,0xa1,0x27,0x66,0xbd,
};
#ifdef QT_NAMESPACE
# define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name
# define QT_RCC_MANGLE_NAMESPACE0(x) x
# define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b
# define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b)
# define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \
QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE))
#else
# define QT_RCC_PREPEND_NAMESPACE(name) name
# define QT_RCC_MANGLE_NAMESPACE(name) name
#endif
#ifdef QT_NAMESPACE
namespace QT_NAMESPACE {
#endif
bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *);
#ifdef QT_NAMESPACE
}
#endif
int QT_RCC_MANGLE_NAMESPACE(qInitResources_VisualClipper)();
int QT_RCC_MANGLE_NAMESPACE(qInitResources_VisualClipper)()
{
QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData)
(0x2, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_VisualClipper)();
int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_VisualClipper)()
{
QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData)
(0x2, qt_resource_struct, qt_resource_name, qt_resource_data);
return 1;
}
namespace {
struct initializer {
initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources_VisualClipper)(); }
~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_VisualClipper)(); }
} dummy;
}
| [
"371552045@qq.com"
] | 371552045@qq.com |
37e13704bd58b0d4945025e53de8b389fbba2fae | d6135170e6156a12d4f64cff0373ee0b00ca644b | /tensorflow/compiler/xla/service/gpu/ir_emission_utils.h | 4e0e828eee2a8497ebdcb278a3ad0d7f2313e96d | [
"Apache-2.0"
] | permissive | eladeban/tensorflow | 12499b0972b8aafde277b61da7bbdb1c59aa1d2a | 0d4485677356a761f21ad7223759cd89bcc9034c | refs/heads/master | 2020-06-04T03:28:24.373618 | 2019-06-13T22:37:52 | 2019-06-13T22:49:52 | 191,843,388 | 4 | 1 | Apache-2.0 | 2019-06-13T22:54:36 | 2019-06-13T22:54:36 | null | UTF-8 | C++ | false | false | 9,793 | h | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_GPU_IR_EMISSION_UTILS_H_
#define TENSORFLOW_COMPILER_XLA_SERVICE_GPU_IR_EMISSION_UTILS_H_
#include <utility>
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Value.h"
#include "tensorflow/compiler/xla/service/hlo_instruction.h"
#include "tensorflow/compiler/xla/service/hlo_instructions.h"
// TODO(jlebar): Move functions related to cublas/cudnn to a separate file; they
// don't belong in "ir_emission_utils".
namespace xla {
namespace gpu {
// Different types of convolutions supported by cudnn.
//
// A way to think about these is that a convolution is defined by three arrays
// -- the "input", the "filter", and the "output" -- and given any two of these,
// we can compute the third. For example, a backward-input convolution takes as
// input a filter and an "output" and produces an "input" such that if one were
// to do a forward convolution of "input" using filter, the result would be
// something with the same shape as "output".
//
// This way of thinking is not correct if you look at the values produced. For
// example, a backward-input convolution is not actually the mathematical
// inverse of a forward convolution. But it's right as far as the shapes and
// "connectivity" (i.e. which elements of the input affect which elements of
// the output) are concerned.
enum class CudnnConvKind {
kForward, // input + filter => output
kBackwardInput, // filter + output => input
kBackwardFilter, // input + output => filter
kForwardActivation, // activation(conv(input, filter) + broadcast(bias) +
// (optionally) side_input) => output
};
StatusOr<CudnnConvKind> GetCudnnConvKind(const HloCustomCallInstruction* instr);
// Converts a CudnnConvKind value to a string.
string CudnnConvKindToString(CudnnConvKind kind);
constexpr int64 kWarpSize = 32;
// Returns true if `hlo` will be implemented as a call to BLAS gemm.
//
// Precondition: `hlo` is in an "unnested context", meaning, it lives within the
// entry computation, within the either of a while loop's subcomputations,
// within any of a conditional's subcomputations, etc., but *does not* live
// within a reduce subcomputation, a map subcomputation, a fusion
// subcomputation, etc. It's OK if `hlo` *is* a fusion.
bool ImplementedAsGemm(const HloInstruction& hlo);
// A call to cuDNN for batch normalization is represented as CustomCall HLO with
// a call target equal to one of these strings.
//
// The operands to and outputs of these calls are the same as those of the
// corresponding HLOs, except:
//
// - epsilon and feature_index are proper operands, at the end of the operands
// list. They must be HLO constants.
// - The cuDNN forward training call returns inv_stddev =
// 1/sqrt(variance + epsilon) in place of plain variance.
// - Similarly, BatchNormGrad accepts inv_stddev in place of the variance
// operand.
extern const char* const kCudnnBatchNormForwardInferenceCallTarget;
extern const char* const kCudnnBatchNormForwardTrainingCallTarget;
extern const char* const kCudnnBatchNormBackwardCallTarget;
// Returns true if `hlo` will be implemented as a call to a cuDNN batch
// normalization routine.
//
// This returns true if `hlo` is a CustomCall HLO with a call target equal to
// one of the kCudnnBatchNormFoo constants above, but returns *false* for HLOs
// with one of the kBatchNorm opcodes, because these are lowered either to a
// sequence of generic HLOs or to a cuDNN CustomCall.
bool IsCustomCallToDnnBatchNorm(const HloInstruction& hlo);
// A call to cuDNN for convolution (forward, backward filter, or backward input)
// is represented as a CustomCall HLO with a call target equal to one of these
// strings.
//
// These CustomCalls have window() and convolution_dimension_numbers() set like
// regular convolution ops. They have the same LHS and RHS operands, plus two
// additional constant operands: an int64 operand for the cudnn algorithm and
// a bool operand for whether tensor_ops is enabled. A value of -1 for the cudnn
// algorithm means that the implementation is free to choose the best algorithm
// it can.
//
// These calls output a tuple (conv_result, scratch_memory), where conv_result
// is the actual result of the convolution, and scratch_memory is temporary
// memory used by cudnn. Callers shouldn't inspect scratch_memory, as its value
// is not well-defined.
//
// CudnnConvRewriter lowers kConvolution HLOs to these custom calls.
// When it does so, it chooses algorithm -1 and 0 bytes of scratch space. Later
// on in the pipeline, CudnnConvAlgorithmChooser chooses an explicit
// algorithm for each conv and sets the amount of scratch space needed.
//
// (Representing the scratch memory as an output may seem strange at first, but
// it's quite sensible, from a certain point of view. The scratch buffer is a
// location in memory that the conv can write into, but which it can't legally
// read from, at least until it's written something first. But that's exactly
// the definition of an output buffer.)
extern const char* const kCudnnConvForwardCallTarget;
extern const char* const kCudnnConvBackwardInputCallTarget;
extern const char* const kCudnnConvBackwardFilterCallTarget;
extern const char* const kCudnnConvBiasActivationForwardCallTarget;
// Returns true if `hlo` will be implemented as a call to a cuDNN convolution
// routine.
//
// This returns true if `hlo` is a CustomCall HLO with a call target equal to
// one of the kCudnnConvFoo constants above, but returns *false* for HLOs with a
// kConvolution opcode.
bool IsCustomCallToDnnConvolution(const HloInstruction& hlo);
// Returns true if `hlo` will be implemented as a call to a cuSolver routine.
//
// This returns true if `hlo` is a CustomCall HLO with a call target equal to
// one of the kCusolver... constants, but returns *false* for HLOs with
// say, a kCholesky opcode.
bool IsCustomCallToCusolver(const HloInstruction& hlo);
// Cholesky decomposition. Takes a (batched) matrix as input, and returns a
// tuple of (result, workspace, info), where result is the result of the
// Cholesky decomposition, workspace is scratch space for cuSolver, and info
// is a success/failure code per batch element.
extern const char* const kCusolverCholeskyCallTarget;
// Returns true if `hlo` will be implemented as a library call, e.g. cuBLAS gemm
// or cuDNN convolution.
bool ImplementedAsLibraryCall(const HloInstruction& hlo);
// Returns true if either the dimensions being reduced or the dimensions being
// kept are contiguous in the input of the reduce instruction.
bool IsReductionFromOrToContiguousDimensions(const HloInstruction& reduce);
// Given the input shape and dimensions to reduce for a reduction, returns
// <is_row_reduction, DimensionVector>:
// is_row_reduction: indicates whether the reduction is a row reduction or a
// column reduction.
// DimensionVector: contains the size of the three contiguous components for the
// reduction [depth, height, width]. For row reduction, height is the size of
// the dimensions to keep, depth is the size of the dimensions to reduce that
// are more major than the dimensions to keep, and width is the size of the
// dimensions to reduce that are more minor than the dimensions to keep. For
// column reduction, height is the size of dimensions to reduce, depth is the
// the size of the dimensions to keep that are more major than the dimensions
// to reduce, and width is the size of the dimensions to keep that are more
// minor than the dimensions to reduce.
//
// Prerequisite: the reduction instruction passes the check
// IsReductionFromOrToContiguousDimensions, which guarantees either the
// dimensions to reduce or the dimensions to keep are consecutive.
std::pair<bool, DimensionVector> GetReductionKindAndContiguousComponents(
const Shape& input_shape, absl::Span<const int64> dims_to_reduce);
// Emits call to "vprintf" with given format and arguments.
llvm::Value* EmitPrintf(absl::string_view fmt,
absl::Span<llvm::Value* const> arguments,
llvm::IRBuilder<>* builder);
// Emits code to shuffle data between threads of a warp. This has the same
// semantics as the PTX "shfl.sync.down" instruction but works for values that
// aren't 32 bits in size. The last operand of the emitted "shfl" is
// `kWarpSize - 1`.
//
// This function emits a "full-warp" shuffle, which all threads of a warp
// participate in. *Do not use this function from a divergent context:* You
// can't correctly do so on both Volta and earlier GPUs.
//
// https://docs.nvidia.com/cuda/parallel-thread-execution/#data-movement-and-conversion-instructions-shfl-sync
llvm::Value* EmitFullWarpShuffleDown(llvm::Value* value, llvm::Value* offset,
llvm::IRBuilder<>* builder);
// Emits code that determines whether the current thread is thread 0 within
// block 0 of the kernel.
llvm::Value* IsBlock0Thread0(llvm::IRBuilder<>* b);
} // namespace gpu
} // namespace xla
#endif // TENSORFLOW_COMPILER_XLA_SERVICE_GPU_IR_EMISSION_UTILS_H_
| [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
f5ebeb4e1e03b48d7e7ffa0d681a42d537c4c64c | d344de8e32f82bc2596a01eac6ca1b109884bd06 | /Competive Programming/coding blocks/coding blocks/stl assignments/median.cpp | 598c8ba9af2182fa53f47a218aedafb0650e5119 | [] | no_license | vijaygwala/MyCodingStyle- | 214e9149ccbb33b21d2132dd0a7d85272d438f16 | 39d75463ec8af798df7d013efc940de89a447009 | refs/heads/master | 2022-10-06T07:55:46.928080 | 2020-06-05T15:55:31 | 2020-06-05T15:55:31 | 268,440,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
int a[n],b[n],c[2*n],k=0;
for(int i=0;i<n;i++)
{
cin>>a[i];
c[k++]=a[i];
}
for(int i=0;i<n;i++)
{
cin>>b[i];
c[k++]=b[i];
}
sort(c,c+(2*n));
int median=((0+(2*n)-1))/2;
cout<<c[median]<<endl;
}
| [
"vijaygwala97@gmail.com"
] | vijaygwala97@gmail.com |
846e20d5421348d27811734dfc8bd7bd40e85041 | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re110_2/51/uniform/time | da28f5c609b5d16212540f6150d9ec192c9eb34f | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 823 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "51/uniform";
object time;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
value 51.0000000000163638;
name "51";
index 25500;
deltaT 0.002;
deltaT0 0.002;
// ************************************************************************* //
| [
"chaseguy15"
] | chaseguy15 | |
a5618607bda75947a902af29a39d5af41c7cba26 | 715c86bb9b3689cdc86300cf4fa824a3864b1b3f | /src/Distributed/dbgatewaysvc/test_sql.hpp | dfd76ee77b19b89f50ee56c25591d3eacd8a28a1 | [] | no_license | Ivanhan2018/zsbbserver | cb94a2353453bd41ce237aa27865b491be04d9fd | 02a3827099b93f93a2e1aeb6460f6eede57ed8ee | refs/heads/master | 2022-01-30T07:48:41.497675 | 2022-01-15T01:04:28 | 2022-01-15T01:04:28 | 168,654,088 | 4 | 9 | null | null | null | null | GB18030 | C++ | false | false | 14,977 | hpp | #ifndef __INCLUDE_TEST_SQL_H__
#define __INCLUDE_TEST_SQL_H__
#include <iostream>
#include <stdio.h>
#include "db_table.h"
#include <time.h>
#define OTL_STL
#define OTL_ODBC
#if defined (WIN32)
#define OTL_BIGINT __int64
#else
#define OTL_BIGINT long long
#endif
#include "otlv4.h"
otl_connect db_;
char buf[10000000];
template < class type, class func > void sql_test_perf(func f)
{
type t;
db_.set_max_long_size(10000000);
otl_stream o;
std::string count = "select count(1) from ";
count += type::getname();
int pos, i;
long it, ut, dt;
std::string del = "delete from ";
del += type::getname();
otl_cursor::direct_exec(db_, del.c_str());
db_.commit();
pos = 0;
pos += sprintf(buf, "%s", "exec(\'");
it = GetTickCount();
for (i = 0; i < 2000; i++)
{
f(t, i + 1);
pos += t.get_insert_str(buf + pos);
}
pos += sprintf(buf + pos, "%s", " \')");
buf[pos] = '\0';
otl_cursor::direct_exec(db_, buf);
db_.commit();
it = GetTickCount() - it;
o.open(count.size(), count.c_str(), db_);
o >> pos;
o.close();
if (pos == 0) throw std::runtime_error("记录添加失败");
pos = 0;
pos += sprintf(buf, "%s", "exec(\'");
ut = GetTickCount();
for (i = 0; i < 2000; i++)
{
f(t, i + 1);
pos += t.get_update_str(buf + pos, t);
}
pos += sprintf(buf + pos, "%s", " \')");
buf[pos] = '\0';
otl_cursor::direct_exec(db_, buf);
db_.commit();
ut = GetTickCount() - ut;
pos = 0;
pos += sprintf(buf, "%s", "exec(\'");
dt = GetTickCount();
for (i = 0; i < 2000; i++)
{
f(t, i + 1);
pos += t.get_delete_str(buf + pos);
}
pos += sprintf(buf + pos, "%s", " \')");
buf[pos] = '\0';
otl_cursor::direct_exec(db_, buf);
db_.commit();
dt = GetTickCount() - dt;
o.open(count.size(), count.c_str(), db_);
o >> pos;
o.close();
if (pos != 0) throw std::runtime_error("记录删除失败");
printf("表 %s 操作次数 %d 插入耗时(%d) 更新耗时(%d) 删除耗时(%d)\n", type::getname(), i * 3, it, ut, dt);
Sleep(1);
}
//void GameCityInfo_func(GameCityInfo & t, int i)
//{
// t.setmasterid(i);
// t.setdetailid(i);
//}
void PlayerSoldierRace_func(PlayerSoldierRace & t, int i)
{
t.setmasterid(i, i);
t.completetimes_ = time(0);
t.setdetailid(i);
}
void ProductionAmount_func(ProductionAmount & t, int i)
{
t.setmasterid(i, i, i, i);
t.setdetailid(i);
}
//void ConstructionConfigure_func(ConstructionConfigure & t, int i)
//{
// t.setid(i, i);
// t.completetimes_ = time(0);
//}
//void ResearchConfigure_func(ResearchConfigure & t, int i)
//{
// t.setmasterid(i);
// t.setdetailid(i, i);
// t.completetimes_ = time(0);
//}
void PlayerConstruction_func(PlayerConstruction & t, int i)
{
t.setmasterid(i, i, i);
t.setdetailid(i);
t.completetimes_ = time(0);
}
void PlayerResource_func(PlayerResource & t, int i)
{
t.setmasterid(i, i);
t.setdetailid(i);
t.completetimes_ = time(0);
}
void ArmyTable_func(ArmyTable & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
void Market_func(Market & t, int i)
{
t.setmasterid(i, i);
t.setdetailid(i);
t.starttime_ = time(0);
}
void ConstructionBuild_func(ConstructionBuild & t, int i)
{
t.setmasterid(i, i, i);
t.setdetailid(i, i, i);
t.starttime_ = time(0);
}
void ProductionActivity_func(ProductionActivity & t, int i)
{
t.setmasterid(i, i, i, i);
t.setdetailid(i, i, i);
t.starttime_ = time(0);
}
void ConsortiaInfo_func(ConsortiaInfo & t, int i)
{
t.setid(i);
t.createtime_ = time(0);
}
void ConsortiaBank_func(ConsortiaBank & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
t.itemcount_ = i;
}
void ConsortiaUnion_func(ConsortiaUnion & t, int i)
{
t.setid(i, i);
}
void PlayerOfficerItemTable_func(PlayerOfficerItemTable & t, int i)
{
t.setmasterid(i, i);
t.setdetailid(i);
}
void PlayerItemStorageTable_func(PlayerItemStorageTable & t, int i)
{
t.setmasterid(i, i);
t.setdetailid(i);
}
void SoldierParamTable_func(SoldierParamTable & t, int i)
{
t.setid(i);
}
void PlayerOfficerTable_func(PlayerOfficerTable & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
t.updatetime_ = t.gbhtime_ = time(0);
}
void PlayerTask_func(PlayerTask & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
t.tasktime_ = time(0);
}
void ConsortiaPersonnel_func(ConsortiaPersonnel & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
void CellPrice_func(CellPrice & t, int i)
{
t.setid(i);
}
void CityAttribute_func(CityAttribute & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
//void CreateConsortia_func(CreateConsortia & t, int i)
//{
// t.setid(i);
//}
void ConsortiaFight_func(ConsortiaFight & t, int i)
{
t.setmasterid(i);
t.setdetailid(i, i);
t.time_ = time(0);
}
//void TaskBaseTable_func(TaskBaseTable & t, int i)
//{
// t.setid(i);
//}
//void ProduceConfigure_func(ProduceConfigure & t, int i)
//{
// t.setmasterid(i);
// t.setdetailid(i, i);
// t.completetimes_ = time(0);
//}
void ChatRoomTable_func(ChatRoomTable & t, int i)
{
t.setid(i);
}
void PlayerChatRoomTable_func(PlayerChatRoomTable & t, int i)
{
t.setid(i);
}
void PlayerCity_func(PlayerCity & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
void OfficerRaceAttribute_func(OfficerRaceAttribute & t, int i)
{
t.setid(i);
}
//void WeaponAttribute_func(WeaponAttribute & t, int i)
//{
// t.setmasterid(i);
// t.setdetailid(i);
//}
//void DefendAttribute_func(DefendAttribute & t, int i)
//{
// t.setid(i);
//}
void ArmyOutTable_func(ArmyOutTable & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
t.starttime_ = time(0);
}
//void OfficerTech_func(OfficerTech & t, int i)
//{
// t.setmasterid(i);
// t.setdetailid(i);
//}
void NPC_func(NPC & t, int i)
{
t.setid(i);
}
void MapInfoTable_func(MapInfoTable & t, int i)
{
t.setid(i);
}
void ResearchItem_func(ResearchItem & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i);
}
void EctypeBaseTable_func(EctypeBaseTable & t, int i)
{
t.setid(i);
}
void NPCArmyTable_func(NPCArmyTable & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
void PlayerCaptiveHero_func(PlayerCaptiveHero & t, int i)
{
t.setmasterid(i);
t.setdetailid(i, i, i);
}
//void EquipAttribute_func(EquipAttribute & t, int i)
//{
// t.setid(i);
//}
void WarNote_func(WarNote & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i);
}
void PullulateNote_func(PullulateNote & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i);
}
void FirendTable_func(FirendTable & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i);
}
//void ConsortiaOfficial_func(ConsortiaOfficial & t, int i)
//{
// t.setid(i);
//}
void LoadMaterial_func(LoadMaterial & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i,i);
}
void Treasury_func(Treasury & t, int i)
{
t.setid(i);
}
//void CardConfig_func(CardConfig & t, int i)
//{
// t.setid(i);
//}
void PublicBuildParamTable_func(PublicBuildParamTable & t, int i)
{
t.setid(i,i);
}
void PublicBuildTable_func(PublicBuildTable & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
void PlayerProduceState_func(PlayerProduceState & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
//void JobParam_func(JobParam & t, int i)
//{
// t.setid(i);
//}
//void BinConfig_func(BinConfig & t, int i)
//{
// t.setid(i);
//}
void EquipAntagonism_func(EquipAntagonism & t, int i)
{
t.setid(i,i);
}
void BatttleField_func(BatttleField & t, int i)
{
t.setid(i);
}
void ConsortiaCompare_func(ConsortiaCompare & t, int i)
{
t.setid(i);
}
void PlayerCompare_func(PlayerCompare & t, int i)
{
t.setid(i);
}
void Council_func(Council & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i);
}
void Candidate_func(Candidate & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i);
}
void Ballot_func(Ballot & t, int i)
{
t.setmasterid(i,i);
t.setdetailid(i);
}
void Country_func(Country & t, int i)
{
t.setid(i);
}
void ResearchActivity_func(ResearchActivity & t, int i)
{
t.setmasterid(i);
t.setdetailid(i,i);
}
void LevySoldierActivity_func(LevySoldierActivity & t, int i)
{
t.setmasterid(i,i,i);
t.setdetailid(i);
}
void MailTable_func(MailTable & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
void NewsTable_func(NewsTable & t, int i)
{
t.setid(i);
}
void OfficerJobAttribute_func(OfficerJobAttribute & t, int i)
{
t.setid(i);
}
void ChargeSvrTimer_func(ChargeSvrTimer & t, int i)
{
t.setmasterid(i);
t.setdetailid(i);
}
void sql_test_mailtable()
{
struct mystruct
{
int id;
char name[14];
int tel;
char addr[20];
};
otl_cursor::direct_exec(db_, "delete from MailTable");
db_.commit();
MailTable t;
t.setmasterid(1);
t.setdetailid(1);
mystruct * ms = (mystruct *)t.pertain_;
ms->id = 100;
strcpy(ms->name, "wangshenwang");
ms->tel = 1234567;
strcpy(ms->addr, "test test");
otl_stream o;
int len = t.get_insert_str(buf);
otl_cursor::direct_exec(db_, buf);
db_.commit();
std::string str = t.get_select_str();
o.open(str.size(), str.c_str(), db_);
MailTable t1;
o >> t1;
mystruct * ms1;
ms1 = (mystruct *)t1.pertain_;
if ((ms1->id != ms->id) ||
(strcmp(ms1->name, ms->name)) ||
(ms1->tel != ms->tel) ||
(strcmp(ms1->addr, ms->addr)))
printf("sql_test_mailtable 写内存失败\n");
else
printf("sql_test_mailtable 写内存成功\n");
}
void sql_test_NewsTable()
{
struct mystruct
{
int id;
char name[14];
int tel;
char addr[20];
};
otl_cursor::direct_exec(db_, "delete from NewsTable");
db_.commit();
NewsTable t;
t.setid(1);
mystruct * ms = (mystruct *)t.content_;
ms->id = 100;
strcpy(ms->name, "wangshenwang");
ms->tel = 1234567;
strcpy(ms->addr, "test test");
otl_stream o;
int len = t.get_insert_str(buf);
otl_cursor::direct_exec(db_, buf);
db_.commit();
std::string str = t.get_select_str();
o.open(str.size(), str.c_str(), db_);
NewsTable t1;
o >> t1;
mystruct * ms1;
ms1 = (mystruct *)t1.content_;
if ((ms1->id != ms->id) ||
(strcmp(ms1->name, ms->name)) ||
(ms1->tel != ms->tel) ||
(strcmp(ms1->addr, ms->addr)))
printf("sql_test_NewsTable 写内存失败\n");
else
printf("sql_test_NewsTable 写内存成功\n");
}
void sql_test_ChargeSvrTimer()
{
struct mystruct
{
int id;
char name[14];
int tel;
char addr[20];
};
otl_cursor::direct_exec(db_, "delete from ChargeSvrTimer");
db_.commit();
ChargeSvrTimer t;
t.setmasterid(1);
t.setdetailid(1);
t.time_ = time(0);
mystruct * ms = (mystruct *)t.param_;
ms->id = 100;
strcpy(ms->name, "wangshenwang");
ms->tel = 1234567;
strcpy(ms->addr, "test test");
otl_stream o;
int len = t.get_insert_str(buf);
otl_cursor::direct_exec(db_, buf);
db_.commit();
std::string str = t.get_select_str();
o.open(str.size(), str.c_str(), db_);
ChargeSvrTimer t1;
o >> t1;
mystruct * ms1;
ms1 = (mystruct *)t1.param_;
if ((ms1->id != ms->id) ||
(strcmp(ms1->name, ms->name)) ||
(ms1->tel != ms->tel) ||
(strcmp(ms1->addr, ms->addr)))
printf("sql_test_ChargeSvrTimer 写内存失败\n");
else
printf("sql_test_ChargeSvrTimer 写内存成功\n");
}
void test_sql_main()
{
otl_connect::otl_initialize();
try
{
db_.rlogon("UID=sa;PWD=sa;DSN=gsgamedb");
sql_test_mailtable();
sql_test_NewsTable();
sql_test_ChargeSvrTimer();
// sql_test_perf<GameCityInfo>(GameCityInfo_func);
sql_test_perf<PlayerSoldierRace>(PlayerSoldierRace_func);
sql_test_perf<ProductionAmount>(ProductionAmount_func);
// sql_test_perf<ConstructionConfigure>(ConstructionConfigure_func);
// sql_test_perf<ResearchConfigure>(ResearchConfigure_func);
sql_test_perf<PlayerConstruction>(PlayerConstruction_func);
sql_test_perf<PlayerResource>(PlayerResource_func);
sql_test_perf<ArmyTable>(ArmyTable_func);
sql_test_perf<Market>(Market_func);
sql_test_perf<ConstructionBuild>(ConstructionBuild_func);
sql_test_perf<ProductionActivity>(ProductionActivity_func);
sql_test_perf<ConsortiaInfo>(ConsortiaInfo_func);
sql_test_perf<ConsortiaBank>(ConsortiaBank_func);
sql_test_perf<ConsortiaUnion>(ConsortiaUnion_func);
sql_test_perf<PlayerOfficerItemTable>(PlayerOfficerItemTable_func);
sql_test_perf<PlayerItemStorageTable>(PlayerItemStorageTable_func);
sql_test_perf<SoldierParamTable>(SoldierParamTable_func);
sql_test_perf<PlayerOfficerTable>(PlayerOfficerTable_func);
sql_test_perf<PlayerTask>(PlayerTask_func);
sql_test_perf<ConsortiaPersonnel>(ConsortiaPersonnel_func);
sql_test_perf<CellPrice>(CellPrice_func);
sql_test_perf<CityAttribute>(CityAttribute_func);
// sql_test_perf<CreateConsortia>(CreateConsortia_func);
sql_test_perf<ConsortiaFight>(ConsortiaFight_func);
// sql_test_perf<TaskBaseTable>(TaskBaseTable_func);
// sql_test_perf<ProduceConfigure>(ProduceConfigure_func);
sql_test_perf<ChatRoomTable>(ChatRoomTable_func);
sql_test_perf<PlayerChatRoomTable>(PlayerChatRoomTable_func);
sql_test_perf<PlayerCity>(PlayerCity_func);
sql_test_perf<OfficerRaceAttribute>(OfficerRaceAttribute_func);
// sql_test_perf<WeaponAttribute>(WeaponAttribute_func);
// sql_test_perf<DefendAttribute>(DefendAttribute_func);
sql_test_perf<ArmyOutTable>(ArmyOutTable_func);
// sql_test_perf<OfficerTech>(OfficerTech_func);
sql_test_perf<NPC>(NPC_func);
sql_test_perf<MapInfoTable>(MapInfoTable_func);
sql_test_perf<ResearchItem>(ResearchItem_func);
sql_test_perf<EctypeBaseTable>(EctypeBaseTable_func);
sql_test_perf<NPCArmyTable>(NPCArmyTable_func);
sql_test_perf<PlayerCaptiveHero>(PlayerCaptiveHero_func);
// sql_test_perf<EquipAttribute>(EquipAttribute_func);
sql_test_perf<WarNote>(WarNote_func);
sql_test_perf<PullulateNote>(PullulateNote_func);
sql_test_perf<FirendTable>(FirendTable_func);
// sql_test_perf<ConsortiaOfficial>(ConsortiaOfficial_func);
sql_test_perf<LoadMaterial>(LoadMaterial_func);
sql_test_perf<Treasury>(Treasury_func);
// sql_test_perf<CardConfig>(CardConfig_func);
sql_test_perf<PublicBuildParamTable>(PublicBuildParamTable_func);
sql_test_perf<PublicBuildTable>(PublicBuildTable_func);
sql_test_perf<PlayerProduceState>(PlayerProduceState_func);
// sql_test_perf<JobParam>(JobParam_func);
// sql_test_perf<BinConfig>(BinConfig_func);
sql_test_perf<EquipAntagonism>(EquipAntagonism_func);
sql_test_perf<BatttleField>(BatttleField_func);
sql_test_perf<ConsortiaCompare>(ConsortiaCompare_func);
sql_test_perf<PlayerCompare>(PlayerCompare_func);
sql_test_perf<Council>(Council_func);
sql_test_perf<Candidate>(Candidate_func);
sql_test_perf<Ballot>(Ballot_func);
sql_test_perf<Country>(Country_func);
sql_test_perf<ResearchActivity>(ResearchActivity_func);
sql_test_perf<LevySoldierActivity>(LevySoldierActivity_func);
sql_test_perf<MailTable>(MailTable_func);
sql_test_perf<NewsTable>(NewsTable_func);
sql_test_perf<ChargeSvrTimer>(ChargeSvrTimer_func);
sql_test_perf<OfficerJobAttribute>(OfficerJobAttribute_func);
printf("测试成功\n");
}
catch (std::exception& e)
{
std::cerr << "Exception: " << e.what() << "\n";
}
catch(otl_exception& p)
{
std::cerr << p.msg << std::endl;
std::cerr << p.stm_text << std::endl;
std::cerr << p.sqlstate << std::endl;
std::cerr << p.var_info << std::endl;
}
db_.logoff();
}
#endif /*__INCLUDE_TEST_SQL_H__*/ | [
"hanxiaohua85@163.com"
] | hanxiaohua85@163.com |
8d8ebcd72c186be13ea4946193d1ec4464a558d8 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/com/oleutest/stgbvt/comtools/h/syncwrap.hxx | ac9d88737aabe1022fa13fc496399b8582960234 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,743 | hxx | //+-------------------------------------------------------------------
//
// File: syncwrap.hxx
//
// Contents: Wrapper classes for Win32 synchronization objects.
//
// Classes: CMutex - Creates/destroys a Mutex object
// CSemaphore - Creates/destroys a Semaphore object
// CEvent - Creates/destroys an Event object
// CCritSec - Creates/destroys a critical section
// CTCLock - Locks/Unlock one of the above
//
// Functions:
//
// History: 31-Jan-92 BryanT Created
// 04-Feb-92 BryanT Added Critical section support
// 23-Feb-92 BryanT Add OS/2 support for a Critical
// section-like synchronization object.
// Code is stolen from tom\dispatcher
// semaphore class.
// 26-Jun-92 DwightKr Added ifndef MIDL
// 29-Jun-93 DwightKr Changed MIDL to MIDL_PASS *
// 08-Nov-93 DarrylA Changed __WIN32__ to WIN32
// 16-Mar-95 NaveenB Changed NO_ERROR to ERROR_SUCCESS
// and added facility to check the
// status of the constructor using
// QueryError functions in CMutex,
// CSemaphone, CEvent and CTCLock
//
//--------------------------------------------------------------------
#ifndef SYNCWRAP_HXX
#define SYNCWRAP_HXX
#ifndef MIDL_PASS
#if defined (WIN32)
// Make sure windows.h has been included prior to this
#if !defined (_WINDOWS_)
#error windows.h must be included prior to syncwrap.hxx... Aborting.
#endif
#define CMUTEX 1
#define CSEMAPHORE 2
#define CEVENT 3
#define CCRITSEC 4
#ifndef STATUS_POSSIBLE_DEADLOCK
typedef LONG NTSTATUS;
#define STATUS_POSSIBLE_DEADLOCK ((NTSTATUS)0xC0000194L)
#endif
//+-------------------------------------------------------------------
//
// Class: CMutex
//
// Purpose: Wrapper for Win32 Mutexes. Creates an un-named, un-owned
// mutex in an un-signaled state and makes sure it is cleaned
// up when destructed.
//
// Interface: CMutex(lpsa, fInitialOwner, lpszMutexName, fCreate) -
// See CreateMutex/OpenMutex in the Win32 api for the
// definition of the first three arguments. The last
// one indicates if a new mutex should be created
// (TRUE) or an existing one opened (FALSE). If no name
// is used, this flag will be ignored and an unnamed
// mutex will be created.
// By default, the arguments are set to NULL, FALSE, NULL,
// and TRUE to create an unowned, unnamed mutex with
// no particular security attributes.
//
// ~CMutex() - Destroys the handle that is created in the
// constructor. If this is the last instance of
// a handle to this Mutex, the OS will destroy
// the mutex.
//
// History: 31-Jan-92 BryanT Created
//
// Notes: The error code of the constructor can be obtained by
// calling the QueryError function and if everything
// goes well, the ERROR_SUCCESS is returned by the call
// to QueryError.
// It is important that no virtual pointers are defined
// in this class and the member varaible _mutex is the first
// variable defined in this class.
//
//--------------------------------------------------------------------
class CMutex
{
friend class CTCLock;
public:
inline CMutex( LPSECURITY_ATTRIBUTES lpsa = NULL,
BOOL fInitialOwner = FALSE,
LPTSTR lpszMutexName = NULL,
BOOL fCreate = TRUE)
{
if ((FALSE == fCreate) && (NULL != lpszMutexName))
{
_mutex = OpenMutex(MUTANT_ALL_ACCESS,
FALSE,
lpszMutexName);
}
else
{
_mutex = CreateMutex(lpsa, fInitialOwner, lpszMutexName);
}
_dwLastError = (_mutex == NULL) ? GetLastError() : ERROR_SUCCESS;
}
inline ~CMutex()
{
CloseHandle(_mutex);
}
inline DWORD QueryError()
{
return _dwLastError;
}
private:
HANDLE _mutex;
DWORD _dwLastError;
};
//+-------------------------------------------------------------------
//
// Class: CSemaphore
//
// Purpose: Wrapper for Win32 semaphores. Creates a semaphore in the
// constructor. Deletes it in the destructor.
//
// Interface: CSemaphore( lpsa, cSemInitial, cSemMax, lpszSemName, fCreate)
// See CreateSemaphore in Win32 API docs for detail
// of the first three arguments. The last indicates
// if a new semaphore should be created (TRUE) or an
// existing one opened (FALSE). In the case of
// opening an existing semaphore, all access rights
// will be requested and the handle will not be
// inherited by any child processes that are created
// by the calling process. By default, an
// unnamed semaphore with a initial count of 1 (not
// used) a maximum count of 1 and no security
// attributes will be created.
//
// ~CSemaphore - Destroys the semaphore
//
// History: 31-Jan-92 BryanT Created
//
// Notes: The error code of the constructor can be obtained by
// calling the QueryError function and if everything
// goes well, the ERROR_SUCCESS is returned by the call
// to QueryError.
// It is important that no virtual pointers are defined
// in this class and the member varaible _semaphore is the first
// variable defined in this class.
//
//--------------------------------------------------------------------
class CSemaphore
{
friend class CTCLock;
public:
inline CSemaphore( LPSECURITY_ATTRIBUTES lpsa = NULL,
LONG cSemInitial = 1,
LONG cSemMax = 1,
LPTSTR lpszSemName = NULL,
BOOL fCreate = TRUE)
{
if ((FALSE == fCreate) && (lpszSemName != NULL))
{
_semaphore = OpenSemaphore(SEMAPHORE_ALL_ACCESS,
FALSE,
lpszSemName);
}
else
{
_semaphore = CreateSemaphore(lpsa,
cSemInitial,
cSemMax,
lpszSemName);
}
_dwLastError = (_semaphore == NULL) ? GetLastError() : ERROR_SUCCESS;
}
inline ~CSemaphore()
{
CloseHandle(_semaphore);
}
inline DWORD QueryError()
{
return _dwLastError;
}
private:
HANDLE _semaphore;
DWORD _dwLastError;
};
//+-------------------------------------------------------------------
//
// Class: CEvent
//
// Purpose: Wrapper for Win32 Events. Creates an event in the constructor.
// deletes it in the destructor.
//
// Interface: CEvent(lpsa, fManualReset, fInitialState, lpszName, fCreate)
// See Win32 API docs for details of first three
// arguments. The last argument inicates whether a new
// event should be created (TRUE) or an existing named
// event should be opened. It no name is specified,
// an unnamed event will be created and this argument is
// ignored. By default, an unnamed, unowned event
// will be created with no security attributes. It
// will automatically reset.
//
// ~CEvent() - Destroys the event.
//
// History: 31-Jan-92 BryanT Created
//
// Notes: The error code of the constructor can be obtained by
// calling the QueryError function and if everything
// goes well, the ERROR_SUCCESS is returned by the call
// to QueryError.
// It is important that no virtual pointers are defined
// in this class and the member varaible _event is the first
// variable defined in this class.
//
//--------------------------------------------------------------------
class CEvent
{
friend class CTCLock;
public:
inline CEvent(LPSECURITY_ATTRIBUTES lpsa = NULL,
BOOL fManualReset = FALSE,
BOOL fInitialState = FALSE,
LPTSTR lpszName = NULL,
BOOL fCreate = TRUE)
{
if ((FALSE == fCreate) && (lpszName != NULL))
{
_event = OpenEvent(EVENT_ALL_ACCESS,
FALSE,
lpszName);
}
else
{
_event = CreateEvent(lpsa,
fManualReset,
fInitialState,
lpszName);
}
_dwLastError = (_event == NULL) ? GetLastError() : ERROR_SUCCESS;
}
inline ~CEvent()
{
CloseHandle(_event);
}
inline DWORD QueryError()
{
return _dwLastError;
}
private:
HANDLE _event;
DWORD _dwLastError;
};
//+-------------------------------------------------------------------
//
// Class: CCritSec
//
// Purpose: Wrapper for Win32 Critical Sections. Creates an critical
// section in the constructor and deletes it in the destructor.
//
// Interface: CCritSec() - Creates a critical section
//
// ~CCritSec() - Destroys the critical section
//
// History: 04-Feb-92 BryanT Created
//
// Notes: For this code, there really isn't any exceptions that
// I can trap (or return). Therefore, this class is finished.
//
//--------------------------------------------------------------------
class CCritSec
{
friend class CTCLock;
public:
inline CCritSec()
{
InitializeCriticalSection(&_CritSec);
}
inline ~CCritSec()
{
DeleteCriticalSection( &_CritSec );
}
private:
CRITICAL_SECTION _CritSec;
};
//+-------------------------------------------------------------------
//
// Class: CTCLock
//
// Purpose: Provide lock/unlock capabilities for one of the
// synchrnization objects (CMutex, CSemaphore, CEvent, or
// CCritSec). If no timeout is specified, INFINITE timeout is
// used. In the case of an event, no lock is actually obtained.
// Instead, we wait till the event occurs. For a critical
// section object, no timeout argument is needed.
//
// Interface: CTCLock(CMutex, dwTimeOut) - Obtain a lock on a mutex.
// CTCLock(CSemaphore, dwTimeOut) - Obtain a lock on a semaphore.
// CTCLock(CEvent, dwTimeOut) - Wait for this event to occur.
// CTCLock(CCritSec) - Enter this critical section.
//
// ~CTCLock() - Release/leave the object
//
// _dwLastError -
// The error code from the last operation on this
// object. If successfully constructed/destructed
// it should be ERROR_SUCCESS.
//
// History: 31-Jan-92 BryanT Created
// 23-Feb-92 BryanT Add _dwLastError in order to be
// compatible with the OS/2 version.
// 29-Jan-93 BryanT Continue the Critical Section if it times
// out (340 does this now).
// 26-Apr-96 MikeW Mac doesn't support SEH so #ifdef out
// the continue.
//
// Notes: The error code of the constructor can be obtained by
// calling the QueryError function and if everything
// goes well, the ERROR_SUCCESS is returned by the call
// to QueryError.
//
//--------------------------------------------------------------------
class CTCLock
{
public:
inline CTCLock(CMutex& cm, DWORD dwTimeOut = INFINITE)
{
if ((_dwLastError = cm.QueryError()) == ERROR_SUCCESS)
{
_lock = cm._mutex;
_idLock = CMUTEX;
_dwLastError = WaitForSingleObject(_lock, dwTimeOut);
}
}
inline CTCLock(CSemaphore& cs, DWORD dwTimeOut = INFINITE)
{
if ((_dwLastError = cs.QueryError()) == ERROR_SUCCESS)
{
_lock = cs._semaphore;
_idLock = CSEMAPHORE;
_dwLastError = WaitForSingleObject(_lock, dwTimeOut);
}
}
inline CTCLock(CEvent& ce, DWORD dwTimeOut = INFINITE)
{
if ((_dwLastError = ce.QueryError()) == ERROR_SUCCESS)
{
_lock = ce._event;
_idLock = CEVENT;
_dwLastError = WaitForSingleObject(_lock, dwTimeOut);
}
}
inline CTCLock(CCritSec& ccs)
{
_idLock = CCRITSEC;
_lpcs = &ccs._CritSec;
#ifndef _MAC
_try
#endif
{
EnterCriticalSection(_lpcs);
}
#ifndef _MAC
_except (GetExceptionCode() == STATUS_POSSIBLE_DEADLOCK ?
EXCEPTION_CONTINUE_EXECUTION :
EXCEPTION_CONTINUE_SEARCH){}
#endif
_dwLastError = ERROR_SUCCESS;
}
inline ~CTCLock()
{
switch (_idLock)
{
case CMUTEX:
if (ReleaseMutex(_lock) == TRUE)
_dwLastError = ERROR_SUCCESS;
else
_dwLastError = GetLastError();
break;
case CSEMAPHORE:
if (ReleaseSemaphore(_lock, 1, NULL) == TRUE)
_dwLastError = ERROR_SUCCESS;
else
_dwLastError = GetLastError();
break;
case CEVENT:
_dwLastError = ERROR_SUCCESS;
break;
case CCRITSEC:
LeaveCriticalSection(_lpcs);
_dwLastError = ERROR_SUCCESS;
break;
}
}
inline DWORD QueryError()
{
return _dwLastError;
}
private:
union
{
HANDLE _lock;
LPCRITICAL_SECTION _lpcs;
};
INT _idLock;
DWORD _dwLastError;
};
#elif defined (__OS2__) // defined (WIN32)
#ifndef SEM_TIMEOUT
#define SEM_TIMEOUT SEM_INDEFINITE_WAIT
#endif
#ifndef _MT
#error ERROR: Must Build for Multi-thread.
#endif
#ifndef _INC_STDDEF
#include <stddef.h> // For _threadid in CTCLock code
#endif
#include <assert.h> // For assert() code
//+-------------------------------------------------------------------
//
// Class: CCritSec
//
// Purpose: Define an OS/2 version of a Win32 critical section. In
// other words, define a synchronization onject that can be
// entered any number of times by one thread without waiting.
// Keeps a count of number of times it is entered and the TID
// of who currently has access.
//
// Interface: CCritSec() - Creates a critical section
//
// ~CCritSec() - Destroys the critical section
//
// History: 23-Feb-92 BryanT Created
//
// Notes: For this code, there really isn't any exceptions that
// I can trap (or return). Therefore, this class is finished.
//
//--------------------------------------------------------------------
class CCritSec
{
friend class CTCLock;
public:
inline CCritSec()
{
// Initialize everything to zero.
hSem = 0;
tid = 0;
cLockCount = 0;
}
inline ~CCritSec()
{
#if defined(TRACE)
if (cLockCount != 0)
{
fprintf(stderr,
"CCritSec object destructed with %d locks",
cLockCount);
fprintf(stderr,
" outstanding by TID: %x\n",
tid);
}
#endif
}
private:
HSEM hSem; // Exclusive use RAM semaphore
TID tid; // The thread owning the semaphore
USHORT cLockCount; // # times semaphore locked
};
//+-------------------------------------------------------------------
//
// Class: CTCLock
//
// Purpose: Provide OS/2 lock/unlock capabilities for a CCritSec
// synchrnization object.
//
// Interface: CTCLock(CCritSec) - Enter this critical section.
//
// ~CTCLock() - Release/leave the object
//
// _usLastError - The error code from the last operation on this
// object. If successfully constructed/destructed
// it should be ERROR_SUCCESS.
//
// History: 23-Feb-92 BryanT Created
//
// Notes: This is the OS/2 version of Win32 critical sections.
// By default, the timeout will be SEM_INDEFINITE_WAIT. If
// you wish to change this, merely define SEM_TIMEOUT before
// including this file.
//
//--------------------------------------------------------------------
class CTCLock
{
public:
inline CTCLock(CCritSec& ccs)
{
// Is the semaphore already in use?
if (ERROR_SEM_TIMEOUT == (_usLastError = DosSemRequest(&ccs.hSem,
SEM_IMMEDIATE_RETURN)))
{
// If it's us, increment the counter and return.
if (ccs.tid == *_threadid)
{
ccs.cLockCount++; // Increment the lock counter
_usLastError = ERROR_SUCCESS;
_pCritSec = &ccs;
return;
}
}
// Either it's not in use or we don't own it. Wait for access.
// Once obtained, store the appropriate data and return.
if ((ERROR_SUCCESS == _usLastError) ||
(ERROR_SUCCESS == (_usLastError = DosSemRequest(&ccs.hSem,SEM_TIMEOUT))))
{
ccs.tid = *_threadid;
ccs.cLockCount = 1;
_pCritSec = &ccs;
}
else
{
_pCritSec = NULL; // Indicate we don't have it
}
return;
}
inline ~CTCLock()
{
//
// The lock counter should always be > 0. If not, then we don't
// have a matching lock for every unlock.
//
if (_pCritSec == NULL)
{
_usLastError = ERROR_SUCCESS;
return;
}
assert (_pCritSec->cLockCount > 0);
_pCritSec->cLockCount--;
if (_pCritSec->cLockCount == 0)
{
_pCritSec->tid = 0;
_usLastError = DosSemClear(&(_pCritSec->hSem));
return;
}
else
{
_usLastError = ERROR_SUCCESS;
return;
}
}
USHORT _usLastError;
private:
CCritSec * _pCritSec;
};
#endif // Defined __OS2__ or WIN32
#endif // ifndef MIDL_PASS
#endif // #ifndef SYNCWRAP_HXX
| [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
e545b9d1dbadfad3c3d7b27333588d4d2a75fe8d | 261d5d94fb737e15680816123a6cebf110ed28da | /test/testPdu.cpp | 3ceb7eb8067ea04a0adcad465a4a73807fe2698b | [] | no_license | skywb/TeamTalk | 519b0440bc2c3f0dee919cf3a46b304a65074e82 | ac3f7a3070478006bc9916d038db3f12f57fa083 | refs/heads/master | 2020-04-26T11:55:24.896857 | 2019-05-27T12:07:20 | 2019-05-27T12:07:20 | 173,533,421 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include <iostream>
#include <gtest/gtest.h>
#include "IM/IMProtocol.h"
TEST(testPdu, Pdu1)
{
auto login = std::make_shared<IM::LoginPdu> ();
login->setUserId(11);
login->setPassword("aaaa");
}
| [
"sonky7@163.com"
] | sonky7@163.com |
bdbb5e8a97269dc5b5050cc59195622215061507 | 0c16c361c5d7bb93cf33813d706ed921fdad5d41 | /include/burst/range/adaptor/taken_n.hpp | ea2e35e05901d75feea07fe6b52fd02c2087611b | [] | no_license | 0x0all/burst | b2eca6dcff662e627839331cfb198ca67c1de65c | 657b7f6c021535d344d875f919928588f5606143 | refs/heads/master | 2020-03-26T11:23:11.680356 | 2018-07-15T00:16:22 | 2018-07-15T00:32:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | hpp | #ifndef BURST_RANGE_ADAPTOR_TAKEN_N_HPP
#define BURST_RANGE_ADAPTOR_TAKEN_N_HPP
#include <burst/range/adaptor/adaptor.hpp>
#include <burst/range/take_n.hpp>
namespace burst
{
//! Инструмент для откусывания диапазона через конвейер.
/*!
Вызов
`range | taken_n(10)`
эквивалентен вызову
`take_n(range, 10)`.
*/
constexpr auto taken_n = make_adaptor_trigger(take_n);
} // namespace burst
#endif // BURST_RANGE_ADAPTOR_TAKEN_N_HPP
| [
"dmitriy@izvolov.ru"
] | dmitriy@izvolov.ru |
03c44d1b88816c9b8a45554f1c82f0792d80b0cb | ca71a8028ae57cac5e8f9b10fa0db3333efec086 | /ACC sharedmemory exposer/SDK/ACC_ABP_porsche_991ii_gt3_cup_exterior_parameters.hpp | b3409741a985c41736087fb71926c94f031552b7 | [] | no_license | Sparten/ACC | 42d08b17854329c245d9543e5184888d119251c1 | 3ee1e5c032dcd508e5913539feb575f42d74365e | refs/heads/master | 2020-03-28T20:47:48.649504 | 2018-10-19T20:47:39 | 2018-10-19T20:47:39 | 149,102,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,198 | hpp | #pragma once
// Assetto Corsa Competizione (0.1.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ACC_ABP_porsche_991ii_gt3_cup_exterior_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequenceEvaluator_E1DA9E1D40DA0FD6A12778BC199276C6
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequenceEvaluator_E1DA9E1D40DA0FD6A12778BC199276C6_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_F73D2C3F41661C9D5E0985A3A9765457
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_F73D2C3F41661C9D5E0985A3A9765457_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_02135F064A3A1A653C9F9699BDA00E92
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_02135F064A3A1A653C9F9699BDA00E92_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_5F46B5E0405792375C887C8AC15D9941
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_5F46B5E0405792375C887C8AC15D9941_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_00792B874F299B281A242391F29FD29F
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_00792B874F299B281A242391F29FD29F_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_A56EFD0848E703C8607E519B6F048273
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_A56EFD0848E703C8607E519B6F048273_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_7FA47FB14C8C76512DAEA7B39D473195
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_7FA47FB14C8C76512DAEA7B39D473195_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_1603CA1947BB9CD6E1461C812DBEDF83
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_1603CA1947BB9CD6E1461C812DBEDF83_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_7D29D7614B0F3C9ADA50169F5891F0AA
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_7D29D7614B0F3C9ADA50169F5891F0AA_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_D26195BE4975833871AE5295C601679F
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_D26195BE4975833871AE5295C601679F_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_CDD8432A46BEF361816BE2AD57AB5677
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_CDD8432A46BEF361816BE2AD57AB5677_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_9E8950DC4DA58C0B4EC470A69A0A26D7
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_9E8950DC4DA58C0B4EC470A69A0A26D7_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A1050C40439AAF03198CFB995F6F0675
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A1050C40439AAF03198CFB995F6F0675_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A593F2DE4999217424AEEB8624FD4964
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A593F2DE4999217424AEEB8624FD4964_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_200753794A9D1DC6120C0FBECAD586D1
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_200753794A9D1DC6120C0FBECAD586D1_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_86BF9A864DAE97AE6FC2318B97B4C440
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_86BF9A864DAE97AE6FC2318B97B4C440_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_8341707B4E0CE70569DDD9A017B55956
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_8341707B4E0CE70569DDD9A017B55956_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_0C282DFA456A79C9F1D670A78E5941CB
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_0C282DFA456A79C9F1D670A78E5941CB_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_TransitionResult_18BE72D7426928481A19B09457F994A1
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_TransitionResult_18BE72D7426928481A19B09457F994A1_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_130CF84A43C2CABA9FD46C9AF1B0E5A4
struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_130CF84A43C2CABA9FD46C9AF1B0E5A4_Params
{
};
// Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior
struct UABP_porsche_991ii_gt3_cup_exterior_C_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_Params
{
int EntryPoint; // (BlueprintVisible, BlueprintReadOnly, Parm, ZeroConstructor, IsPlainOldData)
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"sportcorp@hotmail.com"
] | sportcorp@hotmail.com |
18e384cfda60ab9691b008f492a3162612208a87 | a114b97fbc3b1a46e5c7f0f9053611205c98ebf4 | /interfaces/socket-interface/src/socket-interface.cpp | 021073c3574f4dc475181090edfe5fbeef4ccaa8 | [] | no_license | forme12/qualnet- | d4a76f0916623227dfd51b4ed6d23af052e3a69d | 4d8fd82b9d16633f8773f7953c8cc2e0b60a230f | refs/heads/master | 2021-11-03T08:47:08.491807 | 2019-03-25T11:40:26 | 2019-03-25T11:40:26 | 177,569,714 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 327,250 | cpp | // Copyright (c) 2001-2009, Scalable Network Technologies, Inc. All Rights Reserved.
// 6100 Center Drive
// Suite 1250
// Los Angeles, CA 90045
// sales@scalable-networks.com
//
// This source code is licensed, not sold, and is subject to a written
// license agreement. Among other things, no portion of this source
// code may be copied, transmitted, disclosed, displayed, distributed,
// translated, used as the basis for a derivative work, or used, in
// whole or in part, for any program or purpose other than its intended
// use in compliance with the license agreement as part of the QualNet
// software. This source code and certain of the algorithms contained
// within it are confidential trade secrets of Scalable Network
// Technologies, Inc. and may not be used as the basis for any other
// software, hardware, product or service.
#include <iostream>
#include <vector>
#include <math.h>
#include <list>
#include <map>
using namespace std;
#ifndef _WIN32 /* unix/linux */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#ifdef sgi
#include <unistd.h>
#endif
#endif
#ifdef _WIN32 /* windows */
#include <winsock2.h>
#endif
#include "api.h"
#include "app_util.h"
#include "partition.h"
#include "WallClock.h"
#include "mac_csma.h"
#include "mac_tdma.h"
#include "antenna.h"
#include "socket-interface.h"
#include "messageapi.h"
#include "platform.h"
#include "interfaceutil.h"
#include "network_ip.h"
#ifdef JNE_LIB
#include "routing_ces_malsr.h"
#include "network_ces_subnet.h"
#include "configparser.h"
#endif
#include "entity.h"
#include "dynamic.h"
#if defined(_WIN32)
static clocktype llround(double x)
{
double xx = floor(x + 0.5);
clocktype xxx = (clocktype)xx;
return xxx;
}
#endif /* _WIN32 */
// The gHaveSocketIface variable is used ONLY for propagation logging,
static bool gHaveSocketIface = false;
#define DEBUG_MESSAGE_SENT 0
// SocketInterface_Sockets constructor
SocketInterface_Sockets::SocketInterface_Sockets()
{
numPorts = 0;
numConnections = 0;
pthread_mutex_init(&socketMutex, NULL);
pthread_mutex_init(&receiverMutex, NULL);
pthread_cond_init(&receiverNotFull, NULL);
pthread_cond_init(&receiverNotEmpty, NULL);
pthread_mutex_init(&senderMutex, NULL);
pthread_cond_init(&senderNotFull, NULL);
pthread_cond_init(&senderNotEmpty, NULL);
}
// Returns the simulation time from the MTS perspective
// Subtracts warmup time
// This function should be used any place when dealing with external time
static clocktype SocketInterface_Timestamp(EXTERNAL_Interface* iface)
{
return EXTERNAL_QuerySimulationTime(iface) - EXTERNAL_QueryWarmupTime(iface);
}
// Returns the simulation time for a message from the MTS
// Add warmup time
// This function should be used any place when scheduling a messae
static clocktype SocketInterface_TimestampToQualNet(EXTERNAL_Interface* iface, SocketInterface_TimeType time)
{
SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data;
if (data->simulationState == SocketInterface_StateType_Standby || data->simulationState == SocketInterface_StateType_Warmup)
{
return (clocktype) llround(time * SECOND);
}
else if (EXTERNAL_QueryWarmupTime(iface) == -1)
{
return (clocktype) llround(time * SECOND);
}
else
{
return (clocktype) llround(time * SECOND + EXTERNAL_QueryWarmupTime(iface));
}
}
// Static functions
SocketInterface_RequestHash::SocketInterface_RequestHash()
{
nextId = 1;
}
Int32 SocketInterface_RequestHash::HashRequest(SocketInterface_PacketData* packetData)
{
Int32 requestId = nextId++;
int index = requestId % SOCKET_INTERFACE_REQUEST_HASH_SIZE;
ERROR_Assert(index >= 0 && index < SOCKET_INTERFACE_REQUEST_HASH_SIZE, "Invalid index");
hash[index][requestId] = packetData;
return requestId;
}
BOOL SocketInterface_RequestHash::CheckHash(Int32 id)
{
int index = id % SOCKET_INTERFACE_REQUEST_HASH_SIZE;
std::map<Int32, SocketInterface_PacketData*>::iterator it;
ERROR_Assert(index >= 0 && index < SOCKET_INTERFACE_REQUEST_HASH_SIZE, "Invalid index");
it = hash[index].find(id);
if (it == hash[index].end())
{
return FALSE;
}
else
{
return TRUE;
}
}
void SocketInterface_RequestHash::RemoveHash(Int32 id)
{
int index = id % SOCKET_INTERFACE_REQUEST_HASH_SIZE;
std::map<Int32, SocketInterface_PacketData*>::iterator it;
it = hash[index].find(id);
if (it != hash[index].end())
{
// Remove it and return
hash[index].erase(it);
}
}
SocketInterface_PacketData* SocketInterface_RequestHash::PeekRequest(Int32 id)
{
int index = id % SOCKET_INTERFACE_REQUEST_HASH_SIZE;
std::map<Int32, SocketInterface_PacketData*>::iterator it;
SocketInterface_PacketData* data;
it = hash[index].find(id);
if (it == hash[index].end())
{
return NULL;
}
else
{
// Return data without removing
data = it->second;
return data;
}
}
static void StringSplit(
std::string* str,
char* delim,
std::vector<std::string>* out)
{
unsigned pos = 0;
unsigned next;
out->clear();
// Get each token before up to the last space
next = str->find(delim, pos);
while (next != -1)
{
if (next != pos)
{
out->push_back(str->substr(pos, next - pos));
}
pos = next + 1;
next = str->find(delim, pos);
}
// Get the token after the final space
if (pos < str->size())
{
out->push_back(str->substr(pos));
}
}
static void SocketInterface_ScheduleMessage(
EXTERNAL_Interface* iface,
SocketInterface_Message* message,
clocktype timestamp)
{
Message* delayedMessage;
clocktype delay;
delayedMessage = MESSAGE_Alloc(
iface->partition->firstNode,
EXTERNAL_LAYER,
EXTERNAL_SOCKET,
MSG_EXTERNAL_SOCKET_INTERFACE_DelayedMessage);
// Add the message to the info field
MESSAGE_InfoAlloc(
iface->partition->firstNode,
delayedMessage,
sizeof(SocketInterface_Message*));
memcpy(MESSAGE_ReturnInfo(delayedMessage), &message, sizeof(SocketInterface_Message*));
// Compute delay
if (timestamp < EXTERNAL_QuerySimulationTime(iface))
{
delay = 0;
}
else
{
delay = timestamp - EXTERNAL_QuerySimulationTime(iface);
}
MESSAGE_Send(
iface->partition->firstNode,
delayedMessage,
delay);
}
void SocketInterface_SendMessage(
EXTERNAL_Interface* iface,
SocketInterface_Message* message,
int socketId)
{
SocketInterface_InterfaceData* data;
SocketInterface_MessageList* node;
data = (SocketInterface_InterfaceData*) iface->data;
// Create linked list node
node = new SocketInterface_MessageList;
node->message = message->Duplicate();
node->socketId = socketId;
node->next = NULL;
// Wait until the buffer is not full
pthread_mutex_lock(&data->sockets.senderMutex);
if (data->numOutgoingMessages >= SOCKET_INTERFACE_MAX_QUEUE_SIZE)
{
pthread_cond_wait(
&data->sockets.senderNotFull,
&data->sockets.senderMutex);
}
// Add to outgoing queue
if (data->outgoingMessages == NULL)
{
data->outgoingMessages = node;
}
else
{
data->lastOutgoingMessage->next = node;
}
data->lastOutgoingMessage = node;
data->numOutgoingMessages++;
pthread_mutex_unlock(&data->sockets.senderMutex);
// Signal that the sending thread is not empty
pthread_cond_signal(&data->sockets.senderNotEmpty);
}
static void SocketInterface_HandleSimulationStateMessage(
EXTERNAL_Interface* iface,
SocketInterface_StateType oldState,
SocketInterface_StateType newState)
{
SocketInterface_InterfaceData* data;
data = (SocketInterface_InterfaceData*) iface->data;
// Create a simulation state response message.
SocketInterface_SimulationStateMessage *stateResponse;
if (data->clientProtocolVersion >= 6)
{
stateResponse =
new SocketInterface_SimulationStateMessage(newState,
oldState,
SocketInterface_Timestamp(iface) / (double)SECOND);
}
else
{
stateResponse = new SocketInterface_SimulationStateMessage(newState, oldState);
}
// Now to send the message to all the active connections.
for (unsigned i = 0; i < data->sockets.connections.size(); i++)
{
if (data->sockets.activeConnections[i]
&& EXTERNAL_SocketValid(data->sockets.connections[i]))
{
// Found an active connection send the warning.
SocketInterface_SendMessage(iface, stateResponse, i);
data->responses++;
}
}
// Print to the response log
std::string str;
stateResponse->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
delete stateResponse;
}
static void SocketInterface_ChangeSimulationState(
EXTERNAL_Interface* iface,
SocketInterface_StateType newState)
{
SocketInterface_InterfaceData *data = (SocketInterface_InterfaceData*) iface->data;
// First check for valid transition
switch (newState)
{
case SocketInterface_StateType_Warmup:
if (data->simulationState != SocketInterface_StateType_Standby)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidTransition,
"Warmup state may only be transitioned to from Standby");
}
break;
case SocketInterface_StateType_Initialized:
if (data->simulationState != SocketInterface_StateType_Standby
&& data->simulationState != SocketInterface_StateType_Warmup)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidTransition,
"Initialized state may only be transitioned to from Standby or Warmup");
}
// Update the bit for Initialization Phase
data->inInitializePhase = TRUE;
break;
case SocketInterface_StateType_Paused:
if (data->simulationState != SocketInterface_StateType_Initialized
&& data->simulationState != SocketInterface_StateType_Executing)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidTransition,
"Paused state may only be transitioned to from Initialized or Executing");
}
// If pausing from the executing state record the pause time
if (data->simulationState == SocketInterface_StateType_Executing)
{
// We pause time only if the parameter
// SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME is set to NO,
//else if do not pause time. We change the state either way.
if (!data->pauseAdvanceSimTime)
{
EXTERNAL_Pause(iface);
}
data->paused = TRUE;
}
break;
case SocketInterface_StateType_Executing:
if (data->simulationState != SocketInterface_StateType_Paused
&& data->simulationState != SocketInterface_StateType_Initialized)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidTransition,
"Executing state may only be transitioned to from Paused or Initialized");
}
if (data->paused)
{
// We unpause time only if the parameter
// SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME is set to NO,
//else if do not pause time. We change the state either way.
if (!data->pauseAdvanceSimTime)
{
EXTERNAL_Resume(iface);
}
data->paused = FALSE;
}
else if (data->simulationState == SocketInterface_StateType_Paused)
{
SocketInterface_InitializeRealTime(iface);
}
else if (data->simulationState == SocketInterface_StateType_Initialized)
{
SocketInterface_InitializeRealTime(iface);
}
break;
case SocketInterface_StateType_Stopping:
break;
case SocketInterface_StateType_Resetting:
break;
default:
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidTransition,
"Unknown state");
break;
}
// Save the old state for the response message
SocketInterface_StateType oldState = data->simulationState;
// Set new state
data->simulationState = newState;
// send the response for the change of state
SocketInterface_HandleSimulationStateMessage(iface, oldState, newState);
}
static void SocketInterface_HandleAdvanceTime(
EXTERNAL_Interface *iface,
SocketInterface_AdvanceTimeMessage *advanceMessage)
{
SocketInterface_InterfaceData *data;
clocktype advanceDelay;
int i;
int numBoundaries;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
// Print warning if qualnet in real time mode.
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime)
{
printf ("Warning: QualNet in realTime mode\n");
return;
}
if (!data->gotFirstAdvance)
{
data->gotFirstAdvance = TRUE;
printf("SOCKET-INTERFACE received first time advance to %f.\n",
advanceMessage->m_TimeAllowance);
}
data->timeAllowance = SocketInterface_TimestampToQualNet(iface, advanceMessage->m_TimeAllowance);
// Since we just received a time advance we are no longer waiting
// for a time advance (duh). This value is set to TRUE when an
// idle state is sent back to the MTS, and also at the start of
// the simulation. See SocketInterface_SimulationHorizon.
data->waitingForTimeAdvance = FALSE;
data->inIdleResponse = FALSE;
// Make sure the time the idle message was sent is valid. It will be
// invalid for the first time advance we get.
if (data->idleSentRealTime != 0)
{
advanceDelay = EXTERNAL_QueryRealTime(iface)
- data->idleSentRealTime;
// If this is the first recorded boundary
if (data->firstBoundary == -1)
{
data->boundaryTimes[0] = advanceDelay;
data->firstBoundary = 0;
data->lastBoundary = 0;
}
else
{
// If the boundary buffer is full
numBoundaries = data->lastBoundary - data->firstBoundary + 1;
if (numBoundaries == data->advanceBoundaries)
{
// Get rid of the earliest boundary, and move the rest down
for (i = 0; i < numBoundaries - 1; i++)
{
data->boundaryTimes[i] = data->boundaryTimes[i + 1];
}
// Replace the last boundary
data->boundaryTimes[numBoundaries - 1] = advanceDelay;
data->firstBoundary++;
data->lastBoundary++;
}
else
{
// Add in the last boundary
data->boundaryTimes[numBoundaries] = advanceDelay;
data->lastBoundary++;
}
}
}
}
static void SocketInterface_HandleReceiverMessage(
EXTERNAL_Interface *iface,
SocketInterface_Message *message,
int socketId)
{
SocketInterface_InterfaceData *data;
SocketInterface_Message* messageToQueue = NULL;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
message->SetSocketId(socketId);
messageToQueue = message;
// If we need to queue a message for the main thread
if (messageToQueue != NULL)
{
SocketInterface_MessageList* node;
// Create linked list node
node = new SocketInterface_MessageList;
memset(node, 0, sizeof(SocketInterface_MessageList));
node->message = messageToQueue;
node->socketId = socketId;
// Add to incoming message list
pthread_mutex_lock(&data->sockets.receiverMutex);
// If running in real time it is possible for us to get overloaded
// with messages. If we've filled up the queue then wait.
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime &&
data->numIncomingMessages >= SOCKET_INTERFACE_MAX_QUEUE_SIZE)
{
pthread_cond_wait(
&data->sockets.receiverNotFull,
&data->sockets.receiverMutex);
}
if (data->incomingMessages == NULL)
{
data->incomingMessages = node;
}
else
{
data->lastIncomingMessage->next = node;
data->lastIncomingMessage = node;
}
data->lastIncomingMessage = node;
data->numIncomingMessages++;
pthread_mutex_unlock(&data->sockets.receiverMutex);
// Signal that the receiver is not empty
pthread_cond_signal(&data->sockets.receiverNotEmpty);
}
}
void SocketInterface_HandleDynamicCommandException(
EXTERNAL_Interface* iface,
D_Exception* exception,
SocketInterface_Message* message,
int socketId,
SocketInterface_ErrorType errType)
{
SocketInterface_InterfaceData* data;
std::string str;
std::string errorString;
errorString = exception->GetError();
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(errType, &errorString);
error->SetMessage(message);
SocketInterface_SendMessage(iface, error, socketId);
data = (SocketInterface_InterfaceData*) iface->data;
error->Print(&str);
str += "\n";
SocketInterface_PrintLog(iface, data->errorsLogFile, str.c_str());
delete error;
}
static void GetMulticastGroups(Node* node, std::string& out)
{
NetworkDataIp *ip = (NetworkDataIp *) node->networkData.networkVar;
ListItem *item = ip->multicastGroupList->first;
NetworkIpMulticastGroupEntry *entry;
char addr[MAX_STRING_LENGTH];
BOOL first = TRUE;
int size = 0;
// Initially no output
out = "";
// Go through the group list
while (item)
{
entry = (NetworkIpMulticastGroupEntry *) item->data;
size++;
// Group already exists, so incrememt member count.
if (entry->memberCount > 0)
{
if (first)
{
// Initialize out with group address
IO_ConvertIpAddressToString(entry->groupAddress, addr);
out += std::string(addr);
first = FALSE;
}
else
{
// Create string " xxx.xxx.xxx.xxx" and append to out
IO_ConvertIpAddressToString(entry->groupAddress, addr);
out += std::string(" ") + std::string(addr);
}
}
item = item->next;
}
}
void SocketInterface_HandleException(
EXTERNAL_Interface* iface,
SocketInterface_Exception* exception,
SocketInterface_Message* message,
int socketId)
{
SocketInterface_InterfaceData* data;
std::string str;
std::string errorString;
// NOTE: Might need extra function for sender thread
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString());
error->SetMessage(message);
SocketInterface_SendMessage(iface, error, socketId);
data = (SocketInterface_InterfaceData*) iface->data;
error->Print(&str);
str += "\n";
SocketInterface_PrintLog(iface, data->errorsLogFile, str.c_str());
delete error;
}
void SocketInterface_HandleException(
EXTERNAL_Interface* iface,
SocketInterface_Exception* exception,
SocketInterface_SerializedMessage* message,
int socketId)
{
SocketInterface_InterfaceData* data;
std::string str;
std::string errorString;
// NOTE: Might need extra function for sender thread
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString());
error->SetSerializedMessage(message);
SocketInterface_SendMessage(iface, error, socketId);
data = (SocketInterface_InterfaceData*) iface->data;
error->Print(&str);
str += "\n";
SocketInterface_PrintLog(iface, data->errorsLogFile, str.c_str());
delete error;
}
void* SocketInterface_ReceiverThread(void* voidIface)
{
EXTERNAL_Interface* iface = (EXTERNAL_Interface*) voidIface;
SocketInterface_InterfaceData* socketData = (SocketInterface_InterfaceData*) iface->data;
SocketInterface_SerializedMessage data;
int err;
unsigned i;
fd_set readSet;
int max;
timeval t;
BOOL gotData;
char str[MAX_STRING_LENGTH];
// Continue receiving until end of program
while (socketData->simulationState != SocketInterface_StateType_Shutdown)
{
// Create set of all input sockets
FD_ZERO(&readSet);
max = -1;
for (i = 0; i < (unsigned)socketData->sockets.numPorts; i++)
{
FD_SET(
(unsigned int) socketData->sockets.listeningSockets[i]->socketFd,
&readSet);
if (socketData->sockets.listeningSockets[i]->socketFd > max)
{
max = socketData->sockets.listeningSockets[i]->socketFd;
}
}
// If CPU hog return from select immediately. If not cpu hog then
// wait for 1 milli second.
if (socketData->cpuHog)
{
t.tv_sec = 0;
t.tv_usec = 0;
}
else
{
t.tv_sec = 0;
t.tv_usec = 1000;
}
// Select for readable sockets
err = select(max + 1, &readSet, NULL, NULL, &t);
if (err == -1)
{
#ifndef _WIN32
// In unix EINTR is interrupted system call. This means that the
// select call did not finish waiting which is not an error,
// so set available to false and return no error.
if (errno == EINTR)
{
continue;
}
perror("Error calling select");
return NULL;
#endif
}
// Now see which sockets have new data
for (i = 0; i < (unsigned)socketData->sockets.numPorts; i++)
{
//cout << "Socket fd is " << socketData->sockets.listeningSockets[i]->socketFd << endl;
if (EXTERNAL_SocketValid(socketData->sockets.listeningSockets[i]) &&
FD_ISSET((
unsigned int) socketData->sockets.listeningSockets[i]->socketFd,
&readSet))
{
CreateNewConnection(
iface,
&socketData->sockets,
i,
str);
if (str[0] != 0)
{
printf(str); fflush(stdout);
}
// Send state to new connection
SocketInterface_SimulationStateMessage* state = new SocketInterface_SimulationStateMessage(
socketData->simulationState,
socketData->simulationState);
SocketInterface_SendMessage(iface, state, socketData->sockets.connections.size() - 1);
delete state;
}
}
for (i = 0; i < socketData->sockets.connections.size(); i++)
{
bool avail = FALSE;
if (socketData->sockets.activeConnections[i])
{
if (!EXTERNAL_SocketValid(socketData->sockets.connections[i]))
{
HandleSocketError(
iface,
&socketData->sockets,
i,
EXTERNAL_SocketError,
str);
}
EXTERNAL_SocketDataAvailable(
socketData->sockets.connections[i],
&avail);
if (avail)
{
do
{
gotData = FALSE;
try
{
SocketInterface_ReceiveSerializedMessage(
socketData->sockets.connections[i],
&data);
}
catch (SocketInterface_Exception& e)
{
gotData = FALSE;
if (e.GetError() == SocketInterface_ErrorType_SocketError)
{
HandleSocketError(
iface,
&socketData->sockets,
i,
EXTERNAL_SocketError,
str);
}
SocketInterface_HandleException(iface, &e, &data, i);
}
if (data.m_Size >= SOCKET_INTERFACE_HEADER_SIZE)
{
// Deserialize the message
gotData = TRUE;
SocketInterface_Message* message = NULL;
try
{
message = data.Deserialize();
}
catch (SocketInterface_Exception& e)
{
gotData = FALSE;
SocketInterface_HandleException(iface, &e, &data, i);
}
// Handle the message
if (gotData)
{
try
{
SocketInterface_HandleReceiverMessage(iface, message, i);
}
catch (SocketInterface_Exception& e)
{
gotData = FALSE;
SocketInterface_HandleException(iface, &e, message, i);
delete message;
}
}
}
else
{
gotData = FALSE;
}
} while (gotData);
}
}
}
}
return NULL;
}
void* SocketInterface_SenderThread(void* voidIface)
{
EXTERNAL_Interface* iface = (EXTERNAL_Interface*) voidIface;
SocketInterface_InterfaceData* socketData = (SocketInterface_InterfaceData*) iface->data;
//EXTERNAL_VarArray data;
EXTERNAL_SocketErrorType err;
SocketInterface_MessageList* node;
int numOutgoing;
char errString[MAX_STRING_LENGTH];
char str[MAX_STRING_LENGTH];
SocketInterface_SerializedMessage* serializedMessage;
//EXTERNAL_VarArrayInit(&data);
// Loop until end of program
//while (socketData->simulationState != SocketInterface_StateType_Stopping && socketData->simulationState != SocketInterface_StateType_Resetting)
while (socketData->simulationState != SocketInterface_StateType_Shutdown)
{
// Handle any messages
pthread_mutex_lock(&socketData->sockets.senderMutex);
if (socketData->outgoingMessages == NULL)
{
pthread_cond_wait(
&socketData->sockets.senderNotEmpty,
&socketData->sockets.senderMutex);
}
while (socketData->outgoingMessages == NULL && socketData->simulationState != SocketInterface_StateType_Shutdown)
{
pthread_cond_wait(
&socketData->sockets.senderNotEmpty,
&socketData->sockets.senderMutex);
}
if (socketData->simulationState == SocketInterface_StateType_Shutdown)
{
break;
}
// Remove from outgoing list
node = (SocketInterface_MessageList*) socketData->outgoingMessages;
assert(node != NULL);
socketData->outgoingMessages = node->next;
if (node->next == NULL)
{
socketData->lastOutgoingMessage = NULL;
}
socketData->numOutgoingMessages--;
numOutgoing = socketData->numOutgoingMessages;
pthread_mutex_unlock(&socketData->sockets.senderMutex);
if (numOutgoing < SOCKET_INTERFACE_MAX_QUEUE_SIZE * 0.9)
{
pthread_cond_signal(&socketData->sockets.senderNotFull);
}
// If socket is valid
if (EXTERNAL_SocketValid(socketData->sockets.connections[node->socketId]))
{
// Send the message
// First Serialize the message
if (DEBUG_MESSAGE_SENT)
{
std::string temp;
node->message->Print(&temp);
printf ("%s\n", temp.c_str());
}
serializedMessage = node->message->Serialize();
if (serializedMessage->m_Data == NULL)
{
sprintf (errString, "Unknown message type\n");
SocketInterface_PrintLog(iface, socketData->errorsLogFile, errString);
delete node->message;
delete node;
return NULL;
}
err = EXTERNAL_SocketSend(
socketData->sockets.connections[node->socketId],
(char*) serializedMessage->m_Data,
serializedMessage->m_Size);
if (err != 0)
{
HandleSocketError(
iface,
&socketData->sockets,
node->socketId,
EXTERNAL_SocketError,
str);
}
delete serializedMessage;
}
// Now free memory
delete node->message;
delete node;
}
return NULL;
}
static void SocketInterface_SendCommEffectsResponseZeroDelay(
EXTERNAL_Interface* iface,
Node* node,
NodeAddress receiverAddress,
std::string receiver,
SocketInterface_PacketData *packetData,
int socketId)
{
SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data;
if (receiverAddress == ANY_ADDRESS)
{
for (int i = 0; i < node->numberInterfaces; i++)
{
NodeAddress subnetAddr =
MAPPING_GetSubnetAddressForInterface(
node,
node->nodeId,
i);
for (unsigned j = 0; j < data->subnetNodeMap[subnetAddr].size(); j++)
{
NodeId receiverId = data->subnetNodeMap[subnetAddr][j];
// If it's not us and there is a platform mapped to this ID send a response
if (receiverId != node->nodeId)
{
EntityData* rec;
rec = EntityMappingLookup(&data->entityMapping, receiverId);
if (rec != NULL)
{
std::string entityId = rec->entityId;
SocketInterface_CommEffectsResponseMessage* response = new
SocketInterface_CommEffectsResponseMessage(packetData->id1,
packetData->id2,
&packetData->originator,
&entityId,
SocketInterface_Status_Success,
(double) SocketInterface_Timestamp(iface) / SECOND,
0.0);
response->SetDescription(packetData->description);
if (EXTERNAL_SocketValid(data->sockets.connections[socketId]))
{
SocketInterface_SendMessage(
iface,
response,
packetData->socketId);
data->responses++;
data->successes++;
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
delete response;
}
}
}
}
// Get subnet address
}
else if (NetworkIpIsMulticastAddress(iface->partition->firstNode, receiverAddress))
{
// Loop over all platform mappings.
// If platform is a member of this multicast group then send a response
EntityData* mapping;
BOOL isInGroup;
std::string receiverId;
// Loop over all platform mappings
std::map<std::string, EntityData*>::iterator platformit;
for (platformit = data->entityMapping.entities.begin();
platformit != data->entityMapping.entities.end();
platformit++)
{
mapping = platformit->second;
isInGroup = FALSE;
// Ignore if the mapping is us
if (mapping->entityId == packetData->originator)
{
continue;
}
std::map<NodeId, Entity_NodeData>::iterator entityit;
for (entityit = mapping->nodes.begin();
entityit != mapping->nodes.end();
entityit++)
{
Entity_NodeData entity = entityit->second;
// Check if platform is in group
std::vector<MulticastGroup>::iterator it;
for (it = entity.multicastGroups.begin();
it != entity.multicastGroups.end();
it++)
{
if (it->group == receiver)
{
receiverId = mapping->entityId;
isInGroup = TRUE;
break;
}
}
// If it's in the group then send response
if (isInGroup)
{
// Send warmup response
SocketInterface_CommEffectsResponseMessage* response = new
SocketInterface_CommEffectsResponseMessage(packetData->id1,
packetData->id2,
&packetData->originator,
&receiverId,
SocketInterface_Status_Success,
(double) SocketInterface_Timestamp(iface) / SECOND,
0.0);
response->SetDescription(packetData->description);
// Source response, send response to source
if (data->sourceResponsibleMulticast)
{
if (EXTERNAL_SocketValid(data->sockets.connections[socketId]))
{
SocketInterface_SendMessage(
iface,
response,
packetData->socketId);
data->responses++;
data->successes++;
}
}
else
{
// Destination response, send response to all subscribers
for (unsigned j = 0; j < it->socketSubscribers.size(); j++)
{
if (EXTERNAL_SocketValid(data->sockets.connections[it->socketSubscribers[j]]))
{
SocketInterface_SendMessage(
iface,
response,
it->socketSubscribers[j]);
data->responses++;
data->successes++;
}
}
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
delete response;
}
}
}
}
else
{
// Send warmup response
SocketInterface_CommEffectsResponseMessage* response = new
SocketInterface_CommEffectsResponseMessage(packetData->id1,
packetData->id2,
&packetData->originator,
&packetData->receiver,
SocketInterface_Status_Success,
(double) SocketInterface_Timestamp(iface) / SECOND,
0.0);
response->SetDescription(packetData->description);
if (EXTERNAL_SocketValid(data->sockets.connections[socketId]))
{
SocketInterface_SendMessage(
iface,
response,
packetData->socketId);
data->responses++;
data->successes++;
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
delete response;
}
}
static void SocketInterface_SendCommEffectsRequest(
EXTERNAL_Interface* iface,
Node* node,
SocketInterface_CommEffectsRequestMessage *requestMessage,
NodeAddress receiverAddress,
int socketId,
clocktype delay)
{
SocketInterface_PacketData *packetData;
SocketInterface_InterfaceData *data;
NodeAddress receiverNodeId;
char *messageData;
char *tmpMessageData;
int messageSize;
int tmpPktSize;
// The actual packet will contain the message hash id as well as the
// failure timeout window.
// TODO: remove the failure timeout window. It doesn't make sense here.
UInt32 actualPacketSize = sizeof(SocketInterface_PacketHeader);
char err[MAX_STRING_LENGTH];
char receiverString[MAX_STRING_LENGTH];
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
// Add space for network packet indicator
if (data->useStatisticalModel)
{
actualPacketSize += sizeof(BOOL);
}
#ifdef DEBUG
{
char senderBuf [MAX_STRING_LENGTH];
char receiverBuf [MAX_STRING_LENGTH];
strcpy (senderBuf, requestMessage->m_SenderId.c_str ());
strcpy (receiverBuf, requestMessage->m_ReceiverId.c_str ());
printf("Message #%d request from %s to %s p = %d t = %f\n",
(int)requestMessage->m_Id1,
senderBuf,
receiverBuf,
requestMessage->m_Protocol,
requestMessage->m_SendTime);
}
#endif
NodeAddress originatorAddress = MappingGetSingleNodeAddress(iface->partition,
&data->entityMapping,
requestMessage->m_SenderId);
if (originatorAddress == 0)
{
sprintf(err,
"SocketInterface_SendCommEffectsRequest Invalid Sender node (no node address): %s",
requestMessage->m_SenderId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err);
}
// Allocate message data. This is temporary and will be freed by the
// call to EXTERNAL_CreateMessageAppLayer. The message data will contain
// a pointer to the SocketInterface_PacketData structure which has information about
// the comm effects request message and a pointer to the
// EXTERNAL_TreeNode structure that keeps track of all packets in the
// simulation. The memory referenced by messageData will be placed
// inside a message, and then freed.
if (requestMessage->m_Size < actualPacketSize)
{
messageSize = actualPacketSize;
}
else
{
messageSize = requestMessage->m_Size;
}
messageData = (char*) MEM_malloc(sizeof(SocketInterface_PacketHeader));
memset(messageData, 0, sizeof(SocketInterface_PacketHeader));
// Construct packet data
packetData = new SocketInterface_PacketData;
packetData->id1 = requestMessage->m_Id1;
packetData->id2 = requestMessage->m_Id2;
packetData->size = requestMessage->m_Size;
packetData->waveform = requestMessage->m_Waveform;
packetData->route = requestMessage->m_Route;
packetData->waveformSpecified = requestMessage->m_WaveformSpecified;
packetData->routeSpecified = requestMessage->m_RouteSpecified;
packetData->protocol = requestMessage->m_Protocol;
packetData->description = requestMessage->m_Description.c_str();
packetData->socketId = socketId;
packetData->multicast = receiverAddress == ANY_ADDRESS
|| NetworkIpIsMulticastAddress(iface->partition->firstNode, receiverAddress);
// Initialize packetData's receivers effects hashmap
if ((data->useStatisticalModel == TRUE) && (packetData->multicast))
{
packetData->effects = new SocketInterface_MulticastModeledReceiversCommEffects();
}
else
{
packetData->effects = NULL;
}
// Determine the receiver for this request
std::string receiver;
receiverNodeId = MAPPING_GetNodeIdFromInterfaceAddress(
node,
receiverAddress);
if (receiverNodeId == INVALID_MAPPING)
{
// If it's an invalid mapping check if it is a multicast address.
if (packetData->multicast)
{
IO_ConvertIpAddressToString(
receiverAddress,
receiverString);
receiver = (std::string)receiverString;
}
else
{
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, "Invalid receiver address in SocketInterface_SendCommEffectsRequest");
}
}
else
{
// Get the receiver entity id
receiver = MappingGetEntityId(
&data->entityMapping,
receiverNodeId);
if (strcmp(receiver.c_str(), "") == 0)
{
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, "Receiver in SocketInterface_SendCommEffectsRequest is not a mapped entity");
}
}
// Allocate receiver
packetData->receiver = receiver;
// Note, these times are going to be wrong if the
// request came in asking for a delay.
packetData->originator = requestMessage->m_SenderId;
packetData->beginProcessingTime =
EXTERNAL_QuerySimulationTime(iface);
packetData->beginProcessingRealTime =
EXTERNAL_QueryRealTime(iface);
packetData->beginProcessingCPUTime =
EXTERNAL_QueryCPUTime(iface);
packetData->boundary = data->lastBoundary + 1;
EXTERNAL_TreeNode* record;
if (packetData->multicast)
{
record = EXTERNAL_TreeAllocateNode(&data->multicastTree);
}
else
{
record = EXTERNAL_TreeAllocateNode(&data->requestTree);
}
packetData->treeNode = record;
record->data = (void*) packetData;
// NOTE: record time set later depending on UDP/TCP
// Hash the request
packetData->hashId = data->requestHash.HashRequest(packetData);
// Store the header inside the message
SocketInterface_PacketHeader* header = (SocketInterface_PacketHeader*) messageData;
header->hashId = packetData->hashId;
header->failureTimeout = data->udpFailureTimeout;
header->id1 = requestMessage->m_Id1;
header->id2 = requestMessage->m_Id2;
// Update tos if specified
TosType tos = 0;
if (requestMessage->m_PrecedenceSpecified || requestMessage->m_DscpSpecified
|| requestMessage->m_TosSpecified)
{
if (requestMessage->m_PrecedenceSpecified)
{
tos = requestMessage->m_Precedence << 5;
}
else if (requestMessage->m_DscpSpecified)
{
tos = requestMessage->m_Dscp << 2;
}
else if (requestMessage->m_TosSpecified)
{
tos = requestMessage->m_Tos;
}
}
// Determine how to handle the request
if (data->simulationState == SocketInterface_StateType_Standby)
{
// Ignore during pause and standby, invalid message. Send
// error message instead
MEM_free(messageData);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSimulationState, "Cannot accept CommEffectsRequest during Standby state");
}
else if (data->simulationState == SocketInterface_StateType_Paused && data->pauseSendZeroDelay)
{
// Send an immediate comm response during warmup and
// pause state if SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY is YES. After sending the
// response free the message data and exit this function, no further
// processing is needed.
SocketInterface_SendCommEffectsResponseZeroDelay(
iface,
node,
receiverAddress,
receiver,
packetData,
socketId);
MEM_free(messageData);
return;
}
else if (requestMessage->m_Protocol == SocketInterface_ProtocolType_ProtocolTCP)
{
SocketInterface_UnicastModelingParameters params;
BOOL statResult;
// Determine failure timeout depending on whether the message has a
// timestamp
if (requestMessage->m_SendTimeSpecified)
{
if (requestMessage->m_FailureTimeoutSpecified)
{
record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime)
+ (clocktype) (requestMessage->m_FailureTimeout * SECOND);
packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout);
}
else
{
record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime)
+ data->tcpFailureTimeout;
packetData->failureTimeout = ((double) data->tcpFailureTimeout)/SECOND;
}
}
else
{
if (requestMessage->m_FailureTimeoutSpecified)
{
record->time = getSimTime(node) + (clocktype) (requestMessage->m_FailureTimeout * SECOND);
if (data->deterministicTiming)
{
record->time = iface->horizon + (clocktype) (requestMessage->m_FailureTimeout * SECOND);
}
packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout);
}
else
{
record->time = getSimTime(node) + data->tcpFailureTimeout;
if (data->deterministicTiming)
{
record->time = iface->horizon + data->tcpFailureTimeout;
}
packetData->failureTimeout = ((double) data->tcpFailureTimeout)/SECOND;
}
}
// TCP cannot be multicast
if (packetData->multicast)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidProtocol,
"Multicast messages may not be sent using TCP");
}
// If running in distributed qualnet mode, send responses and update stats
// based on statistical model. Also, update message accordingly
if (data->useStatisticalModel)
{
// Add the network packet indicator to the message
BOOL isNetworkPacket = FALSE;
memcpy(
messageData + sizeof(Int32) + sizeof(clocktype),
&isNetworkPacket,
sizeof(BOOL));
params.protocol = SocketInterface_ProtocolType_ProtocolTCP;
params.senderNodeAddress = originatorAddress;
params.receiverNodeAddress = receiverAddress;
params.sendTime = EXTERNAL_QuerySimulationTime(iface);
statResult = SocketInterface_SendModeledResponses(
iface,
packetData,
(void *)¶ms);
tmpMessageData = messageData;
tmpPktSize = actualPacketSize;
actualPacketSize += (sizeof(BOOL) +
sizeof(BOOL) +
sizeof(SocketInterface_UnicastModelingParameters));
if (requestMessage->m_Size < actualPacketSize)
{
messageSize = actualPacketSize;
}
else
{
messageSize = requestMessage->m_Size;
}
messageData = (char *) MEM_malloc(messageSize);
memset(messageData, 0, messageSize);
memcpy(
messageData,
tmpMessageData,
tmpPktSize);
memcpy(
messageData + tmpPktSize,
&statResult,
sizeof(BOOL));
memcpy(
messageData + tmpPktSize + sizeof(BOOL),
&(packetData->multicast),
sizeof(BOOL));
memcpy(
messageData + tmpPktSize + sizeof(BOOL) + sizeof(BOOL),
¶ms,
sizeof(SocketInterface_UnicastModelingParameters));
MEM_free(tmpMessageData);
}
if (requestMessage->m_TtlSpecified)
{
// Send TCP message
EXTERNAL_SendVirtualDataAppLayerTCP(
iface,
originatorAddress,
receiverAddress,
messageData,
sizeof(SocketInterface_PacketHeader),
messageSize - sizeof(SocketInterface_PacketHeader),
EXTERNAL_QuerySimulationTime(iface) + delay,
requestMessage->m_TTL);
}
else
{
// Send TCP message
EXTERNAL_SendVirtualDataAppLayerTCP(
iface,
originatorAddress,
receiverAddress,
messageData,
sizeof(SocketInterface_PacketHeader),
messageSize - sizeof(SocketInterface_PacketHeader),
EXTERNAL_QuerySimulationTime(iface) + delay);
}
}
else if (requestMessage->m_Protocol == SocketInterface_ProtocolType_ProtocolUDP)
{
SocketInterface_UnicastModelingParameters uParams;
SocketInterface_MulticastModelingParameters mParams;
size_t paramSize;
BOOL statResult;
// Determine failure timeout depending on whether the message has a
// timestamp
if (requestMessage->m_SendTimeSpecified)
{
if (requestMessage->m_FailureTimeoutSpecified)
{
record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime)
+ (clocktype) (requestMessage->m_FailureTimeout * SECOND);
packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout);
}
else
{
record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime)
+ data->udpFailureTimeout;
packetData->failureTimeout = ((double) data->udpFailureTimeout)/SECOND;
}
}
else
{
if (requestMessage->m_FailureTimeoutSpecified)
{
record->time = getSimTime(node) + (clocktype) (requestMessage->m_FailureTimeout * SECOND);
if (data->deterministicTiming)
{
record->time = iface->horizon + (clocktype) (requestMessage->m_FailureTimeout * SECOND);
}
packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout);
}
else
{
record->time = getSimTime(node) + data->udpFailureTimeout;
if (data->deterministicTiming)
{
record->time = iface->horizon + data->udpFailureTimeout;
}
packetData->failureTimeout = ((double) data->udpFailureTimeout)/SECOND;
}
}
// If running in distributed qualnet mode, send responses and update stats
// based on statistical model. Also, update message accordingly
if (data->useStatisticalModel)
{
// Add the network packet indicator to the message
BOOL isNetworkPacket = FALSE;
memcpy(
messageData + sizeof(Int32) + sizeof(clocktype),
&isNetworkPacket,
sizeof(BOOL));
if (packetData->multicast)
{
mParams.protocol = SocketInterface_ProtocolType_ProtocolUDP;
mParams.senderNodeAddress = originatorAddress;
mParams.receiverNodeAddress = receiverAddress;
mParams.sendTime = EXTERNAL_QuerySimulationTime(iface);
statResult = SocketInterface_SendModeledResponses(
iface,
packetData,
(void *)&mParams);
paramSize = sizeof(SocketInterface_MulticastModelingParameters);
}
else
{
uParams.protocol = SocketInterface_ProtocolType_ProtocolUDP;
uParams.senderNodeAddress = originatorAddress;
uParams.receiverNodeAddress = receiverAddress;
uParams.sendTime = EXTERNAL_QuerySimulationTime(iface);
statResult = SocketInterface_SendModeledResponses(
iface,
packetData,
(void *)&uParams);
paramSize = sizeof(SocketInterface_UnicastModelingParameters);
}
tmpMessageData = messageData;
tmpPktSize = actualPacketSize;
actualPacketSize += (sizeof(BOOL) +
sizeof(BOOL) +
paramSize);
if (requestMessage->m_Size < actualPacketSize)
{
messageSize = actualPacketSize;
}
else
{
messageSize = requestMessage->m_Size;
}
messageData = (char *) MEM_malloc(messageSize);
memset(messageData, 0, messageSize);
memcpy(
messageData,
tmpMessageData,
tmpPktSize);
memcpy(
messageData + tmpPktSize,
&statResult,
sizeof(BOOL));
memcpy(
messageData + tmpPktSize + sizeof(BOOL),
&(packetData->multicast),
sizeof(BOOL));
if (packetData->multicast)
{
memcpy(
messageData + tmpPktSize + sizeof(BOOL) + sizeof(BOOL),
&mParams,
paramSize);
}
else
{
memcpy(
messageData + tmpPktSize + sizeof(BOOL) + sizeof(BOOL),
&uParams,
paramSize);
}
MEM_free(tmpMessageData);
}
if (requestMessage->m_TtlSpecified)
{
// Send UDP message
EXTERNAL_SendVirtualDataAppLayerUDP(
iface,
originatorAddress,
receiverAddress,
messageData,
sizeof(SocketInterface_PacketHeader),
messageSize - sizeof(SocketInterface_PacketHeader),
EXTERNAL_QuerySimulationTime(iface) + delay,
APP_FORWARD,
TRACE_FORWARD,
tos,
requestMessage->m_TTL);
}
else
{
// Send UDP message
EXTERNAL_SendVirtualDataAppLayerUDP(
iface,
originatorAddress,
receiverAddress,
messageData,
sizeof(SocketInterface_PacketHeader),
messageSize - sizeof(SocketInterface_PacketHeader),
EXTERNAL_QuerySimulationTime(iface) + delay,
APP_FORWARD,
TRACE_FORWARD,
tos);
}
}
else if (requestMessage->m_Protocol == SocketInterface_ProtocolType_ProtocolNetwork)
{
// Add the network packet indicator to the message
if (data->useStatisticalModel)
{
BOOL isNetworkPacket = TRUE;
memcpy(
messageData + sizeof(Int32) + sizeof(clocktype),
&isNetworkPacket,
sizeof(BOOL));
}
if (requestMessage->m_TtlSpecified)
{
EXTERNAL_SendVirtualDataNetworkLayer(
iface,
originatorAddress,
originatorAddress,
receiverAddress,
tos,
IPPROTO_EXTERNAL,
requestMessage->m_TTL, // ttl
messageData,
sizeof(SocketInterface_PacketHeader),
messageSize - sizeof(SocketInterface_PacketHeader),
EXTERNAL_QuerySimulationTime(iface) + delay);
}
else
{
EXTERNAL_SendVirtualDataNetworkLayer(
iface,
originatorAddress,
originatorAddress,
receiverAddress,
tos,
IPPROTO_EXTERNAL,
IPDEFTTL, // default ttl
messageData,
sizeof(SocketInterface_PacketHeader),
messageSize - sizeof(SocketInterface_PacketHeader),
EXTERNAL_QuerySimulationTime(iface) + delay);
}
// Determine failure timeout depending on whether the message has a
// timestamp
if (requestMessage->m_SendTimeSpecified)
{
if (requestMessage->m_FailureTimeoutSpecified)
{
record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime)
+ (clocktype) (requestMessage->m_FailureTimeout * SECOND);
}
else
{
record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime)
+ data->udpFailureTimeout;
}
}
else
{
if (requestMessage->m_FailureTimeoutSpecified)
{
record->time = getSimTime(node) + (clocktype) (requestMessage->m_FailureTimeout * SECOND);
if (data->deterministicTiming)
{
record->time = iface->horizon + (clocktype) (requestMessage->m_FailureTimeout * SECOND);
}
}
else
{
record->time = getSimTime(node) + data->udpFailureTimeout;
if (data->deterministicTiming)
{
record->time = iface->horizon + data->udpFailureTimeout;
}
}
}
}
else
{
MEM_free(messageData);
sprintf(err, "Unknown protocol \"%d\"", requestMessage->m_Protocol);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, err);
}
// Insert the comm request into the request tree
if (packetData->multicast)
{
EXTERNAL_TreeInsert(&data->multicastTree, record);
}
else
{
EXTERNAL_TreeInsert(&data->requestTree, record);
}
MEM_free(messageData);
}
static void SocketInterface_HandleStopSimulation(
EXTERNAL_Interface* iface,
SocketInterface_StopSimulationMessage* stopMessage)
{
char errString[MAX_STRING_LENGTH];
SocketInterface_InterfaceData* data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
// Check for timeStamp
if (stopMessage->m_StopSpecified)
{
// timestamp is specified. Now to make sure that
// the time is not past.
if (SocketInterface_TimestampToQualNet(iface, stopMessage->m_StopTime) <
EXTERNAL_QuerySimulationTime(iface))
{
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime)
{
EXTERNAL_SetSimulationEndTime(
iface,
EXTERNAL_QuerySimulationTime(iface));
}
else
{
// In non-real-time this is an error -- we should never receive
// a message in the past.
sprintf(errString,
"Invalid Stop time: %fs",
stopMessage->m_StopTime);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidStopTime, errString);
}
}
else
{
// set the new maxSimClock;
EXTERNAL_SetSimulationEndTime(
iface,
SocketInterface_TimestampToQualNet(iface, stopMessage->m_StopTime));
}
}
else
{
// No timeStamp, that is, stop immediately.
EXTERNAL_SetSimulationEndTime(
iface,
EXTERNAL_QuerySimulationTime(iface));
}
}
static void SocketInterface_HandleResetSimulation(
EXTERNAL_Interface* iface,
SocketInterface_ResetSimulationMessage* reset)
{
// Create the reponse message.
SocketInterface_InterfaceData *data;
char errString[MAX_STRING_LENGTH];
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
// Check for timeStamp
if (reset->m_ResetSpecified)
{
// timestamp is specified. Now to make sure that
// the time is not past.
if (SocketInterface_TimestampToQualNet(iface, reset->m_ResetTime) <
EXTERNAL_QuerySimulationTime(iface))
{
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime)
{
EXTERNAL_SetSimulationEndTime(
iface,
SocketInterface_TimestampToQualNet(iface, reset->m_ResetTime));
}
else
{
// In non-real-time this is an error -- we should never receive
// a message in the past.
sprintf(
errString,
"Invalid Stop time: %fs",
reset->m_ResetTime);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidStopTime, errString);
}
}
else
{
// set the new maxSimClock;
EXTERNAL_SetSimulationEndTime(
iface,
SocketInterface_TimestampToQualNet(iface, reset->m_ResetTime));
}
}
else
{
// No timeStamp, that is, stop immediately.
EXTERNAL_SetSimulationEndTime(
iface,
EXTERNAL_QuerySimulationTime(iface));
}
data->resetting = TRUE;
}
static void SocketInterface_HandleDynamicResponse(
EXTERNAL_Interface* iface,
SocketInterface_DynamicCommandMessage* dynamic,
int socketId,
std::string* result)
{
// Create the reponse message.
SocketInterface_InterfaceData *data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
SocketInterface_DynamicResponseMessage* response;
response = new SocketInterface_DynamicResponseMessage(dynamic->m_Type,
&dynamic->m_Path,
&dynamic->m_Args,
result);
// Check for the socket data
if (EXTERNAL_SocketValid(data->sockets.connections[socketId]))
{
SocketInterface_SendMessage(
iface,
response,
socketId);
data->responses++;
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
// delete the message that was created.
delete response;
}
// Robust Interface client uses Dynamic Commands to read and write parameters
// controlling the robust protocol.
// The localDynamicRead and localDynamicWrite handle these commands even if
// the scenario does not enable the dynamic hierarchy
static bool localDynamicRead(EXTERNAL_Interface* iface,
const std::string &path,
std::string &result)
{
SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data;
std::stringstream rs;
if (path == "/CESSocketInterface/ServerProtocolVersion")
{
rs << data->serverProtocolVersion;
rs >> result;
return true;
}
else if (path == "/CESSocketInterface/ClientProtocolVersion")
{
rs << data->clientProtocolVersion;
rs >> result;
return true;
}
else
return false;
}
static bool localDynamicWrite(EXTERNAL_Interface* iface,
const std::string &path,
const std::string &args)
{
SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data;
std::istringstream is(args);
if (path == "/CESSocketInterface/ClientProtocolVersion")
{
int v;
is >> v;
data->clientProtocolVersion = v;
return true;
}
else
return false;
}
static void SocketInterface_HandleDynamicCommand(
EXTERNAL_Interface* iface,
SocketInterface_DynamicCommandMessage* dynamic,
int socketId)
{
char errString[MAX_STRING_LENGTH];
std::string result;
D_Hierarchy* h = &iface->partition->dynamicHierarchy;
std::string encodedPath = "";
try
{
encodedPath = h->EncodePath(dynamic->m_Path);
}
catch (D_Exception)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidDynamicCommand,
"Invalid Path for the Dynamic Command");
}
// Check the type for the command
switch(dynamic->m_Type)
{
case SocketInterface_OperationType_Read:
{
try
{
// Robust Interface
if (!localDynamicRead(iface, encodedPath, result))
{
// Use the encoded path
h->ReadAsString(
encodedPath.c_str(),
result);
}
// Need to send a response back to the socket
SocketInterface_HandleDynamicResponse(
iface,
dynamic,
socketId,
&result);
}
catch (D_Exception& d)
{
// We have an exception.
SocketInterface_HandleDynamicCommandException(iface,
&d,
(SocketInterface_Message*)dynamic,
socketId,
SocketInterface_ErrorType_InvalidDynamicCommand);
}
break;
}
case SocketInterface_OperationType_Write:
{
try
{
// Robust Interface
if (!localDynamicWrite(iface, encodedPath, dynamic->m_Args))
{
// Use the encoded path
h->WriteAsString(
encodedPath.c_str(),
dynamic->m_Args.c_str());
}
}
catch (D_Exception& d)
{
SocketInterface_HandleDynamicCommandException(iface,
&d,
(SocketInterface_Message*)dynamic,
socketId,
SocketInterface_ErrorType_InvalidDynamicCommand);
}
break;
}
case SocketInterface_OperationType_Execute:
{
try
{
// Use the encoded path
h->ExecuteAsString(
encodedPath.c_str(),
dynamic->m_Args.c_str(),
result);
// Send a response for the command above
SocketInterface_HandleDynamicResponse(
iface,
dynamic,
socketId,
&result);
}
catch (D_Exception& d)
{
SocketInterface_HandleDynamicCommandException(iface,
&d,
(SocketInterface_Message*)dynamic,
socketId,
SocketInterface_ErrorType_InvalidDynamicCommand);
}
break;
}
default:
sprintf(
errString,
"Unknown operation type \"%d\"",
dynamic->m_Type);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidOperationType, errString);
break;
}
}
// /**
// FUNCTION :: SocketInterface_CheckWaveformValidity
// PURPOSE :: Checks if the waveform and route inputs
// are valid.
// PARAMETERS ::
// iface : Pointer to external interface.
// waveform : waveform type
// waveformSpecified : Bool specifying whether waveform is present
// routeSpecified : Bool specifying whether route is present
// RETURN :: Void : NULL.
// **/
void SocketInterface_CheckWaveformValidity(
EXTERNAL_Interface* iface,
SocketInterface_WaveformType waveform,
BOOL waveformSpecified,
BOOL routeSpecified)
{
char errString[MAX_STRING_LENGTH];
assert(iface != NULL);
if (routeSpecified && !waveformSpecified)
{
sprintf(errString,
"Invalid Message, Route cannot be secified without Waveform");
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString);
}
if (waveformSpecified)
{
if (waveform == SocketInterface_WaveformType_SRW && routeSpecified)
{
sprintf(errString,
"Invalid Message, Route cannot be secified with SRW");
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString);
}
if (waveform == SocketInterface_WaveformType_WNW && !routeSpecified)
{
sprintf(errString,
"Invalid Message, WNW waveform requires a route");
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString);
}
}
}
static void SocketInterface_HandleCommEffectsRequest(
EXTERNAL_Interface *iface,
SocketInterface_CommEffectsRequestMessage *requestMessage,
int socketId)
{
char errString[MAX_STRING_LENGTH];
Node *sendNode;
NodeAddress originatorAddress;
clocktype delay;
SocketInterface_InterfaceData *data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
SocketInterface_CheckWaveformValidity(
iface,
requestMessage->m_Waveform,
requestMessage->m_WaveformSpecified,
requestMessage->m_RouteSpecified);
#ifdef DEBUG
printf("request t = %f sim = %f\n",
requestMessage->m_SendTime,
(double) EXTERNAL_QuerySimulationTime(iface) / SECOND);
#endif
// Determine sendNode, allowed to be node on remote partition
sendNode = MappingGetSingleNodePointer(
iface->partition,
&data->entityMapping,
requestMessage->m_SenderId);
if (sendNode == NULL)
{
sprintf(errString,
"SocketInterface_HandleCommEffectsRequest Invalid Sender node: %s",
requestMessage->m_SenderId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, errString);
}
else
{
// check if the sender is mapped
std::string senderEntityId = "";
senderEntityId = MappingGetEntityId(
&data->entityMapping,
(NodeAddress)sendNode->nodeId);
if (strcmp(senderEntityId.c_str(), "") == 0)
{
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, "Sender in SocketInterface_SendCommEffectsRequest is not a mapped entity");
}
}
originatorAddress = MappingGetSingleNodeAddress(iface->partition,
&data->entityMapping,
requestMessage->m_SenderId);
if (originatorAddress == 0)
{
sprintf(errString,
"SocketInterface_HandleCommEffectsRequest Invalid Sender node (no node address): %s",
requestMessage->m_SenderId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, errString);
}
// Check if send time is specified
if (requestMessage->m_SendTimeSpecified)
{
// Check if the request is occuring in the past (ie, its sendTime is
// before the simulation time)
if (SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) <
EXTERNAL_QuerySimulationTime(iface))
{
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime)
{
// In real-time this is OK, just send the message as soon as
// possible
delay = 0;
if (data->deterministicTiming)
{
delay = (iface->horizon -
EXTERNAL_QuerySimulationTime (iface));
}
}
else
{
// In non-real-time this is an error -- we should never receive
// a message in the past.
sprintf(errString,
"Invalid Send time: %fs",
requestMessage->m_SendTime);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSendTime, errString);
}
}
else
{
delay = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime)
- EXTERNAL_QuerySimulationTime(iface);
}
}
else
{
// We have no send time. Send immediately
delay = 0;
if (data->deterministicTiming)
{
delay = (iface->horizon - EXTERNAL_QuerySimulationTime(iface));
}
}
// TODO JDL: I don't know why SocketInterface_HandleCommEffectsReceiver is a separate function. It also has a weird name.
// What do you think about combining the two functions?
SocketInterface_HandleCommEffectsReceiver(
iface,
sendNode,
requestMessage,
socketId,
delay);
}
static void HandleCartesianCoordinateValidity(
EXTERNAL_Interface* iface,
double coord1,
double coord2,
double coord3)
{
assert(iface != NULL);
char errString[MAX_STRING_LENGTH];
struct cartesian_coordinates origin;
struct cartesian_coordinates dimensions;
origin = iface->partition->terrainData->getOrigin().cartesian;
dimensions = iface->partition->terrainData->getDimensions().cartesian;
if (coord1 < origin.x)
{
sprintf(
errString,
"X out of range: %f (minimum is %f)",
coord1, origin.x);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
else if (coord1 > dimensions.x)
{
sprintf(
errString,
"X out of range: %f (maximum is %f)",
coord1, dimensions.x);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
if (coord2 < origin.y)
{
sprintf(
errString,
"Y out of range: %f (minimum is %f)",
coord2, origin.y);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
else if (coord2 > dimensions.y)
{
sprintf(
errString,
"Y out of range: %f (maximum is %f)",
coord2, dimensions.y);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
if (coord3 < origin.z)
{
sprintf(
errString,
"Z out of range: %f (minimum is %f)",
coord3, origin.z);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
else if (coord3 > dimensions.z)
{
sprintf(
errString,
"Z out of range: %f (maximum is %f)",
coord3, dimensions.z);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
}
static void HandleLatLonAltCoordinateValidity(
EXTERNAL_Interface* iface,
double coord1,
double coord2,
double coord3)
{
assert(iface != NULL);
char errString[MAX_STRING_LENGTH];
struct common_coordinates origin;
struct common_coordinates dimensions;
origin = iface->partition->terrainData->getOrigin().common;
dimensions = iface->partition->terrainData->getDimensions().common;
if (coord1 < origin.c1)
{
sprintf(
errString,
"Latitude out of range: %f (minimum is %f)",
coord1, origin.c1);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
else if (coord1 > origin.c1 + dimensions.c1)
{
sprintf(
errString,
"Latitude out of range: %f (maximum is %f)",
coord1, origin.c1 + dimensions.c1);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
if (coord2 < origin.c2)
{
sprintf(
errString,
"Longitude out of range: %f (minimum is %f)",
coord2, origin.c2);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
else if (coord2 > origin.c2 + dimensions.c2)
{
sprintf(
errString,
"Longitude out of range: %f (maximum is %f)",
coord2, origin.c2 + dimensions.c2);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
if (coord3 < origin.c3)
{
sprintf(
errString,
"Altitude out of range: %f (minimum is %f)",
coord3, origin.c3);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
else if (coord3 > origin.c3 + dimensions.c3)
{
sprintf(
errString,
"Altitude out of range: %f (maximum is %f)",
coord3, origin.c3 + dimensions.c3);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString);
}
}
void SocketInterface_HandleMulticastChange(
EXTERNAL_Interface* iface,
Node* node,
clocktype eventTime,
std::string entityId,
int socketId,
std::vector<std::string>* joinGroups,
std::vector<std::string>* leaveGroups)
{
SocketInterface_InterfaceData *data;
unsigned i;
std::string join;
std::string leave;
data = (SocketInterface_InterfaceData*) iface->data;
// Add each multicast group in sequential mode. This is handled in
// SocketInterface_PARALLEL_HandleCreatePlatformNotice when running in parallel.
// Note that MappingAddMulticastGroup
// checks to make sure the platform is not already in the group.
NodeAddress group;
int hostBits;
BOOL isNodeId;
if (joinGroups != NULL)
{
for (i = 0; i < joinGroups->size(); i++)
{
IO_ParseNodeIdHostOrNetworkAddress(
(*joinGroups)[i].c_str(),
&group,
&hostBits,
&isNodeId);
if (NetworkIpIsMulticastAddress(node, group))
{
// If it's a multicast address then join the group
join += (*joinGroups)[i] + " ";
}
else if (group != ANY_ADDRESS)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidGroup,
"Invalid multicast group");
}
// Update the number of memebers in the group.
if (data->listOfMulticastGroups.size() <= 0)
{
// No members in the list.
data->listOfMulticastGroups.insert(make_pair((*joinGroups)[i], 1));
//data->listOfMulticastGroups[(*joinGroups)[i]] = 1;
}
else
{
// the list is not empty.
int tempCount;
std::map<std::string, int>::iterator iter;
iter = data->listOfMulticastGroups.find((*joinGroups)[i]);
if (iter != data->listOfMulticastGroups.end())
{
// the element exists in the list.
tempCount = data->listOfMulticastGroups[(*joinGroups)[i]];
tempCount++;
data->listOfMulticastGroups[(*joinGroups)[i]] = tempCount;
}
else
{
// this element is not in the list. Add it
data->listOfMulticastGroups.insert(make_pair((*joinGroups)[i], 1));
}
}
// At this point it is either multicast or broadcast. Add it
// to the entity mapping
MappingAddMulticastGroup(
&data->entityMapping,
(std::string)entityId,
&(*joinGroups)[i],
socketId);
}
}
if (leaveGroups != NULL)
{
// Leave each multicast group. Note that Socket_MappingRemoveMulticastGroup
// checks to make sure the platform is in the group.
for (i = 0; i < leaveGroups->size(); i++)
{
IO_ParseNodeIdHostOrNetworkAddress(
(*leaveGroups)[i].c_str(),
&group,
&hostBits,
&isNodeId);
if (NetworkIpIsMulticastAddress(node, group))
{
leave += (*leaveGroups)[i] + " ";
}
else
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidGroup,
"Invalid multicast group");
}
// update the member count.
int tempCount;
tempCount = data->listOfMulticastGroups[(*leaveGroups) [i]];
if (tempCount <= 0)
{
data->listOfMulticastGroups[(*leaveGroups) [i]] = 0;
}
else
{
tempCount--;
data->listOfMulticastGroups[(*leaveGroups) [i]] = tempCount;
}
MappingRemoveMulticastGroup(
&data->entityMapping,
(std::string)entityId,
&(*leaveGroups)[i]);
}
}
// Send message to node that will add it to multicast groups
Message* multicastMsg;
multicastMsg = MESSAGE_Alloc(
iface->partition->firstNode,
EXTERNAL_LAYER,
EXTERNAL_SOCKET,
MSG_EXTERNAL_SOCKET_INTERFACE_MulticastGroup);
// Fill message info with join/leave groups as follows
// 4 bytes: size of join string (N)
// 4 bytes: size of leave string (M)
// N + 1 bytes: join string + trailing 0
// M + 1 bytes: leave string + trailing 0
UInt32 n = 0;
UInt32 m = 0;
if (joinGroups != NULL)
{
n = join.size();
}
if (leaveGroups != NULL)
{
m = leave.size();
}
char* info = MESSAGE_InfoAlloc(
iface->partition->firstNode,
multicastMsg,
sizeof(UInt32) * 2 + n + m + 2);
memcpy(info, &n, sizeof(UInt32));
info += sizeof(UInt32);
memcpy(info, &m, sizeof(UInt32));
info += sizeof(UInt32);
if (n > 0)
{
memcpy(info, join.c_str(), n);
info += n;
*info++ = 0;
}
if (m > 0)
{
memcpy(info, leave.c_str(), m);
info += m;
*info++ = 0;
}
clocktype delay;
if (getSimTime(node) > eventTime)
{
delay = 0;
}
else
{
delay = eventTime - getSimTime(node);
}
EXTERNAL_MESSAGE_SendAnyNode(
iface,
node,
multicastMsg,
delay,
EXTERNAL_SCHEDULE_SAFE);
}
//#define TEST_EXTERNAL_REMOTESEND
#ifdef TEST_EXTERNAL_REMOTESEND
class SocketInterface_ExternalPingInfo
{
public:
int msgNumber;
int sourcePartition;
};
#define MSG_EXTERNAL_RemoteTest 40000
#endif
static void SocketInterface_HandleCreatePlatform(
EXTERNAL_Interface *iface,
SocketInterface_CreatePlatformMessage *message)
{
SocketInterface_InterfaceData *data;
EntityData* rec;
std::list<Entity_NodeData> entities;
char errString[MAX_STRING_LENGTH];
double c1;
double c2;
double c3;
double v1 = 0; //velocity v1, v2, v3
double v2 = 0;
double v3 = 0;
clocktype eventTime;
#ifdef TEST_EXTERNAL_REMOTESEND
// bleair - simple unit test to send an external message to partition 1
assert (iface->partition->isRunningInParallel());
static int g_pingCount = 1000;
// allocate a simple message
Message * externalPingMessage;
externalPingMessage = MESSAGE_Alloc(
iface->partition->firstNode,
EXTERNAL_LAYER, // special layer
EXTERNAL_SOCKET, // EXTERNAL_SOCKET, // protocol
MSG_EXTERNAL_RemoteTest);
// Create the info to communicate in our 'Ping" message.
SocketInterface_ExternalPingInfo * pingInfo;
pingInfo = (SocketInterface_ExternalPingInfo *)MESSAGE_InfoAlloc(
iface->partition->firstNode, externalPingMessage,
sizeof(SocketInterface_ExternalPingInfo));
pingInfo->sourcePartition = iface->partition->partitionId;
pingInfo->msgNumber = g_pingCount++;
// Send it to our external interafce that is on partition 1
EXTERNAL_MESSAGE_RemoteSend (iface, 1,
externalPingMessage, 0, EXTERNAL_SCHEDULE_SAFE);
// externalPingMessage, 0, EXTERNAL_SCHEDULE_SAFE);
printf ("DEBUG - at %lld sending a remote message %d\n",
iface->partition->theCurrentTime,
g_pingCount);
#endif
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
std::string entityId = message->m_EntityId;
#ifdef DEBUG
printf("SocketInterface_HandleCreatePlatform for entityId %s\n",
entityId.c_str());
fflush(stdout);
#endif
if (strcmp(message->m_EntityId.c_str(), "") == 0)
{
// Invalid paramter, should have an entity id.
// Throw an exception
sprintf(
errString,
"Invalid Entity Id Parameter \"%s\"",
entityId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
rec = EntityMappingLookup(&data->entityMapping, entityId);
if (data->entityMapping.dynamic)
{
// At his point we have a node, as well as a valid entity Id.
// Now to check if the mapping for the entity exists.
// If the mapping already exists, then we have a problem.
// For the dynamic case, assume one-to-one mapping
if (rec != NULL)
{
sprintf(
errString,
"Mapping for the EntityId already exists \"%s\"",
entityId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
// Add the new entity Id to QualNet.
// Create a new mapping
rec = DynamicMappingAdd(
&data->entityMapping,
message->m_EntityId);
if (rec == NULL)
{
sprintf(
errString,
"Mapping Failure, Free Nodes unavailable \"%s\"",
entityId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
}
else // static case
{
// Record should already exist (inactive)
if (rec == NULL)
{
// Mapping does not exists. We have an error.
sprintf(
errString,
"Mapping does not exit for platform \"%s\"",
message->m_EntityId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
}
if (rec->isActive)
{
// Node is already created, duplicate creation error.
sprintf(
errString,
"Duplicate node creation for platform \"%s\"",
message->m_EntityId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
// Set the generic data for the entity. The data that is common
// to the entity and not specific to the mapping modes.
rec->isActive = TRUE;
// Check for invalid damage state
if (message->m_State > SocketInterface_PlatformStateType_Damaged)
{
sprintf(errString, "Invalid State \"%d\"", message->m_State);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidState, errString);
}
// Fill in the entity data information
rec->damageState = message->m_State;
#ifdef DEBUG
printf("(orig)damage state for entity %s create is [%d]\n",
rec->entityId.c_str(), message->m_State);
fflush(stdout);
#endif
// Set generic data. This is only used for printing the graph log and
// nowhere else.
rec->commTypes = 0;
// Check for the coordinate system. Convert the system
// if necessary, also convert velocity if speficied.
if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian)
{
ConvertGCCCartesianToGCC(
message->m_Position.m_C1,
message->m_Position.m_C2,
message->m_Position.m_C3,
&c1,
&c2,
&c3);
if (message->m_VelocitySpecified)
{
ConvertGCCCartesianVelocityToGCC(
message->m_Position.m_C1,
message->m_Position.m_C2,
message->m_Position.m_C2,
message->m_Velocity.m_C1,
message->m_Velocity.m_C2,
message->m_Velocity.m_C3,
&v1,
&v2,
&v3);
}
}
else
{
c1 = message->m_Position.m_C1;
c2 = message->m_Position.m_C2;
c3 = message->m_Position.m_C3;
if (message->m_VelocitySpecified)
{
v1 = message->m_Velocity.m_C1;
v2 = message->m_Velocity.m_C2;
v3 = message->m_Velocity.m_C3;
}
}
// Check if the message contains valid coordinates. If the
// coordinates are not in range throw exception. The function below
// checks for coordinates.
if (data->coordinateSystem == SocketInterface_CoordinateSystemType_LatLonAlt)
{
HandleLatLonAltCoordinateValidity(iface, c1, c2, c3);
}
else if (data->coordinateSystem == SocketInterface_CoordinateSystemType_Cartesian)
{
HandleCartesianCoordinateValidity(iface, c1, c2, c3);
}
// Check for and assign the platform type.
// Note: this is repeated for each node in the for loop
if (message->m_TypeSpecified)
{
// Check for the type, if type = SocketInterface_PlatformType_Ground then set
// MOBILITY-GROUND-NODE to true, else if the type is
// SocketInterface_PlatformType_Air then set MOBILITY-GROUND-NODE to false.
if (message->m_Type == SocketInterface_PlatformType_Ground)
{
rec->type = SocketInterface_PlatformType_Ground;
}
else if (message->m_Type == SocketInterface_PlatformType_Air)
{
rec->type = SocketInterface_PlatformType_Air;
}
else
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidMessage,
"Platform type not supported yet");
}
}
else
{
// Default to ground
rec->type = SocketInterface_PlatformType_Ground;
}
if (data->deterministicTiming)
{
// Parallel or not, this schedules the creation at the next
// external-interface federation time. This adds delay, but
// the delay will be consistent between par and seq. For example
// a qualnet - interface step of 500 msecs will delay this create
// to the next time advance.
eventTime = EXTERNAL_QueryExternalTime(iface) + 1;
}
else
{
// Request the creation for right now. The ChangeNodePosition
// event will be delayed by safeTime when running in parallel.
eventTime = EXTERNAL_QuerySimulationTime(iface) + 1;
}
data->creates++;
// Now update all node-specific data
std::map<NodeId, Entity_NodeData>::iterator entityit;
for (entityit = rec->nodes.begin(); entityit != rec->nodes.end(); entityit++)
{
Node* node = (entityit->second.node);
// Check for and assign the platform type.
// Note: this is done for the entire platform above the for loop
if (message->m_TypeSpecified)
{
// Check for the type, if type = SocketInterface_PlatformType_Ground then set
// MOBILITY-GROUND-NODE to true, else if the type is
// SocketInterface_PlatformType_Air then set MOBILITY-GROUND-NODE to false.
if (message->m_Type == SocketInterface_PlatformType_Ground)
{
node->mobilityData->groundNode = TRUE;
}
else if (message->m_Type == SocketInterface_PlatformType_Air)
{
node->mobilityData->groundNode = FALSE;
}
else
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidMessage,
"Platform type not supported yet");
}
}
else
{
// Default to ground
node->mobilityData->groundNode = TRUE;
}
#ifdef PARALLEL //Parallel
{
// Now Notify any other partitions so that they may also update
// their mapping table.
// Allocate a message for partition communication to signal
// all the other platforms that we are creating an QualNet platform.
// Info of this message is a copy of the QualNet creation message
// PLUS the nodeId that has just been assigned for this entity Id.
Message* createNotifyMsg = MESSAGE_Alloc(
iface->partition->firstNode,
PARTITION_COMMUNICATION, // special layer
data->createPlatformCommunicator, // protocol
PARTITION_MSG_CREATE_PLATFORM_NOTICE);
MESSAGE_InfoAlloc(
iface->partition->firstNode,
createNotifyMsg,
sizeof(SocketInterface_CreatePlatformNotificationInfo));
SocketInterface_CreatePlatformNotificationInfo* notificationMessage =
(SocketInterface_CreatePlatformNotificationInfo*) MESSAGE_ReturnInfo(createNotifyMsg);
notificationMessage->nodeId = node->nodeId;
strcpy(notificationMessage->entityId, rec->entityId.c_str());
notificationMessage->damageState = rec->damageState; //message->m_State;
notificationMessage->typeSpecified = SocketInterface_PlatformType_Unspecified;
if (message->m_TypeSpecified)
{
notificationMessage->typeSpecified = message->m_Type;
}
// This triggers the receiving partitions to receive callbacks to
// SocketInterface_PARALLEL_HandleCreatePlatformNotice ()
PARTITION_COMMUNICATION_SendToAllPartitions (iface->partition,
createNotifyMsg, 0);
}
#endif //Parallel
// Check for damage state condition.
// If the state is damaged then do not activate the node.
if (rec->damageState == SocketInterface_PlatformStateType_Undamaged)
{
EXTERNAL_ActivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE);
}
// Add the system Group Stats.
InitInterfaceSysStats(
iface,
node,
rec,
SocketInterface_TimestampToQualNet(iface, message->m_CreateTime));
SocketInterface_HandleMulticastChange(
iface,
node,
eventTime,
message->m_EntityId.c_str(),
message->GetSocketId(),
&message->m_MulticastGroups,
NULL);
// Now check for mobility condition. If the MOBILITY
// parameter is set in QualNet, then external interface has
// problem. The MOBILITY parameter must be set to NONE,
// for the node to be mobilized using the EXTERNAL INTERFACE.
if (node->mobilityData->mobilityType != NO_MOBILITY)
{
sprintf(
errString,
"Mobility is not NONE in the QualNet config file for node %d",
node->nodeId);
throw SocketInterface_Exception(SocketInterface_ErrorType_ConfigurationError, errString);
}
#ifdef DEBUG
printf(
"moving (creating) node %d to %f %f %f\n",
node->nodeId,
message->m_Position.m_C1,
message->m_Position.m_C2,
message->m_Position.m_C3);
#endif
// update the node position based on the CreatePlatform message
// This will relocate the node regardless of what partition it is
// on. Update orientation and velocity if specified.
if (message->m_VelocitySpecified == FALSE)
{
EXTERNAL_ChangeNodePositionAtSimTime(
iface,
node,
c1,
c2,
c3,
eventTime);
}
else
{
EXTERNAL_ChangeNodePositionOrientationAndVelocityAtTime(
iface,
node,
eventTime,
c1,
c2,
c3,
0, //azimuth
0, //elevation
v1,
v2,
v3);
}
} //end for each node in the platform
}
static void SocketInterface_HandleUpdatePlatform(
EXTERNAL_Interface *iface,
SocketInterface_UpdatePlatformMessage *message)
{
SocketInterface_InterfaceData *data;
Coordinates coords;
Vector3 velocity;
char s[MAX_STRING_LENGTH];
char errString[MAX_STRING_LENGTH];
clocktype eventTime;
Node* node = NULL;
std::string entityId = message->m_EntityId;
bool isIpAddress = false; // in case entityId in message is actually IP Address
#ifdef DEBUG
printf("SocketInterface_HandleUpdatePlatform for entityId %s\n", entityId.c_str());
#endif
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
if (!IsEntityIdString(entityId))
{
// check if the entityId is an ip address
NodeAddress nadd; //ip address
BOOL isNodeId;
IO_ParseNodeIdOrHostAddress(entityId.c_str(), &nadd, &isNodeId);
if (!isNodeId && nadd != INVALID_MAPPING)
{
// lookup the nodeId that belongs to this Ip Address
NodeId nodeId = MAPPING_GetNodeIdFromInterfaceAddress(
iface->partition->firstNode, nadd);
#ifdef DEBUG
std::cout << "(SocketInterface_HandleUpdatePlatform) MAPPING_GetNodeIdFromInterfaceAddress returned "
<< nadd << " for entityId " << entityId << std::endl;
#endif
isIpAddress = true;
// lookup Node* from nodeId
node = EntityNodeLookup(&data->entityMapping, nodeId);
} // else this is an entityId
}
data->updates++;
if (data->deterministicTiming)
{
// Parallel or not, this schedules the update at the next
// external-interface federation time. This adds delay, but
// the delay will be consistent between par and seq. For example
// a qualnet - interface step of 500 msecs will delay this update msg
// until the next time advance.
eventTime = iface->horizon + 1;
}
else
{
// Request the be scheduled update for right now. FYI,
// The _ChangeNodePosition will delay by safeTime when running in parallel.
eventTime = EXTERNAL_QuerySimulationTime(iface) + 1;
}
// Check if there is a later event time
if (message->m_UpdateTimeSpecified)
{
clocktype messageTime = SocketInterface_TimestampToQualNet(
iface,
message->m_UpdateTime);
if (messageTime > eventTime)
{
eventTime = messageTime;
}
}
if (isIpAddress)
{
if (node != NULL)
{
SocketInterface_HandleMulticastChange(
iface,
node,
eventTime,
entityId.c_str(),
message->GetSocketId(),
&message->m_JoinMulticastGroups,
&message->m_LeaveMulticastGroups);
}
}
else // not by ip address --> update everything
{
EntityData* mapping = EntityMappingLookup(&data->entityMapping,
(std::string)entityId);
if (mapping == NULL)
{
sprintf(
errString,
"Mapping Failure for entity \"%s\"\n",
entityId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, s);
}
if (message->m_SpeedSpecified)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidMessage,
"Speed not supported yet");
}
std::map<NodeId, Entity_NodeData>::iterator entityit;
for (entityit = mapping->nodes.begin();
entityit != mapping->nodes.end();
entityit++)
{
node = (entityit->second.node);
if (node == NULL)
{
sprintf(s, "Invalid Node in mapping: %s", entityId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, s);
}
// Update node in platform if state if specified
if (message->m_StateSpecified)
{
// Check for invalid damage state
if (message->m_State > SocketInterface_PlatformStateType_Damaged)
{
sprintf(s, "Invalid State \"%d\"", message->m_State);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidState, s);
}
if (mapping->damageState == SocketInterface_PlatformStateType_Undamaged
&& message->m_State == SocketInterface_PlatformStateType_Damaged)
{
EXTERNAL_DeactivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE,
eventTime);
}
else if (mapping->damageState == SocketInterface_PlatformStateType_Damaged
&& message->m_State == SocketInterface_PlatformStateType_Undamaged)
{
EXTERNAL_ActivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE,
eventTime);
}
}
// Update position if specified in the message
if (message->m_PositionSpecified)
{
// Check if Mobility is set to NONE
if (node->mobilityData->mobilityType == NO_MOBILITY)
{
// Convert coordinates if necessary
if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian)
{
ConvertGCCCartesianToGCC(
message->m_Position.m_C1,
message->m_Position.m_C2,
message->m_Position.m_C3,
&coords.common.c1,
&coords.common.c2,
&coords.common.c3);
}
else
{
coords.common.c1 = message->m_Position.m_C1;
coords.common.c2 = message->m_Position.m_C2;
coords.common.c3 = message->m_Position.m_C3;
}
#ifdef DEBUG
printf("%lld p%d is moving %d to %f %f %f at event time %d\n",
iface->partition->theCurrentTime,
iface->partition->partitionId,
node->nodeId,
coords.common.c1,
coords.common.c2,
coords.common.c3,
eventTime);
#endif
// Check for coordinate range validity
if (data->coordinateSystem == SocketInterface_CoordinateSystemType_LatLonAlt)
{
HandleLatLonAltCoordinateValidity(iface,
coords.common.c1,
coords.common.c2,
coords.common.c3);
}
// if velocity is specified, position update
// will be handled in velocity update call
if (message->m_VelocitySpecified == FALSE)
{
// Update the node's position
EXTERNAL_ChangeNodePositionAtSimTime(
iface,
node,
coords.common.c1,
coords.common.c2,
coords.common.c3, eventTime);
}
}
else
{
sprintf(
errString,
"QualNet mobility is not set to NONE in QualNet configuration file.");
throw SocketInterface_Exception(SocketInterface_ErrorType_ConfigurationError, errString);
}
}
if (message->m_VelocitySpecified)
{
// Check if Mobility is set to NONE
if (node->mobilityData->mobilityType == NO_MOBILITY)
{
// Convert coordinates if necessary
if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian)
{
//if position is not specified, get current position
//coordinates for conversion
if (message->m_PositionSpecified == FALSE)
{
MOBILITY_ReturnCoordinates(node,&coords);
}
ConvertGCCCartesianVelocityToGCC(
coords.common.c1,
coords.common.c2,
coords.common.c3,
message->m_Velocity.m_C1,
message->m_Velocity.m_C2,
message->m_Velocity.m_C3,
(double*) &velocity.x,
(double*) &velocity.y,
(double*) &velocity.z);
}
else
{
velocity.x = (double) message->m_Velocity.m_C1;
velocity.y = (double) message->m_Velocity.m_C2;
velocity.z = (double) message->m_Velocity.m_C3;
}
#ifdef DEBUG
printf("%lld p%d is moving %d with velocity %fx %fy %fz\n",
iface->partition->theCurrentTime,
iface->partition->partitionId,
node->nodeId,
(double) velocity.x,
(double) velocity.y,
(double) velocity.z);
#endif
if (message->m_PositionSpecified)
{
EXTERNAL_ChangeNodePositionOrientationAndVelocityAtTime(
iface,
node,
eventTime,
coords.common.c1,
coords.common.c2,
coords.common.c3,
0, //azimuth
0, //elevation
(double) velocity.x,
(double) velocity.y,
(double) velocity.z);
}
else
{
EXTERNAL_ChangeNodeVelocityAtTime(
iface,
node,
eventTime,
(double) velocity.x,
(double) velocity.y,
(double) velocity.z);
}
}
else
{
sprintf(
errString,
"QualNet mobility is not set to NONE in QualNet configuration file.");
throw SocketInterface_Exception(SocketInterface_ErrorType_ConfigurationError, errString);
}
}
SocketInterface_HandleMulticastChange(
iface,
node,
eventTime,
message->m_EntityId.c_str(),
message->GetSocketId(),
&message->m_JoinMulticastGroups,
&message->m_LeaveMulticastGroups);
} // end for each node in the entity platform
// Finally update the platform state if specified
if (message->m_StateSpecified)
{
// Store state
mapping->damageState = message->m_State;
}
}
}
static void SocketInterface_HandleRequestFailure(
EXTERNAL_Interface *iface,
EXTERNAL_TreeNode *record)
{
SocketInterface_PacketData *packetData;
SocketInterface_CommEffectsResponseMessage* response;
SocketInterface_InterfaceData *data;
SocketInterface_Status state;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
packetData = (SocketInterface_PacketData*) record->data;
if (data->alwaysSuccess)
{
state = SocketInterface_Status_Success;
}
else
{
state = SocketInterface_Status_Failure;
}
// Send a failure Response
SocketInterface_TimeType latency;
std::string receiver;
std::string originator;
receiver = packetData->receiver;
originator = packetData->originator;
latency = ((double) EXTERNAL_QuerySimulationTime(iface) - packetData->beginProcessingTime) / SECOND;
response = new SocketInterface_CommEffectsResponseMessage(packetData->id1,
packetData->id2,
&originator,
&receiver,
state,
(double) SocketInterface_Timestamp(iface) / SECOND,
latency);
response->SetDescription(packetData->description);
if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId]))
{
SocketInterface_SendMessage(iface, response, packetData->socketId);
// Update statistics
data->responses++;
data->failures++;
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
// Set data to NULL so we know this was freed
record->data = NULL;
// Remove from request hash
SocketInterface_PacketData* packetData2;
packetData2 = data->requestHash.PeekRequest(packetData->hashId);
assert(packetData2 == packetData);
data->requestHash.RemoveHash(packetData->hashId);
// Free memory
delete packetData;
// delete the response message
delete response;
}
// non-static functions
void SocketInterface_CreateLogFiles(EXTERNAL_Interface* iface, char* dir)
{
SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data;
char fileName[MAX_STRING_LENGTH];
// Create driver log file
sprintf(fileName, "%s/driver.log", dir);
data->driverLogFile = fopen(fileName, "w");
ERROR_Assert(data->driverLogFile != NULL,
"Could not create Socket Interface driver log file");
// Create responses log file
sprintf(fileName, "%s/responses.log", dir);
data->responsesLogFile = fopen(fileName, "w");
ERROR_Assert(data->responsesLogFile != NULL,
"Could not create Socket Interface responses log file");
// Print header for the responses file
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
"Socket Interface Responses Logfile\n",
FALSE);
// Create stats log file
sprintf(fileName, "%s/stats.log", dir);
data->statsLogFile = fopen(fileName, "w");
ERROR_Assert(data->statsLogFile != NULL,
"Could not create Socket Interface stats log file");
// Print header for the stats file
SocketInterface_PrintLog(iface, data->statsLogFile, "Socket Interface Stats Logfile\n", FALSE);
// Create graph log file
sprintf(fileName, "%s/graph.log", dir);
data->graphLogFile = fopen(fileName, "w");
ERROR_Assert(data->graphLogFile != NULL,
"Could not create QualNet graph log file");
// Print header for the graph file
SocketInterface_PrintLog(iface, data->graphLogFile, "Socket Interface Graph Log\n", FALSE);
// Create errors log file
sprintf(fileName, "%s/errors.log", dir);
data->errorsLogFile = fopen(fileName, "w");
ERROR_Assert(data->errorsLogFile != NULL,
"Could not create Socket Interface errors log file");
// Print header for the graph file
SocketInterface_PrintLog(
iface,
data->errorsLogFile,
"Socket Interface Errors Logfile\n",
FALSE);
if (data->logPropagation)
{
// Create propagation log file
sprintf(fileName, "%s/propagation.log", dir);
data->propagationLogFile = fopen(fileName, "w");
ERROR_Assert(data->propagationLogFile != NULL,
"Could not create Socket Interface propagation log file");
// Print header for the graph file
SocketInterface_PrintLog(
iface,
data->propagationLogFile,
"Socket Interface Propagation Logfile\n",
FALSE);
}
}
void SocketInterface_PrintLog(EXTERNAL_Interface *iface, FILE *f, const char *s, BOOL printTimestamp)
{
SocketInterface_InterfaceData *data;
data = (SocketInterface_InterfaceData*) iface->data;
// If file is NULL, logging is disabled
if (f == NULL)
{
return;
}
if (!printTimestamp)
{
fprintf(
f, "%s",
s);
}
else if (data->logPrintRealTime)
{
fprintf(
f, "[%10f %10f] %s",
SocketInterface_Timestamp(iface) / 1000000000.0,
iface->partition->wallClock->getTrueRealTimeAsDouble(),
s);
}
else
{
fprintf(
f, "[%10f] %s",
SocketInterface_Timestamp(iface) / 1000000000.0,
s);
}
if (data->automaticFlush)
{
fflush(f);
}
}
struct NodeList
{
NodeAddress nodeId;
int subnetId;
std::vector<NodeAddress> nodes;
std::vector<NodeAddress> raps;
};
bool RegionComp(const NodeList& a, const NodeList& b)
{
return a.subnetId < b.subnetId;
}
static void SocketInterface_HandlePrintGraphLog(
EXTERNAL_Interface* iface,
EntityMapping* entityMapping,
FILE* f)
{
SocketInterface_InterfaceData* socketData;
Node *node;
Coordinates coords;
char s[200*MAX_STRING_LENGTH];
std::string multiAddrString = "";
unsigned i;
std::vector<NodeList> regionMembership;
std::vector<NodeAddress> inOtherRegion;
std::map<int, std::vector<NodeAddress> > gateways;
std::vector<NodeList>::iterator it;
std::vector<NodeList>::iterator it2;
std::vector<NodeAddress>::iterator it3;
assert(iface != NULL);
socketData = (SocketInterface_InterfaceData*) iface->data;
assert(socketData != NULL);
// If file is NULL, logging is disabled
if (f == NULL)
{
return;
}
sprintf(s, "=============================================================\n");
SocketInterface_PrintLog(iface, f, s);
EntityData* mapping;
for (node = iface->partition->firstNode;
node != NULL;
node = node->nextNodeData)
{
// Skip this node if it doesn't map to an entity, or if the entity
// is not yet created
mapping = EntityMappingLookup(
entityMapping,
node->nodeId);
if (mapping == NULL)
{
continue;
}
if (!mapping->isActive)
{
continue;
}
std::map<NodeId, Entity_NodeData>::iterator entityit;
for (entityit = mapping->nodes.begin(); entityit != mapping->nodes.end(); entityit++)
{
Node* entityNode = (entityit->second.node);
if (entityNode != node)
{
continue;
}
sprintf(
s,
"EntityID: %-15s NodeID: %d\n",
mapping->entityId.c_str(),
entityNode->nodeId );
SocketInterface_PrintLog(iface, f, s);
MOBILITY_ReturnCoordinates(node, &coords);
if (socketData->coordinateSystem == SocketInterface_CoordinateSystemType_Cartesian)
{
sprintf(
s,
" Location: X = %f, Y = %f, Z = %f\n",
coords.common.c1,
coords.common.c2,
coords.common.c3);
}
else
{
sprintf(
s,
" Location: LAT = %f, LON = %f, ALT = %f\n",
coords.common.c1,
coords.common.c2,
coords.common.c3);
}
SocketInterface_PrintLog(iface, f, s);
sprintf(s, " Type: ");
SocketInterface_PrintLog(iface, f, s);
if (mapping->type == SocketInterface_PlatformType_Ground)
{
fputs("Ground\n", f);
}
else if (mapping->type == SocketInterface_PlatformType_Air)
{
fputs("Air\n", f);
}
else
{
fputs("Unknown\n", f);
}
}
// Check that routing protocol is part of JNE
#ifdef JNE_LIB
NetworkDataIp *ip = (NetworkDataIp *) node->networkData.networkVar;
RoutingCesMalsrData* malsrData = ip->routingCesMalsrData;
EntityData* rec;
BOOL routingProtocolUsed = TRUE;
int nodeID;
int subnetId;
char addressString[MAX_STRING_LENGTH];
Address address;
NodeList* list;
assert (ip != NULL);
if (malsrData == NULL)
{
routingProtocolUsed = FALSE;
}
if (routingProtocolUsed)
{
// Now to Print the RAP
for (int i = 0; i < node->numberInterfaces; i++)
{
if (malsrData->activeOnInterfaceList[i])
{
if (NetworkCesRegionIsRap(node, i))
{
//Print the interface Address.
NetworkGetInterfaceInfo(node, i , &address);
IO_ConvertIpAddressToString(&address, addressString);
sprintf(s, " Interface: %s ", addressString);
SocketInterface_PrintLog(iface, f, s);
//Print the subnet id
subnetId = NetworkCesSubnetGetId (node, i);
sprintf(s, " Subnet Id: %d [RAP]", subnetId);
fputs(s, f);
sprintf(s, " Members: ");
fputs (s, f);
RoutingCesMalsrInterface* malsr = &malsrData->iface[i];
// Create region list
list = new NodeList;
list->nodeId = node->nodeId;
list->subnetId = subnetId;
list->nodes.push_back(node->nodeId);
list->raps.push_back(node->nodeId);
vector<NodeAddress>::iterator iter;
#ifdef MEMBER_UPDATE
RoutingCesMalsrUpdateRegionMemberList(node, i);
#endif
if (malsr->regionMemberList)
{
if (malsr->numRegionMembers > 0)
{
iter = malsr->regionMemberList->begin();
while (iter != malsr->regionMemberList->end())
{
nodeID = *iter;
rec = EntityMappingLookup(entityMapping, nodeID);
if (rec == NULL)
{
continue;
}
sprintf (s, "%s ", rec->entityId.c_str());
fputs (s, f);
list->nodes.push_back(nodeID);
++iter;
}
}
}
// Add region list
regionMembership.push_back(*list);
delete list;
fputs ("\n", f);
}
else
{
//Print the interface Address.
NetworkGetInterfaceInfo(node, i , &address);
IO_ConvertIpAddressToString(&address, addressString);
sprintf(s, " Interface: %s ", addressString);
SocketInterface_PrintLog(iface, f, s);
//Print the subnet id
subnetId = NetworkCesSubnetGetId (node, i);
sprintf(s, " Subnet Id: %d ", subnetId);
fputs(s, f);
fputs ("\n", f);
}
}
}
}
#endif
//fputs ("\n", data->graphLogFile);
sprintf(s, " Is Gateway: ");
SocketInterface_PrintLog(iface, f, s);
BOOL isGateway = FALSE;
#ifdef JNE_LIB
if (routingProtocolUsed)
{
if (NetworkCesSubnetIsTrueGateway(node))
{
for (int i = 0; i < node->numberInterfaces; i++)
{
subnetId = NetworkCesSubnetGetId (node, i);
if (!isGateway)
{
fputs(" Yes, subnets", f);
isGateway = TRUE;
}
sprintf(s, " %d", subnetId);
fputs (s, f);
gateways[subnetId].push_back(node->nodeId);
}
}
}
#endif
if (!isGateway)
{
fputs("No\n", f);
}
else
{
fputs("\n", f);
}
// Print multicast groups
// TODO: this code has a buffer overflow
strcpy(s, " Multicast Groups: ");
GetMulticastGroups(node, multiAddrString);
strcat(s, multiAddrString.c_str());
strcat(s, "\n");
SocketInterface_PrintLog(iface, f, s);
}
if (regionMembership.size() > 0)
{
// Sort region
for (it = regionMembership.begin(); it != regionMembership.end(); it++)
{
sort(it->nodes.begin(), it->nodes.end());
}
// Check for identical regions
for (it = regionMembership.begin(); it != regionMembership.end(); it++)
{
for (it2 = it + 1; it2 != regionMembership.end(); it2++)
{
// Compare different regions that are the same size
if (it->nodes.size() == it2->nodes.size())
{
BOOL same = TRUE;
for (i = 0; i < it->nodes.size(); i++)
{
if (it->nodes[i] != it2->nodes[i])
{
same = FALSE;
break;
}
}
// If they are the same, get rid of other region
if (same)
{
inOtherRegion.push_back(it2->nodeId);
it->raps.push_back(it2->nodeId);
}
}
}
}
// Sort regions by subnet
sort(regionMembership.begin(), regionMembership.end(), RegionComp);
//f = stdout;
SocketInterface_PrintLog(iface, f, "Region Summary. Platforms in parenthesis are RAPs.\n");
int lastSubnet = -1;
for (it = regionMembership.begin(); it != regionMembership.end(); it++)
{
NodeAddress regionId = it->nodeId;
if (find(inOtherRegion.begin(), inOtherRegion.end(), regionId) != inOtherRegion.end())
{
continue;
}
if (it->subnetId != lastSubnet)
{
sprintf(s, " Subnet %d", it->subnetId);
SocketInterface_PrintLog(iface, f, s);
lastSubnet = it->subnetId;
if (gateways[it->subnetId].size() > 0)
{
fprintf(f, ", gateways");
for (it3 = gateways[it->subnetId].begin(); it3 != gateways[it->subnetId].end(); it3++)
{
mapping = EntityMappingLookup(
entityMapping,
*it3);
if (mapping == NULL)
{
continue;
}
if (!mapping->isActive)
{
continue;
}
fprintf(f, " %s", mapping->entityId.c_str());
}
}
fprintf(f, "\n");
}
// Print RAPs for this region. The node list nodeId will always
// be equal o the first member of the rap list
mapping = EntityMappingLookup(
entityMapping,
it->nodeId);
if (mapping == NULL)
{
continue;
}
if (!mapping->isActive)
{
continue;
}
sprintf(s, " (%s", mapping->entityId.c_str());
SocketInterface_PrintLog(iface, f, s);
// Print rest of RAPs for this region
for (i = 1; i < it->raps.size(); i++)
{
mapping = EntityMappingLookup(
entityMapping,
it->raps[i]);
if (mapping == NULL)
{
continue;
}
if (!mapping->isActive)
{
continue;
}
fprintf(f, " %s", mapping->entityId.c_str());
}
fprintf(f, ")");
for (i = 0; i < it->nodes.size(); i++)
{
NodeAddress nodeId = it->nodes[i];
// Only print if it's not a rap for this region
if (find(it->raps.begin(), it->raps.end(), nodeId) == it->raps.end())
{
mapping = EntityMappingLookup(
entityMapping,
nodeId);
if (mapping == NULL)
{
continue;
}
if (!mapping->isActive)
{
continue;
}
fprintf(f, " %s", mapping->entityId.c_str());
}
}
fprintf(f, "\n");
}
}
}
void SocketInterface_PrintGraph(
EXTERNAL_Interface *iface,
EntityMapping* entityMapping,
FILE *f)
{
assert(iface != NULL);
SocketInterface_InterfaceData* socketData;
socketData = (SocketInterface_InterfaceData*) iface->data;
assert(socketData != NULL);
//Helper function for printing graph
SocketInterface_HandlePrintGraphLog(iface,entityMapping, f);
#ifdef PARALLEL //Parallel
{
Message* graphPrintNotifyMsg = MESSAGE_Alloc (
iface->partition->firstNode,
PARTITION_COMMUNICATION, // special layer
socketData->printGraphLogCommunicator, // protocol
PARTITION_MSG_PRINT_GRAPHLOG_NOTICE);
// This triggers the receiving partitions to receive callbacks to
PARTITION_COMMUNICATION_SendToAllPartitions (iface->partition,
graphPrintNotifyMsg, 0);
}
#endif //Parallel
}
void SocketInterface_PrintStats(EXTERNAL_Interface *iface)
{
SocketInterface_InterfaceData *data;
int totalMessages;
double realTimePassed;
double lastRealTimePassed;
char s[MAX_STRING_LENGTH];
char s2[MAX_STRING_LENGTH];
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
sprintf(s,
"Performance Stats for Time Interval: SimTime = %f\n",
(double) SocketInterface_Timestamp(iface) / SECOND);
SocketInterface_PrintLog(iface, data->statsLogFile, s);
realTimePassed = (double) (EXTERNAL_QueryRealTime(iface)
- data->firstStatsUpdateRealTime) / SECOND;
lastRealTimePassed = (double) (EXTERNAL_QueryRealTime(iface)
- data->lastStatsUpdateRealTime) / SECOND;
sprintf(
s,
"Current Sim Time[s] = %14.2f Real Time[s] = %7.2f\n",
(double) SocketInterface_Timestamp(iface) / SECOND,
(double) realTimePassed);
SocketInterface_PrintLog(iface, data->statsLogFile, s);
fputs(s, stdout);
totalMessages = data->creates + data->updates + data->requests;
sprintf(
s,
" Creates = %d, Updates = %d, Requests = %d, Messages = %d\n",
data->creates,
data->updates,
data->requests,
totalMessages);
SocketInterface_PrintLog(iface, data->statsLogFile, s);
fputs(s, stdout);
sprintf(
s,
" Responses = %d, Successes = %d, Failures = %d\n",
data->successes + data->failures,
data->successes,
data->failures);
SocketInterface_PrintLog(iface, data->statsLogFile, s);
fputs(s, stdout);
sprintf(
s,
" Avg Mesg/Sec = %.2f, Succ = %.2f, Fail = %.2f (%.2f late)\n",
totalMessages / realTimePassed,
data->successes / realTimePassed,
data->failures / realTimePassed,
data->successfulFailures / realTimePassed);
SocketInterface_PrintLog(iface, data->statsLogFile, s);
fputs(s, stdout);
sprintf(
s,
" Last Mesg/sec = %.2f, Succ = %.2f, Fail = %.2f (%.2f late)\n",
(totalMessages - data->lastTotalMessages) / lastRealTimePassed,
(data->successes - data->lastSuccesses) / lastRealTimePassed,
(data->failures - data->lastFailures) / lastRealTimePassed,
(data->successfulFailures - data->lastSuccessfulFailures) / lastRealTimePassed);
SocketInterface_PrintLog(iface, data->statsLogFile, s);
fputs(s, stdout);
if (data->totalPackets > 0)
{
sprintf(
s,
" Avg Real Time Speed = %.2f, ",
1.0 / (data->totalRealTimeSpeed / data->totalPackets));
}
else
{
sprintf(
s,
" Avg Real Time Speed = No Packets, ");
}
if (data->totalPackets - data->lastTotalPackets > 0)
{
sprintf(
s2,
"Last Real Time Speed = %.2f\n",
1.0 / ((data->totalRealTimeSpeed - data->lastTotalRealTimeSpeed) / (data->totalPackets - data->lastTotalPackets)));
}
else
{
sprintf(
s2,
"Last Real Time Speed = No Packets\n");
}
strcat(s, s2);
SocketInterface_PrintLog(iface, data->statsLogFile, s);
fputs(s, stdout);
data->lastTotalMessages = totalMessages;
data->lastTotalPackets = data->totalPackets;
data->lastTotalRealTimeSpeed = data->totalRealTimeSpeed;
data->lastResponses = data->responses;
data->lastSuccesses = data->successes;
data->lastFailures = data->failures;
data->lastSuccessfulFailures = data->successfulFailures;
}
void SocketInterface_ReceiveSerializedMessage(
EXTERNAL_Socket* s,
SocketInterface_SerializedMessage* message)
{
SocketInterface_Header header;
unsigned int length;
unsigned int recvLength;
UInt32 messageLength;
EXTERNAL_SocketErrorType err;
if (s->socketFd < 0)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_SocketError,
"Invalid socket in SocketInterface_ReceiveSerializedMessage");
}
// Attempt to receive the message header. If not then return with an
// empty message size.
message->m_Size = 0;
length = SOCKET_INTERFACE_HEADER_SIZE;
err = EXTERNAL_SocketRecv(
s,
(char*) &header,
SOCKET_INTERFACE_HEADER_SIZE,
&recvLength,
FALSE);
if (err == EXTERNAL_NoSocketError && recvLength == 0)
{
// No data, return
message->m_Size = 0;
return;
}
else if (err != EXTERNAL_NoSocketError || length != recvLength)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_SocketError,
"Error receiving message header");
}
messageLength = header.messageSize;
EXTERNAL_ntoh(&messageLength, sizeof(UInt32));
// Make sure message can hold enough info and add header
if (messageLength < sizeof(SocketInterface_Header))
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidMessage,
"Received a QualNet header packet with too small of size.");
}
message->Resize(messageLength);
message->AddData((UInt8*) &header, sizeof(SocketInterface_Header), FALSE);
// Receive rest of message (if more than a header)
if (message->m_Size > SOCKET_INTERFACE_HEADER_SIZE)
{
// Read the rest of the message into the array
length = message->m_Size - SOCKET_INTERFACE_HEADER_SIZE;
err = EXTERNAL_SocketRecv(
s,
(char*) &message->m_Data[SOCKET_INTERFACE_HEADER_SIZE],
length,
&recvLength);
if (err != EXTERNAL_NoSocketError || length != recvLength)
{
message->m_Size = 0;
throw SocketInterface_Exception(
SocketInterface_ErrorType_SocketError,
"Error receiving message body");
}
}
}
void SocketInterface_HandlePropagationFailureSender(
PartitionData *partition,
NodeAddress destNodeId,
Message *msg,
double pathloss)
{
SocketInterface_InterfaceData *data;
Node *node;
Node *destNode;
Coordinates nodeCoords;
Coordinates destNodeCoords;
char str[MAX_STRING_LENGTH];
CoordinateType d;
// gHaveSocketIface will be NULL if this interface is not being used
if (!gHaveSocketIface)
{
return;
}
EXTERNAL_Interface * socketIface;
socketIface = partition->interfaceTable [EXTERNAL_SOCKET];
// Extract the QualNet data from this interface
data = (SocketInterface_InterfaceData*) socketIface->data;
// Only log if parameter is set
if (!data->logPropagation)
{
return;
}
// Get the pointer to the source/destination node
node = MAPPING_GetNodePtrFromHash(
partition->nodeIdHash,
msg->originatingNodeId);
destNode = MAPPING_GetNodePtrFromHash(
partition->nodeIdHash,
destNodeId);
// Check the MAC header to make sure it is being sent to this node
if (!IsMyMac(destNode, msg))
{
return;
}
// Get the node coordinates
MOBILITY_ReturnCoordinates(node, &nodeCoords);
MOBILITY_ReturnCoordinates(destNode, &destNodeCoords);
// Calculate distance between 2 positions
COORD_CalcDistance(
partition->terrainData->getCoordinateSystem(),
&nodeCoords,
&destNodeCoords,
&d);
sprintf(
str,
"PS: N1: %s N2: %s D: %f TPL: %f\n",
(MappingGetEntityId(&data->entityMapping, msg->originatingNodeId)).c_str(),
(MappingGetEntityId(&data->entityMapping, destNodeId)).c_str(),
d,
pathloss);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
sprintf(str, " C1: (%f, %f %f) C2: (%f, %f, %f)\n",
nodeCoords.common.c1,
nodeCoords.common.c2,
nodeCoords.common.c3,
destNodeCoords.common.c1,
destNodeCoords.common.c2,
destNodeCoords.common.c3);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
sprintf(str, " S: N\n");
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
}
static double CalculatePathloss(
Node *node1,
Node *node2,
Message *msg)
{
const int channelIndex = MESSAGE_GetInstanceId(msg);
assert(channelIndex < node1->numberChannels);
const int txNodeListId = node1->propData[channelIndex].nodeListId;
PropPathProfile *profile =
&(node1->propData[channelIndex].pathProfile[txNodeListId]);
PropChannel *propChannel =
&(node1->partitionData->propChannel[channelIndex]);
double wavelength = propChannel->profile->wavelength;
float txAntennaHeight;
float rxAntennaHeight;
double pathloss_dB;
// should be time and phy dependent
txAntennaHeight = ANTENNA_ReturnHeight(node1, 0);
rxAntennaHeight = ANTENNA_ReturnHeight(node2, 0);
// The urban prop models require the txAntennaGain and txPower
double txPower_dBm;
double txPower_mW;
double txAntennaGain_dBi;
PHY_GetTransmitPower(node2,
channelIndex,
&txPower_mW);
txPower_dBm = 10.*log10(txPower_mW);
txAntennaGain_dBi =
ANTENNA_GainForThisDirectionWithPatternIndex(
node2,
channelIndex,
ANTENNA_OMNIDIRECTIONAL_PATTERN,
profile->txDOA);
PROP_CalculatePathloss(
node1,
node1->nodeId,
node2->nodeId,
channelIndex,
wavelength,
txAntennaHeight,
rxAntennaHeight,
profile,
&pathloss_dB);
return pathloss_dB;
}
void SocketInterface_HandlePropagationFailureReceiver(
Node *node,
Message *msg,
double sinr)
{
SocketInterface_InterfaceData *data;
Node *sourceNode;
Coordinates nodeCoords;
Coordinates sourceNodeCoords;
char str[MAX_STRING_LENGTH];
CoordinateType d;
double pathloss;
// gCesIface will be NULL if this interface is not being used
if (!gHaveSocketIface)
{
return;
}
// Extract the QualNet data from this interface
EXTERNAL_Interface * socketIface;
socketIface = node->partitionData->interfaceTable [EXTERNAL_SOCKET];
data = (SocketInterface_InterfaceData*) socketIface->data;
// Only log if parameter is set
if (!data->logPropagation)
{
return;
}
// Get the pointer to the source/destination node
sourceNode = MAPPING_GetNodePtrFromHash(
node->partitionData->nodeIdHash,
msg->originatingNodeId);
// Check the MAC header to make sure it is being sent to this node
if (!IsMyMac(node, msg))
{
return;
}
// Get the node coordinates
MOBILITY_ReturnCoordinates(node, &nodeCoords);
MOBILITY_ReturnCoordinates(sourceNode, &sourceNodeCoords);
// Calculate distance between 2 positions
COORD_CalcDistance(
node->partitionData->terrainData->getCoordinateSystem(),
&nodeCoords,
&sourceNodeCoords,
&d);
// Calculate pathloss
pathloss = CalculatePathloss(
sourceNode,
node,
msg);
sprintf(
str,
"PR: N1: %s N2: %s D: %f TPL: %f\n",
(MappingGetEntityId(&data->entityMapping, msg->originatingNodeId)).c_str(),
(MappingGetEntityId(&data->entityMapping, node->nodeId)).c_str(),
d,
pathloss);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
sprintf(str, " C1: (%f, %f %f) C2: (%f, %f, %f)\n",
sourceNodeCoords.common.c1,
sourceNodeCoords.common.c2,
sourceNodeCoords.common.c3,
nodeCoords.common.c1,
nodeCoords.common.c2,
nodeCoords.common.c3);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
sprintf(str, " SINR: %f S: N\n", sinr);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
}
void SocketInterface_HandlePropagationSuccessReceiver(
Node *node,
Message *msg,
double sinr)
{
SocketInterface_InterfaceData *data;
Node *sourceNode;
Coordinates nodeCoords;
Coordinates sourceNodeCoords;
char str[MAX_STRING_LENGTH];
CoordinateType d;
double pathloss;
// gCesIface will be NULL if this interface is not being used
if (!gHaveSocketIface)
{
return;
}
EXTERNAL_Interface * socketIface;
socketIface = node->partitionData->interfaceTable [EXTERNAL_SOCKET];
// Extract the QualNet data from this interface
data = (SocketInterface_InterfaceData*) socketIface->data;
// Only log if parameter is set
if (!data->logPropagation)
{
return;
}
// Get the pointer to the source/destination node
sourceNode = MAPPING_GetNodePtrFromHash(
node->partitionData->nodeIdHash,
msg->originatingNodeId);
// Check the MAC header to make sure it is being sent to this node
if (!IsMyMac(node, msg))
{
return;
}
// Get the node coordinates
MOBILITY_ReturnCoordinates(node, &nodeCoords);
MOBILITY_ReturnCoordinates(sourceNode, &sourceNodeCoords);
// Calculate distance between 2 positions
COORD_CalcDistance(
node->partitionData->terrainData->getCoordinateSystem(),
&nodeCoords,
&sourceNodeCoords,
&d);
// Calculate pathloss
pathloss = CalculatePathloss(
sourceNode,
node,
msg);
std::string originatorentityid =
MappingGetEntityId(&data->entityMapping, msg->originatingNodeId);
std::string nodeentityid =
MappingGetEntityId(&data->entityMapping, node->nodeId);
sprintf(
str,
"PR: N1: %s N2: %s D: %f TPL: %f\n",
originatorentityid.c_str(),
nodeentityid.c_str(),
d,
pathloss);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
sprintf(str, " C1: (%f, %f %f) C2: (%f, %f, %f)\n",
sourceNodeCoords.common.c1,
sourceNodeCoords.common.c2,
sourceNodeCoords.common.c3,
nodeCoords.common.c1,
nodeCoords.common.c2,
nodeCoords.common.c3);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
sprintf(str, " SINR: %f S: Y\n", sinr);
SocketInterface_PrintLog(socketIface, data->propagationLogFile, str);
}
// Partition 0 has sent us notification that a platform has been created.
// We will update our entity mapping data structure so that we know
// the associations between the node id and the entity id
static void SocketInterface_HandleCreatePlatformNotification(
EXTERNAL_Interface *iface,
SocketInterface_CreatePlatformNotificationInfo* notificationMessage)
{
SocketInterface_InterfaceData *data;
char errString[MAX_STRING_LENGTH];
ERROR_Assert(iface != NULL, "Interface undefined!");
data = (SocketInterface_InterfaceData*) iface->data;
ERROR_Assert(data != NULL, "SocketInterface_InterfaceData undefined!");
std::string entityId = notificationMessage->entityId;
#ifdef DEBUG
printf("[partition %d] SocketInterface_HandleCreatePlatformNotification for entityId %s & node %d\n",
iface->partition->partitionId, entityId.c_str(), notificationMessage->nodeId);
fflush(stdout);
#endif
if (strcmp( notificationMessage->entityId, "") == 0)
{
// Invalid paramter, should have an entity id.
// Throw an exception
sprintf(
errString,
"Invalid Entity Id Parameter \"%s\"",
notificationMessage->entityId);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
//EntityData* rec = data->entityMapping.entities[notificationMessage->entityId];
EntityData* rec = EntityMappingLookup(&data->entityMapping, notificationMessage->entityId);
if (data->entityMapping.dynamic)
{
// For the dynamic case, assume one-to-one mapping
// If the mapping already exists, then we have a problem
if (rec != NULL)
{
sprintf(
errString,
"Mapping for the EntityId already exists \"%s\"",
notificationMessage->entityId);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
// Assign the entityId for the node ID that we've from the notificaiton.
rec = EntityMappingAddToPlatform(
&data->entityMapping,
(std::string)notificationMessage->entityId,
notificationMessage->nodeId);
if (rec == NULL)
{
sprintf(errString,
"Mapping Failure, Free Nodes unavailable \"%s\"",
errString);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
}
else // static case
{
// Record should already exist
if (rec == NULL)
{
// Mapping does not exists. We have an error.
sprintf(errString,
"Mapping does not exist for platform \"%s\"",
notificationMessage->entityId);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString);
}
}
#ifdef DEBUG
printf("damage state for node %d is [%d]\n",
notificationMessage->nodeId, notificationMessage->damageState);
fflush(stdout);
#endif
// Check for invalid damage state
if (notificationMessage->damageState > SocketInterface_PlatformStateType_Damaged)
{
sprintf(errString, "Invalid Damage State \"%d\" for node %d",
notificationMessage->damageState, notificationMessage->nodeId);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidState, errString);
}
// Fill in the entity data information
rec->damageState = notificationMessage->damageState;
// Check for the entity Id vs the message Id
if (rec->entityId == notificationMessage->entityId)
{
// Match found, set the node active.
rec->isActive = TRUE;
}
/* temp
// Deal with node type if the create platform indicated a type.
if (notificationMessage->typeSpecified != SocketInterface_PlatformType_Unspecified)
{
if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Ground)
{
rec->type = SocketInterface_PlatformType_Ground;
}
else if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Air)
{
rec->type = SocketInterface_PlatformType_Air;
}
}
else
{
// Default to ground node
rec->type = SocketInterface_PlatformType_Ground;
}
*/
std::map<NodeId, Entity_NodeData>::iterator entityit;
for (entityit = rec->nodes.begin(); entityit != rec->nodes.end(); entityit++)
{
Node* node = (entityit->second.node);
// Deal with node type if the create platform indicated a type.
if (notificationMessage->typeSpecified != SocketInterface_PlatformType_Unspecified)
{
if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Ground)
{
node->mobilityData->groundNode = TRUE;
rec->type = SocketInterface_PlatformType_Ground;
}
else if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Air)
{
node->mobilityData->groundNode = FALSE;
rec->type = SocketInterface_PlatformType_Air;
}
}
else
{
// Default to ground node
node->mobilityData->groundNode = TRUE;
rec->type = SocketInterface_PlatformType_Ground;
}
} // end for each node in the platform
}
void SocketInterface_HandleGraphLogNotification(
EXTERNAL_Interface *iface)
{
EntityMapping* entityMapping;
FILE* f;
SocketInterface_InterfaceData* socketData;
std::vector<NodeList> regionMembership;
std::vector<NodeAddress> inOtherRegion;
std::map<int, std::vector<NodeAddress> > gateways;
std::vector<NodeList>::iterator it;
std::vector<NodeList>::iterator it2;
std::vector<NodeAddress>::iterator it3;
assert(iface != NULL);
socketData = (SocketInterface_InterfaceData*) iface->data;
assert(socketData != NULL);
entityMapping = &socketData->entityMapping;
f = socketData->graphLogFile;
SocketInterface_HandlePrintGraphLog(iface, entityMapping, f);
}
/*
* FUNCTION UpdateMulticastModelSingleReceiver
* PURPOSE Handles updates to multicast comm.effects model for a single receiver,
* for a specific multicast packet's comm. effects
* Parameters:
* packetData: Pointer to the SocketInterface_PacketData structure,
* effects: Pointer to the multicast modeled effects structure for a single receiver.
*/
void SocketInterface_UpdateTempMulticastModelSingleReceiver(
SocketInterface_PacketData *packetData,
SocketInterface_MulticastModeledReceiverCommEffects *effects)
{
SocketInterface_MulticastModeledReceiverCommEffects *tempEffects;
SocketInterface_MulticastModeledReceiversCommEffects::iterator it;
assert(packetData != NULL);
assert(effects != NULL);
assert(packetData->multicast == TRUE);
assert(packetData->effects != NULL);
// Insert if the effects hashmap is empty
if (packetData->effects->empty())
{
tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*)
MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
packetData->effects->insert(pair<const NodeAddress *,
SocketInterface_MulticastModeledReceiverCommEffects *>
(&(tempEffects->receivingPlatformAddress), tempEffects));
}
else
{
it = packetData->effects->find(&(effects->receivingPlatformAddress));
// Insert if effects hashmap is non-empty but does not contain the receiver model
if (it == packetData->effects->end())
{
tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*)
MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
packetData->effects->insert(pair<const NodeAddress *,
SocketInterface_MulticastModeledReceiverCommEffects *>
(&(tempEffects->receivingPlatformAddress), tempEffects));
}
// Update if effects hashmap is non-empty and does contain the receiver model
else
{
if (it->second == NULL)
{
it->second = (SocketInterface_MulticastModeledReceiverCommEffects*)
MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
}
memcpy(it->second,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
}
}
}
/*
* This function is a callback that is invoked when , SocketInterface_HandleCreatePlatform (),
* (on partition 0) sends a partition communication message to notify
* all partitions about the creation of the platform.
*/
static void SocketInterface_PARALLEL_HandleCreatePlatformNotice (PartitionData *
partitionData, Message * message)
{
// We are being notified (by partition 0) that a platform has
// been created - perform all the normal steps when creating a
// platform, _except_ we are being told wihch nodeId has been
// assigned for the entityId.
EXTERNAL_Interface * iface = partitionData->interfaceTable [EXTERNAL_SOCKET];
SocketInterface_CreatePlatformNotificationInfo * notificationMessage =
(SocketInterface_CreatePlatformNotificationInfo *) MESSAGE_ReturnInfo (
message);
SocketInterface_HandleCreatePlatformNotification(iface, notificationMessage);
MESSAGE_Free(partitionData->firstNode, message);
}
static void SocketInterface_PARALLEL_HandleGraphLogNotice (PartitionData *
partitionData, Message * message)
{
EXTERNAL_Interface * iface = partitionData->interfaceTable [EXTERNAL_SOCKET];
SocketInterface_HandleGraphLogNotification(iface);
MESSAGE_Free(partitionData->firstNode, message);
}
//---------------------------------------------------------------------------
// External Interface API Functions
//---------------------------------------------------------------------------
void SocketInterface_Initialize(
EXTERNAL_Interface *iface,
NodeInput *nodeInput)
{
SocketInterface_InterfaceData *data;
// Verify sizes
assert(sizeof(SocketInterface_Header) == SOCKET_INTERFACE_HEADER_SIZE);
assert(sizeof(SocketInterface_OptionHeader) == SOCKET_INTERFACE_OPTION_HEADER_SIZE);
assert(sizeof(SocketInterface_Coordinates) == SOCKET_INTERFACE_COORDINATE_SIZE);
gHaveSocketIface = true;
// Create SocketInterface_InterfaceData for this iface
data = new SocketInterface_InterfaceData;
#ifdef PARALLEL //Parallel
data->createPlatformCommunicator
= PARTITION_COMMUNICATION_RegisterCommunicator(iface->partition,
"SOCKET-INTERFACe notice create platform",
SocketInterface_PARALLEL_HandleCreatePlatformNotice);
data->printGraphLogCommunicator
= PARTITION_COMMUNICATION_RegisterCommunicator(iface->partition,
"SOCKET-INTERFACE notice Socket_Print graph",
SocketInterface_PARALLEL_HandleGraphLogNotice);
#endif //Parallel
// Initial state is standby
data->simulationState = SocketInterface_StateType_Standby;
// Initial state is NoServer
data->qualnetMode = SocketInterface_ModeType_NoBootStrap;
// At the start of the simulation we should wait for a time advance
// before we begin processing events
data->waitingForTimeAdvance = TRUE;
// Set the default values. Some of these will be over-ridden by the user
// in the InitializeNodes function.
data->timeManagement = SocketInterface_TimeManagementType_TimeManaged;
data->paused = FALSE;
data->resetting = FALSE;
data->idleSentRealTime = 0;
data->timeAllowance = 0;
data->idleWhenResponseSent = FALSE;
data->doWarmup = FALSE;
data->inIdleResponse = FALSE;
data->alwaysSuccess = FALSE;
data->cpuHog = FALSE;
data->firstBoundary = 0;
data->lastBoundary = 0;
data->totalPackets = 0;
data->totalRealTimeSpeed = 0.0;
data->firstStatsUpdateRealTime = 0;
data->firstStatsUpdateSimTime = 0;
data->nextStatsUpdate = 0;
data->lastTotalMessages = 0;
data->lastTotalRealTimeSpeed = 0.0;
data->lastTotalPackets = 0;
data->lastResponses = 0;
data->lastSuccesses = 0;
data->lastFailures = 0;
data->lastSuccessfulFailures = 0;
data->lastStatsUpdateRealTime = 0;
data->lastStatsUpdateSimTime = 0;
data->nextGraphUpdate = 0;
data->printPerPacketStats = FALSE;
data->gotFirstAdvance = FALSE;
data->creates = 0;
data->updates = 0;
data->requests = 0;
data->responses = 0;
data->successes = 0;
data->failures = 0;
data->successfulFailures = 0;
data->deterministicTiming = 0;
//memset(&data->entityMapping, 0, sizeof(data->entityMapping));
memset(&data->requestTree, 0, sizeof(data->requestTree));
memset(&data->multicastTree, 0, sizeof(data->multicastTree));
data->tcpFailureTimeout = SOCKET_INTERFACE_DEFAULT_TCP_FAILURE_TIMEOUT;
data->udpFailureTimeout = SOCKET_INTERFACE_DEFAULT_UDP_FAILURE_TIMEOUT;
data->advanceBoundaries = SOCKET_INTERFACE_DEFAULT_ADVANCE_BOUNDARIES;
data->coordinateSystem = SocketInterface_CoordinateSystemType_Cartesian;
data->automaticFlush = TRUE;
data->driverLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE;
data->responsesLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE;
data->statsLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE;
data->graphLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE;
data->errorsLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE;
data->propagationLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE;
data->logPrintRealTime = FALSE;
data->statsPrintRealTime = SOCKET_INTERFACE_DEFAULT_STATS_PRINT_REAL_TIME;
data->statsPrintInterval = SOCKET_INTERFACE_DEFAULT_STATS_PRINT_INTERVAL;
data->firstStatsUpdate = TRUE;
data->graphPrintRealTime = SOCKET_INTERFACE_DEFAULT_GRAPH_PRINT_REAL_TIME;
data->graphPrintInterval = SOCKET_INTERFACE_DEFAULT_GRAPH_PRINT_INTERVAL;
data->firstGraphUpdate = TRUE;
data->logPropagation = FALSE;
data->inInitializePhase = FALSE;
// Initialize socket structure. Will be completed in InitializeNodes.
data->sockets.numPorts = 0;
data->pauseSendZeroDelay = FALSE;
data->pauseAdvanceSimTime = FALSE;
// Tree must use it's memory pool (tree nodes are recycled) so that
// data field of nodes can be read from post-free.
EXTERNAL_TreeInitialize(&data->requestTree, TRUE, 0);
EXTERNAL_TreeInitialize(&data->multicastTree, TRUE, 0);
// Add this data to the iface
iface->data = data;
// Allocating memory for the nodes in QualNet.
// printf ("The number of nodes is %i\n",node->partitionData->numNodes);
// Look up the node
// SocketInterface_BootStrap (int argc, char * argv [],
// will have changed the simulation time, so the simulation ends only
// when it receives the stopSimulation message.
data->incomingMessages = NULL;
data->lastIncomingMessage = NULL;
data->numIncomingMessages = 0;
data->outgoingMessages = NULL;
data->lastOutgoingMessage = NULL;
data->numOutgoingMessages = 0;
// Robust Interface protocol parameters
data->serverProtocolVersion = 6;
data->clientProtocolVersion = 3;
try
{
D_Hierarchy *h = &iface->partition->dynamicHierarchy;
std::string path;
if (h->CreateExternalInterfacePath("CESSocketInterface",
"ServerProtocolVersion", path))
{
D_Object* obj = new D_Int32Obj(&data->serverProtocolVersion);
h->AddObject(path, obj);
h->SetWriteable(path, FALSE);
}
if (h->CreateExternalInterfacePath("CESSocketInterface",
"ClientProtocolVersion", path))
{
D_Object* obj = new D_Int32Obj(&data->clientProtocolVersion);
h->AddObject(path, obj);
h->SetWriteable(path, TRUE);
}
}
catch (D_Exception& d)
{
// Not an error. The scenario doesn't enable the dynamic hierarchy.
}
data->onlyDisableMappedNodes = false;
}
static void SocketInterface_AddEntityMapping(Node*& node, SocketInterface_InterfaceData*& data)
{
ERROR_Assert(node, "invalid node");
ERROR_Assert(data, "invalid interfacedata");
#ifdef DEBUG
sprintf("SocketInterface_AddEntityMapping for node %d\n");
#endif
Entity_NodeData entity;
entity.node = node;
data->entityMapping.unmappedNodes[entity.node->nodeId] = entity;
}
static BOOL SocketInterface_IsDynamicCommandOnDifferentPartition(
EXTERNAL_Interface* iface,
std::string* path,
int* partition,
BOOL* isPlatformPath,
std::string* nodePath)
{
#ifdef PARALLEL //TODO JESSE
std::list<Node*> nodes;
Node* node;
std::vector<std::string> tokens;
char nodeIdString[MAX_STRING_LENGTH];
// Same partition by default
*partition = iface->partition->partitionId;
*isPlatformPath = FALSE;
// Check for /node/nodeId or /platform/entityId
StringSplit(
path,
"/",
&tokens);
if (tokens.size() >= 2)
{
if (tokens[0] == "node")
{
// Get node id. First check local partition for node, then
// check remote partition.
NodeAddress nodeId = atoi(tokens[1].c_str());
node = MAPPING_GetNodePtrFromHash(
iface->partition->nodeIdHash,
nodeId);
if (node == NULL)
{
// Try find node using the shadow node hash.
node = MAPPING_GetNodePtrFromHash(
iface->partition->remoteNodeIdHash, nodeId);
if (node == NULL)
{
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid node");
}
}
}
else if (tokens[0] == "platform")
{
SocketInterface_InterfaceData* data;
data = (SocketInterface_InterfaceData*) iface->data;
node = MappingGetSingleNodePointer(
iface->partition,
&data->entityMapping,
tokens[1]);
if (node == NULL)
{
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid platform");
}
*isPlatformPath = TRUE;
tokens[0] = "/node";
sprintf(nodeIdString, "%d", node->nodeId);
tokens[1] = nodeIdString;
*nodePath = tokens[0];
for (unsigned i = 1; i < tokens.size(); i++)
{
*nodePath += "/" + tokens[i];
}
}
else
{
// It is not a platform or node string. Return false (it is
// probably on the same partition)
return FALSE;
}
// Check that we got a valid node pointer. If not return that it is
// on the same partition since we don't know. This will probably
// end up with an invalid path. If it's on the same partition also
// return false. If it's a different partition set the partition and
// return true.
if (node == NULL)
{
return FALSE;
}
else if (node->partitionId == iface->partition->partitionId)
{
return FALSE;
}
else
{
*partition = node->partitionId;
return TRUE;
}
}
else
{
// There are less than 2 paths so it's not a /node/xxx or
// a /platform/xxx path. Return false (same partition).
return FALSE;
}
#else
*partition = iface->partition->partitionId;
return FALSE;
#endif /* PARTITION */
}
static void SocketInterface_SendMessageToOtherPartition(
EXTERNAL_Interface* iface,
SocketInterface_Message* message,
BOOL isNodePath,
int partition)
{
// Allocate a message for the remote partition
Message* msg;
msg = MESSAGE_Alloc(
iface->partition->firstNode,
EXTERNAL_LAYER,
EXTERNAL_SOCKET,
MSG_EXTERNAL_RemoteMessage);
// Serialize the message we are to send and it it to the remote message.
// The first 4 bytes will be the socket id, the remainder bytes will be
// the serialized message.
SocketInterface_SerializedMessage* serialized = message->Serialize();
UInt32 socketId = message->GetSocketId();
MESSAGE_PacketAlloc(
iface->partition->firstNode,
msg,
serialized->m_Size + sizeof(UInt32) + sizeof(BOOL),
TRACE_SOCKET_EXTERNAL);
memcpy(
MESSAGE_ReturnPacket(msg),
&socketId,
sizeof(UInt32));
memcpy(
MESSAGE_ReturnPacket(msg) + sizeof(UInt32),
&isNodePath,
sizeof(BOOL));
memcpy(
MESSAGE_ReturnPacket(msg) + sizeof(UInt32) + sizeof(BOOL),
serialized->m_Data,
serialized->m_Size);
// Send it to our external interafce that is on the other partition
EXTERNAL_MESSAGE_RemoteSend(
iface,
partition,
msg,
0,
EXTERNAL_SCHEDULE_SAFE);
}
void SocketInterface_InitializeRealTime(
EXTERNAL_Interface* iface)
{
SocketInterface_InterfaceData *data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
if (data->inInitializePhase)
{
// We are transitioning to Execution state, and we need to
// resume the real time clock and set the interface
// initialization time to the current time.
EXTERNAL_Resume(iface);
iface->initializeTime = EXTERNAL_QueryRealTime(iface);
data->inInitializePhase = FALSE;
}
}
static void SocketInterface_HandleFirstStatsUpdate(
EXTERNAL_Interface* iface)
{
SocketInterface_InterfaceData *data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
if (data->simulationState == SocketInterface_StateType_Executing)
{
if (data->statsPrintRealTime)
{
if (data->firstStatsUpdate)
{
data->firstStatsUpdate = FALSE;
data->firstStatsUpdateRealTime = EXTERNAL_QueryRealTime(iface);
data->firstStatsUpdateSimTime = EXTERNAL_QuerySimulationTime(iface);
data->lastStatsUpdateRealTime = data->firstStatsUpdateRealTime;
data->lastStatsUpdateSimTime = data->firstStatsUpdateSimTime;
data->nextStatsUpdate = data->lastStatsUpdateRealTime
+ data->statsPrintInterval;
}
}
else
{
if (data->firstStatsUpdate)
{
data->firstStatsUpdate = FALSE;
data->firstStatsUpdateRealTime = EXTERNAL_QueryRealTime(iface);
data->firstStatsUpdateSimTime = EXTERNAL_QuerySimulationTime(iface);
data->lastStatsUpdateRealTime = data->firstStatsUpdateRealTime;
data->lastStatsUpdateSimTime = data->firstStatsUpdateSimTime;
data->nextStatsUpdate = EXTERNAL_QuerySimulationTime(iface)
+ data->statsPrintInterval;
}
}
// Handle graph log update
if (data->graphPrintRealTime)
{
if (data->firstGraphUpdate)
{
data->firstGraphUpdate = FALSE;
data->nextGraphUpdate = EXTERNAL_QueryRealTime(iface)
+ data->graphPrintInterval;
}
}
else
{
if (data->firstGraphUpdate)
{
data->firstGraphUpdate = FALSE;
data->nextGraphUpdate = EXTERNAL_QuerySimulationTime(iface)
+ data->graphPrintInterval;
}
}
}
}
static void SocketInterface_LogMessage(EXTERNAL_Interface* iface, SocketInterface_Message* message)
{
SocketInterface_InterfaceData *data = (SocketInterface_InterfaceData*) iface->data;
std::string str;
message->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->driverLogFile,
str.c_str());
}
static BOOL SocketInterface_HandleMessage(
EXTERNAL_Interface* iface,
SocketInterface_Message* message)
{
SocketInterface_InterfaceData *data;
char errString[MAX_STRING_LENGTH];
BOOL scheduled = FALSE;
clocktype t;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
switch (message->GetType())
{
case SocketInterface_MessageType_InitializeSimulation:
{
SocketInterface_InitializeSimulationMessage* initialize;
initialize = (SocketInterface_InitializeSimulationMessage*) message;
// Set coordinate system
if (initialize->m_CoordinateSpecified)
{
data->coordinateSystem = initialize->m_CoordinateSystem;
}
// Get time management mode
data->timeManagement = initialize->m_TimeManagementMode;
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime)
{
// Set the time management to real-time with 0 lookahead
EXTERNAL_SetTimeManagementRealTime(
iface,
0);
}
// Make sure config file matches coordinate system
if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian &&
iface->partition->terrainData->getCoordinateSystem() != LATLONALT)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_ConfigurationError,
"GCC Cartesian coordinates may only be converted to "
"lat/lon/alt. Make sure the QualNet config file uses "
"the LATLONALT COORDINATE-SYSTEM.");
}
if (data->coordinateSystem == SocketInterface_CoordinateSystemType_Cartesian &&
iface->partition->terrainData->getCoordinateSystem() != CARTESIAN)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_ConfigurationError,
"Interface is configured to use cartesian coordinates but "
"QualNet configuration is not cartesian. Make sure "
"COORDINATE-SYSTEM is set to CARESIAN");
}
else if (data->coordinateSystem == SocketInterface_CoordinateSystemType_LatLonAlt &&
iface->partition->terrainData->getCoordinateSystem() != LATLONALT)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_ConfigurationError,
"Interface is configured to use lat/lon/alt coordinates but"
" QualNet configuration is not lat/lon/alt. Make sure "
"COORDINATE-SYSTEM is set to LATLONALT");
}
// Set Source Response Multicast
if (initialize->m_SourceResponseMulticastEnabled)
{
data->sourceResponsibleMulticast = initialize->m_SourceResponseMulticastEnabled;
}
else
{
data->sourceResponsibleMulticast = 0;
}
// Should only be sent when not using Server mode.
if (SocketInterface_GetModeType(iface) == SocketInterface_ModeType_NoBootStrap)
{
if (initialize->m_Scenario.size() > 0)
{
throw SocketInterface_Exception(
SocketInterface_ErrorType_InvalidMessage,
"Initialization scenario not supported in this mode");
}
}
SocketInterface_LogMessage(iface, message);
// If we are doing a warmup then go to the warmup phase. This
// block of code will wait for a warmup message then move to the
// warmup phase. When the warmup phase is over QualNet will move to
// the intialize phase.
if (data->doWarmup)
{
SocketInterface_HandleWaitForWarmup(iface);
}
else
{
// Change state to initialized
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Initialized);
}
break;
}
case SocketInterface_MessageType_BeginWarmup:
{
SocketInterface_BeginWarmupMessage* beginWarmup;
SocketInterface_LogMessage(iface, message);
beginWarmup = (SocketInterface_BeginWarmupMessage*) message;
// Change state to SocketInterface_StateType_Warmup. This will cause QualNet to leave
// the SocketInterface_HandleWaitForWarmup routine (which calls this
// function)
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Warmup);
EXTERNAL_BeginWarmup(iface);
break;
}
case SocketInterface_MessageType_PauseSimulation:
{
SocketInterface_PauseSimulationMessage* pause;
SocketInterface_LogMessage(iface, message);
pause = (SocketInterface_PauseSimulationMessage*) message;
if (pause->m_PauseTimeSpecified)
{
t = SocketInterface_TimestampToQualNet(iface, pause->m_PauseTime);
if (t > EXTERNAL_QuerySimulationTime(iface))
{
SocketInterface_ScheduleMessage(
iface,
message,
t);
scheduled = TRUE;
}
}
if (!scheduled)
{
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Paused);
}
break;
}
case SocketInterface_MessageType_ExecuteSimulation:
{
SocketInterface_ExecuteSimulationMessage* execute;
SocketInterface_LogMessage(iface, message);
execute = (SocketInterface_ExecuteSimulationMessage*) message;
// Change state to executing
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Executing);
// Handle the print stats.
SocketInterface_HandleFirstStatsUpdate(iface);
break;
}
case SocketInterface_MessageType_StopSimulation:
SocketInterface_LogMessage(iface, message);
SocketInterface_HandleStopSimulation(
iface,
(SocketInterface_StopSimulationMessage*) message);
break;
case SocketInterface_MessageType_ResetSimulation:
SocketInterface_LogMessage(iface, message);
SocketInterface_HandleResetSimulation(
iface,
(SocketInterface_ResetSimulationMessage*) message);
break;
case SocketInterface_MessageType_AdvanceTime:
SocketInterface_LogMessage(iface, message);
SocketInterface_HandleAdvanceTime(
iface,
(SocketInterface_AdvanceTimeMessage*) message);
break;
case SocketInterface_MessageType_CommEffectsRequest:
{
SocketInterface_CommEffectsRequestMessage* request =
(SocketInterface_CommEffectsRequestMessage*) message;
SocketInterface_LogMessage(iface, message);
data->requests++;
if (request->m_SendTimeSpecified)
{
t = SocketInterface_TimestampToQualNet(iface, request->m_SendTime);
if (t > EXTERNAL_QuerySimulationTime(iface))
{
SocketInterface_ScheduleMessage(
iface,
message,
t);
scheduled = TRUE;
}
}
if (!scheduled)
{
SocketInterface_HandleCommEffectsRequest(
iface,
(SocketInterface_CommEffectsRequestMessage*) message,
message->GetSocketId());
}
break;
}
case SocketInterface_MessageType_CreatePlatform:
{
SocketInterface_CreatePlatformMessage* create =
(SocketInterface_CreatePlatformMessage*) message;
SocketInterface_LogMessage(iface, message);
if (create->m_CreateTimeSpecified)
{
t = SocketInterface_TimestampToQualNet(iface, create->m_CreateTime);
if (t > EXTERNAL_QuerySimulationTime(iface))
{
SocketInterface_ScheduleMessage(
iface,
message,
t);
scheduled = TRUE;
}
}
if (!scheduled)
{
SocketInterface_HandleCreatePlatform(
iface,
(SocketInterface_CreatePlatformMessage*) message);
}
break;
}
case SocketInterface_MessageType_UpdatePlatform:
{
SocketInterface_UpdatePlatformMessage* update =
(SocketInterface_UpdatePlatformMessage*) message;
SocketInterface_LogMessage(iface, message);
// Schedule the update if it has a timestamp
SocketInterface_HandleUpdatePlatform(
iface,
update);
break;
}
case SocketInterface_MessageType_DynamicCommand:
{
SocketInterface_DynamicCommandMessage* dynamic =
(SocketInterface_DynamicCommandMessage*) message;
SocketInterface_LogMessage(iface, message);
SocketInterface_HandleDynamicCommand(
iface,
dynamic,
message->GetSocketId());
/*int partition;
BOOL isPlatformPath;
std::string nodePath;
BOOL otherPartition = SocketInterface_IsDynamicCommandOnDifferentPartition(
iface,
&dynamic->m_Path,
&partition,
&isPlatformPath,
&nodePath);
if (otherPartition)
{
// If it's a platform path send the node path to the other
// partition. This is a temp hack because the other partition
// doesn't know about the entity link.
if (isPlatformPath)
{
SocketInterface_DynamicCommandMessage* nodeDynamic = new SocketInterface_DynamicCommandMessage(dynamic->m_Type, &nodePath, &dynamic->m_Args);
nodeDynamic->SetSocketId(dynamic->GetSocketId());
SocketInterface_SendMessageToOtherPartition(
iface,
nodeDynamic,
isPlatformPath,
partition);
delete nodeDynamic;
}
else
{
SocketInterface_SendMessageToOtherPartition(
iface,
message,
isPlatformPath,
partition);
}
}
else
{
SocketInterface_HandleDynamicCommand(
iface,
dynamic,
message->GetSocketId());
}*/
break;
}
case SocketInterface_MessageType_QuerySimulationState:
{
SocketInterface_LogMessage(iface, message);
SocketInterface_HandleSimulationStateMessage(iface,
data->simulationState,
data->simulationState);
break;
}
default:
sprintf(
errString,
"Unknown message type \"%d\"",
message->GetType());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString);
break;
}
return scheduled;
}
void SocketInterface_InitializeNodes(
EXTERNAL_Interface *iface,
NodeInput *nodeInput)
{
SocketInterface_InterfaceData *data;
char errString[MAX_STRING_LENGTH];
char buf[MAX_STRING_LENGTH];
int intBuf;
BOOL retVal;
BOOL boolVal;
int i;
int numPorts = 1;
Node *node;
EXTERNAL_SocketErrorType err;
std::map<std::string, NodeIdList> hostNodes;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
// Create EntintyMappingRecords for all nodes, this will
// result in the createplatform selecting nodes whose node Ids
// will match regarldess of being local or remote, so that events
// are equal between par and seq.
NodePointerCollectionIter nodeIter;
nodeIter = iface->partition->allNodes->begin();
node = *nodeIter;
int index = 0;
for (nodeIter = iface->partition->allNodes->begin ();
nodeIter != iface->partition->allNodes->end ();
nodeIter++)
{
node = *nodeIter;
assert(node != NULL);
SocketInterface_AddEntityMapping(node, data);
#ifdef DEBUG
printf("NodeId %d has hostname %s\n", node->nodeId, node->hostname);
fflush(stdout);
#endif
std::string hostname;
if (node->hostname != NULL)
{
hostname = node->hostname;
}
else // sometimes when running in parallel, node->hostname is null
{
BOOL wasFound = false;
char name[MAX_STRING_LENGTH];
IO_ReadString(node->nodeId, ANY_ADDRESS,
nodeInput, "HOSTNAME", &wasFound, name);
if (!wasFound)
{
sprintf(name, "host %d", node->nodeId); //default
}
node->hostname = name;
hostname = node->hostname;
}
std::map<std::string, NodeIdList>::iterator hostmapIt;
hostmapIt = hostNodes.find(hostname);
if (hostmapIt != hostNodes.end())
{
hostmapIt->second.push_back(node->nodeId);
}
else
{
NodeIdList nlist;
nlist.push_back(node->nodeId);
hostNodes[node->hostname] = nlist;
}
// Testing
//cout << "NodeId is " << node->nodeId << " index is " << data->table->nodeMap[node->nodeId]<< endl;
index++;
}
// Check for sockets from bootstrap phase
std::vector<int>* ports;
std::vector<EXTERNAL_Socket*>* listeningSockets;
std::vector<EXTERNAL_Socket*>* connections;
std::vector<SocketInterface_Message*>* messages;
listeningSockets =
(std::vector<EXTERNAL_Socket*>*) PARTITION_ClientStateFind(
iface->partition,
"Socket_ListeningSockets");
ports =
(std::vector<int>*) PARTITION_ClientStateFind(
iface->partition,
"Socket_ListeningPorts");
connections =
(std::vector<EXTERNAL_Socket*>*) PARTITION_ClientStateFind(
iface->partition,
"Socket_Connections");
messages =
(std::vector<SocketInterface_Message*>*) PARTITION_ClientStateFind(
iface->partition,
"Socket_Messages");
if (listeningSockets != NULL &&
ports != NULL &&
connections != NULL &&
messages != NULL)
{
// QualNet is running in bootstrap mode.
// Change the QualNet mode.
data->qualnetMode = SocketInterface_ModeType_BootStrap;
data->sockets.listeningSockets = *listeningSockets;
data->sockets.listenPorts = *ports;
data->sockets.numPorts = ports->size();
// Add connections. All are initially active.
data->sockets.connections = *connections;
data->sockets.numConnections = connections->size();
for (i = 0; i < data->sockets.numConnections; i++)
{
data->sockets.activeConnections.push_back(TRUE);
}
}
bool isLegacyCES = false;
//first check if interface is to be used
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE",
&retVal,
buf);
if (!retVal)
{
//Backwards compatibility check
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-SOCKET",
&retVal,
buf);
if (!retVal || strcmp(buf, "YES") != 0)
{
return;
}
ERROR_ReportWarning("CES-SOCKET has been deprecated, \
please replace with SOCKET-INTERFACE");
isLegacyCES = true;
}
if (retVal && strcmp(buf, "YES") != 0)
{
return;
}
// Read the number of listening sockets to create
if (isLegacyCES)
{
IO_ReadInt(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-SOCKET-NUM-PORTS",
&retVal,
&intBuf);
if (retVal)
{
ERROR_ReportWarning("CES-SOCKET-NUM-PORTS has been deprecated, \
please replace with SOCKET-INTERFACE-NUM-PORTS");
}
}
else
{
IO_ReadInt(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-NUM-PORTS",
&retVal,
&intBuf);
}
if (retVal)
{
numPorts = intBuf;
}
for (i = 0; i < numPorts; i++)
{
// Read the port for each socket
if (isLegacyCES)
{
IO_ReadIntInstance(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-SOCKET-PORT",
i,
TRUE,
&retVal,
&intBuf);
if (retVal)
{
ERROR_ReportWarning("CES-SOCKET-PORT has been deprecated, \
please replace with SOCKET-INTERFACE-PORT");
}
}
else
{
IO_ReadIntInstance(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-PORT",
i,
TRUE,
&retVal,
&intBuf);
}
if (retVal)
{
// Do nothing, port will be added below
}
else
{
// If port is not specified, it's an error if there are multiple
// ports. If there is one port use the default port.
if (numPorts > 1)
{
ERROR_ReportError(
"Must specify a port for every QualNet listening socket");
}
else
{
intBuf = SOCKET_INTERFACE_DEFAULT_PORT;
}
}
// Open listening ports if on partition 0, and this port wasn't
// already opened in bootstrap phase
std::vector<int>::iterator it;
it = std::find(
data->sockets.listenPorts.begin(),
data->sockets.listenPorts.end(),
intBuf);
if (iface->partition->partitionId == 0
&& it == data->sockets.listenPorts.end())
{
EXTERNAL_Socket *tempSocket = (EXTERNAL_Socket*) MEM_malloc(sizeof(EXTERNAL_Socket));
data->sockets.listeningSockets.push_back(tempSocket);
data->sockets.listenPorts.push_back(intBuf);
data->sockets.numPorts++;
do
{
err = EXTERNAL_SocketInitListen(
tempSocket,
intBuf,
FALSE,
TRUE);
if (err != EXTERNAL_NoSocketError)
{
sprintf(
errString,
"Unable to open socket on port %d. Trying again in 3 seconds.",
intBuf);
ERROR_ReportWarning(errString);
EXTERNAL_Sleep(3 * SECOND);
}
} while (err != EXTERNAL_NoSocketError);
}
}
// Read TCP failure timeout if present
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-TCP-FAILURE-TIMEOUT",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-TCP-FAILURE-TIMEOUT has been deprecated, \
please replace with SOCKET-INTERFACE-TCP-FAILURE-TIMEOUT");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-TCP-FAILURE-TIMEOUT",
&retVal,
buf);
}
if (retVal)
{
data->tcpFailureTimeout = TIME_ConvertToClock(buf);
}
// Read UDP failure timeout if presen
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-UDP-FAILURE-TIMEOUT",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-UCP-FAILURE-TIMEOUT has been deprecated, \
please replace with SOCKET-INTERFACE-UCP-FAILURE-TIMEOUT");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-UDP-FAILURE-TIMEOUT",
&retVal,
buf);
}
if (retVal)
{
data->udpFailureTimeout = TIME_ConvertToClock(buf);
}
// Read warm up time if present
if (iface->partition->partitionId == 0)
{
if (EXTERNAL_WarmupTimeEnabled(iface))
{
data->doWarmup = TRUE;
}
}
// Read SOCKET-INTERFACE-ALWAYS-SUCCESS if present
if (isLegacyCES)
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-ALWAYS-SUCCESS",
&retVal,
&boolVal);
if (retVal)
{
ERROR_ReportWarning("CES-ALWAYS-SUCCESS has been deprecated, \
please replace with SOCKET-INTERFACE-ALWAYS-SUCCESS");
}
}
else
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-ALWAYS-SUCCESS",
&retVal,
&boolVal);
}
if (retVal)
{
data->alwaysSuccess = boolVal;
}
// Read SOCKET-INTERFACE-CPU-HOG if present
if (isLegacyCES)
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-CPU-HOG",
&retVal,
&boolVal);
if (retVal)
{
ERROR_ReportWarning("CES-CPU-HOG has been deprecated, \
please replace with SOCKET-INTERFACE-CPU-HOG");
}
}
else
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-CPU-HOG",
&retVal,
&boolVal);
}
if (retVal)
{
data->cpuHog = boolVal;
if (data->cpuHog)
{
EXTERNAL_SetCpuHog(iface);
}
}
// Read SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY if present
if (isLegacyCES)
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-PAUSE-REPLY-ZERO-DELAY",
&retVal,
&boolVal);
if (retVal)
{
ERROR_ReportWarning("CES-PAUSE-REPLY-ZERO-DELAY has been deprecated, \
please replace with SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY");
}
}
else
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY",
&retVal,
&boolVal);
}
if (retVal)
{
data->pauseSendZeroDelay = boolVal;
}
// Read SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME if present
if (isLegacyCES)
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-PAUSE-ADVANCE-SIMULATION-TIME",
&retVal,
&boolVal);
if (retVal)
{
ERROR_ReportWarning("CES-PAUSE-ADVANCE-SIMULATION-TIME has been deprecated, \
please replace with SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME");
}
}
else
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME",
&retVal,
&boolVal);
}
if (retVal)
{
data->pauseAdvanceSimTime = boolVal;
}
// Read SOCKET-INTERFACE-IDLE-WHEN-RESPONSE-SENT if present
if (isLegacyCES)
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-IDLE-WHEN-RESPONSE-SENT",
&retVal,
&boolVal);
if (retVal)
{
ERROR_ReportWarning("CES-IDLE-WHEN-RESPONSE-SENT has been deprecated, \
please replace with SOCKET-INTERFACE-IDLE-WHEN-RESPONSE-SENT");
}
}
else
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-IDLE-WHEN-RESPONSE-SENT",
&retVal,
&boolVal);
}
if (retVal)
{
data->idleWhenResponseSent = boolVal;
}
// Read advance boundaries if present
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-ADVANCE-BOUNDARIES",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-ADVANCE-BOUNDARIES has been deprecated, \
please replace with SOCKET-INTERFACE-ADVANCE-BOUNDARIES");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-ADVANCE-BOUNDARIES",
&retVal,
buf);
}
if (retVal)
{
data->advanceBoundaries = atoi(buf);
}
// Read print per packet stats if present
if (isLegacyCES)
{
//Backwards compatibility check
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-PRINT-PER-PACKET-STATS",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-PRINT-PER-PACKET-STATS has been deprecated, \
please replace with SOCKET-INTERFACE-PRINT-PER-PACKET-STATS");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-PRINT-PER-PACKET-STATS",
&retVal,
buf);
}
if (retVal)
{
data->printPerPacketStats = TRUE;
// Create the output file
if (strcmp(buf, "STDOUT") == 0)
{
data->statsFile = stdout;
}
else
{
data->statsFile = fopen(buf, "w");
if (data->statsFile == NULL)
{
printf ("Can not create the per packet stats file\n");
exit(0);
}
//assert(data->statsFile != NULL);
}
}
// Read the log propagation option
if (isLegacyCES)
{
//Backwards compatibility check
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-LOG-PROPAGATION",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-LOG-PROPAGATION has been deprecated, \
please replace with SOCKET-INTERFACE-LOG-PROPAGATION");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-LOG-PROPAGATION",
&retVal,
buf);
}
if (retVal)
{
if (strcmp(buf, "1") == 0)
{
data->logPropagation = TRUE;
}
if (strcmp(buf, "YES") == 0)
{
data->logPropagation = TRUE;
}
}
// Read the log file option
if (isLegacyCES)
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-LOG-AUTOMATIC-FLUSH",
&retVal,
&boolVal);
if (retVal)
{
ERROR_ReportWarning("CES-LOG-AUTOMATIC-FLUSH has been deprecated, \
please replace with SOCKET-INTERFACE-LOG-AUTOMATIC-FLUSH");
}
}
else
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-LOG-AUTOMATIC-FLUSH",
&retVal,
&boolVal);
}
if (retVal)
{
data->automaticFlush = boolVal;
}
// Read the log file option
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-LOG",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-LOG has been deprecated, \
please replace with SOCKET-INTERFACE-LOG");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-LOG",
&retVal,
buf);
}
if (!retVal || (strcmp(buf, "FILE") == 0))
{
if (isLegacyCES)
{
MakeDirectories("CES-SOCKET_", buf, iface->partition->partitionId);
}
else
{
MakeDirectories("SOCKET-INTERFACE_", buf, iface->partition->partitionId);
}
SocketInterface_CreateLogFiles(iface, buf);
}
else if (strcmp(buf, "STDOUT") == 0)
{
data->driverLogFile = stdout;
data->responsesLogFile = stdout;
data->statsLogFile = stdout;
data->graphLogFile = stdout;
data->errorsLogFile = stdout;
data->propagationLogFile = stdout;
}
else if (strcmp(buf, "NONE") == 0)
{
data->driverLogFile = NULL;
data->responsesLogFile = NULL;
data->statsLogFile = NULL;
data->graphLogFile = NULL;
data->errorsLogFile = NULL;
data->propagationLogFile = NULL;
}
else
{
if (isLegacyCES)
{
sprintf(errString, "Unknown CES-LOG option \"%s\"", buf);
}
else
{
sprintf(errString, "Unknown SOCKET-INTERFACE-LOG option \"%s\"", buf);
}
ERROR_ReportError(errString);
}
// Read whether stats should be printed in real time or sim time
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-STATS-PRINT-REAL-TIME",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-STATS-PRINT-REAL-TIME has been deprecated, \
please replace with SOCKET-INTERFACE-STATS-PRINT-REAL-TIME");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-STATS-PRINT-REAL-TIME",
&retVal,
buf);
}
if (retVal)
{
if (strcmp(buf, "0") == 0)
{
data->statsPrintRealTime = FALSE;
}
if (strcmp(buf, "NO") == 0)
{
data->statsPrintRealTime = FALSE;
}
}
// Read the stats print interval
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-PRINT-REAL-TIME",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-PRINT-REAL-TIME has been deprecated, \
please replace with SOCKET-INTERFACE-PRINT-REAL-TIME");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-PRINT-REAL-TIME",
&retVal,
buf);
}
if (retVal)
{
if (strcmp(buf, "1") == 0)
{
data->logPrintRealTime = TRUE;
}
if (strcmp(buf, "YES") == 0)
{
data->logPrintRealTime = TRUE;
}
}
// Read the stats print interval
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-STATS-PRINT-INTERVAL",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-STATS-PRINT-INTERVAL has been deprecated, \
please replace with SOCKET-INTERFACE-STATS-PRINT-INTERVAL");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-STATS-PRINT-INTERVAL",
&retVal,
buf);
}
if (retVal)
{
data->statsPrintInterval = atoi(buf) * SECOND;
// Create timer for the print interval if printing in sim time
if (!data->statsPrintRealTime && iface->partition->partitionId == 0)
{
Message* timer;
timer = MESSAGE_Alloc(
iface->partition->firstNode,
EXTERNAL_LAYER,
EXTERNAL_SOCKET,
MSG_EXTERNAL_SOCKET_INTERFACE_StatsLogTimer);
MESSAGE_Send(
iface->partition->firstNode,
timer,
data->statsPrintInterval);
}
}
// Read whether graph should be printed in real time or sim tim
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-GRAPH-PRINT-REAL-TIME",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-GRAPH-PRINT-REAL-TIME has been deprecated, \
please replace with SOCKET-INTERFACE-GRAPH-PRINT-REAL-TIME");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-GRAPH-PRINT-REAL-TIME",
&retVal,
buf);
}
if (retVal)
{
if (strcmp(buf, "0") == 0)
{
data->graphPrintRealTime = FALSE;
}
if (strcmp(buf, "NO") == 0)
{
data->graphPrintRealTime = FALSE;
}
}
// Read the stats print interval
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-GRAPH-PRINT-INTERVAL",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-GRAPH-PRINT-INTERVAL has been deprecated, \
please replace with SOCKET-INTERFACE-GRAPH-PRINT-INTERVAL");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-GRAPH-PRINT-INTERVAL",
&retVal,
buf);
}
if (retVal)
{
data->graphPrintInterval = atoi(buf) * SECOND;
if (!data->graphPrintRealTime && iface->partition->partitionId == 0)
{
Message* timer;
timer = MESSAGE_Alloc(
iface->partition->firstNode,
EXTERNAL_LAYER,
EXTERNAL_SOCKET,
MSG_EXTERNAL_SOCKET_INTERFACE_GraphLogTimer);
MESSAGE_Send(
iface->partition->firstNode,
timer,
data->graphPrintInterval);
}
}
// Read the entity mapping file if present
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-ENTITY-MAPPING-FILE",
&retVal,
buf);
if (!retVal)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-ENTITY-MAPPING",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-ENTITY-MAPPING has been deprecated, \
please replace with SOCKET-INTERFACE-ENTITY-MAPPING");
}
}
else
{
ERROR_ReportWarning("CES-ENTITY-MAPPING-FILE has been deprecated, \
please replace with SOCKET-INTERFACE-ENTITY-MAPPING");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-ENTITY-MAPPING",
&retVal,
buf);
}
if (retVal) // static --> read from file
{
std::string errorString;
BOOL fail;
EntityMappingInitialize(&data->entityMapping, 31, FALSE);
fail = ReadEntityMappingFile(iface, hostNodes, buf, &errorString);
if (fail)
{
SocketInterface_PrintLog(iface, data->errorsLogFile, errorString.c_str());
}
}
else // dynamic --> mapping created by messages
{
EntityMappingInitialize(&data->entityMapping, 31, TRUE);
}
// Read determinstic timing behavior, if present
data->deterministicTiming = TRUE;
if (isLegacyCES)
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-DETERMINISTIC-TIMING",
&retVal,
buf);
if (retVal)
{
ERROR_ReportWarning("CES-DETERMINISTIC-TIMING has been deprecated, \
please replace with SOCKET-INTERFACE-DETERMINISTIC-TIMING");
}
}
else
{
IO_ReadString(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-DETERMINISTIC-TIMING",
&retVal,
buf);
}
if (retVal)
{
if (strcmp(buf, "0") == 0)
{
data->deterministicTiming = FALSE;
}
if (strcmp(buf, "NO") == 0)
{
data->deterministicTiming = FALSE;
}
}
if (data->deterministicTiming)
{
// Turn off lookahead.
#ifdef PARALLEL //Parallel
PARALLEL_SetProtocolIsNotEOTCapable (iface->partition->firstNode);
#endif
}
// Initialize the boundaries
data->boundaryTimes = (clocktype*)
MEM_malloc(sizeof(clocktype)
* data->advanceBoundaries);
for (i = 0; i < data->advanceBoundaries; i++)
{
data->boundaryTimes[i] = -1;
}
data->firstBoundary = -1;
data->lastBoundary = -1;
//Check if the user wishes to deactivate only mapped nodes, ex: plan to use
//DIS for unmapped nodes
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-ONLY-DEACTIVATE-MAPPED-NODES",
&retVal,
&data->onlyDisableMappedNodes);
if (iface->partition->partitionId == 0)
{
// Deactivate all nodes on all partitions
NodePointerCollectionIter nodeIter;
for (nodeIter = iface->partition->allNodes->begin ();
nodeIter != iface->partition->allNodes->end ();
nodeIter++)
{
node = *nodeIter;
//Deactive node if all are set to be diasabled
//or if node is currently mapped
if (!data->onlyDisableMappedNodes ||
data->entityMapping.unmappedNodes.find(node->nodeId) ==
data->entityMapping.unmappedNodes.end())
{
EXTERNAL_DeactivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE);
}
}
}
// Handle the initialize message received
// during the preinitialization stage. It is
// important to process that before the other
// message.
if (data->qualnetMode == SocketInterface_ModeType_BootStrap)
{
SocketInterface_Message* message;
// Extract the message from the ClientState dictionary.
message = (SocketInterface_Message*) PARTITION_ClientStateFind(
iface->partition,
"SocketInterface_InitializeSimulationMessage");
// Handle the initialize message
SocketInterface_HandleReceiverMessage(iface, message, message->GetSocketId());
}
// Process any messages any messages received during bootstrap phase
if (messages != NULL)
{
for (i = 0; i < (int)messages->size(); i++)
{
// Handle the message
BOOL scheduledMessage = FALSE;
try
{
scheduledMessage = SocketInterface_HandleMessage(iface, (*messages)[i]);
}
catch (SocketInterface_Exception& e)
{
// Handle the exception
SocketInterface_HandleException(iface, &e, (*messages)[i], (*messages)[i]->GetSocketId());
}
// Free memory. Only delete messages that were not scheduled (ie,
// messages that were already processed)
if (!scheduledMessage)
{
delete (*messages)[i];
(*messages)[i] = NULL;
}
}
// Free messages array
delete messages;
}
// Set simulation to never end
EXTERNAL_SetSimulationEndTime(iface, CLOCKTYPE_MAX);
// Start sender/receiver threads if on partition zero
if (iface->partition->partitionId == 0)
{
pthread_create(
&data->sockets.receiverThread,
NULL,
SocketInterface_ReceiverThread,
iface);
pthread_create(
&data->sockets.senderThread,
NULL,
SocketInterface_SenderThread,
iface);
}
// Read in if distributed QualNet environment behavior is required,
// if present and this is partition 0
data->useStatisticalModel = FALSE;
data->unicastStatModel = NULL;
data->multicastStatModel = NULL;
if (iface->partition->partitionId == 0)
{
if (isLegacyCES)
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"CES-DISTRIBUTED-ENVIRONMENT",
&retVal,
&boolVal);
if (retVal)
{
ERROR_ReportWarning("CES-DISTRIBUTED-ENVIRONMENT has been deprecated, \
please replace with SOCKET-INTERFACE-DISTRIBUTED-ENVIRONMENT");
}
}
else
{
IO_ReadBool(
ANY_NODEID,
ANY_ADDRESS,
nodeInput,
"SOCKET-INTERFACE-DISTRIBUTED-ENVIRONMENT",
&retVal,
&boolVal);
}
if (retVal)
{
// If requested, set the config value and create the
// model hashmaps
if (boolVal)
{
data->useStatisticalModel = TRUE;
SocketInterface_InitializeModels(data);
}
}
}
}
clocktype SocketInterface_FederationTime(EXTERNAL_Interface *iface)
{
SocketInterface_InterfaceData *data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
// Return the current time
return data->timeAllowance;
}
void SocketInterface_SimulationHorizon(EXTERNAL_Interface* iface)
{
SocketInterface_InterfaceData *data;
int i;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
// We should never get here if running in real time mode
assert(data->timeManagement != SocketInterface_TimeManagementType_RealTime);
// We should not move the horizon if we are not in the
// execution mode. Though there is one exception to this.
// If we are in pause state and SOCKET-INTERFACE-PAUSE-ADVANCE-SIM-TIME is YES,
// then we move the simulation hosrizon
if (!(data->simulationState == SocketInterface_StateType_Executing ||
(data->pauseAdvanceSimTime && data->simulationState == SocketInterface_StateType_Paused)))
{
return;
}
// If we have been granted extra time that has not been included
// into the simulation horizon, update the horizon and return. Only
// do this if we are not idling because of IdleWhenResponseSent.
// If we are idling because of a response then we will only change
// the horizon upon receiving a new AdvanceSimulationTime message.
//
// The time horizon is advanced only in the execute state
if (!data->inIdleResponse)
{
if (data->timeAllowance > iface->horizon)
{
iface->horizon = data->timeAllowance;
return;
}
}
// This function is called when the current horizon has been
// reached. This means we are idle, and Therefore we should send a
// ReportSimulationIdleState to the MTS, but only once.
if (!data->waitingForTimeAdvance)
{
// Send a ReportSimulationIdleState message
SocketInterface_SimulationIdleMessage* idle;
// Create message and send it to all connections
idle = new SocketInterface_SimulationIdleMessage(
(double) SocketInterface_Timestamp(iface) / SECOND);
for (i = 0; i < (int)data->sockets.connections.size(); i++)
{
if (data->sockets.activeConnections[i])
{
SocketInterface_SendMessage(iface, idle, i);
}
}
// Print to the log file
std::string str;
idle->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
delete idle;
// Set the sent idle message flag. This flag is set to FALSE
// when a time advance is received. See SocketInterface_HandleAdvanceTime.
data->waitingForTimeAdvance = TRUE;
data->idleSentRealTime = EXTERNAL_QueryRealTime(iface);
}
}
static void SocketInterface_HandleDelayedMessage(
EXTERNAL_Interface* iface,
SocketInterface_Message* message)
{
char errString[MAX_STRING_LENGTH];
switch (message->GetType())
{
case SocketInterface_MessageType_CreatePlatform:
SocketInterface_HandleCreatePlatform(
iface,
(SocketInterface_CreatePlatformMessage*) message);
break;
case SocketInterface_MessageType_UpdatePlatform:
SocketInterface_HandleUpdatePlatform(
iface,
(SocketInterface_UpdatePlatformMessage*) message);
break;
case SocketInterface_MessageType_CommEffectsRequest:
{
// Check if the socket id exists.
if (message->HasSocketId())
{
SocketInterface_HandleCommEffectsRequest(
iface,
(SocketInterface_CommEffectsRequestMessage*) message,
message->GetSocketId());
}
else
{
// We have a problem throw an exception.
sprintf(
errString,
"Invalid Socket Id \"%d\"",
message->GetSocketId());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSocketId, errString);
}
break;
}
case SocketInterface_MessageType_PauseSimulation:
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Paused);
break;
default:
sprintf(
errString,
"Unknown message type \"%d\"",
message->GetType());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString);
break;
}
}
void SocketInterface_HandleWaitForWarmup(EXTERNAL_Interface *iface)
{
SocketInterface_InterfaceData *data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
#ifdef DEBUG
printf ("partition %d: In SocketInterface_HandleWaitForWarmup\n", iface->partition->partitionId);
#endif
// Keep loouping until we get a BeginWarmup message
while (data->simulationState == SocketInterface_StateType_Standby)
{
// Attempt to receive data from the socket. If successful then handle
// that data.
if (data->incomingMessages != NULL)
{
SocketInterface_MessageList* listNode;
// Retrieve the message from the list
pthread_mutex_lock(&data->sockets.receiverMutex);
listNode = (SocketInterface_MessageList*) data->incomingMessages;
data->incomingMessages = listNode->next;
if (listNode->next == NULL)
{
data->lastIncomingMessage = NULL;
}
data->numIncomingMessages--;
pthread_mutex_unlock(&data->sockets.receiverMutex);
// If running in real time we don't want to get overloaded with
// messages. Let the receiver thread know it can continue
// receiving if the input queue is empty enough.
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime &&
data->numIncomingMessages < SOCKET_INTERFACE_MAX_QUEUE_SIZE * 0.1)
{
pthread_cond_signal(&data->sockets.receiverNotFull);
}
// Handle the message
BOOL scheduledMessage = FALSE;
try
{
scheduledMessage = SocketInterface_HandleMessage(iface, listNode->message);
}
catch (SocketInterface_Exception& e)
{
// Handle the exception
SocketInterface_HandleException(
iface,
&e,
listNode->message,
listNode->message->GetSocketId());
}
// Free memory. Only delete messages that were not scheduled (ie,
// messages that were already processed)
if (!scheduledMessage)
{
delete listNode->message;
}
delete listNode;
}
}
#ifdef DEBUG
printf ("partition %d: Leaving SocketInterface_HandleWaitForWarmup\n", iface->partition->partitionId);
#endif
}
void SocketInterface_Receive(EXTERNAL_Interface *iface)
{
SocketInterface_InterfaceData *data;
EXTERNAL_TreeNode *record;
//std::list<NodeAddress> addresses;
char err[MAX_STRING_LENGTH];
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
#ifdef DEBUG
//printf ("partition %d: START receive msg\n", iface->partition->partitionId);
#endif
//printf("STATE %d sim time %f real time = %f horizon = %f\n", data->simulationState, EXTERNAL_QuerySimulationTime(iface) / 1000000000.0, EXTERNAL_QueryRealTime(iface) / 1000000000.0, iface->horizon / 1000000000.0);
// If in warmup time and we reached the warmup time move to
// initialized state and exit function.
if (data->simulationState == SocketInterface_StateType_Warmup && !EXTERNAL_IsInWarmup(iface))
{
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Initialized);
return;
}
else if (EXTERNAL_IsInWarmup(iface) && !data->doWarmup)
{
ERROR_ReportError(
"QualNet socket interface must be configured for warmup if any "
"external interface uses warmup time.");
}
// Handle statistics
// Print if we are in executing state or
// if we are in pause state and advancing sim time in pause state
if ((data->simulationState == SocketInterface_StateType_Executing ||
(data->simulationState == SocketInterface_StateType_Paused &&
data->pauseAdvanceSimTime))
&& !EXTERNAL_IsInWarmup(iface))
{
if (data->statsPrintRealTime)
{
if (EXTERNAL_QueryRealTime(iface) > data->nextStatsUpdate)
{
SocketInterface_PrintStats(iface);
data->lastStatsUpdateRealTime = EXTERNAL_QueryRealTime(iface);
data->lastStatsUpdateSimTime = EXTERNAL_QuerySimulationTime(iface);
while (EXTERNAL_QueryRealTime(iface) > data->nextStatsUpdate)
{
data->nextStatsUpdate += data->statsPrintInterval;
}
}
}
// Handle graph
if (data->graphPrintRealTime)
{
if (EXTERNAL_QueryRealTime(iface) > data->nextGraphUpdate)
{
data->nextGraphUpdate = EXTERNAL_QueryRealTime(iface)
+ data->graphPrintInterval;
SocketInterface_PrintGraph(
iface,
&data->entityMapping,
data->graphLogFile);
}
}
}
// Attempt to receive data from the socket. If successful then handle
// that data.
while (data->incomingMessages != NULL)
{
SocketInterface_MessageList* listNode;
// Retrieve the message from the list
pthread_mutex_lock(&data->sockets.receiverMutex);
listNode = (SocketInterface_MessageList*) data->incomingMessages;
data->incomingMessages = listNode->next;
if (listNode->next == NULL)
{
data->lastIncomingMessage = NULL;
}
data->numIncomingMessages--;
pthread_mutex_unlock(&data->sockets.receiverMutex);
// If running in real time we don't want to get overloaded with
// messages. Let the receiver thread know it can continue
// receiving if the input queue is empty enough.
if (data->timeManagement == SocketInterface_TimeManagementType_RealTime &&
data->numIncomingMessages < SOCKET_INTERFACE_MAX_QUEUE_SIZE * 0.1)
{
pthread_cond_signal(&data->sockets.receiverNotFull);
}
// Handle the message
BOOL scheduledMessage = FALSE;
try
{
scheduledMessage = SocketInterface_HandleMessage(iface, listNode->message);
}
catch (SocketInterface_Exception& e)
{
// Handle the exception
SocketInterface_HandleException(
iface,
&e,
listNode->message,
listNode->message->GetSocketId());
}
// Free memory. Only delete messages that were not scheduled (ie,
// messages that were already processed)
if (!scheduledMessage)
{
delete listNode->message;
}
delete listNode;
}
// Look for expired requests
record = EXTERNAL_TreePeekMin(&data->requestTree);
while (record != NULL
&& record->time < EXTERNAL_QuerySimulationTime(iface))
{
// If its time is expired, extract it
EXTERNAL_TreeExtractMin(&data->requestTree);
// If the data is NULL it means this was already processed as a
// success.
if (record->data != NULL)
{
SocketInterface_PacketData* packetData = (SocketInterface_PacketData*) record->data;
// Update model if running in distributed qualnet mode
// and this is a non-network protocol packet
if ((data->useStatisticalModel) && (packetData->protocol != SocketInterface_ProtocolType_ProtocolNetwork))
{
SocketInterface_UnicastModelingParameters params;
SocketInterface_UnicastModeledCommEffects effects;
params.senderNodeAddress = MappingGetSingleNodeAddress(iface->partition,
&data->entityMapping,
packetData->originator);
if (params.senderNodeAddress == 0)
{
sprintf(err,
"SocketInterface_Receive Invalid Sender node (no node address): %s",
packetData->originator.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err);
}
params.receiverNodeAddress = MappingGetSingleNodeAddress(iface->partition,
&data->entityMapping,
packetData->receiver);
if (params.receiverNodeAddress == 0)
{
sprintf(err,
"SocketInterface_Receive Invalid Receiver node (no node address): %s",
packetData->receiver.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err);
}
params.protocol = packetData->protocol;
params.sendTime = packetData->beginProcessingTime;
effects.latency = 0.0;
effects.success = FALSE;
SocketInterface_UpdateUnicastModel(data,¶ms,&effects);
// Only send failure response if it has not already been send for this packet
if (packetData->sentStatisticalModel == FALSE)
{
SocketInterface_HandleRequestFailure(iface, record);
}
else
{
// Set data to NULL so we know this was freed
record->data = NULL;
// Remove from request hash
SocketInterface_PacketData* packetData2;
packetData2 = data->requestHash.PeekRequest(packetData->hashId);
assert(packetData2 == packetData);
data->requestHash.RemoveHash(packetData->hashId);
// Free memory
delete packetData;
}
}
// Send failure response otherwise
else
{
SocketInterface_HandleRequestFailure(iface, record);
}
}
EXTERNAL_TreeFreeNode(&data->requestTree, record);
// Look at the next one
record = EXTERNAL_TreePeekMin(&data->requestTree);
}
// Free expired multicast messages
record = EXTERNAL_TreePeekMin(&data->multicastTree);
while (record != NULL
&& record->time < EXTERNAL_QuerySimulationTime(iface))
{
// If its time is expired, extract it and look at the next one
EXTERNAL_TreeExtractMin(&data->multicastTree);
SocketInterface_PacketData* packetData = (SocketInterface_PacketData*) record->data;
//todo: get rid of this????
// Update model if running in distributed qualnet mode
// and this is a non-network protocol packet
if ((data->useStatisticalModel) &&
(packetData != NULL) &&
(packetData->protocol != SocketInterface_ProtocolType_ProtocolNetwork))
{
SocketInterface_MulticastModelingParameters params;
params.senderNodeAddress = MappingGetSingleNodeAddress(iface->partition,
&data->entityMapping,
packetData->originator);
if (params.senderNodeAddress == 0)
{
sprintf(err,
"SocketInterface_Receive Invalid Sender node (no node address): %s",
packetData->originator.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err);
}
params.receiverNodeAddress = MappingGetSingleNodeAddress(iface->partition,
&data->entityMapping,
packetData->receiver);
if (params.receiverNodeAddress == 0)
{
int numHostBits;
BOOL isNodeId;
IO_ParseNodeIdHostOrNetworkAddress(
packetData->receiver.c_str(),
&(params.receiverNodeAddress),
&numHostBits,
&isNodeId);
assert(isNodeId == FALSE);
}
params.protocol = packetData->protocol;
params.sendTime = packetData->beginProcessingTime;
SocketInterface_UpdateMulticastModel(data,¶ms,packetData->effects);
// Free allocated memory for multicast receivers effects hashmap
packetData->effects->clear();
delete packetData->effects;
}
// Remove from request hash
SocketInterface_PacketData* packetData2;
packetData2 = data->requestHash.PeekRequest(packetData->hashId);
assert(packetData2 == packetData);
data->requestHash.RemoveHash(packetData->hashId);
// Free memory
EXTERNAL_TreeFreeNode(&data->multicastTree, record);
delete packetData;
record = EXTERNAL_TreePeekMin(&data->multicastTree);
}
#ifdef DEBUG
//printf ("partition %d: END receive msg\n", iface->partition->partitionId);
#endif
}
void SocketInterface_Forward(
EXTERNAL_Interface *iface,
Node* node,
void *forwardData,
int forwardSize)
{
SocketInterface_InterfaceData *data;
Int32 requestId;
SocketInterface_PacketData *packetData;
SocketInterface_PacketData *treeNodePacketData;
SocketInterface_CommEffectsResponseMessage* response;
clocktype totalBoundaryDelay;
clocktype simTime;
clocktype cpuTime;
clocktype interval;
clocktype realTime;
int i;
EXTERNAL_TreeNode* treeNode;
BOOL sentStatisticalModel;
BOOL networkPacket = FALSE;
BOOL multicast = FALSE;
SocketInterface_UnicastModelingParameters uParams;
SocketInterface_MulticastModelingParameters mParams;
SocketInterface_UnicastModeledCommEffects uEffects;
SocketInterface_MulticastModeledReceiverCommEffects mEffects;
char* messageData = (char*) forwardData;
ERROR_Assert(forwardData != NULL, "Invalid data");
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
if (iface->partition->partitionId != 0)
{
// Re-forward this compleition to partition 0, no delay
EXTERNAL_RemoteForwardData(iface, node, forwardData, forwardSize, 0, 0);
return;
}
sentStatisticalModel = FALSE;
// If running in distributed qualnet mode, read in additional
// relevant parameters from message structure
if (data->useStatisticalModel)
{
memcpy(
&networkPacket,
messageData+sizeof(Int32)+sizeof(clocktype),
sizeof(BOOL));
if (!networkPacket) {
memcpy(
&sentStatisticalModel,
messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL),
sizeof(BOOL));
memcpy(
&multicast,
messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL) + sizeof(BOOL),
sizeof(BOOL));
if (multicast)
{
memcpy(
&mParams,
messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL) + sizeof(BOOL) + sizeof(BOOL),
sizeof(SocketInterface_MulticastModelingParameters));
mEffects.receivingPlatformAddress = node->partitionData->EXTERNAL_lastIdToInvokeForward;
mEffects.sendTime = mParams.sendTime;
}
else
{
memcpy(
&uParams,
messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL) + sizeof(BOOL) + sizeof(BOOL),
sizeof(SocketInterface_UnicastModelingParameters));
}
}
}
// Extract message hash id
SocketInterface_PacketHeader* header = (SocketInterface_PacketHeader*) messageData;
requestId = header->hashId;
// If the request id is not in the hash then this message was already
// designated as a failure, return and do nothing.
if (data->requestHash.CheckHash(requestId) == FALSE)
{
// Update successful failures statistic and approporiate statistical model
// if running in distributed qualnet mode
if (sentStatisticalModel == FALSE)
{
data->successfulFailures++;
}
if ((data->useStatisticalModel) && (!networkPacket))
{
simTime = EXTERNAL_QuerySimulationTime(iface);
if (multicast)
{
simTime -= mParams.sendTime;
mEffects.effects.latency = ((double)simTime)/SECOND;
mEffects.effects.success = FALSE;
SocketInterface_UpdateMulticastModelSingleReceiver(
data,
&mParams,
&mEffects);
}
else
{
simTime -= uParams.sendTime;
uEffects.latency = (double) simTime / SECOND;
uEffects.success = FALSE;
SocketInterface_UpdateUnicastModel(
data,
&uParams,
&uEffects);
}
}
return;
}
else
{
// Extract the packet data based on the request id
packetData = data->requestHash.PeekRequest(requestId);
treeNode = packetData->treeNode;
// If not multicast, remove request. This will allow other
// multicast messages to come in from other platforms.
if (!packetData->multicast)
{
data->requestHash.RemoveHash(requestId);
}
// If the datas don't match then it means the node has been
// a failure, but the tree node has been reused for a different
// comm request
treeNodePacketData = (SocketInterface_PacketData*) treeNode->data;
assert(treeNode->data == packetData);
}
// Calculate statistics
packetData->finishProcessingTime =
EXTERNAL_QuerySimulationTime(iface);
packetData->finishProcessingRealTime =
EXTERNAL_QueryRealTime(iface);
packetData->finishProcessingCPUTime =
EXTERNAL_QueryCPUTime(iface);
simTime = packetData->finishProcessingTime
- packetData->beginProcessingTime;
realTime = packetData->finishProcessingRealTime
- packetData->beginProcessingRealTime;
cpuTime = packetData->finishProcessingCPUTime
- packetData->beginProcessingCPUTime;
// Calculate real time, taking boundary packets into account
if (packetData->beginProcessingTime >= data->timeAllowance)
{
/*printf("begin = %8.4f end =
%8.4f rt = %8.4f cpu =
%8.4f speed = %6.2f\n",
(double) packetData->beginProcessingTime / SECOND,
(double) packetData->finishProcessingTime / SECOND,
(double) realTime / SECOND,
(double) cpuTime / SECOND,
(double) realTime / simTime);*/
}
else
{
/*printf("boundary packet begin = %6.2f end = %6.2f rt = %6.2f "
"time = %6.2f\n",
(double) packetData->beginProcessingTime / SECOND,
(double) packetData->finishProcessingTime / SECOND,
(double) realTime / SECOND,
(double) data->federationTime / SECOND);*/
if (packetData->boundary >= data->firstBoundary)
{
totalBoundaryDelay = 0;
for (i = packetData->boundary + 1; i <= data->lastBoundary; i++)
{
totalBoundaryDelay +=
data->boundaryTimes[i - data->firstBoundary];
}
/*printf("boundary = %d, total delay = %f\n",
packetData->boundary,
(double) totalBoundaryDelay / SECOND);*/
realTime -= totalBoundaryDelay;
}
else
{
/*printf("boundary = %d out of range = %d\n",
packetData->boundary,
data->firstBoundary);*/
}
}
// Option A occurs if the process was swapped out, and the measured
// cpu time is a reliable value
if (cpuTime < realTime && cpuTime != 0)
{
if (data->printPerPacketStats)
{
fprintf(data->statsFile, "A\t");
}
interval = cpuTime;
}
// Option B occurs if the process was swapped out, and the measured
// cpu time is an UNreliable value, but we know that the elapsed real
// time was greater than the cpu timing interval.
else if (cpuTime < realTime && realTime > iface->cpuTimingInterval)
{
if (data->printPerPacketStats)
{
fprintf(data->statsFile, "B\t");
}
interval = iface->cpuTimingInterval;
}
// Otherwise we just use real time
else
{
if (data->printPerPacketStats)
{
fprintf(data->statsFile, "C\t");
}
interval = realTime;
}
// Use when simTime is greater than 1ms. For other values it will
// be too inaccurate. This is only used for display purposes so it is
// okay to do this.
if (simTime > 1 * MILLI_SECOND)
{
data->totalPackets++;
data->totalRealTimeSpeed += (double) interval / simTime;
}
if (data->printPerPacketStats)
{
fprintf(data->statsFile, "Packet\t%f\t%f\t%f\t%f\t%f\n",
(double) cpuTime / SECOND,
(double) iface->cpuTimingInterval / SECOND,
(double) realTime / SECOND,
(double) simTime / SECOND,
(double) interval / simTime);
}
#ifdef DEBUG
printf("packet processed %f sim time %f real time\n",
(packetData->finishProcessingTime
- packetData->beginProcessingTime) / 1000000000.0,
(packetData->finishProcessingRealTime
- packetData->beginProcessingRealTime) / 1000000000.0);
#endif
// Send response and update statistics if
// it hasn't already been sent based on the model
if (sentStatisticalModel == FALSE)
{
// Send a Successful Response
std::string receiver;
std::string originator;
SocketInterface_TimeType latency;
latency = (double) EXTERNAL_QuerySimulationTime(iface) - packetData->beginProcessingTime;
latency = latency / SECOND;
originator = packetData->originator;
receiver = packetData->receiver;
EntityData* mapping = NULL;
if (packetData->multicast) // --> print IP of receiving node
{
// If it is multicast, get the entityId and multicast owner for this
// node id. If no multicast owner then send response to packet
// originator.
mapping = EntityMappingLookup(&data->entityMapping,
node->partitionData->EXTERNAL_lastIdToInvokeForward);
//receiver = mapping->entityId;
//if (mapping->nodes.size() > 1)
//{
NodeAddress nadd = MAPPING_GetDefaultInterfaceAddressFromNodeId(
node,
node->nodeId);
if (nadd != INVALID_MAPPING)
{
char* buf = new char[MAX_STRING_LENGTH];
IO_ConvertIpAddressToString(nadd, buf);
receiver = buf;
}
//}
#ifdef DEBUG
std::cout << "SocketInterface_Forward packetData->receiver = "
<< packetData->receiver << std::endl;
std::cout << "SocketInterface_Forward node->nodeId = "
<< node->nodeId << std::endl;
std::cout << "SocketInterface_Forward mapping->entityId = "
<< mapping->entityId << std::endl;
std::cout << "SocketInterface_Forward receiver = "
<< receiver << std::endl;
#endif
}
response = new
SocketInterface_CommEffectsResponseMessage(packetData->id1,
packetData->id2,
&originator,
&receiver,
SocketInterface_Status_Success,
(double) SocketInterface_Timestamp(iface) / SECOND,
latency);
response->SetDescription(packetData->description);
BOOL sent = FALSE;
if (packetData->multicast)
{
if (data->sourceResponsibleMulticast)
{
if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId]))
{
SocketInterface_SendMessage(iface,
response,
packetData->socketId);
data->responses++;
data->successes++;
sent = TRUE;
}
}
else
{
std::map<NodeId, Entity_NodeData>::iterator entityit;
for (entityit = mapping->nodes.begin(); entityit != mapping->nodes.end(); entityit++)
{
Entity_NodeData entity = entityit->second;
std::vector<MulticastGroup>::iterator it;
// If multicast find the multicast group. If found, send a copy of
// the successfull comm repsonse to each socket connection that is
// subscribing to multicast messages.
for (it = entity.multicastGroups.begin();
it != entity.multicastGroups.end();
it++)
{
if (it->group == packetData->receiver)
{
for (i = 0; i < (int)it->socketSubscribers.size(); i++)
{
if (EXTERNAL_SocketValid(data->sockets.connections[it->socketSubscribers[i]]))
{
SocketInterface_SendMessage(iface,
response,
it->socketSubscribers[i]);
sent = TRUE;
data->responses++;
data->successes++;
}
}
break;
}
}
}
}
}
// If the packet was not sent to a multicast owner then send it to the
// request originator. This will be the case with all unicast packets
// and may occur with some broadcast/multicast messages.
if (!sent)
{
if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId]))
{
SocketInterface_SendMessage(iface,
response,
packetData->socketId);
data->responses++;
data->successes++;
}
if (!packetData->multicast)
{
// Don't free the tree node yet. Allow it to be removed when it is the
// earlist record. But set its data to NULL so we know it was sent
// already.
treeNode->data = NULL;
// Free memory. Note that the forwardData does not need to be freed
// since this is part of the message. The packet will be removed from
// the tree in SocketInterface_Receive.
delete packetData;
}
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
// delete the message
delete response;
}
// Otherwise just set tree node's data to null and free the packetData structure
else
{
if (!packetData->multicast)
{
treeNode->data = NULL;
delete packetData;
}
}
// If running in distributed qualnet mode and if this is not a network level packet
// update the appropriate model
if ((data->useStatisticalModel) && (!networkPacket)) {
if (multicast)
{
mEffects.effects.latency = ((double)simTime)/SECOND;
mEffects.effects.success = TRUE;
// Update the packetData's temp hashmap with this value
SocketInterface_UpdateTempMulticastModelSingleReceiver(
packetData,
&mEffects);
}
else
{
uEffects.latency = ((double)simTime)/SECOND;
uEffects.success = TRUE;
SocketInterface_UpdateUnicastModel(
data,
&uParams,
&uEffects);
}
}
// If idle-when-response is set and not running in real-time mode then
// go into idle mode
if (data->idleWhenResponseSent && data->timeManagement != SocketInterface_TimeManagementType_RealTime)
{
SocketInterface_SimulationIdleMessage* idle;
// Create message and send it to all connections
idle = new SocketInterface_SimulationIdleMessage(
(double) SocketInterface_Timestamp(iface) / SECOND);
#ifdef DEBUG
printf("Sent response, now going idle\n");
#endif
iface->horizon = EXTERNAL_QuerySimulationTime(iface);
ERROR_Assert(!data->waitingForTimeAdvance, "should not be idle");
// Send a ReportSimulationIdleState message to every connected
// client
for (i = 0; i < (int)data->sockets.connections.size(); i++)
{
if (data->sockets.activeConnections[i])
{
SocketInterface_SendMessage(iface, idle, i);
}
}
// Print to the log file
std::string str;
idle->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
// Set the sent idle message flag. This flag is set to FALSE when a
// time advance is received.
data->waitingForTimeAdvance = TRUE;
data->inIdleResponse = TRUE;
data->idleSentRealTime = EXTERNAL_QueryRealTime(iface);
// delete the idle message
delete idle;
}
}
void SocketInterface_HandleCommEffectsReceiver(EXTERNAL_Interface *iface,
Node* sendNode,
SocketInterface_CommEffectsRequestMessage *message,
int socketId,
clocktype delay)
{
SocketInterface_InterfaceData *data;
Node *node;
NodeAddress nodeAddress;
char receiverString[MAX_STRING_LENGTH];
char s[MAX_STRING_LENGTH];
char err[MAX_STRING_LENGTH];
char errString[10*MAX_STRING_LENGTH];
char *receiverCh;
char *sCh;
int numNodes = 0;
data = (SocketInterface_InterfaceData*) iface->data;
strcpy(receiverString, message->m_ReceiverId.c_str());
receiverCh = receiverString;
// This function parses the receiver field, which looks something like
// "102|103|105|19". It operates by copying characters one at a time
// into the string s. Once a | or NULL is hit it will process what is
// currently in s, reset s, and continue parsing.
sCh = s;
while (1)
{
// Copy a number
*sCh++ = *receiverCh++;
// If the next character is a | or NULL then process s
if (*receiverCh == '|' || *receiverCh == 0)
{
// Terminate s
*sCh = 0;
node = MappingGetSingleNodePointer(
iface->partition,
&data->entityMapping,
(std::string)s);
if (node == NULL)
{
// The string is not a valid entity. Check if it is an IP
// address of a node.
BOOL badAddress = FALSE;
#ifdef _WIN32 // windows
// Convert to string using inet_addr
nodeAddress = inet_addr(s);
if (nodeAddress != INADDR_NONE)
{
EXTERNAL_ntoh(&nodeAddress, sizeof(NodeAddress));
}
#else // unix/linux
int err;
// Convert to string using inet_aton
err = inet_aton(s, (in_addr*) &nodeAddress);
if (err == 0)
{
badAddress = TRUE;
}
else
{
nodeAddress = ntohl(nodeAddress);
}
#endif
// Check if the string is an invalid address. If it is a
// valid address and not a multicast address, make sure it
// is a valid IP address of a QualNet node. Multicast
// addresses are valid destination addresses.
if (badAddress ||
(nodeAddress == ANY_ADDRESS &&
message->m_ReceiverId.compare("255.255.255.255") != 0))
{
sprintf(
errString,
"Unknown Receiver node %s",
message->m_ReceiverId.c_str());
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, errString);
}
else if (!(nodeAddress == ANY_ADDRESS
|| NetworkIpIsMulticastAddress(iface->partition->firstNode, nodeAddress)))
{
NodeAddress nodeId;
nodeId = MAPPING_GetNodeIdFromInterfaceAddress(
iface->partition->firstNode,
nodeAddress);
if (nodeId == INVALID_MAPPING)
{
// It's not an IP address. Throw an exception.
sprintf(
errString,
"IP address %s does not map to a platform",
s);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, errString);
}
}
}
else
{
nodeAddress = MappingGetSingleNodeAddress(iface->partition,
&data->entityMapping,
(std::string)s);
if (nodeAddress == 0)
{
sprintf(err,
"SocketInterface_HandleCommEffectsReceiver Invalid Sender node (no node address): %s",
s);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err);
}
}
numNodes++;
// We have a receiver, now send the message
SocketInterface_SendCommEffectsRequest(
iface,
sendNode,
message,
nodeAddress,
socketId,
delay);
// If this is the end of the string then break
if (*receiverCh == 0)
{
break;
}
// Otherwise continue parsing
receiverCh++;
sCh = s;
}
}
if (numNodes == 0)
{
sprintf(errString,
"ERER: O:%s C:%s",
message->m_Id1,
message->m_Id2);
throw SocketInterface_Exception(SocketInterface_ErrorType_EmptyReceiverList, errString);
}
}
void SocketInterface_Finalize(EXTERNAL_Interface *iface)
{
SocketInterface_InterfaceData *data;
unsigned i;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
if (data->totalPackets > 0)
{
printf("QualNet average transactional real-time (per packet) = %f\n",
data->totalRealTimeSpeed / data->totalPackets);
}
else
{
printf("QualNet average transactional real-time (per packet) = n/a "
"(no packets)\n");
}
// Send the change of Simulation state message to stopping or resetting
if (data->resetting)
{
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Resetting);
}
else
{
SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Stopping);
}
// Wait on second for all buffers to send
EXTERNAL_Sleep(1 * SECOND);
// Empty the buffers
for (i = 0; i < data->sockets.connections.size(); i++)
{
// check the socket is valid
if (data->sockets.activeConnections[i])
{
// Send out all the messages in the outgoing list.
pthread_mutex_lock(&data->sockets.senderMutex);
while (data->outgoingMessages != NULL)
{
pthread_cond_wait(
&data->sockets.senderNotFull,
&data->sockets.senderMutex);
}
pthread_mutex_unlock(&data->sockets.senderMutex);
}
}
// Change the state to shut down. At this point we have cleaned
// up the sender thread buffer and the outgoing message list.
data->simulationState = SocketInterface_StateType_Shutdown;
// Close log files the data
if (data->driverLogFile != NULL)
{
fclose(data->driverLogFile);
}
if (data->responsesLogFile != NULL)
{
fclose(data->responsesLogFile);
}
if (data->errorsLogFile != NULL)
{
fclose(data->errorsLogFile);
}
if (data->statsLogFile != NULL)
{
fclose(data->statsLogFile);
}
if (data->graphLogFile != NULL)
{
fclose(data->graphLogFile);
}
// Check which partition are you on
if (iface->partition->partitionId == 0)
{
// Close all sockets
for (i = 0; i < (unsigned)data->sockets.numPorts; i++)
{
if (EXTERNAL_SocketValid(data->sockets.listeningSockets[i]))
{
EXTERNAL_SocketClose(data->sockets.listeningSockets[i]);
}
}
for (i = 0; i < data->sockets.connections.size(); i++)
{
if (EXTERNAL_SocketValid(data->sockets.connections[i]))
{
EXTERNAL_SocketClose(data->sockets.connections[i]);
}
}
// Wait for the sender and receiver threads to finish. Signal that
// the sender has work to do so it can exit. It is most likely
// currently waiting on this signal.
pthread_cond_signal(&data->sockets.senderNotEmpty);
pthread_join(data->sockets.senderThread, NULL);
pthread_join(data->sockets.receiverThread, NULL);
// Create new QualNet process if resetting
if (data->resetting)
{
// Get command line
std::vector<std::string>* command = (std::vector<std::string>*)
PARTITION_ClientStateFind(
iface->partition,
"CesCommandLine");
if (command == NULL)
{
ERROR_ReportError("Invalid command line, cannot reset");
}
ExecNewProcess(*command);
}
// Finalize model structures
SocketInterface_FinalizeModels(data);
}
}
static void NodePathToPlatformPath(
EXTERNAL_Interface* iface,
std::string* nodePath,
std::string* platformPath)
{
SocketInterface_InterfaceData* data;
std::vector<std::string> tokens;
NodeAddress nodeId;
std::string entity;
data = (SocketInterface_InterfaceData*) iface->data;
StringSplit(
nodePath,
"/",
&tokens);
if (tokens.size() < 3)
{
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid platform path from remote partition");
}
nodeId = atoi(tokens[1].c_str());
entity = MappingGetEntityId(
&data->entityMapping,
nodeId);
if (entity == "")
{
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid platform path entity from remote partition");
}
tokens[0] = "/platform";
tokens[1] = entity;
*platformPath = tokens[0];
for (unsigned i = 1; i < tokens.size(); i++)
{
*platformPath += "/" + tokens[i];
}
}
static void SocketInterface_ProcessExternalMessage(
EXTERNAL_Interface* iface,
Message* msg)
{
SocketInterface_SerializedMessage serialized;
SocketInterface_Message* message = NULL;
SocketInterface_Message* response = NULL;
UInt32 socketId;
BOOL isPlatformPath;
// Extract serialized message from packet. The first 4 bytes of the
// packet are the socketId. The remainder are the message.
memcpy(
&socketId,
MESSAGE_ReturnPacket(msg),
sizeof(UInt32));
serialized.Resize(MESSAGE_ReturnPacketSize(msg) - sizeof(UInt32) - sizeof(BOOL));
memcpy(
&isPlatformPath,
MESSAGE_ReturnPacket(msg) + sizeof(UInt32),
sizeof(BOOL));
memcpy(
serialized.m_Data,
MESSAGE_ReturnPacket(msg) + sizeof(UInt32) + sizeof(BOOL),
serialized.m_Size);
message = serialized.Deserialize();
message->SetSocketId(socketId);
switch (message->GetType())
{
case SocketInterface_MessageType_DynamicCommand:
{
SocketInterface_DynamicCommandMessage* dynamic = (SocketInterface_DynamicCommandMessage*) message;
std::string result;
char errString[MAX_STRING_LENGTH];
D_Hierarchy* h = &iface->partition->dynamicHierarchy;
//h->Print();
// Check the type for the command
switch(dynamic->m_Type)
{
case SocketInterface_OperationType_Read:
{
try
{
h->ReadAsString(
dynamic->m_Path.c_str(),
result);
// Need to send a response back to the socket
response = new SocketInterface_DynamicResponseMessage(
dynamic->m_Type,
&dynamic->m_Path,
&dynamic->m_Args,
&result);
}
catch (D_Exception& d)
{
// We have an exception.
std::string err = d.GetError();
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(
SocketInterface_ErrorType_InvalidDynamicCommand,
&err);
error->SetMessage(message);
response = error;
}
break;
}
case SocketInterface_OperationType_Write:
{
try
{
h->WriteAsString(
dynamic->m_Path.c_str(),
dynamic->m_Args.c_str());
}
catch (D_Exception& d)
{
// We have an exception.
std::string err = d.GetError();
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(
SocketInterface_ErrorType_InvalidDynamicCommand,
&err);
error->SetMessage(message);
response = error;
}
break;
}
case SocketInterface_OperationType_Execute:
{
try
{
h->ExecuteAsString(
dynamic->m_Path.c_str(),
dynamic->m_Args.c_str(),
result);
// Send a response for the command above
response = new SocketInterface_DynamicResponseMessage(
dynamic->m_Type,
&dynamic->m_Path,
&dynamic->m_Args,
&result);
}
catch (D_Exception& d)
{
// We have an exception.
std::string err = d.GetError();
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(
SocketInterface_ErrorType_InvalidDynamicCommand,
&err);
error->SetMessage(message);
response = error;
}
break;
}
default:
sprintf(
errString,
"Unknown operation type \"%d\"",
dynamic->m_Type);
throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidOperationType, errString);
break;
}
// If we have a response (either a DynamicResult or Error) send
// it back to partition 0
if (response != NULL)
{
response->SetSocketId(message->GetSocketId());
SocketInterface_SendMessageToOtherPartition(
iface,
response,
isPlatformPath,
0);
delete response;
}
break;
}
// Send responses and errors back through the socket
case SocketInterface_MessageType_DynamicResponse:
if (isPlatformPath)
{
SocketInterface_DynamicResponseMessage* response = (SocketInterface_DynamicResponseMessage*) message;
std::string platformPath;
NodePathToPlatformPath(iface, &response->m_Path, &platformPath);
// Create new response message using the platform path
SocketInterface_DynamicResponseMessage* newResponse;
newResponse = new SocketInterface_DynamicResponseMessage(
response->m_Type,
&platformPath,
&response->m_Args,
&response->m_Output);
newResponse->SetSocketId(response->GetSocketId());
SocketInterface_SendMessage(
iface,
newResponse,
newResponse->GetSocketId());
delete newResponse;
}
else
{
SocketInterface_SendMessage(
iface,
message,
message->GetSocketId());
}
break;
// Send responses and errors back through the socket
case SocketInterface_MessageType_Error:
SocketInterface_SendMessage(
iface,
message,
message->GetSocketId());
break;
default:
{
std::string s;
message->Print(&s);
printf("Unknown remote message %s\n", s.c_str());
break;
}
}
delete message;
}
void SocketInterface_ProcessEvent(
Node* node,
Message* message)
{
SocketInterface_Message* delayedMessage;
EXTERNAL_Interface* iface;
SocketInterface_InterfaceData* data;
char errString[MAX_STRING_LENGTH];
iface = node->partitionData->interfaceTable[EXTERNAL_SOCKET];
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
switch (message->eventType)
{
case MSG_EXTERNAL_SOCKET_INTERFACE_DelayedMessage:
memcpy(&delayedMessage, MESSAGE_ReturnInfo(message), sizeof(SocketInterface_Message*));
try
{
SocketInterface_HandleDelayedMessage(
iface,
delayedMessage);
}
catch (SocketInterface_Exception& e)
{
SocketInterface_HandleException(iface, &e, delayedMessage, delayedMessage->GetSocketId());
}
delete delayedMessage;
break;
case MSG_EXTERNAL_SOCKET_INTERFACE_MulticastGroup:
{
// Decode message info with join/leave groups as follows
// 4 bytes: size of join string (N)
// 4 bytes: size of leave string (M)
// N + 1 bytes: join string + trailing 0
// M + 1 bytes: leave string + trailing 0
UInt32 n;
UInt32 m;
std::string join;
std::string leave;
std::vector<std::string> groups;
NodeAddress group;
BOOL isNodeId;
int hostBits;
unsigned i;
char* info = MESSAGE_ReturnInfo(message);
memcpy(&n, info, sizeof(UInt32));
info += sizeof(UInt32);
memcpy(&m, info, sizeof(UInt32));
info += sizeof(UInt32);
if (n > 0)
{
// Extract list of join groups from info message
join = info;
info += n + 1;
StringSplit(&join, " ", &groups);
// Join each group, if it's a valid multicast group
for (i = 0; i < groups.size(); i++)
{
IO_ParseNodeIdHostOrNetworkAddress(
groups[i].c_str(),
&group,
&hostBits,
&isNodeId);
// Address is valid multicast group, verified in
// SocketInterface_HandleMulticastChange
NetworkIpJoinMulticastGroup(node, group, 0);
}
}
if (m > 0)
{
// Extract list of leave groups
leave = info;
info += m + 1;
StringSplit(&leave, " ", &groups);
// Leave each group, if it's a valid multicast group
for (i = 0; i < groups.size(); i++)
{
IO_ParseNodeIdHostOrNetworkAddress(
groups[i].c_str(),
&group,
&hostBits,
&isNodeId);
// Address is valid multicast group, verified in
// SocketInterface_HandleMulticastChange
NetworkIpLeaveMulticastGroup(node, group, 0);
}
}
break;
}
case MSG_EXTERNAL_RemoteMessage:
{
SocketInterface_ProcessExternalMessage(iface, message);
break;
}
#ifdef TEST_EXTERNAL_REMOTESEND
case MSG_EXTERNAL_RemoteTest:
{
SocketInterface_ExternalPingInfo * pingInfo;
pingInfo = (SocketInterface_ExternalPingInfo *) MESSAGE_ReturnInfo (message);
printf ("At %lld p%d we've received an QualNet remoteTest message from src %d num %d\n",
node->partitionData->theCurrentTime,
node->partitionData->partitionId,
pingInfo->sourcePartition,
pingInfo->msgNumber);
break;
}
#endif
case MSG_EXTERNAL_SOCKET_INTERFACE_StatsLogTimer:
{
if (data->simulationState == SocketInterface_StateType_Executing ||
(data->simulationState == SocketInterface_StateType_Paused &&
data->pauseAdvanceSimTime))
{
SocketInterface_PrintStats(iface);
}
MESSAGE_Send(node,
MESSAGE_Duplicate(node, message),
data->statsPrintInterval);
break;
}
case MSG_EXTERNAL_SOCKET_INTERFACE_GraphLogTimer:
{
if (data->simulationState == SocketInterface_StateType_Executing ||
(data->simulationState == SocketInterface_StateType_Paused &&
data->pauseAdvanceSimTime))
{
SocketInterface_PrintGraph(
iface,
&data->entityMapping,
data->graphLogFile);
}
MESSAGE_Send(node,
MESSAGE_Duplicate(node, message),
data->graphPrintInterval);
break;
}
default:
sprintf(errString, "Unknown QualNet event type %d", message->eventType);
ERROR_ReportWarning(errString);
break;
}
MESSAGE_Free(node, message);
}
/*
* FUNCTION SocketInterface_HandlePreInitializeException
* PURPOSE Handles exception that occured during
* pre-initialization stage of QualNet.
*
* Parameters:
* exception: the error that happened.
* message: serialized message that caused the exception.
* socket: socket used by QualNet.
*/
static void SocketInterface_HandlePreInitializeException(
SocketInterface_Exception* exception,
SocketInterface_SerializedMessage* message,
EXTERNAL_Socket* socket)
{
std::string str;
EXTERNAL_SocketErrorType err;
SocketInterface_SerializedMessage* sendMessage;
// Create an error message.
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString());
error->SetSerializedMessage(message);
// check if the socket is valid.
if (EXTERNAL_SocketValid(socket))
{
// Serialize the message.
// Send the data back to the external interface.
sendMessage = error->Serialize();
err = EXTERNAL_SocketSend(socket,
(char*) sendMessage->m_Data,
sendMessage->m_Size);
delete sendMessage;
}
delete error;
}
/*
* FUNCTION SocketInterface_HandlePreInitializeException
* PURPOSE Handles exception that occured during
* pre-initialization stage of QualNet.
*
* Parameters:
* exception: the error that happened.
* message: message that caused the exception.
* socket: socket used by QualNet.
*/
static void SocketInterface_HandlePreInitializeException(
SocketInterface_Exception* exception,
SocketInterface_Message* message,
EXTERNAL_Socket* socket)
{
std::string str;
EXTERNAL_SocketErrorType err;
SocketInterface_SerializedMessage* sendMessage;
// Create an error message.
SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString());
error->SetMessage(message);
// check if the socket is valid.
if (EXTERNAL_SocketValid(socket))
{
// Serialize the message.
// Send the data back to the external interface.
sendMessage = error->Serialize();
err = EXTERNAL_SocketSend(socket,
(char*) sendMessage->m_Data,
sendMessage->m_Size);
delete sendMessage;
}
delete error;
}
/*
* FUNCTION SocketInterface_HandlePreInitializeSimulationMessage
* PURPOSE Handles the initializeSimulation message
* received at preinitialization stage.
*
* Parameters:
* message: serialized message that caused the exception.
* scenarioFile: name of the configuration file.
*/
static void SocketInterface_HandlePreInitializeSimulationMessage(
SocketInterface_Message* message,
char* scenarioFile)
{
char errString[MAX_STRING_LENGTH];
// Get the scenario string
SocketInterface_InitializeSimulationMessage* initialize;
initialize = (SocketInterface_InitializeSimulationMessage*) message;
if (strcmp(initialize->m_Scenario.c_str(), "") == 0)
{
// Scenario string is missing, Throw an exception.
sprintf(errString, "Empty Scenario String for InitializeMessage");
throw SocketInterface_Exception(SocketInterface_ErrorType_EmptyScenarioString, errString);
}
else
{
// We have a scenario for qualnet.
// Copy the string into a file.
// Extract the name of the file
char* token = NULL;
char iotoken[MAX_STRING_LENGTH];
token = IO_GetDelimitedToken(iotoken, initialize->m_Scenario.c_str(), " \t\n", NULL);
token = IO_GetDelimitedToken(iotoken, iotoken, "<>", NULL);
// Now we have the file name.
FILE* fd;
fd = fopen(iotoken, "wt");
strcpy(scenarioFile, iotoken);
if (fd == NULL)
{
ERROR_ReportError("Error: Unable to open the configuration file!\n");
}
fseek(fd, 0, SEEK_SET);
fputs(initialize->m_Scenario.c_str(), fd);
fclose(fd);
}
}
/*
* FUNCTION SocketInterface_PreInitializeWaitingData
* PURPOSE Blocks on the socket until data is
* available.
*
* Parameters:
* connectSocket: Socket it blocks on.
* avail: Boolean value.
*/
static void SocketInterface_PreInitializeWaitingData(
EXTERNAL_Socket* connectSocket,
bool* avail)
{
// Check to see if data is available
while (!*avail)
{
EXTERNAL_SocketDataAvailable(
connectSocket,
avail);
}
}
/*
* FUNCTION SocketInterface_PreInitialize
* PURPOSE Handles the preinitialization process
* This function allocates memory for the
* socket, and then stores the data structures for
* further use in the future, and creates the scenario
* from the scenario string sent using the socket.
*
* Parameters:
* partition: Pointer to the partition data structure.
* ports: Ports of listening sockes, ports[i] is sockets[i]
* sockets: Vector of listening sockets
* fileString: Stores the scenario filename.
*/
void SocketInterface_PreInitialize(
PartitionData* partition,
std::vector<int>* ports,
std::vector<EXTERNAL_Socket*>* sockets,
char* fileString)
{
char errString[MAX_STRING_LENGTH];
int err = 0;
BOOL gotScenario = FALSE;
std::vector<EXTERNAL_Socket*>* connections;
std::vector<SocketInterface_Message*>* messages;
bool avail;
unsigned i;
SocketInterface_Message* message;
fd_set readSet;
int max;
timeval t;
EXTERNAL_Socket* connectSocket = NULL;
EXTERNAL_SocketErrorType socketErr;
SocketInterface_SerializedMessage data;
//WSADATA gWsaData;
connections = new std::vector<EXTERNAL_Socket*>;
messages = new std::vector<SocketInterface_Message*>;
printf ("Waiting for an InitializeSimulation message in bootstrap mode\n");
// Save socket variables for later use
PARTITION_ClientStateSet(partition,
"Socket_ListeningSockets",
(void*) sockets);
PARTITION_ClientStateSet(partition,
"Socket_ListeningPorts",
(void*) ports);
PARTITION_ClientStateSet(partition,
"Socket_Connections",
(void*) connections);
PARTITION_ClientStateSet(partition,
"Socket_Messages",
(void*) messages);
while (!gotScenario)
{
// Create set of all input sockets
FD_ZERO(&readSet);
max = -1;
for (i = 0; i < sockets->size(); i++)
{
FD_SET(
(unsigned int) (*sockets)[i]->socketFd,
&readSet);
if ((*sockets)[i]->socketFd > max)
{
max = (*sockets)[i]->socketFd;
}
}
// Select for 1 ms
t.tv_sec = 0;
t.tv_usec = 1000;
// Select for readable sockets
err = select(max + 1, &readSet, NULL, NULL, &t);
if (err == -1)
{
#ifndef _WIN32
// In unix EINTR is interrupted system call. This means that the
// select call did not finish waiting which is not an error,
// so set available to false and return no error.
if (errno == EINTR)
{
continue;
}
perror("Error calling select");
continue;
#endif
}
// Now see which sockets have new connection
for (i = 0; i < sockets->size(); i++)
{
//cout << "Socket fd is " << socketData->sockets.listeningSockets[i]->socketFd << endl;
if (FD_ISSET((
unsigned int) (*sockets)[i]->socketFd,
&readSet))
{
// Now to accept a connection
// Initialize the connection socket, make it blocking and threaded.
connectSocket = new EXTERNAL_Socket;
EXTERNAL_SocketInit(connectSocket, TRUE, TRUE);
socketErr = EXTERNAL_SocketAccept((*sockets)[i], connectSocket);
if (socketErr != EXTERNAL_NoSocketError)
{
sprintf(
errString,
"Unable to accept socket on port %d",
(*ports)[i]);
ERROR_ReportError(errString);
}
connections->push_back(connectSocket);
printf("Accepted a new connection in bootstrap mode\n");
// Send standby message
SocketInterface_SimulationStateMessage* standby =
new SocketInterface_SimulationStateMessage(SocketInterface_StateType_Standby, SocketInterface_StateType_Standby);
SocketInterface_SerializedMessage* sendMessage = standby->Serialize();
err = EXTERNAL_SocketSend(
connectSocket,
(char*) sendMessage->m_Data,
sendMessage->m_Size);
delete sendMessage;
delete standby;
}
}
// Scan all connected sockets, retrieving data
for (i = 0; i < connections->size(); i++)
{
EXTERNAL_SocketDataAvailable(
(*connections)[i],
&avail);
if (avail)
{
// Try to receive data
try
{
SocketInterface_ReceiveSerializedMessage(
(*connections)[i],
&data);
}
catch (SocketInterface_Exception& e)
{
// Handle the exception here.
SocketInterface_HandlePreInitializeException(&e, &data, (*connections)[i]);
continue;
}
// Continue trying to receive message later if the entire message
// could not be read
if (data.m_Size == 0)
{
continue;
}
// Try deserializing
try
{
message = data.Deserialize();
message->SetSocketId(i);
}
catch (SocketInterface_Exception& e)
{
SocketInterface_HandlePreInitializeException(&e, &data, connectSocket);
continue;
}
if (message->GetType() == SocketInterface_MessageType_InitializeSimulation)
{
// Handle initialize simulation message -- what we are
// looking for. Loop will exit after this message.
try
{
// Read/save scenario, save name in fileString
SocketInterface_HandlePreInitializeSimulationMessage(message, fileString);
}
catch (SocketInterface_Exception& e)
{
// Catch the exception here.
SocketInterface_HandlePreInitializeException(&e, message, connectSocket);
continue;
}
// Save the message for use after QualNet has initialized.
gotScenario = TRUE;
PARTITION_ClientStateSet(partition,
"SocketInterface_InitializeSimulationMessage",
(void*) message);
}
else
{
// Save all non-initialization messages
messages->push_back(message);
}
}
}
} // end of while
}
void CreateSocketArray(
char* arg,
std::vector<EXTERNAL_Socket*>** sockets,
std::vector<int>** ports)
{
char iotoken[MAX_STRING_LENGTH];
char errString[MAX_STRING_LENGTH];
char* token;
char* next;
int port;
EXTERNAL_Socket* s;
EXTERNAL_SocketErrorType socketErr;
*sockets = new std::vector<EXTERNAL_Socket*>;
*ports = new std::vector<int>;
// Loop overall tokens in form x,y,z
token = IO_GetDelimitedToken(iotoken, arg, ",", &next);
while (token != NULL)
{
// Create new socket and determine port
s = new EXTERNAL_Socket;
port = atoi(token);
// Keep trying to open listening port until success
do
{
socketErr = EXTERNAL_SocketInitListen(
s,
port,
TRUE,
TRUE);
if (socketErr != EXTERNAL_NoSocketError)
{
sprintf(
errString,
"Unable to open socket on port %d. Trying again in 3 seconds.",
port);
ERROR_ReportWarning(errString);
EXTERNAL_Sleep(3 * SECOND);
}
} while (socketErr != EXTERNAL_NoSocketError);
// Success. Store socket in vector and get next token
(*sockets)->push_back(s);
(*ports)->push_back(port);
token = IO_GetDelimitedToken(iotoken, next, ",", &next);
}
}
static void HandleParserConfiguration(
int argc,
char* argv [],
SimulationProperties* simProps)
{
if (simProps->noMiniParser)
{
return;
}
#ifdef JNE_LIB
// Now to run the configuration file thru parser. So
// get the path for the default file
char defCesPath[512];
char cesConfigurationFile[512];
const char* defCesTailPath = "/libraries/ces/data/ces.default.config";
const char* defCesTailPathWin32 = "\\libraries\\ces\\data";
const char* defCesFileName = "\\ces.default.config";
const char* defSettingFileName = "\\ces.parser.rc";
const char* parserDefSettingPath = "/libraries/ces/data/ces.parser.rc";
char settingPath[512];
// create the path for the miniparser setting file
strcpy(settingPath, simProps->qualnetHomePath);
// create the path for qualnet default config file.
strcpy(defCesPath, simProps->qualnetHomePath);
//strcpy (simProps->qualnetHomePath, "C:/navin");
char* found;
found = strchr(simProps->qualnetHomePath, '/');
if (found == NULL)
{
// We have "\" in the home path.
strcat(defCesPath, defCesTailPathWin32);
strcat(defCesPath, defCesFileName);
strcat(settingPath, defCesTailPathWin32);
strcat(settingPath, defSettingFileName);
}
else
{
// We have "/" in the path
strcat(defCesPath, defCesTailPath);
strcat(settingPath, parserDefSettingPath);
}
cout << "CONFIGFILE_PATH=" << defCesPath << endl;
// Now use the parser to get the configuration file.
HandleConfigurationFile(simProps->configFileName,
defCesPath,
cesConfigurationFile,
"ces.parser.rc");
strcpy(simProps->configFileName, cesConfigurationFile);
#endif
}
void SocketInterface_BootStrap(int argc, char * argv [],
SimulationProperties * simProps,
PartitionData * partitionData)
{
std::vector<EXTERNAL_Socket*>* serverSockets = NULL;
std::vector<int>* serverPorts = NULL;
BOOL serverMode = FALSE;
if (partitionData->partitionId != 0)
{
return;
}
int thisArg = 1;
while (thisArg < argc)
{
if (!strcmp(argv[thisArg], "-socketports"))
{
if (argc < thisArg + 1)
{
ERROR_ReportError("Not enough arguments to -socketports.\n"
"Correct Usage:\t -socketports X[,Y,Z,...].\n");
}
else
{
serverMode = TRUE;
CreateSocketArray(
argv[thisArg + 1],
&serverSockets,
&serverPorts);
}
}
else if (!strcmp(argv[thisArg], "-nomini"))
{
simProps->noMiniParser = TRUE;
}
thisArg++;
}
// If we are running in server mode retrieve config file from socket
if (serverMode)
{
char fileString[MAX_STRING_LENGTH];
SocketInterface_PreInitialize(
partitionData,
serverPorts,
serverSockets,
fileString);
strncpy(
simProps->configFileName,
fileString,
MAX_STRING_LENGTH);
simProps->configFileName[MAX_STRING_LENGTH - 1] = '\0';
}
HandleParserConfiguration(argc, argv, simProps);
// Save command line. This may be necessary if QualNet receives a restart
// message.
std::vector<std::string>* commandLine = new std::vector<std::string>;
for (thisArg = 0; thisArg < argc; thisArg++)
{
commandLine->push_back(argv[thisArg]);
}
PARTITION_ClientStateSet(
partitionData,
"CesCommandLine",
(void*) commandLine);
}
SocketInterface_ModeType SocketInterface_GetModeType(EXTERNAL_Interface* iface)
{
SocketInterface_InterfaceData* data;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
return data->qualnetMode;
}
void D_Sleep::ReadAsString(std::string& out)
{
if (m_IsSleeping)
{
out = "yes";
}
else
{
out = "no";
}
}
void D_Sleep::ExecuteAsString(const std::string& in, std::string& out)
{
ERROR_ReportWarning("UGS sleep dynamic commands are not supported");
out = "";
}
void D_C2Node::ReadAsString(std::string& out)
{
ERROR_ReportWarning("UGS C2Node dynamic commands are not supported");
out = "";
}
void D_C2Node::ExecuteAsString(const std::string& in, std::string& out)
{
ERROR_ReportWarning("UGS C2Node dynamic commands are not supported");
out = "";
}
void D_MulticastGroups::ReadAsString(std::string& out)
{
GetMulticastGroups(m_Node, out);
}
void SocketInterface_AddNodeToSubnet(Node* node, NodeId nodeId, NodeAddress subnetAddress)
{
// Get external interface
EXTERNAL_Interface* iface = node->partitionData->interfaceTable[EXTERNAL_SOCKET];
if (iface != NULL)
{
SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data;
data->subnetNodeMap[subnetAddress].push_back(nodeId);
}
}
/*
* FUNCTION SocketInterface_InitializeModels
* PURPOSE Handles initialization of comm. effects statistical models
* Parameters:
* data: Pointer to the SocketInterface_InterfaceData (mts interface) structure.
*/
void SocketInterface_InitializeModels(SocketInterface_InterfaceData *data)
{
assert(data != NULL);
// Create new hashmap for unicast model
data->unicastStatModel = new SocketInterface_UnicastStatModel();
// Create new hashmap for multicast model
data->multicastStatModel = new SocketInterface_MulticastStatModel();
}
/*
* FUNCTION SocketInterface_FinalizeModels
* PURPOSE Handles finalization of comm. effects statistical models
* Parameters:
* data: Pointer to the SocketInterface_InterfaceData (mts interface) structure.
*/
void SocketInterface_FinalizeModels(SocketInterface_InterfaceData *data)
{
assert(data != NULL);
if ((data->unicastStatModel != NULL) && (!data->unicastStatModel->empty()))
{
// Free all SocketInterface_UnicastModel objects in the hashmap
SocketInterface_UnicastStatModel::iterator it;
for (it = data->unicastStatModel->begin();
it != data->unicastStatModel->end();
++it)
{
MEM_free(it->second);
}
// Free the hashmap
data->unicastStatModel->clear();
}
if ((data->multicastStatModel != NULL) && (!data->multicastStatModel->empty()))
{
// Free all SocketInterface_MulticastModel objects in the hashmap
SocketInterface_MulticastStatModel::iterator it;
for (it = data->multicastStatModel->begin();
it != data->multicastStatModel->end();
++it)
{
// Free all SocketInterface_MulticastModeledReceiverCommEffects objects
// in the SocketInterface_MulticastModeledReceiversCommEffects hashmap
if (!it->second->effects->empty())
{
SocketInterface_MulticastModeledReceiversCommEffects::iterator it2;
for (it2 = it->second->effects->begin();
it2 != it->second->effects->end();
++it2)
{
MEM_free(it2->second);
}
// Free the hashmap
it->second->effects->clear();
}
MEM_free(it->second);
}
// Free the hashmap
data->multicastStatModel->clear();
}
}
/*
* FUNCTION SocketInterface_UpdateUnicastModel
* PURPOSE Handles updates to unicast comm.effects model
* for a specific set of unicast model parameters
* Parameters:
* data: Pointer to the SocketInterface_InterfaceData (mts interface) structure,
* params: Pointer to the unicast model parameters structure,
* effects: Pointer to the unicast modeled effects structure.
*/
void SocketInterface_UpdateUnicastModel(
SocketInterface_InterfaceData *data,
SocketInterface_UnicastModelingParameters *params,
SocketInterface_UnicastModeledCommEffects *effects)
{
SocketInterface_UnicastModel* returnedModel = NULL;
SocketInterface_UnicastModel *model;
SocketInterface_UnicastStatModel::iterator it;
BOOL found = FALSE;
BOOL hangingKey = FALSE;
assert(params != NULL);
assert(effects != NULL);
assert(data != NULL);
assert(data->unicastStatModel != NULL);
if (!data->unicastStatModel->empty())
{
it = data->unicastStatModel->find(params);
// If model for corresponding parameters exist
// in hashmap, modify this model
if (it != data->unicastStatModel->end())
{
returnedModel = (SocketInterface_UnicastModel *)it->second;
if (returnedModel != NULL)
{
if (params->sendTime >= returnedModel->params.sendTime)
{
found = TRUE;
}
// If model reflects newer information, ignore the update and return
else
{
return;
}
}
// Make a note if empty model exists for corresponding parameters
else
{
hangingKey = TRUE;
}
}
}
// If the model is found, update it. Otherwise add it into the hashmap
if (found == TRUE)
{
returnedModel->params.sendTime = params->sendTime;
memcpy(&(returnedModel->effects), effects, sizeof(SocketInterface_UnicastModeledCommEffects));
}
else
{
model = (SocketInterface_UnicastModel*)
MEM_malloc(sizeof(SocketInterface_UnicastModel));
memcpy(&(model->params), params, sizeof(SocketInterface_UnicastModelingParameters));
memcpy(&(model->effects), effects, sizeof(SocketInterface_UnicastModeledCommEffects));
if (hangingKey == FALSE)
{
SocketInterface_UnicastModelingParameters *p;
p = &(model->params);
(*data->unicastStatModel) [p] = model;
}
// In case of empty model, update the parameters and add the model
else
{
it->second = model;
}
}
}
/*
* FUNCTION SocketInterface_GetUnicastCommEffects
* PURPOSE Returns modeled unicast comm.effects model
* for a specified set of unicast model parameters
* Return value: Pointer to a constant unicast modeled effects structure.
* Parameters:
* data: Pointer to the SocketInterface_InterfaceData (mts interface) structure,
* params: Pointer to the unicast model parameters structure.
*/
const SocketInterface_UnicastModeledCommEffects* SocketInterface_GetUnicastCommEffects(
SocketInterface_InterfaceData *data,
SocketInterface_UnicastModelingParameters *params)
{
SocketInterface_UnicastModel *model;
SocketInterface_UnicastModeledCommEffects *effects;
SocketInterface_UnicastStatModel::iterator it;
effects = NULL;
// Search for model in hashmap, and if found return it
assert(params != NULL);
assert(data != NULL);
assert(data->unicastStatModel != NULL);
if (!data->unicastStatModel->empty())
{
it = data->unicastStatModel->find(params);
if (it != data->unicastStatModel->end())
{
model = it->second;
if (model != NULL)
{
effects = &(model->effects);
}
}
}
return effects;
}
/*
* FUNCTION SocketInterface_UpdateMulticastModel
* PURPOSE Handles updates to multicast comm.effects model for multiple receivers,
* for a specific set of multicast model parameters
* Parameters:
* data: Pointer to the SocketInterface_InterfaceData (mts interface) structure,
* params: Pointer to the multicast model parameters structure,
* effects: Pointer to the multicast modeled effects hashmap for multiple receivers.
*/
void SocketInterface_UpdateMulticastModel(
SocketInterface_InterfaceData *data,
SocketInterface_MulticastModelingParameters *params,
SocketInterface_MulticastModeledReceiversCommEffects *effects)
{
SocketInterface_MulticastModel* returnedModel = NULL;
SocketInterface_MulticastModel *model;
SocketInterface_MulticastModeledReceiversCommEffects::iterator it;
SocketInterface_MulticastModeledReceiversCommEffects::iterator it2;
SocketInterface_MulticastStatModel::iterator it3;
BOOL found = FALSE;
BOOL hangingKey = FALSE;
assert(params != NULL);
assert(effects != NULL);
assert(data != NULL);
assert(data->multicastStatModel != NULL);
if (!data->multicastStatModel->empty())
{
it3 = data->multicastStatModel->find(params);
// If model for corresponding parameters exist
// in hashmap, modify this model
if (it3 != data->multicastStatModel->end())
{
returnedModel = (SocketInterface_MulticastModel *)it3->second;
if (returnedModel != NULL)
{
if (params->sendTime >= returnedModel->params.sendTime)
{
found = TRUE;
}
// If model reflects newer information, ignore the update and return
else
{
return;
}
}
// Make a note if empty model exists for corresponding parameters
else
{
hangingKey = TRUE;
}
}
}
// If the model is found, update it. Otherwise add it into the hashmap
if (found == TRUE)
{
returnedModel->params.sendTime = params->sendTime;
// Create comm. effects hashmap if it doesnt already exist
if (returnedModel->effects == NULL)
{
returnedModel->effects = new SocketInterface_MulticastModeledReceiversCommEffects();
}
}
else
{
model = (SocketInterface_MulticastModel*)
MEM_malloc(sizeof(SocketInterface_MulticastModel));
memcpy(&(model->params), params, sizeof(SocketInterface_MulticastModelingParameters));
model->effects = new SocketInterface_MulticastModeledReceiversCommEffects();
if (hangingKey == FALSE)
{
data->multicastStatModel->insert(
pair<const SocketInterface_MulticastModelingParameters *,
SocketInterface_MulticastModel *>(&(model->params),model));
}
// In case of empty model, update the parameters and add the model
else
{
it3->second = model;
}
returnedModel = model;
}
// Set modeled comm. effects to default values for all existing receivers
if (!returnedModel->effects->empty())
{
for (it = returnedModel->effects->begin();
it != returnedModel->effects->end();
++it)
{
if (it->second == NULL)
{
it->second = (SocketInterface_MulticastModeledReceiverCommEffects*)
MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
}
it->second->sendTime = params->sendTime;
it->second->effects.latency = 0.0;
it->second->effects.success = FALSE;
}
}
if (!effects->empty())
{
// Traverse through receivers comm. effects hashmap and update/insert values
for (it = effects->begin();
it != effects->end();
++it)
{
if (it->second != NULL)
{
if (returnedModel->effects->empty())
{
returnedModel->effects->insert(
pair<const NodeAddress *,
SocketInterface_MulticastModeledReceiverCommEffects *>
(it->first,it->second));
}
else
{
it2 = returnedModel->effects->find(it->first);
if (it2 == returnedModel->effects->end())
{
returnedModel->effects->insert(
pair<const NodeAddress *,
SocketInterface_MulticastModeledReceiverCommEffects *>
(it->first,it->second));
}
else
{
memcpy(it2->second, it->second, sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
MEM_free(it->second);
it->second = NULL;
}
}
}
}
}
}
/*
* FUNCTION SocketInterface_UpdateMulticastModelSingleReceiver
* PURPOSE Handles updates to multicast comm.effects model for a single receiver,
* for a specific set of multicast model parameters
* Parameters:
* data: Pointer to the SocketInterface_InterfaceData (mts interface) structure,
* params: Pointer to the multicast model parameters structure,
* effects: Pointer to the multicast modeled effects structure for a single receiver.
*/
void SocketInterface_UpdateMulticastModelSingleReceiver(
SocketInterface_InterfaceData *data,
SocketInterface_MulticastModelingParameters *params,
SocketInterface_MulticastModeledReceiverCommEffects *effects)
{
SocketInterface_MulticastModel* returnedModel = NULL;
SocketInterface_MulticastModeledReceiverCommEffects *tempEffects;
SocketInterface_MulticastModeledReceiversCommEffects::iterator it;
SocketInterface_MulticastStatModel::iterator it2;
BOOL found = FALSE;
assert(params != NULL);
assert(effects != NULL);
assert(data != NULL);
assert(data->multicastStatModel != NULL);
if (!data->multicastStatModel->empty())
{
it2 = data->multicastStatModel->find(params);
// If model for corresponding parameters exist
// in hashmap, modify this model
if (it2 != data->multicastStatModel->end())
{
returnedModel = (SocketInterface_MulticastModel *)it2->second;
if (returnedModel != NULL)
{
if (params->sendTime == returnedModel->params.sendTime)
{
found = TRUE;
}
}
}
}
// Modify model only if it already exists in the hashmap
if (found == TRUE)
{
if (returnedModel->effects == NULL)
{
returnedModel->effects = new SocketInterface_MulticastModeledReceiversCommEffects();
}
// Insert if the effects hashmap is empty
if (returnedModel->effects->empty())
{
tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*)
MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
returnedModel->effects->insert(
pair<const NodeAddress *,
SocketInterface_MulticastModeledReceiverCommEffects *>
(&(tempEffects->receivingPlatformAddress), tempEffects));
}
else
{
it = returnedModel->effects->find(&(effects->receivingPlatformAddress));
// Insert if effects hashmap is non-empty but does not contain the receiver model
if (it == returnedModel->effects->end())
{
tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*)
MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
returnedModel->effects->insert(
pair<const NodeAddress *,
SocketInterface_MulticastModeledReceiverCommEffects *>
(&(tempEffects->receivingPlatformAddress), tempEffects));
}
// Update if effects hashmap is non-empty and does contain the receiver model
else
{
if (it->second == NULL)
{
it->second = (SocketInterface_MulticastModeledReceiverCommEffects*)
MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
}
memcpy(it->second,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects));
}
}
}
}
/*
* FUNCTION SocketInterface_GetMulticastCommEffects
* PURPOSE Returns modeled multicast comm.effects model (multiple receivers)
* for a specified set of multicast model parameters
* Return value: Pointer to a constant multicast modeled effects hashmap.
* Parameters:
* data: Pointer to the SocketInterface_InterfaceData (mts interface) structure,
* params: Pointer to the multicast model parameters structure.
*/
const SocketInterface_MulticastModeledReceiversCommEffects* SocketInterface_GetMulticastCommEffects(
SocketInterface_InterfaceData *data,
SocketInterface_MulticastModelingParameters *params)
{
SocketInterface_MulticastModel *model;
SocketInterface_MulticastModeledReceiversCommEffects *effects;
SocketInterface_MulticastStatModel::iterator it;
effects = NULL;
// Search for model in hashmap, and if found return it
assert(params != NULL);
assert(data != NULL);
assert(data->multicastStatModel != NULL);
if (!data->multicastStatModel->empty())
{
it = data->multicastStatModel->find(params);
if (it != data->multicastStatModel->end())
{
model = it->second;
if (model != NULL)
{
effects = model->effects;
}
}
}
return effects;
}
/*
* FUNCTION SocketInterface_SendModeledResponses
* PURPOSE Checks and sends comm. effects responses to designated receivers
* based on the availability, in the model, of comm. effects for
* a specified set of unicast/multicast model parameters
* Return value: Boolean value indicating whether model for corresponding
* parameters were found
* Parameters:
* iface: Pointer to the EXTERNAL_Interface (mts interface) structure,
* packetData: Pointer to the SocketInterface_PacketData structure corresponding to the packet request.
* params: Pointer to the unicast/multicast model parameters structure.
*/
BOOL SocketInterface_SendModeledResponses(
EXTERNAL_Interface *iface,
SocketInterface_PacketData *packetData,
void *params)
{
SocketInterface_InterfaceData *data;
const SocketInterface_MulticastModeledReceiversCommEffects *multiEffects;
const SocketInterface_UnicastModeledCommEffects *uniEffects;
const SocketInterface_MulticastModeledReceiverCommEffects *multiRecEffects;
SocketInterface_MulticastModeledReceiversCommEffects::const_iterator it;
SocketInterface_CommEffectsResponseMessage* response;
BOOL retVal;
SocketInterface_TimeType latency;
SocketInterface_Status state;
std::string receiver;
std::string originator;
BOOL packetReturned;
retVal = FALSE;
assert(iface != NULL);
data = (SocketInterface_InterfaceData*) iface->data;
assert(data != NULL);
assert(packetData != NULL);
assert(params != NULL);
if (packetData->multicast)
{
uniEffects = NULL;
// Check if effects for parameters have been modeled
multiEffects = SocketInterface_GetMulticastCommEffects(
data,
(SocketInterface_MulticastModelingParameters *)params);
// Set packet's indicator variable based on existence of modeled comm. effects
if (multiEffects == NULL)
{
packetData->sentStatisticalModel = FALSE;
}
else
{
packetData->sentStatisticalModel = TRUE;
retVal = TRUE;
originator = packetData->originator;
// Iterate through multicast receiver models hashmap
// and send responses for all successful receivers to all concerned
// response recipients
if (!multiEffects->empty())
{
for (it = multiEffects->begin();
it != multiEffects->end();
++it)
{
if (it->second != NULL)
{
multiRecEffects = (const SocketInterface_MulticastModeledReceiverCommEffects *) it->second;
latency = multiRecEffects->effects.latency;
// Packet receipt is successful only if the latency is less than the failure timeout
// Otherwise if the model indicates that the packet was eventually receiver
// it is deemed a successful failure
if (latency > 0.0)
{
if (latency >= packetData->failureTimeout)
{
data->successfulFailures++;
}
else
{
EntityData* mapping;
// If it is multicast, get the entityId and multicast owner for this
// node id. If no multicast owner then send response to packet
// originator.
mapping = EntityMappingLookup(
&data->entityMapping,
multiRecEffects->receivingPlatformAddress);
assert(mapping != NULL);
receiver = mapping->entityId;
// Construct a response message based on values derived from
// packetdata and the model
response = new
SocketInterface_CommEffectsResponseMessage(packetData->id1,
packetData->id2,
&originator,
&receiver,
SocketInterface_Status_Success,
(((double) ((SocketInterface_MulticastModelingParameters *)params)->sendTime) / SECOND +
(double) latency),
latency);
response->SetDescription(packetData->description);
// Send the response and update stats
BOOL sent = FALSE;
if (data->sourceResponsibleMulticast)
{
if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId]))
{
SocketInterface_SendMessage(
iface,
response,
packetData->socketId);
data->responses++;
data->successes++;
sent = TRUE;
}
}
else
{
std::map<NodeId, Entity_NodeData>::iterator entityit;
for (entityit = mapping->nodes.begin();
entityit != mapping->nodes.end();
entityit++)
{
Entity_NodeData entity = entityit->second;
std::vector<MulticastGroup>::iterator it2;
// If multicast find the multicast group. If found, send a copy of
// the successfull comm repsonse to each socket connection that is
// subscribing to multicast messages.
for (it2 = entity.multicastGroups.begin();
it2 != entity.multicastGroups.end();
it2++)
{
if (it2->group == packetData->receiver)
{
for (unsigned i = 0; i < it2->socketSubscribers.size(); i++)
{
if (EXTERNAL_SocketValid(data->sockets.connections[it2->socketSubscribers[i]]))
{
SocketInterface_SendMessage(
iface,
response,
it2->socketSubscribers[i]);
sent = TRUE;
data->responses++;
data->successes++;
}
}
break;
}
}
} //end for each entity
}
// If the packet was not sent to a multicast owner then send it to the
// request originator. This may occur with some broadcast/multicast messages.
if (!sent)
{
if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId]))
{
SocketInterface_SendMessage(
iface,
response,
packetData->socketId);
data->responses++;
data->successes++;
}
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
// delete the message
delete response;
}
}
}
}
}
}
}
else
{
multiEffects = NULL;
// Check if effects for parameters have been modeled
uniEffects = SocketInterface_GetUnicastCommEffects(
data,
(SocketInterface_UnicastModelingParameters *)params);
// Set packet's indicator variable based on existence of modeled comm. effects
if (uniEffects == NULL)
{
packetData->sentStatisticalModel = FALSE;
}
else
{
packetData->sentStatisticalModel = TRUE;
retVal = TRUE;
originator = packetData->originator;
receiver = packetData->receiver;
latency = uniEffects->latency;
// If packet was not received or it was received after the timeout,
// it is deeped a failure, unless the QualNet is configured to always return successes
if ((latency == 0.0) || (latency >= packetData->failureTimeout))
{
packetReturned = FALSE;
if (data->alwaysSuccess)
{
state = SocketInterface_Status_Success;
}
else
{
state = SocketInterface_Status_Failure;
}
latency = packetData->failureTimeout;
}
else
{
state = SocketInterface_Status_Success;
packetReturned = TRUE;
}
// Construct a response message based on values derived from
// packetdata and the model
response = new
SocketInterface_CommEffectsResponseMessage(packetData->id1,
packetData->id2,
&originator,
&receiver,
state,
(((double) ((SocketInterface_UnicastModelingParameters *)params)->sendTime) / SECOND +
(double) latency),
latency);
response->SetDescription(packetData->description);
// Update the Mibs
// Send the response and update stats
if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId]))
{
SocketInterface_SendMessage(
iface,
response,
packetData->socketId);
data->responses++;
if (packetReturned)
{
data->successes++;
}
else
{
data->failures++;
if (latency >= packetData->failureTimeout)
{
data->successfulFailures++;
}
}
}
std::string str;
response->Print(&str);
str += "\n";
SocketInterface_PrintLog(
iface,
data->responsesLogFile,
str.c_str());
// delete the message
delete response;
}
}
return retVal;
}
/*
* FUNCTION SocketInterface_GetMessageIds
* PURPOSE Retrieve the two message IDs from the SocketInterface_PacketHeader
* header of message from qualnet socket
* Return value: BOOL indicate whether successfully or not
* Parameters:
* payload: Pointer to payload of message from socket interface
* which contain header
* size: Size of the payload.
* msgId1: For returing ID1
* msgId2: For returing ID2
*/
BOOL SocketInterface_GetMessageIds(
char *payload,
int size,
UInt64 *msgId1,
UInt64 *msgId2)
{
if (payload != NULL && size >= sizeof(SocketInterface_PacketHeader))
{
SocketInterface_PacketHeader *pktHdrPtr = (SocketInterface_PacketHeader *) payload;
*msgId1 = pktHdrPtr->id1;
*msgId2 = pktHdrPtr->id2;
return TRUE;
}
else
{
return FALSE;
}
}
// SocketInterface_GetEntityMappingStructure is used to get the proper mapping structure
// for the socket interface.
EntityMapping* SocketInterface_GetEntityMappingStructure(EXTERNAL_Interface* iface)
{
// Check if qualnet socket is running
if (iface->partition->interfaceTable[EXTERNAL_SOCKET] != NULL)
{
SocketInterface_InterfaceData* data2;
data2 = (SocketInterface_InterfaceData*) iface->partition->interfaceTable[EXTERNAL_SOCKET]->data;
return &data2->entityMapping;
}
else
{
return NULL;
}
}
| [
"2081444098@qq.com"
] | 2081444098@qq.com |
2a0d942311e152353b3a842a05882fd6cfe6bf74 | 9e8ff0cb68890e73077af50fb3cd8708a4df2a5a | /CTCI Recursion_DP/Q3.cpp | 8b1741021ed58cc2baee50fba38b7f48342ffb07 | [] | no_license | anoshak/CTCI-Recursion-DP | f362ebfcd308de0a1de8358813ec31ac6e9dbe6b | c3b011c696eeb1b0bf48f8067ac856b1da52109c | refs/heads/master | 2021-01-23T07:21:35.959317 | 2015-04-16T23:46:05 | 2015-04-16T23:46:05 | 34,086,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | /*
* Q3.cpp
*
* Created on: Mar 4, 2015
* Author: Anoshak
*/
#include <cstdio>
#include <map>
#include <cstdlib>
#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
| [
"anoshak.1390@gmail.com"
] | anoshak.1390@gmail.com |
500665ec7ecb61cd416e4dc36a915f8e96a99a68 | 21deed24d8bde9f3b8ec3d5a8962766f7ff1bc2f | /nnstreamer/tensor_filter/tensor_filter_nntrainer.hh | 29485a9373f8ed98b1a9f80983ea9118485cf2a1 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | nnstreamer/nntrainer | 64658cc434b42323a21871c33cdb069751770daf | 08a1da0a2c22fd9495239d370cef8dc1d842a4fc | refs/heads/main | 2023-08-19T09:10:39.796512 | 2023-08-17T08:43:39 | 2023-08-18T10:35:14 | 249,615,315 | 134 | 70 | Apache-2.0 | 2023-09-14T12:58:28 | 2020-03-24T04:47:36 | C++ | UTF-8 | C++ | false | false | 2,525 | hh | /* SPDX-License-Identifier: Apache-2.0 */
/**
* NNStreamer Tensor_Filter, nntrainer Module
* Copyright (C) 2020 Jijoong Moon <jijoong.moon@samsung.com>
*/
/**
* @file tensor_filter_nntrainer.hh
* @date 09 Sept 2020
* @brief nntrainer inference module for tensor_filter gstreamer plugin header
* @note The clas has been exposed from tensor_filter_nntrainer.cc to unittest
* @see http://github.com/nnstreamer/nnstreamer
* @author Jijoong Moon <jijoong.moon@samsung.com>
* @bug No known bugs except for NYI items
*
* This is the per-NN-framework plugin (e.g) tensorflow-lite) for tensor_filter.
* Fill in "GstTensorFilterFramework" for tensor_filter.h/c
*
*/
#include <cstdint>
#include <map>
#include <memory>
#include <vector>
#include <nnstreamer_plugin_api.h>
#include <nnstreamer_plugin_api_filter.h>
#include <model.h>
#include <tensor_dim.h>
/**
* @brief Internal data structure for nntrainer
*/
typedef struct {
int rank;
std::vector<std::int64_t> dims;
} nntrainer_tensor_info_s;
/**
* @brief NNTrainerInference wrapper for nnstreamer filter subplugin
*
*/
class NNTrainerInference {
public:
/**
* @brief Construct a new NNTrainerInference object
*
* @param model_config_ config address
*/
NNTrainerInference(const std::string &model_config);
/**
* @brief Destroy the NNTrainerInference object
*
*/
~NNTrainerInference() = default;
/**
* @brief Get the Model Config object
*
* @return const char* config, do not free
*/
const char *getModelConfig();
/**
* @brief Set the Batch Size
*
* @param batch batch size
*/
void setBatchSize(unsigned int batch) { batch_size = batch; }
/**
* @brief Get the Input Dimension object
*
* @return const std::vector<nntrainer::TensorDim> input dimensions
*/
const std::vector<ml::train::TensorDim> getInputDimension() {
return model->getInputDimension();
}
/**
* @brief Get the Output Dimension object
*
* @return const std::vector<nntrainer::TensorDim> output dimensions
*/
const std::vector<ml::train::TensorDim> getOutputDimension() {
return model->getOutputDimension();
}
/**
* @brief run inference, output
*
* @param input input tensor memory
* @param output output tensor memory
* @return int 0 if success
*/
int run(const GstTensorMemory *input, GstTensorMemory *output);
private:
void loadModel();
unsigned int batch_size;
std::string model_config;
std::unique_ptr<ml::train::Model> model;
};
| [
"jijoong.moon@samsung.com"
] | jijoong.moon@samsung.com |
1cfb0acfdb71d0b1517c22c91416dde66c1b168d | 96924680ca49b8448962a61995e5c090fa203ea0 | /BattleShips/Field.cpp | 988a1fb5a7c66b51881b1f92116d708deae4fede | [] | no_license | GranatKatya/ButtleShips | 494b15644d8a501badb72df123f2861873120183 | 29fc04e9029b681ab0d202382d2faac4462ee1d0 | refs/heads/master | 2020-03-31T06:19:01.852229 | 2018-10-17T18:57:13 | 2018-10-17T18:57:13 | 151,976,918 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,601 | cpp |
#include "stdafx.h"
vector<Cell*> FieldInterface::GetUnshutCells() {
vector<Cell*> unshut_cells;
for (size_t i = 0; i < _arr_of_cells.size(); i++)
{
if (!_arr_of_cells[i]->GetIsShut())
{
unshut_cells.push_back(_arr_of_cells[i]);
}
}
return unshut_cells;
}
vector<Cell*> FieldInterface::GetEmptyCells() {
vector<Cell*> unshut_cells;
for (size_t i = 0; i < _arr_of_cells.size(); i++)
{
if (_arr_of_cells[i]->GetGameObject() == nullptr)
{
unshut_cells.push_back(_arr_of_cells[i]);
}
}
return unshut_cells;
}
void FieldInterface::InitializeField() {
for (size_t i = 0; i < 10; i++)
{
for (size_t j = 0; j < 10; j++)
{
Cell *ptr_cell = new Cell(i, j, _x_shift, _y_shift);
_arr_of_cells.push_back(ptr_cell);
if (i != 0) {//столбцы
_arr_of_cells[_arr_of_cells.size() - 1]->SetL(&(*_arr_of_cells[_arr_of_cells.size() - 11]));
_arr_of_cells[_arr_of_cells.size() - 11]->SetR(&(*_arr_of_cells[_arr_of_cells.size() - 1]));
}
if (j != 0) {
_arr_of_cells[_arr_of_cells.size() - 1]->SetU(&(*_arr_of_cells[_arr_of_cells.size() - 2]));
_arr_of_cells[_arr_of_cells.size() - 2]->SetD(&(*_arr_of_cells[_arr_of_cells.size() - 1]));
}
}
}
for (size_t i = 1; i <11; i++)//x
{
_arr_of_markup.push_back(new Cell(i, 0, _x_shift -20, _y_shift-20));
}
for (size_t i = 1; i <11; i++)//y
{
_arr_of_markup.push_back(new Cell(0, i, _x_shift - 20, _y_shift - 20));
}
}
void FieldInterface::CreateShip(vector<COORD*> coord) {
Ship *ship = new Ship;
for (size_t i = 0; i < coord.size(); i++)
{
ship->GetArrayOfCells()->push_back(GetCellByCoord(coord[i]->X, coord[i]->Y));
GetCellByCoord(coord[i]->X, coord[i]->Y)->SetGetGameObject(*ship);
}
_arr_of_ships.push_back(ship);
}
void FieldInterface::CreateMine(vector<COORD*> coord) {
Bomb *bomb = new Bomb;
for (size_t i = 0; i < coord.size(); i++)
{
bomb->GetArrayOfCells()->push_back(GetCellByCoord(coord[i]->X, coord[i]->Y));
GetCellByCoord(coord[i]->X, coord[i]->Y)->SetGetGameObject(*bomb);
}
_arr_of_ships.push_back(bomb);
}
Cell* FieldInterface::GetCellByCoord(int x, int y) {
return _arr_of_cells[x * 10 + y];
}
bool FieldInterface::IsEmpty(int x, int y) {
return GetCellByCoord(x, y)->IsEmpty();
}
bool FieldInterface::AreSurraundionCellsEmpty(int x, int y) {// можем ли мы поставить кораюль
vector<Cell*> surrounding_cells;
if (IsEmpty(x, y)) {
surrounding_cells = GetCellByCoord(x, y)->GetSurroundingCells();
}
else { return false; }
for (size_t i = 0; i < surrounding_cells.size(); i++)
{
if (!surrounding_cells[i]->IsEmpty()) {
return false;
}
}
return true;
}
void FieldInterface::ProcessShot(Shot &shot) {
GetCellByCoord(shot.GetX(), shot.GetY())->ProcessShot(shot);
}
UserField::UserField(int x_shift, int y_shift) {
_x_shift = x_shift;
_y_shift = y_shift;
}
void UserField::PrintField() {
for (size_t i = 0; i < _arr_of_cells.size(); i++)
{
_arr_of_cells[i]->Print(RGB(0, 255, 255));
}
for (size_t i = 0; i < _arr_of_markup.size(); i++)
{
_arr_of_markup[i]->PrintByTemplate(RGB(255, 125, 0),i);
}
}
EnemyField::EnemyField(int x_shift, int y_shift) {
_x_shift = x_shift;
_y_shift = y_shift;
}
void EnemyField::PrintField() {
for (size_t i = 0; i < _arr_of_cells.size(); i++)
{
_arr_of_cells[i]->Print(RGB(0, 255, 255));
}
for (size_t i = 0; i < _arr_of_markup.size(); i++)
{
_arr_of_markup[i]->PrintByTemplate(RGB(255, 125, 0), i);
}
}
| [
"k.granat2017@.com"
] | k.granat2017@.com |
6d0c2e230743ba3957f1020d4eaa7911ae89f787 | 8e00ca74a4885cb2e7fb113579ded92a74b2e10d | /src/Matrix4.h | 456677f0fba2c34bff2b2b1eae6c88d26fd69bb1 | [
"Apache-2.0"
] | permissive | worktycho/MCServer | 1a1993a31c837676176a7683b629f0dfbd5c3cec | 84c83e0deb8c46be5bd4a25ef00515d48cf296a9 | refs/heads/master | 2020-12-29T02:54:50.813854 | 2014-06-16T14:03:07 | 2014-06-16T14:03:07 | 12,731,841 | 1 | 0 | null | 2014-04-07T17:04:50 | 2013-09-10T14:30:22 | C | UTF-8 | C++ | false | false | 3,759 | h |
#pragma once
#define _USE_MATH_DEFINES // Enable non-standard math defines (MSVC)
#include <math.h>
template <typename T>
// tolua_begin
class Matrix4
{
TOLUA_TEMPLATE_BIND((T, float, double))
// tolua_end
public:
T cell[16];
// tolua_begin
inline Matrix4(void)
{
Identity();
}
inline Matrix4(const Matrix4 & a_Rhs)
{
*this = a_Rhs;
}
inline Matrix4 & operator = (const Matrix4 & a_Rhs)
{
for (unsigned int i = 0; i < 16; ++i)
{
cell[i] = a_Rhs.cell[i];
}
return *this;
}
inline T & operator [] (int a_N)
{
ASSERT(a_N < 16);
return cell[a_N];
}
inline void Identity()
{
cell[1] = cell[2] = cell[3] = cell[4] = 0;
cell[6] = cell[7] = cell[8] = cell[9] = 0;
cell[11] = cell[12] = cell[13] = cell[14] = 0;
cell[0] = cell[5] = cell[10] = cell[15] = 1;
}
inline void Init(const Vector3<T> & a_Pos, T a_RX, T a_RY, T a_RZ)
{
Matrix4<T> t;
t.RotateX(a_RZ);
RotateY(a_RY);
Concatenate(t);
t.RotateZ(a_RX);
Concatenate(t);
Translate(a_Pos);
}
inline void RotateX(T a_RX)
{
T sx = (T) sin(a_RX * M_PI / 180);
T cx = (T) cos(a_RX * M_PI / 180);
Identity();
cell[5] = cx; cell[6] = sx;
cell[9] = -sx; cell[10] = cx;
}
inline void RotateY(T a_RY)
{
T sy = (T) sin(a_RY * M_PI / 180);
T cy = (T) cos(a_RY * M_PI / 180);
Identity();
cell[0] = cy; cell[2] = -sy;
cell[8] = sy; cell[10] = cy;
}
inline void RotateZ(T a_RZ)
{
T sz = (T) sin(a_RZ * M_PI / 180);
T cz = (T) cos(a_RZ * M_PI / 180);
Identity();
cell[0] = cz; cell[1] = sz;
cell[4] = -sz; cell[5] = cz;
}
inline void Translate(const Vector3<T> & a_Pos)
{
cell[3] += a_Pos.x;
cell[7] += a_Pos.y;
cell[11] += a_Pos.z;
}
inline void SetTranslation(const Vector3<T> & a_Pos)
{
cell[3] = a_Pos.x;
cell[7] = a_Pos.y;
cell[11] = a_Pos.z;
}
inline void Concatenate(const Matrix4 & m2)
{
Matrix4 res;
for (unsigned int c = 0; c < 4; ++c)
{
for (unsigned int r = 0; r < 4; ++r)
{
res.cell[r * 4 + c] = (
cell[r * 4 + 0] * m2.cell[c + 0] +
cell[r * 4 + 1] * m2.cell[c + 4] +
cell[r * 4 + 2] * m2.cell[c + 8] +
cell[r * 4 + 3] * m2.cell[c + 12]
);
}
}
*this = res;
}
inline Vector3<T> Transform(const Vector3<T> & v) const
{
T x = cell[0] * v.x + cell[1] * v.y + cell[2] * v.z + cell[3];
T y = cell[4] * v.x + cell[5] * v.y + cell[6] * v.z + cell[7];
T z = cell[8] * v.x + cell[9] * v.y + cell[10] * v.z + cell[11];
return Vector3<T>(x, y, z);
}
inline void Invert(void)
{
Matrix4 t;
T tx = -cell[3];
T ty = -cell[7];
T tz = -cell[11];
for (unsigned int h = 0; h < 3; ++h)
{
for (unsigned int v = 0; v < 3; ++v)
{
t.cell[h + v * 4] = cell[v + h * 4];
}
}
for (unsigned int i = 0; i < 11; ++i)
{
cell[i] = t.cell[i];
}
cell[3] = tx * cell[0] + ty * cell[1] + tz * cell[2];
cell[7] = tx * cell[4] + ty * cell[5] + tz * cell[6];
cell[11] = tx * cell[8] + ty * cell[9] + tz * cell[10];
}
inline Vector3<T> GetXColumn(void) const
{
return Vector3<T>(cell[0], cell[1], cell[2]);
}
inline Vector3<T> GetYColumn(void) const
{
return Vector3<T>(cell[4], cell[5], cell[6]);
}
inline Vector3<T> GetZColumn(void) const
{
return Vector3<T>(cell[8], cell[9], cell[10]);
}
inline void SetXColumn(const Vector3<T> & a_X)
{
cell[0] = a_X.x;
cell[1] = a_X.y;
cell[2] = a_X.z;
}
inline void SetYColumn(const Vector3<T> & a_Y)
{
cell[4] = a_Y.x;
cell[5] = a_Y.y;
cell[6] = a_Y.z;
}
inline void SetZColumn(const Vector3<T> & a_Z)
{
cell[8] = a_Z.x;
cell[9] = a_Z.y;
cell[10] = a_Z.z;
}
};
// tolua_end
// tolua_begin
typedef Matrix4<double> Matrix4d;
typedef Matrix4<float> Matrix4f;
// tolua_end
| [
"xdotftw@gmail.com"
] | xdotftw@gmail.com |
a103ad1be894687c299b01c81f8c8be1bbb53749 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /game/server/vehicle_base.cpp | 6fdb28bb1e5c898e7f57d6222568704f425e4c54 | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | UTF-8 | C++ | false | false | 43,982 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: UNDONE: Rename this to prop_vehicle.cpp !!!
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "vcollide_parse.h"
#include "vehicle_base.h"
#include "ndebugoverlay.h"
#include "igamemovement.h"
#include "soundenvelope.h"
#include "in_buttons.h"
#include "npc_vehicledriver.h"
#include "physics_saverestore.h"
#include "saverestore_utlvector.h"
#include "func_break.h"
#include "physics_impact_damage.h"
#include "entityblocker.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
#define SF_PROP_VEHICLE_ALWAYSTHINK 0x00000001
ConVar g_debug_vehiclebase( "g_debug_vehiclebase", "0", FCVAR_CHEAT );
extern ConVar g_debug_vehicledriver;
// CFourWheelServerVehicle
BEGIN_SIMPLE_DATADESC_( CFourWheelServerVehicle, CBaseServerVehicle )
DEFINE_EMBEDDED( m_ViewSmoothing ),
END_DATADESC()
// CPropVehicle
BEGIN_DATADESC( CPropVehicle )
DEFINE_EMBEDDED( m_VehiclePhysics ),
// These are necessary to save here because the 'owner' of these fields must be the prop_vehicle
DEFINE_PHYSPTR( m_VehiclePhysics.m_pVehicle ),
DEFINE_PHYSPTR_ARRAY( m_VehiclePhysics.m_pWheels ),
DEFINE_FIELD( m_nVehicleType, FIELD_INTEGER ),
#ifdef HL2_EPISODIC
DEFINE_UTLVECTOR( m_hPhysicsChildren, FIELD_EHANDLE ),
#endif // HL2_EPISODIC
// Keys
DEFINE_KEYFIELD( m_vehicleScript, FIELD_STRING, "VehicleScript" ),
DEFINE_FIELD( m_vecSmoothedVelocity, FIELD_VECTOR ),
// Inputs
DEFINE_INPUTFUNC( FIELD_FLOAT, "Throttle", InputThrottle ),
DEFINE_INPUTFUNC( FIELD_FLOAT, "Steer", InputSteering ),
DEFINE_INPUTFUNC( FIELD_FLOAT, "Action", InputAction ),
DEFINE_INPUTFUNC( FIELD_VOID, "HandBrakeOn", InputHandBrakeOn ),
DEFINE_INPUTFUNC( FIELD_VOID, "HandBrakeOff", InputHandBrakeOff ),
END_DATADESC()
LINK_ENTITY_TO_CLASS( prop_vehicle, CPropVehicle );
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
#pragma warning (disable:4355)
CPropVehicle::CPropVehicle() : m_VehiclePhysics( this )
{
SetVehicleType( VEHICLE_TYPE_CAR_WHEELS );
}
#pragma warning (default:4355)
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
CPropVehicle::~CPropVehicle ()
{
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicle::Spawn( )
{
CFourWheelServerVehicle *pServerVehicle = dynamic_cast<CFourWheelServerVehicle*>(GetServerVehicle());
m_VehiclePhysics.SetOuter( this, pServerVehicle );
// NOTE: The model has to be set before we can spawn vehicle physics
BaseClass::Spawn();
SetCollisionGroup( COLLISION_GROUP_VEHICLE );
m_VehiclePhysics.Spawn();
if (!m_VehiclePhysics.Initialize( STRING(m_vehicleScript), m_nVehicleType ))
return;
SetNextThink( gpGlobals->curtime );
m_vecSmoothedVelocity.Init();
}
// this allows reloading the script variables from disk over an existing vehicle state
// This is useful for tuning vehicles or updating old saved game formats
CON_COMMAND(vehicle_flushscript, "Flush and reload all vehicle scripts")
{
PhysFlushVehicleScripts();
for ( CBaseEntity *pEnt = gEntList.FirstEnt(); pEnt != NULL; pEnt = gEntList.NextEnt(pEnt) )
{
IServerVehicle *pServerVehicle = pEnt->GetServerVehicle();
if ( pServerVehicle )
{
pServerVehicle->ReloadScript();
}
}
}
//-----------------------------------------------------------------------------
// Purpose: Restore
//-----------------------------------------------------------------------------
int CPropVehicle::Restore( IRestore &restore )
{
CFourWheelServerVehicle *pServerVehicle = dynamic_cast<CFourWheelServerVehicle*>(GetServerVehicle());
m_VehiclePhysics.SetOuter( this, pServerVehicle );
return BaseClass::Restore( restore );
}
//-----------------------------------------------------------------------------
// Purpose: Tell the vehicle physics system whenever we teleport, so it can fixup the wheels.
//-----------------------------------------------------------------------------
void CPropVehicle::Teleport( const Vector *newPosition, const QAngle *newAngles, const Vector *newVelocity )
{
matrix3x4_t startMatrixInv;
MatrixInvert( EntityToWorldTransform(), startMatrixInv );
BaseClass::Teleport( newPosition, newAngles, newVelocity );
// Calculate the relative transform of the teleport
matrix3x4_t xform;
ConcatTransforms( EntityToWorldTransform(), startMatrixInv, xform );
m_VehiclePhysics.Teleport( xform );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicle::DrawDebugGeometryOverlays()
{
if (m_debugOverlays & OVERLAY_BBOX_BIT)
{
m_VehiclePhysics.DrawDebugGeometryOverlays();
}
BaseClass::DrawDebugGeometryOverlays();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
int CPropVehicle::DrawDebugTextOverlays()
{
int nOffset = BaseClass::DrawDebugTextOverlays();
if (m_debugOverlays & OVERLAY_TEXT_BIT)
{
nOffset = m_VehiclePhysics.DrawDebugTextOverlays( nOffset );
}
return nOffset;
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicle::InputThrottle( inputdata_t &inputdata )
{
m_VehiclePhysics.SetThrottle( inputdata.value.Float() );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicle::InputSteering( inputdata_t &inputdata )
{
m_VehiclePhysics.SetSteering( inputdata.value.Float(), 2*gpGlobals->frametime );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicle::InputAction( inputdata_t &inputdata )
{
m_VehiclePhysics.SetAction( inputdata.value.Float() );
}
void CPropVehicle::InputHandBrakeOn( inputdata_t &inputdata )
{
m_VehiclePhysics.SetHandbrake( true );
}
void CPropVehicle::InputHandBrakeOff( inputdata_t &inputdata )
{
m_VehiclePhysics.ReleaseHandbrake();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicle::Think()
{
m_VehiclePhysics.Think();
// Derived classes of CPropVehicle have their own code to determine how frequently to think.
// But the prop_vehicle entity native to this class will only think one time, so this flag
// was added to allow prop_vehicle to always think without affecting the derived classes.
if( HasSpawnFlags(SF_PROP_VEHICLE_ALWAYSTHINK) )
{
SetNextThink(gpGlobals->curtime);
}
}
#define SMOOTHING_FACTOR 0.9
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicle::VPhysicsUpdate( IPhysicsObject *pPhysics )
{
if ( IsMarkedForDeletion() )
return;
Vector velocity;
VPhysicsGetObject()->GetVelocity( &velocity, NULL );
//Update our smoothed velocity
m_vecSmoothedVelocity = m_vecSmoothedVelocity * SMOOTHING_FACTOR + velocity * ( 1 - SMOOTHING_FACTOR );
// must be a wheel
if (!m_VehiclePhysics.VPhysicsUpdate( pPhysics ))
return;
BaseClass::VPhysicsUpdate( pPhysics );
}
//-----------------------------------------------------------------------------
// Purpose:
// Output : const Vector
//-----------------------------------------------------------------------------
Vector CPropVehicle::GetSmoothedVelocity( void )
{
return m_vecSmoothedVelocity;
}
//=============================================================================
#ifdef HL2_EPISODIC
//-----------------------------------------------------------------------------
// Purpose: Add an entity to a list which receives physics callbacks from the vehicle
//-----------------------------------------------------------------------------
void CPropVehicle::AddPhysicsChild( CBaseEntity *pChild )
{
// Don't add something we already have
if ( m_hPhysicsChildren.Find( pChild ) != m_hPhysicsChildren.InvalidIndex() )
return ;
m_hPhysicsChildren.AddToTail( pChild );
}
//-----------------------------------------------------------------------------
// Purpose: Removes entity from physics callback list
//-----------------------------------------------------------------------------
void CPropVehicle::RemovePhysicsChild( CBaseEntity *pChild )
{
int elemID = m_hPhysicsChildren.Find( pChild );
if ( m_hPhysicsChildren.IsValidIndex( elemID ) )
{
m_hPhysicsChildren.Remove( elemID );
}
}
#endif //HL2_EPISODIC
//=============================================================================
//-----------------------------------------------------------------------------
// Purpose: Player driveable vehicle class
//-----------------------------------------------------------------------------
IMPLEMENT_SERVERCLASS_ST(CPropVehicleDriveable, DT_PropVehicleDriveable)
SendPropEHandle(SENDINFO(m_hPlayer)),
// SendPropFloat(SENDINFO_DT_NAME(m_controls.throttle, m_throttle), 8, SPROP_ROUNDUP, 0.0f, 1.0f),
SendPropInt(SENDINFO(m_nSpeed), 8),
SendPropInt(SENDINFO(m_nRPM), 13),
SendPropFloat(SENDINFO(m_flThrottle), 0, SPROP_NOSCALE ),
SendPropInt(SENDINFO(m_nBoostTimeLeft), 8),
SendPropInt(SENDINFO(m_nHasBoost), 1, SPROP_UNSIGNED),
SendPropInt(SENDINFO(m_bEnterAnimOn), 1, SPROP_UNSIGNED ),
SendPropInt(SENDINFO(m_bExitAnimOn), 1, SPROP_UNSIGNED ),
SendPropInt(SENDINFO(m_bUnableToFire), 1, SPROP_UNSIGNED ),
SendPropVector(SENDINFO(m_vecEyeExitEndpoint), -1, SPROP_COORD),
SendPropBool(SENDINFO(m_bHasGun)),
SendPropVector(SENDINFO(m_vecGunCrosshair), -1, SPROP_COORD),
END_SEND_TABLE();
BEGIN_DATADESC( CPropVehicleDriveable )
// Inputs
DEFINE_INPUTFUNC( FIELD_VOID, "Lock", InputLock ),
DEFINE_INPUTFUNC( FIELD_VOID, "Unlock", InputUnlock ),
DEFINE_INPUTFUNC( FIELD_VOID, "TurnOn", InputTurnOn ),
DEFINE_INPUTFUNC( FIELD_VOID, "TurnOff", InputTurnOff ),
DEFINE_INPUT( m_bHasGun, FIELD_BOOLEAN, "EnableGun" ),
// Outputs
DEFINE_OUTPUT( m_playerOn, "PlayerOn" ),
DEFINE_OUTPUT( m_playerOff, "PlayerOff" ),
DEFINE_OUTPUT( m_pressedAttack, "PressedAttack" ),
DEFINE_OUTPUT( m_pressedAttack2, "PressedAttack2" ),
DEFINE_OUTPUT( m_attackaxis, "AttackAxis" ),
DEFINE_OUTPUT( m_attack2axis, "Attack2Axis" ),
DEFINE_FIELD( m_hPlayer, FIELD_EHANDLE ),
DEFINE_EMBEDDEDBYREF( m_pServerVehicle ),
DEFINE_FIELD( m_nSpeed, FIELD_INTEGER ),
DEFINE_FIELD( m_nRPM, FIELD_INTEGER ),
DEFINE_FIELD( m_flThrottle, FIELD_FLOAT ),
DEFINE_FIELD( m_nBoostTimeLeft, FIELD_INTEGER ),
DEFINE_FIELD( m_nHasBoost, FIELD_INTEGER ),
DEFINE_FIELD( m_bUnableToFire, FIELD_BOOLEAN ),
DEFINE_FIELD( m_vecEyeExitEndpoint, FIELD_POSITION_VECTOR ),
DEFINE_FIELD( m_vecGunCrosshair, FIELD_VECTOR ),
DEFINE_FIELD( m_bEngineLocked, FIELD_BOOLEAN ),
DEFINE_KEYFIELD( m_bLocked, FIELD_BOOLEAN, "VehicleLocked" ),
DEFINE_FIELD( m_flMinimumSpeedToEnterExit, FIELD_FLOAT ),
DEFINE_FIELD( m_bEnterAnimOn, FIELD_BOOLEAN ),
DEFINE_FIELD( m_bExitAnimOn, FIELD_BOOLEAN ),
DEFINE_FIELD( m_flTurnOffKeepUpright, FIELD_TIME ),
//DEFINE_FIELD( m_flNoImpactDamageTime, FIELD_TIME ),
DEFINE_FIELD( m_hNPCDriver, FIELD_EHANDLE ),
DEFINE_FIELD( m_hKeepUpright, FIELD_EHANDLE ),
END_DATADESC()
LINK_ENTITY_TO_CLASS( prop_vehicle_driveable, CPropVehicleDriveable );
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
CPropVehicleDriveable::CPropVehicleDriveable( void ) :
m_pServerVehicle( NULL ),
m_hKeepUpright( NULL ),
m_flTurnOffKeepUpright( 0 ),
m_flNoImpactDamageTime( 0 )
{
m_vecEyeExitEndpoint.Init();
m_vecGunCrosshair.Init();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
CPropVehicleDriveable::~CPropVehicleDriveable( void )
{
DestroyServerVehicle();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::CreateServerVehicle( void )
{
// Create our server vehicle
m_pServerVehicle = new CFourWheelServerVehicle();
m_pServerVehicle->SetVehicle( this );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::DestroyServerVehicle()
{
if ( m_pServerVehicle )
{
delete m_pServerVehicle;
m_pServerVehicle = NULL;
}
}
//------------------------------------------------
// Precache
//------------------------------------------------
void CPropVehicleDriveable::Precache( void )
{
BaseClass::Precache();
// This step is needed because if we're precaching from a templated instance, we'll miss our vehicle
// script sounds unless we do the parse below. This instance of the vehicle will be nuked when we're actually created.
if ( m_pServerVehicle == NULL )
{
CreateServerVehicle();
}
// Load the script file and precache our assets
if ( m_pServerVehicle )
{
m_pServerVehicle->Initialize( STRING( m_vehicleScript ) );
}
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::Spawn( void )
{
// Has to be created before Spawn is called (since that causes Precache to be called)
DestroyServerVehicle();
CreateServerVehicle();
// Initialize our vehicle via script
if ( m_pServerVehicle->Initialize( STRING(m_vehicleScript) ) == false )
{
Warning( "Vehicle (%s) unable to properly initialize due to script error in (%s)!\n", GetEntityName().ToCStr(), STRING( m_vehicleScript ) );
SetThink( &CBaseEntity::SUB_Remove );
SetNextThink( gpGlobals->curtime + 0.1f );
return;
}
BaseClass::Spawn();
m_flMinimumSpeedToEnterExit = 0;
m_takedamage = DAMAGE_EVENTS_ONLY;
m_bEngineLocked = false;
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
int CPropVehicleDriveable::Restore( IRestore &restore )
{
// Has to be created before we can restore
// and we can't create it in the constructor because it could be
// overridden by a derived class.
DestroyServerVehicle();
CreateServerVehicle();
int nRetVal = BaseClass::Restore( restore );
return nRetVal;
}
//-----------------------------------------------------------------------------
// Purpose: Do extra fix-up after restore
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::OnRestore( void )
{
BaseClass::OnRestore();
// NOTE: This is necessary to prevent overflow of datatables on level transition
// since the last exit eyepoint in the last level will have been fixed up
// based on the level landmarks, resulting in a position that lies outside
// typical map coordinates. If we're not in the middle of an exit anim, the
// eye exit endpoint field isn't being used at all.
if ( !m_bExitAnimOn )
{
m_vecEyeExitEndpoint = GetAbsOrigin();
}
m_flNoImpactDamageTime = gpGlobals->curtime + 5.0f;
IServerVehicle *pServerVehicle = GetServerVehicle();
if ( pServerVehicle != NULL )
{
// Restore the passenger information we're holding on to
pServerVehicle->RestorePassengerInfo();
}
}
//-----------------------------------------------------------------------------
// Purpose: Vehicles are permanently oriented off angle for vphysics.
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::GetVectors(Vector* pForward, Vector* pRight, Vector* pUp) const
{
// This call is necessary to cause m_rgflCoordinateFrame to be recomputed
const matrix3x4_t &entityToWorld = EntityToWorldTransform();
if (pForward != NULL)
{
MatrixGetColumn( entityToWorld, 1, *pForward );
}
if (pRight != NULL)
{
MatrixGetColumn( entityToWorld, 0, *pRight );
}
if (pUp != NULL)
{
MatrixGetColumn( entityToWorld, 2, *pUp );
}
}
//-----------------------------------------------------------------------------
// Purpose: AngleVectors equivalent that accounts for the hacked 90 degree rotation of vehicles
// BUGBUG: VPhysics is hardcoded so that vehicles must face down Y instead of X like everything else
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::VehicleAngleVectors( const QAngle &angles, Vector *pForward, Vector *pRight, Vector *pUp )
{
AngleVectors( angles, pRight, pForward, pUp );
if ( pForward )
{
*pForward *= -1;
}
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value )
{
CBasePlayer *pPlayer = ToBasePlayer( pActivator );
if ( !pPlayer )
return;
ResetUseKey( pPlayer );
m_pServerVehicle->HandlePassengerEntry( pPlayer, (value>0) );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
CBaseEntity *CPropVehicleDriveable::GetDriver( void )
{
if ( m_hNPCDriver )
return m_hNPCDriver;
return m_hPlayer;
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::EnterVehicle( CBaseCombatCharacter *pPassenger )
{
if ( pPassenger == NULL )
return;
CBasePlayer *pPlayer = ToBasePlayer( pPassenger );
if ( pPlayer != NULL )
{
// Remove any player who may be in the vehicle at the moment
if ( m_hPlayer )
{
ExitVehicle( VEHICLE_ROLE_DRIVER );
}
m_hPlayer = pPlayer;
m_playerOn.FireOutput( pPlayer, this, 0 );
// Don't start the engine if the player's using an entry animation,
// because we want to start the engine once the animation is done.
if ( !m_bEnterAnimOn )
{
StartEngine();
}
// Start Thinking
SetNextThink( gpGlobals->curtime );
Vector vecViewOffset = m_pServerVehicle->GetSavedViewOffset();
// Clear our state
m_pServerVehicle->InitViewSmoothing( pPlayer->GetAbsOrigin() + vecViewOffset, pPlayer->EyeAngles() );
m_VehiclePhysics.GetVehicle()->OnVehicleEnter();
}
else
{
// NPCs are not yet supported - jdw
Assert( 0 );
}
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::ExitVehicle( int nRole )
{
CBasePlayer *pPlayer = m_hPlayer;
if ( !pPlayer )
return;
m_hPlayer = NULL;
ResetUseKey( pPlayer );
m_playerOff.FireOutput( pPlayer, this, 0 );
// clear out the fire buttons
m_attackaxis.Set( 0, pPlayer, this );
m_attack2axis.Set( 0, pPlayer, this );
m_nSpeed = 0;
m_flThrottle = 0.0f;
StopEngine();
m_VehiclePhysics.GetVehicle()->OnVehicleExit();
// Clear our state
m_pServerVehicle->InitViewSmoothing( vec3_origin, vec3_angle );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::ResetUseKey( CBasePlayer *pPlayer )
{
pPlayer->m_afButtonPressed &= ~IN_USE;
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::DriveVehicle( CBasePlayer *pPlayer, CUserCmd *ucmd )
{
//Lose control when the player dies
if ( pPlayer->IsAlive() == false )
return;
DriveVehicle( TICK_INTERVAL, ucmd, pPlayer->m_afButtonPressed, pPlayer->m_afButtonReleased );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::DriveVehicle( float flFrameTime, CUserCmd *ucmd, int iButtonsDown, int iButtonsReleased )
{
int iButtons = ucmd->buttons;
m_VehiclePhysics.UpdateDriverControls( ucmd, flFrameTime );
m_nSpeed = m_VehiclePhysics.GetSpeed(); //send speed to client
m_nRPM = clamp( m_VehiclePhysics.GetRPM(), 0, 4095 );
m_nBoostTimeLeft = m_VehiclePhysics.BoostTimeLeft();
m_nHasBoost = m_VehiclePhysics.HasBoost();
m_flThrottle = m_VehiclePhysics.GetThrottle();
//
// Fire the appropriate outputs based on button pressed events.
//
// BUGBUG: m_afButtonPressed is broken - check the player.cpp code!!!
float attack = 0, attack2 = 0;
if ( iButtonsDown & IN_ATTACK )
{
m_pressedAttack.FireOutput( this, this, 0 );
}
if ( iButtonsDown & IN_ATTACK2 )
{
m_pressedAttack2.FireOutput( this, this, 0 );
}
if ( iButtons & IN_ATTACK )
{
attack = 1;
}
if ( iButtons & IN_ATTACK2 )
{
attack2 = 1;
}
m_attackaxis.Set( attack, this, this );
m_attack2axis.Set( attack2, this, this );
}
//-----------------------------------------------------------------------------
// Purpose: Tells whether or not the car has been overturned
// Output : Returns true on success, false on failure.
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::IsOverturned( void )
{
Vector vUp;
VehicleAngleVectors( GetAbsAngles(), NULL, NULL, &vUp );
float upDot = DotProduct( Vector(0,0,1), vUp );
// Tweak this number to adjust what's considered "overturned"
if ( upDot < 0.0f )
return true;
return false;
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::Think()
{
BaseClass::Think();
if ( ShouldThink() )
{
SetNextThink( gpGlobals->curtime );
}
// If we have an NPC Driver, tell him to drive
if ( m_hNPCDriver )
{
GetServerVehicle()->NPC_DriveVehicle();
}
// Keep thinking while we're waiting to turn off the keep upright
if ( m_flTurnOffKeepUpright )
{
SetNextThink( gpGlobals->curtime );
// Time up?
if ( m_hKeepUpright != NULL && m_flTurnOffKeepUpright < gpGlobals->curtime )
{
variant_t emptyVariant;
m_hKeepUpright->AcceptInput( "TurnOff", this, this, emptyVariant, USE_TOGGLE );
m_flTurnOffKeepUpright = 0;
UTIL_Remove( m_hKeepUpright );
}
}
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::SetupMove( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper *pHelper, CMoveData *move )
{
// If the engine's not active, prevent driving
if ( !IsEngineOn() || m_bEngineLocked )
return;
// If the player's entering/exiting the vehicle, prevent movement
if ( m_bEnterAnimOn || m_bExitAnimOn )
return;
DriveVehicle( player, ucmd );
}
//-----------------------------------------------------------------------------
// Purpose: Prevent the player from entering / exiting the vehicle
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::InputLock( inputdata_t &inputdata )
{
m_bLocked = true;
}
//-----------------------------------------------------------------------------
// Purpose: Allow the player to enter / exit the vehicle
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::InputUnlock( inputdata_t &inputdata )
{
m_bLocked = false;
}
//-----------------------------------------------------------------------------
// Purpose: Return true of the player's allowed to enter the vehicle
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::CanEnterVehicle( CBaseEntity *pEntity )
{
// Only drivers are supported
Assert( pEntity && pEntity->IsPlayer() );
// Prevent entering if the vehicle's being driven by an NPC
if ( GetDriver() && GetDriver() != pEntity )
return false;
// Can't enter if we're upside-down
if ( IsOverturned() )
return false;
// Prevent entering if the vehicle's locked, or if it's moving too fast.
return ( !m_bLocked && (m_nSpeed <= m_flMinimumSpeedToEnterExit) );
}
//-----------------------------------------------------------------------------
// Purpose: Return true of the player's allowed to exit the vehicle
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::CanExitVehicle( CBaseEntity *pEntity )
{
// Prevent exiting if the vehicle's locked, or if it's moving too fast.
return ( !m_bEnterAnimOn && !m_bExitAnimOn && !m_bLocked && (m_nSpeed <= m_flMinimumSpeedToEnterExit) );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::InputTurnOn( inputdata_t &inputdata )
{
m_bEngineLocked = false;
StartEngine();
m_VehiclePhysics.SetDisableEngine( false );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::InputTurnOff( inputdata_t &inputdata )
{
m_bEngineLocked = true;
StopEngine();
m_VehiclePhysics.SetDisableEngine( true );
}
//-----------------------------------------------------------------------------
// Purpose: Check to see if the engine is on.
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::IsEngineOn( void )
{
return m_VehiclePhysics.IsOn();
}
//-----------------------------------------------------------------------------
// Purpose: Turn on the engine, but only if we're allowed to
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::StartEngine( void )
{
if ( m_bEngineLocked )
{
m_VehiclePhysics.SetHandbrake( true );
return;
}
m_VehiclePhysics.TurnOn();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::StopEngine( void )
{
m_VehiclePhysics.TurnOff();
}
//-----------------------------------------------------------------------------
// Purpose: // The player takes damage if he hits something going fast enough
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::VPhysicsCollision( int index, gamevcollisionevent_t *pEvent )
{
//=============================================================================
#ifdef HL2_EPISODIC
// Notify all children
for ( int i = 0; i < m_hPhysicsChildren.Count(); i++ )
{
if ( m_hPhysicsChildren[i] == NULL )
continue;
m_hPhysicsChildren[i]->VPhysicsCollision( index, pEvent );
}
#endif // HL2_EPISODIC
//=============================================================================
// Don't care if we don't have a driver
CBaseCombatCharacter *pDriver = GetDriver() ? GetDriver()->MyCombatCharacterPointer() : NULL;
if ( !pDriver )
return;
// Make sure we don't keep hitting the same entity
int otherIndex = !index;
CBaseEntity *pHitEntity = pEvent->pEntities[otherIndex];
if ( pEvent->deltaCollisionTime < 0.5 && (pHitEntity == this) )
return;
BaseClass::VPhysicsCollision( index, pEvent );
// if this is a bone follower, promote to the owner entity
if ( pHitEntity->GetOwnerEntity() && (pHitEntity->GetEffects() & EF_NODRAW) )
{
CBaseEntity *pOwner = pHitEntity->GetOwnerEntity();
// no friendly bone follower damage
// this allows strider legs to damage the player on impact but not d0g for example
if ( pDriver->IRelationType( pOwner ) == D_LI )
return;
}
// If we hit hard enough, damage the player
// Don't take damage from ramming bad guys
if ( pHitEntity->MyNPCPointer() )
{
return;
}
// Don't take damage from ramming ragdolls
if ( pEvent->pObjects[otherIndex]->GetGameFlags() & FVPHYSICS_PART_OF_RAGDOLL )
return;
// Ignore func_breakables
CBreakable *pBreakable = dynamic_cast<CBreakable *>(pHitEntity);
if ( pBreakable )
{
// ROBIN: Do we want to only do this on func_breakables that are about to die?
//if ( pBreakable->HasSpawnFlags( SF_PHYSICS_BREAK_IMMEDIATELY ) )
return;
}
// Over our skill's minimum crash level?
int damageType = 0;
float flDamage = CalculatePhysicsImpactDamage( index, pEvent, gDefaultPlayerVehicleImpactDamageTable, 1.0, true, damageType );
if ( flDamage > 0 && m_flNoImpactDamageTime < gpGlobals->curtime )
{
Vector damagePos;
pEvent->pInternalData->GetContactPoint( damagePos );
Vector damageForce = pEvent->postVelocity[index] * pEvent->pObjects[index]->GetMass();
CTakeDamageInfo info( this, GetDriver(), damageForce, damagePos, flDamage, (damageType|DMG_VEHICLE) );
GetDriver()->TakeDamage( info );
}
}
int CPropVehicleDriveable::VPhysicsGetObjectList( IPhysicsObject **pList, int listMax )
{
return GetPhysics()->VPhysicsGetObjectList( pList, listMax );
}
//-----------------------------------------------------------------------------
// Purpose: Handle trace attacks from the physcannon
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::TraceAttack( const CTakeDamageInfo &info, const Vector &vecDir, trace_t *ptr, CDmgAccumulator *pAccumulator )
{
// If we've just been zapped by the physcannon, try and right ourselves
if ( info.GetDamageType() & DMG_PHYSGUN )
{
float flUprightStrength = GetUprightStrength();
if ( flUprightStrength )
{
// Update our strength value if we already have an upright controller
if ( m_hKeepUpright )
{
variant_t limitVariant;
limitVariant.SetFloat( flUprightStrength );
m_hKeepUpright->AcceptInput( "SetAngularLimit", this, this, limitVariant, USE_TOGGLE );
}
else
{
// If we don't have one, create an upright controller for us
m_hKeepUpright = CreateKeepUpright( GetAbsOrigin(), vec3_angle, this, GetUprightStrength(), false );
}
Assert( m_hKeepUpright );
variant_t emptyVariant;
m_hKeepUpright->AcceptInput( "TurnOn", this, this, emptyVariant, USE_TOGGLE );
// Turn off the keepupright after a short time
m_flTurnOffKeepUpright = gpGlobals->curtime + GetUprightTime();
SetNextThink( gpGlobals->curtime );
}
#ifdef HL2_EPISODIC
// Notify all children
for ( int i = 0; i < m_hPhysicsChildren.Count(); i++ )
{
if ( m_hPhysicsChildren[i] == NULL )
continue;
variant_t emptyVariant;
m_hPhysicsChildren[i]->AcceptInput( "VehiclePunted", info.GetAttacker(), this, emptyVariant, USE_TOGGLE );
}
#endif // HL2_EPISODIC
}
BaseClass::TraceAttack( info, vecDir, ptr, pAccumulator );
}
//=============================================================================
// Passenger carrier
//-----------------------------------------------------------------------------
// Purpose:
// Input : *pPassenger -
// bCompanion -
// Output : Returns true on success, false on failure.
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::NPC_CanEnterVehicle( CAI_BaseNPC *pPassenger, bool bCompanion )
{
// Always allowed unless a leaf class says otherwise
return true;
}
//-----------------------------------------------------------------------------
// Purpose:
// Input : *pPassenger -
// bCompanion -
// Output : Returns true on success, false on failure.
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::NPC_CanExitVehicle( CAI_BaseNPC *pPassenger, bool bCompanion )
{
// Always allowed unless a leaf class says otherwise
return true;
}
//-----------------------------------------------------------------------------
// Purpose:
// Input : *pPassenger -
// bCompanion -
// Output : Returns true on success, false on failure.
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::NPC_AddPassenger( CAI_BaseNPC *pPassenger, string_t strRoleName, int nSeatID )
{
// Must be allowed to enter
if ( NPC_CanEnterVehicle( pPassenger, true /*FIXME*/ ) == false )
return false;
IServerVehicle *pVehicleServer = GetServerVehicle();
if ( pVehicleServer != NULL )
return pVehicleServer->NPC_AddPassenger( pPassenger, strRoleName, nSeatID );
return true;
}
//-----------------------------------------------------------------------------
// Purpose:
// Input : *pPassenger -
// bCompanion -
//-----------------------------------------------------------------------------
bool CPropVehicleDriveable::NPC_RemovePassenger( CAI_BaseNPC *pPassenger )
{
// Must be allowed to exit
if ( NPC_CanExitVehicle( pPassenger, true /*FIXME*/ ) == false )
return false;
IServerVehicle *pVehicleServer = GetServerVehicle();
if ( pVehicleServer != NULL )
return pVehicleServer->NPC_RemovePassenger( pPassenger );
return true;
}
//-----------------------------------------------------------------------------
// Purpose:
// Input : *pVictim -
// &info -
//-----------------------------------------------------------------------------
void CPropVehicleDriveable::Event_KilledOther( CBaseEntity *pVictim, const CTakeDamageInfo &info )
{
CBaseEntity *pDriver = GetDriver();
if ( pDriver != NULL )
{
pDriver->Event_KilledOther( pVictim, info );
}
BaseClass::Event_KilledOther( pVictim, info );
}
//========================================================================================================================================
// FOUR WHEEL PHYSICS VEHICLE SERVER VEHICLE
//========================================================================================================================================
CFourWheelServerVehicle::CFourWheelServerVehicle( void )
{
// Setup our smoothing data
memset( &m_ViewSmoothing, 0, sizeof( m_ViewSmoothing ) );
m_ViewSmoothing.bClampEyeAngles = true;
m_ViewSmoothing.bDampenEyePosition = true;
m_ViewSmoothing.flPitchCurveZero = PITCH_CURVE_ZERO;
m_ViewSmoothing.flPitchCurveLinear = PITCH_CURVE_LINEAR;
m_ViewSmoothing.flRollCurveZero = ROLL_CURVE_ZERO;
m_ViewSmoothing.flRollCurveLinear = ROLL_CURVE_LINEAR;
}
#ifdef HL2_EPISODIC
ConVar r_JeepFOV( "r_JeepFOV", "82", FCVAR_CHEAT | FCVAR_REPLICATED );
#else
ConVar r_JeepFOV( "r_JeepFOV", "90", FCVAR_CHEAT | FCVAR_REPLICATED );
#endif // HL2_EPISODIC
//-----------------------------------------------------------------------------
// Purpose: Setup our view smoothing information
//-----------------------------------------------------------------------------
void CFourWheelServerVehicle::InitViewSmoothing( const Vector &vecOrigin, const QAngle &vecAngles )
{
m_ViewSmoothing.bWasRunningAnim = false;
m_ViewSmoothing.vecOriginSaved = vecOrigin;
m_ViewSmoothing.vecAnglesSaved = vecAngles;
m_ViewSmoothing.flFOV = r_JeepFOV.GetFloat();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CFourWheelServerVehicle::SetVehicle( CBaseEntity *pVehicle )
{
ASSERT( dynamic_cast<CPropVehicleDriveable*>(pVehicle) );
BaseClass::SetVehicle( pVehicle );
// Save this for view smoothing
if ( pVehicle != NULL )
{
m_ViewSmoothing.pVehicle = pVehicle->GetBaseAnimating();
}
}
//-----------------------------------------------------------------------------
// Purpose: Modify the player view/camera while in a vehicle
//-----------------------------------------------------------------------------
void CFourWheelServerVehicle::GetVehicleViewPosition( int nRole, Vector *pAbsOrigin, QAngle *pAbsAngles, float *pFOV /*= NULL*/ )
{
CBaseEntity *pDriver = GetPassenger( nRole );
if ( pDriver && pDriver->IsPlayer())
{
CBasePlayer *pPlayerDriver = ToBasePlayer( pDriver );
CPropVehicleDriveable *pVehicle = GetFourWheelVehicle();
SharedVehicleViewSmoothing( pPlayerDriver,
pAbsOrigin, pAbsAngles,
pVehicle->IsEnterAnimOn(), pVehicle->IsExitAnimOn(),
pVehicle->GetEyeExitEndpoint(),
&m_ViewSmoothing,
pFOV );
}
else
{
// NPCs are not supported
Assert( 0 );
}
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
const vehicleparams_t *CFourWheelServerVehicle::GetVehicleParams( void )
{
return &GetFourWheelVehiclePhysics()->GetVehicleParams();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
const vehicle_operatingparams_t *CFourWheelServerVehicle::GetVehicleOperatingParams( void )
{
return &GetFourWheelVehiclePhysics()->GetVehicleOperatingParams();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
const vehicle_controlparams_t *CFourWheelServerVehicle::GetVehicleControlParams( void )
{
return &GetFourWheelVehiclePhysics()->GetVehicleControls();
}
IPhysicsVehicleController *CFourWheelServerVehicle::GetVehicleController()
{
return GetFourWheelVehiclePhysics()->GetVehicleController();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
CPropVehicleDriveable *CFourWheelServerVehicle::GetFourWheelVehicle( void )
{
return (CPropVehicleDriveable *)m_pVehicle;
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
CFourWheelVehiclePhysics *CFourWheelServerVehicle::GetFourWheelVehiclePhysics( void )
{
CPropVehicleDriveable *pVehicle = GetFourWheelVehicle();
return pVehicle->GetPhysics();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
bool CFourWheelServerVehicle::IsVehicleUpright( void )
{
return (GetFourWheelVehicle()->IsOverturned() == false);
}
bool CFourWheelServerVehicle::IsVehicleBodyInWater()
{
return GetFourWheelVehicle()->IsVehicleBodyInWater();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
bool CFourWheelServerVehicle::IsPassengerEntering( void )
{
return GetFourWheelVehicle()->IsEnterAnimOn();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
bool CFourWheelServerVehicle::IsPassengerExiting( void )
{
return GetFourWheelVehicle()->IsExitAnimOn();
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CFourWheelServerVehicle::NPC_SetDriver( CNPC_VehicleDriver *pDriver )
{
if ( pDriver )
{
m_nNPCButtons = 0;
GetFourWheelVehicle()->m_hNPCDriver = pDriver;
GetFourWheelVehicle()->StartEngine();
SetVehicleVolume( 1.0 ); // Vehicles driven by NPCs are louder
// Set our owner entity to be the NPC, so it can path check without hitting us
GetFourWheelVehicle()->SetOwnerEntity( pDriver );
// Start Thinking
GetFourWheelVehicle()->SetNextThink( gpGlobals->curtime );
}
else
{
GetFourWheelVehicle()->m_hNPCDriver = NULL;
GetFourWheelVehicle()->StopEngine();
GetFourWheelVehicle()->SetOwnerEntity( NULL );
SetVehicleVolume( 0.5 );
}
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CFourWheelServerVehicle::NPC_DriveVehicle( void )
{
#ifdef HL2_DLL
if ( g_debug_vehicledriver.GetInt() )
{
if ( m_nNPCButtons )
{
Vector vecForward, vecRight;
GetFourWheelVehicle()->GetVectors( &vecForward, &vecRight, NULL );
if ( m_nNPCButtons & IN_FORWARD )
{
NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() + vecForward * 200, 0,255,0, true, 0.1 );
}
if ( m_nNPCButtons & IN_BACK )
{
NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() - vecForward * 200, 0,255,0, true, 0.1 );
}
if ( m_nNPCButtons & IN_MOVELEFT )
{
NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() - vecRight * 200 * -m_flTurnDegrees, 0,255,0, true, 0.1 );
}
if ( m_nNPCButtons & IN_MOVERIGHT )
{
NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() + vecRight * 200 * m_flTurnDegrees, 0,255,0, true, 0.1 );
}
if ( m_nNPCButtons & IN_JUMP )
{
NDebugOverlay::Box( GetFourWheelVehicle()->GetAbsOrigin(), -Vector(20,20,20), Vector(20,20,20), 0,255,0, true, 0.1 );
}
}
}
#endif
int buttonsChanged = m_nPrevNPCButtons ^ m_nNPCButtons;
int afButtonPressed = buttonsChanged & m_nNPCButtons; // The changed ones still down are "pressed"
int afButtonReleased = buttonsChanged & (~m_nNPCButtons); // The ones not down are "released"
CUserCmd fakeCmd;
fakeCmd.Reset();
fakeCmd.buttons = m_nNPCButtons;
fakeCmd.forwardmove += 200.0f * ( m_nNPCButtons & IN_FORWARD );
fakeCmd.forwardmove -= 200.0f * ( m_nNPCButtons & IN_BACK );
fakeCmd.sidemove -= 200.0f * ( m_nNPCButtons & IN_MOVELEFT );
fakeCmd.sidemove += 200.0f * ( m_nNPCButtons & IN_MOVERIGHT );
GetFourWheelVehicle()->DriveVehicle( gpGlobals->frametime, &fakeCmd, afButtonPressed, afButtonReleased );
m_nPrevNPCButtons = m_nNPCButtons;
// NPC's cheat by using analog steering.
GetFourWheelVehiclePhysics()->SetSteering( m_flTurnDegrees, 0 );
// Clear out attack buttons each frame
m_nNPCButtons &= ~IN_ATTACK;
m_nNPCButtons &= ~IN_ATTACK2;
}
//-----------------------------------------------------------------------------
// Purpose:
// Input : nWheelIndex -
// &vecPos -
//-----------------------------------------------------------------------------
bool CFourWheelServerVehicle::GetWheelContactPoint( int nWheelIndex, Vector &vecPos )
{
// Dig through a couple layers to get to our data
CFourWheelVehiclePhysics *pVehiclePhysics = GetFourWheelVehiclePhysics();
if ( pVehiclePhysics )
{
IPhysicsVehicleController *pVehicleController = pVehiclePhysics->GetVehicle();
if ( pVehicleController )
{
return pVehicleController->GetWheelContactPoint( nWheelIndex, &vecPos, NULL );
}
}
return false;
}
| [
"bernta1@msn.com"
] | bernta1@msn.com |
097a29a5deabab1e1f0256912733de32a7eeeab4 | b716098bd5191720f33ddd6fcda818568f004412 | /AMS/ThridParty/Lib_Best/default_head_message.h | 6661ac64487a85309333b762d2e1895c92c81743 | [] | no_license | lucky5237/AMS | 624888c52a2b7e1cb1b38cd8777e77c4d11f8138 | 70fc5267ccf28a6267938a220625945bfd22952e | refs/heads/master | 2020-04-03T15:17:29.219297 | 2018-12-26T08:54:22 | 2018-12-26T08:54:22 | 155,357,951 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,038 | h |
#ifndef DEFAULT_HEAD_MESSAGE_H
#define DEFAULT_HEAD_MESSAGE_H
#include"best_message.h"
#include <list>
#include <map>
#include <string>
#include "atomic_count.h"
#include "default_bestIteror.h"
#include "default_message_pool.h"
#include "default_best_data_message.h"
#include "default_best_field.h"
#include <string.h>
using namespace best_protocol;
#pragma pack(1)
typedef struct BestHeadStruct_t
{
BestHeadStruct_t()
{
memset(this, 0, sizeof(BestHeadStruct_t));
}
int32 head_length;
int32 content_length;
}BestHeadStruct;
#pragma pack()
class DefaultBestHeadMessage :public IBestHeadMessage
{
private:
atomic_count m_ref;
PROTOCAL_TYPE m_protocol_type;
DefaultBestDataMessage* m_data_msg;
public:
DefaultBestHeadMessage()
{
m_status = 0;
m_best_buffer = NULL;
m_data_msg = NULL;
memset(&m_best_head_struct, 0, sizeof(BestHeadStruct));
m_defaultIterator.Initail(&m_best_field_map);
}
virtual ~DefaultBestHeadMessage(){}
///获取头部长度,0表示当前无法获取头部长度
virtual int32 BEST_FUNCTION_CALL_MODE GetHeadLength();
///获取数据长度,0表示当前无法获取数据长度
virtual int32 BEST_FUNCTION_CALL_MODE GetDataLength();
virtual void BEST_FUNCTION_CALL_MODE SetDataLength(int32 data_lenght);
/******************************************设置数据层******************************************/
///设置数据层消息
virtual int32 BEST_FUNCTION_CALL_MODE SetDataMessage(IBestDataMessage* data_msg);
///获取数据层消息
virtual IBestDataMessage* BEST_FUNCTION_CALL_MODE GetDataMessage();
///从另一个消息复制到自身
virtual int32 BEST_FUNCTION_CALL_MODE CopyFrom(const IBestHeadMessage* other);
///复制自身
virtual IBestHeadMessage* BEST_FUNCTION_CALL_MODE Clone();
/**********************************获取和设置*************************/
///获取$tag的字段,NULL表示不存在
virtual IBestField* BEST_FUNCTION_CALL_MODE GetField(const int32& tag);
///设置$tag的字段
virtual void BEST_FUNCTION_CALL_MODE SetField(const int32& tag, IBestField* field);
///判断$tag的字段是否存在
virtual bool BEST_FUNCTION_CALL_MODE IsExistField(const int32& tag);
///获取字段迭代器
virtual BestIterator* BEST_FUNCTION_CALL_MODE GetIterator(){ return &m_defaultIterator; }
//获取当前字段的协议
virtual const PROTOCAL_TYPE BEST_FUNCTION_CALL_MODE GetProtocal();
private:
DefaultBestMapIterator m_defaultIterator;
BestBuffer* m_best_buffer;
int32 m_status;
public:
std::map<int, IBestField*> m_best_field_map;
BestHeadStruct m_best_head_struct;
public:
/************************IBestBase接口*************************/
///增加引用计数,返回自身
virtual IBestBase* BEST_FUNCTION_CALL_MODE AddRef();
///减少引用计数,当为0时释放自身
virtual uint64 BEST_FUNCTION_CALL_MODE Release();
///返回BEST对象类型
virtual BEST_OBJECT_TYPE BEST_FUNCTION_CALL_MODE GetBestType(){ return OBJ_NONE; }
///设置所属对象
virtual int32 BEST_FUNCTION_CALL_MODE SetOwner(IBestBase* best_base){ return 0; }
///获取所属对象
virtual IBestBase* BEST_FUNCTION_CALL_MODE GetOwner(){ return 0; }
/****************************IBestStream接口******************************/
///序列化对象
virtual const void* BEST_FUNCTION_CALL_MODE Serialize(int32* len);
///反序列化
virtual int32 BEST_FUNCTION_CALL_MODE Deserialize();
///设置流
virtual int32 BEST_FUNCTION_CALL_MODE SetBuffer(const void* buffer, const int32& len);
///获取流
virtual void* BEST_FUNCTION_CALL_MODE GetBuffer(int32* len);
///返回流状态. 1:可用 0:不可用
virtual int32 BEST_FUNCTION_CALL_MODE Status(){ return m_status; }
///设置序列化器
virtual int32 BEST_FUNCTION_CALL_MODE SetBestSerializer(IBestSerializer* serializer){ return 0; }
///获取序列化器
virtual IBestSerializer* BEST_FUNCTION_CALL_MODE GetBestSerializer(){ return 0; }
virtual int32 BEST_FUNCTION_CALL_MODE SetProtocal(PROTOCAL_TYPE protpcal);
int ReleaseBuffer();
};
#endif | [
"815093244@qq.com"
] | 815093244@qq.com |
f11f603e878c6482a89792ade118bcf71fba9b5c | f9ddff93820b2880a84c55ea931f3e6cbf11602c | /src/logging/CallbackSink.cpp | 47c9f2ec235e9d391a71f21cbb41ddfc648084ce | [
"MIT"
] | permissive | PetrFlajsingr/realistic_voxel_scene_rendering_in_real_time | 4753844598ad4186564690a3bd8537b9fcd781aa | 066fa5efa0eb5ddba50cab360219fd77b7ec9b94 | refs/heads/master | 2023-06-20T21:23:00.637726 | 2021-07-27T17:29:39 | 2021-07-27T17:29:39 | 298,024,829 | 0 | 0 | null | 2021-07-27T17:29:40 | 2020-09-23T16:09:42 | C++ | UTF-8 | C++ | false | false | 732 | cpp | /**
* @file CallbackSink.cpp
* @brief An spdlog sink which calls a function on log.
* @author Petr Flajšingr
* @date 2.11.20
*/
#include "CallbackSink.h"
#include <mutex>
#include <spdlog/details/pattern_formatter.h>
void CallbackSink::log(const spdlog::details::log_msg &msg) {
spdlog::memory_buf_t formatted;
formatter->format(msg, formatted);
callback(std::string(formatted.data(), formatted.size()));
}
void CallbackSink::flush() {}
void CallbackSink::set_pattern(const std::string &pattern) {
formatter = std::unique_ptr<spdlog::formatter>(new spdlog::pattern_formatter(pattern));
}
void CallbackSink::set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) {
formatter = std::move(sink_formatter);
}
| [
"xflajs00@stud.fit.vutbr.cz"
] | xflajs00@stud.fit.vutbr.cz |
9af0808fee9bd82e5e699eb538dc39c3ae8445c8 | 72a3dac9a4ccd429c00b9de7a503b596a80efde0 | /Bellman-Ford.cpp | 547eca298da8d38caf4d101efec26cfc63385fca | [] | no_license | hemantmangwani/ALGORITHM-AND-DATA-STRUCTURES | f1391661745c69d79a21df4278ff056e120efa25 | 9347881f53b2732295c8b01a2caf102966cd281c | refs/heads/master | 2021-01-01T17:12:34.500776 | 2018-03-25T19:28:10 | 2018-03-25T19:28:10 | 98,023,597 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | #include <bits/stdc++.h>
#define ll long long
#define T ll t; cin>>t; while(t--)
using namespace std;
#define speed ios_base::sync_with_stdio(0)
#define endl "\n"
#define MAX 1000000001
int main()
{
vector <int> v [2000 + 10];
int dis [1000 + 10];
ll n,e;
cin>>n>>e;
for(int i = 0; i < e + 2; i++){
v[i].clear();
dis[i] = MAX;
}
for(int i = 0; i < e; i++){
ll from , next , weight;
scanf("%d%d%d", &from , &next , &weight);
v[i].push_back(from);
v[i].push_back(next);
v[i].push_back(weight);
}
// for(int i = 0; i < e; i++){
// cout<<"i= "<<i<<endl;
// for(int j = 0; j < 3; j++){
// cout<< v[i][j]<<" ";
// }
// cout<<endl;
// }
dis[1] = 0;
for(int i = 0; i <= n - 1; i++){
int j = 0;
while(v[j].size() != 0){
if(dis[ v[j][0] ] + v[j][2] < dis[ v[j][1] ] ){
dis[ v[j][1] ] = dis[ v[j][0] ] + v[j][2];
}
j++;
}
}
for(int i = 1; i <= n ; i++)
cout<<dis[i]<<" ";
return 0;
}
| [
"hemantmangwani99@gmail.com"
] | hemantmangwani99@gmail.com |
231d7a6988d723a48d294ac4709b75da330b1d78 | 7ff405fee11f309e6883c68129d9c4f1a7f13728 | /strategy.cpp | 96009f3345c9c54b4456bd4f25a09dafb5d8336b | [] | no_license | ShowYouShowme/designPattern | f33fc4b5bca986ad7904fb4e97e38b1a450b800f | 30aed8641627957fa0d836bdac0bfa15130fb41a | refs/heads/master | 2020-03-19T03:55:00.228487 | 2018-07-01T09:09:48 | 2018-07-01T09:09:48 | 135,774,695 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,074 | cpp | #include <string>
#include <iostream>
#include <memory>
namespace StrategyPattern
{
struct ITravelStrategy
{
virtual void travel() = 0;
};
class AirplaneStrategy : public ITravelStrategy
{
public:
virtual void travel();
};
class TrainStrategy : public ITravelStrategy
{
public:
virtual void travel();
};
class BicycleStrategy : public ITravelStrategy
{
public:
virtual void travel();
};
class Person
{
private:
std::shared_ptr<ITravelStrategy> m_strategy;
public:
void setStrategy(std::shared_ptr<ITravelStrategy> strategy);
void travel();
};
void AirplaneStrategy::travel()
{
std::cout << "travel by airplane" + std::string("\n");
}
void TrainStrategy::travel()
{
std::cout << "travel by train" + std::string("\n");
}
void BicycleStrategy::travel()
{
std::cout << "travel by bicycle" + std::string("\n");
}
void Person::setStrategy(std::shared_ptr<ITravelStrategy> strategy)
{
this->m_strategy = strategy;
}
void Person::travel()
{
this->m_strategy->travel();
}
class Client
{
public:
static void main()
{
std::shared_ptr<ITravelStrategy> t1 = std::make_shared<AirplaneStrategy>();
std::shared_ptr<ITravelStrategy> t2 = std::make_shared<TrainStrategy>();
std::shared_ptr<ITravelStrategy> t3 = std::make_shared<BicycleStrategy>();
std::shared_ptr<Person> p = std::make_shared<Person>();
p->setStrategy(t1);
p->travel();
std::cout << "--------------------" << std::endl;
p->setStrategy(t2);
p->travel();
std::cout << "--------------------" << std::endl;
p->setStrategy(t3);
p->travel();
std::cout << "--------------------" << std::endl;
}
};
}
//不使用策略模式的写法
namespace NoStrategy
{
class Person
{
public:
//将算法硬编码进去
void travel(std::string vehicle)
{
if (vehicle == "Airplane")
{
this->airplaneTravel();
}
else if (vehicle == "Train")
{
this->trainTravel();
}
else if (vehicle == "bicycle")
{
this->bicycleTravel();
}
}
private:
void airplaneTravel()
{
std::cout << "travel by airplane" << std::endl;
}
void trainTravel()
{
std::cout << "travel by train" << std::endl;
}
void bicycleTravel()
{
std::cout << "travel by bicycle" << std::endl;
}
};
}
int main()
{
//StrategyPattern::Client::main();
std::shared_ptr<NoStrategy::Person> p = std::make_shared<NoStrategy::Person>();
p->travel("Airplane");
p->travel("Train");
p->travel("bicycle");
return 1;
} | [
"861949775@qq.com"
] | 861949775@qq.com |
7cc65fc949162aa2d4c4fa4243e12d1e58a1eeab | 35570789ac21d1d30d36e0363c2565b0dcf6f2d4 | /1-text/print.cpp | f73d41c16910cc88011d43276aa4d5bc833ea6c2 | [] | no_license | NathanMcMillan54/basic-cpp | 3ac80ce37082bbbdd7a415c255a6789162f31a7b | a578f98f2ae0a6735c3084e35187212849768638 | refs/heads/main | 2022-12-30T10:23:22.624886 | 2020-10-15T19:39:40 | 2020-10-15T19:39:40 | 303,002,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include <iostream>
int main() {
std::cout << "C++ print statement!" << std::endl;
return 0;
}
| [
"nathanmcmillan54@gmail.com"
] | nathanmcmillan54@gmail.com |
42159c2be851d6924c6ca50f71b77897534a0727 | 39b9571ecc80165874ea4ef2bd55d73921963da7 | /tests/kernel_run_neighborhood_search_kernel/run_neighborhood_search_kernel.cpp | 45c444c645d28e612dfcc6c8803d57ae6d91c56f | [
"BSD-3-Clause"
] | permissive | OrangeBaoWang/AutoTuneTMP | 2b43dff6b922c2a788f6438644b7f72ddabdf44d | f5fb836778b04c2ab0fbcc4d36c466e577e96e65 | refs/heads/master | 2022-03-30T18:44:26.271885 | 2019-12-24T16:31:37 | 2019-12-24T16:31:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include <chrono>
#include <cmath>
#include <iostream>
#include <thread>
#include "autotune_kernel.hpp"
AUTOTUNE_EXPORT int run_neighborhood_search_kernel(int a) {
// use quadratic cost function
double value = std::fabs(static_cast<double>(PAR_1) - 2.0) +
std::fabs(static_cast<double>(PAR_2) - 3.0);
value *= 100;
std::this_thread::sleep_for(
std::chrono::milliseconds(static_cast<size_t>(value)));
return a + 3;
}
| [
"David.Pfander@ipvs.uni-stuttgart.de"
] | David.Pfander@ipvs.uni-stuttgart.de |
eb08f1f1cdfb569477a6f1f43da89ebddb4f4bf3 | 1435e3531731d27cb1e82888dace27a1edfbcaa1 | /ezEngine-rev858/Code/Engine/Foundation/Threading/Implementation/TaskWorkers.cpp | 7bd8ef73fe218b33928c0f01f1ada80a8e2ca7b4 | [] | no_license | lab132/toolbox | cf7ec9b3e6076169d8b1e12c24d0e2a273ee90be | 30f85d07fbbdde461f9027e651fc6cbbfe2f15c5 | refs/heads/master | 2020-04-26T19:40:38.059086 | 2015-11-08T14:35:09 | 2015-11-08T14:35:09 | 42,679,912 | 0 | 0 | null | 2015-10-28T13:57:32 | 2015-09-17T20:21:41 | C | UTF-8 | C++ | false | false | 6,336 | cpp | #include <Foundation/PCH.h>
#include <Foundation/Threading/TaskSystem.h>
#include <Foundation/Threading/Lock.h>
#include <Foundation/Configuration/Startup.h>
#include <Foundation/Math/Math.h>
#include <Foundation/System/SystemInformation.h>
// Helper function to generate a nice thread name.
static const char* GenerateThreadName(ezWorkerThreadType::Enum ThreadType, ezUInt32 iThreadNumber)
{
static ezStringBuilder sTemp;
switch (ThreadType)
{
case ezWorkerThreadType::ShortTasks:
sTemp.Format("Short Tasks %i", iThreadNumber + 1);
break;
case ezWorkerThreadType::LongTasks:
sTemp.Format("Long Tasks %i", iThreadNumber + 1);
break;
case ezWorkerThreadType::FileAccess:
if (iThreadNumber > 0)
sTemp.Format("Resource Loading %i", iThreadNumber + 1);
else
sTemp = "Resource Loading";
break;
case ezWorkerThreadType::ENUM_COUNT:
EZ_REPORT_FAILURE("Invalid Thread Type");
break;
}
return sTemp.GetData();
}
ezTaskWorkerThread::ezTaskWorkerThread(ezWorkerThreadType::Enum ThreadType, ezUInt32 iThreadNumber) : ezThread(GenerateThreadName(ThreadType, iThreadNumber))
{
m_bActive = true;
m_WorkerType = ThreadType;
m_uiWorkerThreadNumber = iThreadNumber;
m_bExecutingTask = false;
m_ThreadUtilization = 0.0;
m_iTasksExecutionCounter = 0;
m_uiNumTasksExecuted = 0;
}
bool ezTaskSystem::IsLoadingThread()
{
if (s_WorkerThreads[ezWorkerThreadType::FileAccess].IsEmpty())
return false;
return ezThreadUtils::GetCurrentThreadID() == s_WorkerThreads[ezWorkerThreadType::FileAccess][0]->GetThreadID();
}
void ezTaskSystem::StopWorkerThreads()
{
// tell all threads that they should terminate
for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type)
{
for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i)
{
s_WorkerThreads[type][i]->m_bActive = false;
}
}
bool bWorkersStillRunning = true;
// as long as any worker thread is still active, send the wake up signal
while (bWorkersStillRunning)
{
bWorkersStillRunning = false;
for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type)
{
for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i)
{
if (s_WorkerThreads[type][i]->GetThreadStatus() != ezThread::Finished)
{
bWorkersStillRunning = true;
// send a signal
s_TasksAvailableSignal[type].RaiseSignal();
// waste some time
ezThreadUtils::YieldTimeSlice();
}
}
}
}
for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type)
{
for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i)
{
s_WorkerThreads[type][i]->Join();
EZ_DEFAULT_DELETE(s_WorkerThreads[type][i]);
}
s_WorkerThreads[type].Clear();
}
}
void ezTaskSystem::SetWorkThreadCount(ezInt8 iShortTasks, ezInt8 iLongTasks)
{
ezSystemInformation info = ezSystemInformation::Get();
// these settings are supposed to be a sensible default for most applications
// an app can of course change that to optimize for its own usage
// 1 on single core, dual core, tri core CPUs, 2 on Quad core, 4 on six cores and up
if (iShortTasks <= 0)
iShortTasks = ezMath::Clamp<ezInt8>(info.GetCPUCoreCount() - 2, 1, 4);
// 1 on single core, dual core, tri core CPUs, 2 on Quad core, 4 on six cores, 6 on eight cores and up
if (iLongTasks <= 0)
iLongTasks = ezMath::Clamp<ezInt8>(info.GetCPUCoreCount() - 2, 1, 6);
// plus there is always one additional 'file access' thread
// and the main thread, of course
iShortTasks = ezMath::Max<ezInt8>(iShortTasks, 1);
iLongTasks = ezMath::Max<ezInt8>(iLongTasks, 1);
// if nothing has changed, do nothing
if (s_WorkerThreads[ezWorkerThreadType::ShortTasks].GetCount() == iShortTasks && s_WorkerThreads[ezWorkerThreadType::LongTasks].GetCount() == iLongTasks)
return;
StopWorkerThreads();
s_WorkerThreads[ezWorkerThreadType::ShortTasks].SetCount(iShortTasks);
s_WorkerThreads[ezWorkerThreadType::LongTasks].SetCount(iLongTasks);
s_WorkerThreads[ezWorkerThreadType::FileAccess].SetCount(1);
for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type)
{
for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i)
{
s_WorkerThreads[type][i] = EZ_DEFAULT_NEW(ezTaskWorkerThread)((ezWorkerThreadType::Enum) type, i);
s_WorkerThreads[type][i]->Start();
}
}
}
ezUInt32 ezTaskWorkerThread::Run()
{
ezTaskPriority::Enum FirstPriority = ezTaskPriority::EarlyThisFrame;
ezTaskPriority::Enum LastPriority = ezTaskPriority::LateNextFrame;
if (m_WorkerType == ezWorkerThreadType::LongTasks)
{
FirstPriority = ezTaskPriority::LongRunningHighPriority;
LastPriority = ezTaskPriority::LongRunning;
}
else
if (m_WorkerType == ezWorkerThreadType::FileAccess)
{
FirstPriority = ezTaskPriority::FileAccessHighPriority;
LastPriority = ezTaskPriority::FileAccess;
}
EZ_ASSERT_DEBUG(m_WorkerType < ezWorkerThreadType::ENUM_COUNT, "Worker Thread Type is invalid: %i", m_WorkerType);
m_bExecutingTask = false;
while (m_bActive)
{
if (!m_bExecutingTask)
{
m_bExecutingTask = true;
m_StartedWorking = ezTime::Now();
}
if (!ezTaskSystem::ExecuteTask(FirstPriority, LastPriority))
{
// if no work is currently available, wait for the signal that new work has been added
m_ThreadActiveTime += ezTime::Now() - m_StartedWorking;
m_bExecutingTask = false;
ezTaskSystem::s_TasksAvailableSignal[m_WorkerType].WaitForSignal();
}
else
m_iTasksExecutionCounter.Increment();
}
return 0;
}
void ezTaskWorkerThread::ComputeThreadUtilization(ezTime TimePassed)
{
const ezTime tActive = GetAndResetThreadActiveTime();
m_ThreadUtilization = tActive.GetSeconds() / TimePassed.GetSeconds();
m_uiNumTasksExecuted = m_iTasksExecutionCounter.Set(0);
}
ezTime ezTaskWorkerThread::GetAndResetThreadActiveTime()
{
ezTime tActive = m_ThreadActiveTime;
m_ThreadActiveTime = ezTime::Seconds(0.0);
if (m_bExecutingTask)
{
const ezTime tNow = ezTime::Now();
tActive += tNow - m_StartedWorking;
m_StartedWorking = tNow;
}
return tActive;
}
EZ_STATICLINK_FILE(Foundation, Foundation_Threading_Implementation_TaskWorkers);
| [
"mjmaier@gmx.de"
] | mjmaier@gmx.de |
3b0d20c4f61da8009d83f8078ed65f48248471c1 | fa3d0479fe227ae56cbfbbd81c551cd03c19d11c | /2019_12/truck.cpp | 9f4323604300a12add2042986d4f3882eb617e26 | [] | no_license | jineeKim/Algorithm | d620cb2be7ac7cba7388412bc890c287f7e86c0d | 7ed7c7beef00cfcab7ae86be876362c6e9386c03 | refs/heads/master | 2021-08-22T15:37:39.843825 | 2021-07-13T14:58:30 | 2021-07-13T14:58:30 | 197,169,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 862 | cpp | #include <string>
#include <vector>
#include <queue>
using namespace std;
int solution(int bridge_length, int weight, vector<int> truck_weights) {
int answer = 0;
queue <int> q;
int max_size = 0;
int size = 0;
for (int i = 0; i < truck_weights.size(); i++) {
size = truck_weights[i];
while (1) {
if (q.empty()) {
q.push(size);
max_size += size;
answer++;
break;
}
else if (q.size() == bridge_length) {
max_size -= q.front();
q.pop();
}
else {
if (size + max_size > weight) {
q.push(0);
answer++;
}
else {
q.push(size);
max_size += size;
answer++;
break;
}
}
}
}
return answer + bridge_length;
}
int main() {
int bridge_length = 2;
int weight = 10;
vector<int> truck_weights = { 7,4,5,6 };
solution(bridge_length, weight, truck_weights);
return 0;
} | [
"jin03hee16@gmail.com"
] | jin03hee16@gmail.com |
28aa855ba94d75ffaeb6de8dbbb0401e7a0c9a91 | a54fe9cae6998342e99983d5bab0e20c445ae88e | /src/GroupBox.cpp | 2876c834938cea2da98b3469aad80aaa1dcdde17 | [] | no_license | lordio/StreamControlPanel | f286e2b40221ed160e93249b08760b0d6fab664f | 293785709ee1752efef314ec9549e5cdcd35c557 | refs/heads/master | 2021-01-01T15:45:14.015897 | 2015-01-28T20:52:28 | 2015-01-28T20:52:28 | 29,987,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include "GroupBox.hpp"
GroupBox::GroupBox(BaseWindow & parent, tstring label, RECT rect, HFONT font) :
BaseWindow{ WC_BUTTON, label, BS_GROUPBOX | WS_CHILD, NULL, rect, &parent, font }
{
}
GroupBox::~GroupBox()
{
} | [
"lordio0190@gmail.com"
] | lordio0190@gmail.com |
900e59284ba25a350c9c388e0fe23c1f1a3d6151 | 92b13c76782fe6d126167f1ba7ce4a9a297529e1 | /hpp/Request.hpp | f33c7e9002f9d0617e37b5bcd69ef289394eb82b | [] | no_license | AlexanderPinkerton/PoloniexAPIWrapper | ea2aad7f2a3b0f2a1a61e2ad667f0396663c1fd9 | 417eceeb66e3277fa8d1de4c16a404310bc76890 | refs/heads/master | 2021-01-22T18:50:09.028236 | 2017-03-15T21:11:14 | 2017-03-15T21:11:14 | 85,118,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | hpp | #pragma once
#include <QCoreApplication>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
class Request
{
private:
QEventLoop eventLoop;
QNetworkAccessManager mgr;
std::string url = "";
public:
std::string response = "";
//Constructor taking the complete url to be sent to API
Request(std::string & completeUrl);
//This method should return false if the request was bad
//It should also update the response if success
bool sendRequest();
};
| [
"alex@osboxes"
] | alex@osboxes |
466e498269ca39b7112cadea787575bdc8306a86 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_7466.cpp | 7749c0176770400d9ad3c431b296ab550fdec453 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | {
struct commit *commit;
if (prepare_revision_walk(rev))
die("revision walk setup failed");
while ((commit = get_revision(rev)) != NULL) {
const char *author = NULL, *buffer;
| [
"993273596@qq.com"
] | 993273596@qq.com |
9a6d2798737bce2c8b476da62958f5eaa6e74ac8 | 2f92193dcdf5bdb9c6e6b1877dcb89d7be0d8731 | /src/rpc/server.cpp | 9ca799528a4cb1a7269089db59c6f7a9fed3bda1 | [
"MIT"
] | permissive | Ltedeveloper/LTE-core | 21e83ed3eaf4bf597fbc7c53fe7312cd48dfe0e4 | 1410327c5139c6d74cd8f0035e976b98878342d8 | refs/heads/master | 2021-05-12T06:36:22.403299 | 2018-11-09T01:37:02 | 2018-11-09T01:37:02 | 117,222,291 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 17,556 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/server.h"
#include "base58.h"
#include "fs.h"
#include "init.h"
#include "random.h"
#include "sync.h"
#include "ui_interface.h"
#include "util.h"
#include "utilstrencodings.h"
#include <univalue.h>
#include <boost/bind.hpp>
#include <boost/signals2/signal.hpp>
#include <boost/algorithm/string/case_conv.hpp> // for to_upper()
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <memory> // for unique_ptr
#include <unordered_map>
static bool fRPCRunning = false;
static bool fRPCInWarmup = true;
static std::string rpcWarmupStatus("RPC server started");
static CCriticalSection cs_rpcWarmup;
/* Timer-creating functions */
static RPCTimerInterface* timerInterface = nullptr;
/* Map of name to timer. */
static std::map<std::string, std::unique_ptr<RPCTimerBase> > deadlineTimers;
static struct CRPCSignals
{
boost::signals2::signal<void ()> Started;
boost::signals2::signal<void ()> Stopped;
boost::signals2::signal<void (const CRPCCommand&)> PreCommand;
} g_rpcSignals;
void RPCServer::OnStarted(std::function<void ()> slot)
{
g_rpcSignals.Started.connect(slot);
}
void RPCServer::OnStopped(std::function<void ()> slot)
{
g_rpcSignals.Stopped.connect(slot);
}
void RPCServer::OnPreCommand(std::function<void (const CRPCCommand&)> slot)
{
g_rpcSignals.PreCommand.connect(boost::bind(slot, _1));
}
void RPCTypeCheck(const UniValue& params,
const std::list<UniValue::VType>& typesExpected,
bool fAllowNull)
{
unsigned int i = 0;
for (UniValue::VType t : typesExpected)
{
if (params.size() <= i)
break;
const UniValue& v = params[i];
if (!(fAllowNull && v.isNull())) {
RPCTypeCheckArgument(v, t);
}
i++;
}
}
void RPCTypeCheckArgument(const UniValue& value, UniValue::VType typeExpected)
{
if (value.type() != typeExpected) {
throw JSONRPCError(RPC_TYPE_ERROR, strprintf("Expected type %s, got %s", uvTypeName(typeExpected), uvTypeName(value.type())));
}
}
void RPCTypeCheckObj(const UniValue& o,
const std::map<std::string, UniValueType>& typesExpected,
bool fAllowNull,
bool fStrict)
{
for (const auto& t : typesExpected) {
const UniValue& v = find_value(o, t.first);
if (!fAllowNull && v.isNull())
throw JSONRPCError(RPC_TYPE_ERROR, strprintf("Missing %s", t.first));
if (!(t.second.typeAny || v.type() == t.second.type || (fAllowNull && v.isNull()))) {
std::string err = strprintf("Expected type %s for %s, got %s",
uvTypeName(t.second.type), t.first, uvTypeName(v.type()));
throw JSONRPCError(RPC_TYPE_ERROR, err);
}
}
if (fStrict)
{
for (const std::string& k : o.getKeys())
{
if (typesExpected.count(k) == 0)
{
std::string err = strprintf("Unexpected key %s", k);
throw JSONRPCError(RPC_TYPE_ERROR, err);
}
}
}
}
CAmount AmountFromValue(const UniValue& value)
{
if (!value.isNum() && !value.isStr())
throw JSONRPCError(RPC_TYPE_ERROR, "Amount is not a number or string");
CAmount amount;
if (!ParseFixedPoint(value.getValStr(), 8, &amount))
throw JSONRPCError(RPC_TYPE_ERROR, "Invalid amount");
if (!MoneyRange(amount))
throw JSONRPCError(RPC_TYPE_ERROR, "Amount out of range");
return amount;
}
uint256 ParseHashV(const UniValue& v, std::string strName)
{
std::string strHex;
if (v.isStr())
strHex = v.get_str();
if (!IsHex(strHex)) // Note: IsHex("") is false
throw JSONRPCError(RPC_INVALID_PARAMETER, strName+" must be hexadecimal string (not '"+strHex+"')");
if (64 != strHex.length())
throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("%s must be of length %d (not %d)", strName, 64, strHex.length()));
uint256 result;
result.SetHex(strHex);
return result;
}
uint256 ParseHashO(const UniValue& o, std::string strKey)
{
return ParseHashV(find_value(o, strKey), strKey);
}
std::vector<unsigned char> ParseHexV(const UniValue& v, std::string strName)
{
std::string strHex;
if (v.isStr())
strHex = v.get_str();
if (!IsHex(strHex))
throw JSONRPCError(RPC_INVALID_PARAMETER, strName+" must be hexadecimal string (not '"+strHex+"')");
return ParseHex(strHex);
}
std::vector<unsigned char> ParseHexO(const UniValue& o, std::string strKey)
{
return ParseHexV(find_value(o, strKey), strKey);
}
/**
* Note: This interface may still be subject to change.
*/
std::string CRPCTable::help(const std::string& strCommand, const JSONRPCRequest& helpreq) const
{
std::string strRet;
std::string category;
std::set<rpcfn_type> setDone;
std::vector<std::pair<std::string, const CRPCCommand*> > vCommands;
for (std::map<std::string, const CRPCCommand*>::const_iterator mi = mapCommands.begin(); mi != mapCommands.end(); ++mi)
vCommands.push_back(make_pair(mi->second->category + mi->first, mi->second));
sort(vCommands.begin(), vCommands.end());
JSONRPCRequest jreq(helpreq);
jreq.fHelp = true;
jreq.params = UniValue();
for (const std::pair<std::string, const CRPCCommand*>& command : vCommands)
{
const CRPCCommand *pcmd = command.second;
std::string strMethod = pcmd->name;
if ((strCommand != "" || pcmd->category == "hidden") && strMethod != strCommand)
continue;
jreq.strMethod = strMethod;
try
{
rpcfn_type pfn = pcmd->actor;
if (setDone.insert(pfn).second)
(*pfn)(jreq);
}
catch (const std::exception& e)
{
// Help text is returned in an exception
std::string strHelp = std::string(e.what());
if (strCommand == "")
{
if (strHelp.find('\n') != std::string::npos)
strHelp = strHelp.substr(0, strHelp.find('\n'));
if (category != pcmd->category)
{
if (!category.empty())
strRet += "\n";
category = pcmd->category;
std::string firstLetter = category.substr(0,1);
boost::to_upper(firstLetter);
strRet += "== " + firstLetter + category.substr(1) + " ==\n";
}
}
strRet += strHelp + "\n";
}
}
if (strRet == "")
strRet = strprintf("help: unknown command: %s\n", strCommand);
strRet = strRet.substr(0,strRet.size()-1);
return strRet;
}
UniValue help(const JSONRPCRequest& jsonRequest)
{
if (jsonRequest.fHelp || jsonRequest.params.size() > 1)
throw std::runtime_error(
"help ( \"command\" )\n"
"\nList all commands, or get help for a specified command.\n"
"\nArguments:\n"
"1. \"command\" (string, optional) The command to get help on\n"
"\nResult:\n"
"\"text\" (string) The help text\n"
);
std::string strCommand;
if (jsonRequest.params.size() > 0)
strCommand = jsonRequest.params[0].get_str();
return tableRPC.help(strCommand, jsonRequest);
}
UniValue stop(const JSONRPCRequest& jsonRequest)
{
// Accept the deprecated and ignored 'detach' boolean argument
if (jsonRequest.fHelp || jsonRequest.params.size() > 1)
throw std::runtime_error(
"stop\n"
"\nStop LTE server.");
// Event loop will exit after current HTTP requests have been handled, so
// this reply will get back to the client.
StartShutdown();
return "LTE server stopping";
}
UniValue uptime(const JSONRPCRequest& jsonRequest)
{
if (jsonRequest.fHelp || jsonRequest.params.size() > 1)
throw std::runtime_error(
"uptime\n"
"\nReturns the total uptime of the server.\n"
"\nResult:\n"
"ttt (numeric) The number of seconds that the server has been running\n"
"\nExamples:\n"
+ HelpExampleCli("uptime", "")
+ HelpExampleRpc("uptime", "")
);
return GetTime() - GetStartupTime();
}
/**
* Call Table
*/
static const CRPCCommand vRPCCommands[] =
{ // category name actor (function) okSafe argNames
// --------------------- ------------------------ ----------------------- ------ ----------
/* Overall control/query calls */
{ "control", "help", &help, true, {"command"} },
{ "control", "stop", &stop, true, {} },
{ "control", "uptime", &uptime, true, {} },
};
CRPCTable::CRPCTable()
{
unsigned int vcidx;
for (vcidx = 0; vcidx < (sizeof(vRPCCommands) / sizeof(vRPCCommands[0])); vcidx++)
{
const CRPCCommand *pcmd;
pcmd = &vRPCCommands[vcidx];
mapCommands[pcmd->name] = pcmd;
}
}
const CRPCCommand *CRPCTable::operator[](const std::string &name) const
{
std::map<std::string, const CRPCCommand*>::const_iterator it = mapCommands.find(name);
if (it == mapCommands.end())
return nullptr;
return (*it).second;
}
bool CRPCTable::appendCommand(const std::string& name, const CRPCCommand* pcmd)
{
if (IsRPCRunning())
return false;
// don't allow overwriting for now
std::map<std::string, const CRPCCommand*>::const_iterator it = mapCommands.find(name);
if (it != mapCommands.end())
return false;
mapCommands[name] = pcmd;
return true;
}
bool StartRPC()
{
LogPrint(BCLog::RPC, "Starting RPC\n");
fRPCRunning = true;
g_rpcSignals.Started();
return true;
}
void InterruptRPC()
{
LogPrint(BCLog::RPC, "Interrupting RPC\n");
// Interrupt e.g. running longpolls
fRPCRunning = false;
}
void StopRPC()
{
LogPrint(BCLog::RPC, "Stopping RPC\n");
deadlineTimers.clear();
DeleteAuthCookie();
g_rpcSignals.Stopped();
}
bool IsRPCRunning()
{
return fRPCRunning;
}
void SetRPCWarmupStatus(const std::string& newStatus)
{
LOCK(cs_rpcWarmup);
rpcWarmupStatus = newStatus;
}
void SetRPCWarmupFinished()
{
LOCK(cs_rpcWarmup);
assert(fRPCInWarmup);
fRPCInWarmup = false;
}
bool RPCIsInWarmup(std::string *outStatus)
{
LOCK(cs_rpcWarmup);
if (outStatus)
*outStatus = rpcWarmupStatus;
return fRPCInWarmup;
}
void JSONRPCRequest::parse(const UniValue& valRequest)
{
// Parse request
if (!valRequest.isObject())
throw JSONRPCError(RPC_INVALID_REQUEST, "Invalid Request object");
const UniValue& request = valRequest.get_obj();
// Parse id now so errors from here on will have the id
id = find_value(request, "id");
// Parse method
UniValue valMethod = find_value(request, "method");
if (valMethod.isNull())
throw JSONRPCError(RPC_INVALID_REQUEST, "Missing method");
if (!valMethod.isStr())
throw JSONRPCError(RPC_INVALID_REQUEST, "Method must be a string");
strMethod = valMethod.get_str();
LogPrint(BCLog::RPC, "ThreadRPCServer method=%s\n", SanitizeString(strMethod));
// Parse params
UniValue valParams = find_value(request, "params");
if (valParams.isArray() || valParams.isObject())
params = valParams;
else if (valParams.isNull())
params = UniValue(UniValue::VARR);
else
throw JSONRPCError(RPC_INVALID_REQUEST, "Params must be an array or object");
}
static UniValue JSONRPCExecOne(const UniValue& req)
{
UniValue rpc_result(UniValue::VOBJ);
JSONRPCRequest jreq;
try {
jreq.parse(req);
UniValue result = tableRPC.execute(jreq);
rpc_result = JSONRPCReplyObj(result, NullUniValue, jreq.id);
}
catch (const UniValue& objError)
{
rpc_result = JSONRPCReplyObj(NullUniValue, objError, jreq.id);
}
catch (const std::exception& e)
{
rpc_result = JSONRPCReplyObj(NullUniValue,
JSONRPCError(RPC_PARSE_ERROR, e.what()), jreq.id);
}
return rpc_result;
}
std::string JSONRPCExecBatch(const UniValue& vReq)
{
UniValue ret(UniValue::VARR);
for (unsigned int reqIdx = 0; reqIdx < vReq.size(); reqIdx++)
ret.push_back(JSONRPCExecOne(vReq[reqIdx]));
return ret.write() + "\n";
}
/**
* Process named arguments into a vector of positional arguments, based on the
* passed-in specification for the RPC call's arguments.
*/
static inline JSONRPCRequest transformNamedArguments(const JSONRPCRequest& in, const std::vector<std::string>& argNames)
{
JSONRPCRequest out = in;
out.params = UniValue(UniValue::VARR);
// Build a map of parameters, and remove ones that have been processed, so that we can throw a focused error if
// there is an unknown one.
const std::vector<std::string>& keys = in.params.getKeys();
const std::vector<UniValue>& values = in.params.getValues();
std::unordered_map<std::string, const UniValue*> argsIn;
for (size_t i=0; i<keys.size(); ++i) {
argsIn[keys[i]] = &values[i];
}
// Process expected parameters.
int hole = 0;
for (const std::string &argNamePattern: argNames) {
std::vector<std::string> vargNames;
boost::algorithm::split(vargNames, argNamePattern, boost::algorithm::is_any_of("|"));
auto fr = argsIn.end();
for (const std::string & argName : vargNames) {
fr = argsIn.find(argName);
if (fr != argsIn.end()) {
break;
}
}
if (fr != argsIn.end()) {
for (int i = 0; i < hole; ++i) {
// Fill hole between specified parameters with JSON nulls,
// but not at the end (for backwards compatibility with calls
// that act based on number of specified parameters).
out.params.push_back(UniValue());
}
hole = 0;
out.params.push_back(*fr->second);
argsIn.erase(fr);
} else {
hole += 1;
}
}
// If there are still arguments in the argsIn map, this is an error.
if (!argsIn.empty()) {
throw JSONRPCError(RPC_INVALID_PARAMETER, "Unknown named parameter " + argsIn.begin()->first);
}
// Return request with named arguments transformed to positional arguments
return out;
}
UniValue CRPCTable::execute(const JSONRPCRequest &request) const
{
// Return immediately if in warmup
{
LOCK(cs_rpcWarmup);
if (fRPCInWarmup)
throw JSONRPCError(RPC_IN_WARMUP, rpcWarmupStatus);
}
// Find method
const CRPCCommand *pcmd = tableRPC[request.strMethod];
if (!pcmd)
throw JSONRPCError(RPC_METHOD_NOT_FOUND, "Method not found");
g_rpcSignals.PreCommand(*pcmd);
try
{
// Execute, convert arguments to array if necessary
if (request.params.isObject()) {
return pcmd->actor(transformNamedArguments(request, pcmd->argNames));
} else {
return pcmd->actor(request);
}
}
catch (const std::exception& e)
{
throw JSONRPCError(RPC_MISC_ERROR, e.what());
}
}
std::vector<std::string> CRPCTable::listCommands() const
{
std::vector<std::string> commandList;
typedef std::map<std::string, const CRPCCommand*> commandMap;
std::transform( mapCommands.begin(), mapCommands.end(),
std::back_inserter(commandList),
boost::bind(&commandMap::value_type::first,_1) );
return commandList;
}
std::string HelpExampleCli(const std::string& methodname, const std::string& args)
{
return "> litecoin-cli " + methodname + " " + args + "\n";
}
std::string HelpExampleRpc(const std::string& methodname, const std::string& args)
{
return "> curl --user myusername --data-binary '{\"jsonrpc\": \"1.0\", \"id\":\"curltest\", "
"\"method\": \"" + methodname + "\", \"params\": [" + args + "] }' -H 'content-type: text/plain;' http://127.0.0.1:9332/\n";
}
void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface)
{
if (!timerInterface)
timerInterface = iface;
}
void RPCSetTimerInterface(RPCTimerInterface *iface)
{
timerInterface = iface;
}
void RPCUnsetTimerInterface(RPCTimerInterface *iface)
{
if (timerInterface == iface)
timerInterface = nullptr;
}
void RPCRunLater(const std::string& name, std::function<void(void)> func, int64_t nSeconds)
{
if (!timerInterface)
throw JSONRPCError(RPC_INTERNAL_ERROR, "No timer handler registered for RPC");
deadlineTimers.erase(name);
LogPrint(BCLog::RPC, "queue run of timer %s in %i seconds (using %s)\n", name, nSeconds, timerInterface->Name());
deadlineTimers.emplace(name, std::unique_ptr<RPCTimerBase>(timerInterface->NewTimer(func, nSeconds*1000)));
}
int RPCSerializationFlags()
{
int flag = 0;
if (gArgs.GetArg("-rpcserialversion", DEFAULT_RPC_SERIALIZE_VERSION) == 0)
flag |= SERIALIZE_TRANSACTION_NO_WITNESS;
return flag;
}
CRPCTable tableRPC;
| [
"zhangzhentao@blocklinker.com"
] | zhangzhentao@blocklinker.com |
bb52ac58e6a8d4ebb27359eaf46707edf16ea2aa | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Reconstruction/Jet/JetSubStructureMomentTools/src/Validator.cxx | bb2a8fad6620731d7166271e838d7218bc008d3a | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include <iostream>
#include <math.h>
#include <float.h>
#include "JetSubStructureMomentTools/Validator.h"
#include <TFile.h>
#include <TH1.h>
#include "GaudiKernel/ITHistSvc.h"
using namespace std;
Validator::Validator(std::string name) :
AsgTool(name)
{
declareProperty("InputContainer", m_InputContainer = "");
declareProperty("FloatMoments", m_FloatMoments);
}
int Validator::execute() const
{
// Load histogram service
StatusCode sc;
ITHistSvc *histSvc;
sc = service("THistSvc", histSvc);
if(sc.isFailure()) {
ATH_MSG_ERROR("Unable to access the THistSvc");
return 1;
}
// Get leading jet
const xAOD::JetContainer* jets = 0;
if(evtStore()->contains<xAOD::JetContainer>(m_InputContainer) == false) {
ATH_MSG_ERROR("Unable to retrieve jets from collection: " << m_InputContainer);
return 1;
}
jets = evtStore()->retrieve<const xAOD::JetContainer>(m_InputContainer);
if(jets->size() == 0) return 0;
const xAOD::Jet *jet = jets->at(0); // This assumes the container is sorted
// Loop over float moments
for(unsigned int i=0; i<m_FloatMoments.size(); i++) {
TH1 *outputHist;
if(histSvc->exists("/JetSubstructureMoments/" + m_FloatMoments[i])) {
sc = histSvc->getHist("/JetSubstructureMoments/" + m_FloatMoments[i], outputHist);
if(sc.isFailure()) {
ATH_MSG_ERROR("Unable to retrieve histogram");
return 1;
}
}
else {
unsigned int nbins = 100;
float xlow = 0, xhigh = 1.0;
if(m_FloatMoments[i].find("Split") != string::npos ||
m_FloatMoments[i] == "pt") {
nbins = 1000;
xhigh = 2000000;
}
else if(m_FloatMoments[i].find("Pull") != string::npos) {
if(m_FloatMoments[i].find("PullMag") != string::npos) {
xhigh = 0.1;
nbins = 100;
}
else {
xlow = -10;
xhigh = 10;
nbins = 200;
}
}
else if(m_FloatMoments[i].find("ShowerDeconstruction") != string::npos) {
xlow = -10;
xhigh = 10;
nbins = 100;
}
outputHist = new TH1F(m_FloatMoments[i].c_str(), "", nbins, xlow, xhigh);
sc = histSvc->regHist("/JetSubstructureMoments/" + m_FloatMoments[i], outputHist);
if(sc.isFailure()) {
ATH_MSG_ERROR("Unable to register histogram");
return 1;
}
}
if(m_FloatMoments[i] == "pt") {
outputHist->Fill(jet->pt());
}
else {
outputHist->Fill(jet->getAttribute<float>(m_FloatMoments[i].c_str()));
}
}
return 0;
}
| [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
0f3ef8937623bf9277aecbfaf7d74b045db40c3b | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /ash/app_list/views/apps_container_view.cc | 87db1f69335e12e01135f11ebd91650d0aad478d | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 25,849 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/app_list/views/apps_container_view.h"
#include <algorithm>
#include <vector>
#include "ash/app_list/views/app_list_folder_view.h"
#include "ash/app_list/views/app_list_item_view.h"
#include "ash/app_list/views/app_list_main_view.h"
#include "ash/app_list/views/app_list_view.h"
#include "ash/app_list/views/apps_grid_view.h"
#include "ash/app_list/views/contents_view.h"
#include "ash/app_list/views/folder_background_view.h"
#include "ash/app_list/views/horizontal_page_container.h"
#include "ash/app_list/views/page_switcher.h"
#include "ash/app_list/views/search_box_view.h"
#include "ash/app_list/views/suggestion_chip_container_view.h"
#include "ash/public/cpp/app_list/app_list_config.h"
#include "ash/public/cpp/app_list/app_list_features.h"
#include "ash/public/cpp/app_list/app_list_switches.h"
#include "base/command_line.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/chromeos/search_box/search_box_constants.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animation_element.h"
#include "ui/compositor/layer_animator.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
#include "ui/events/event.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/strings/grit/ui_strings.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/textfield/textfield.h"
namespace ash {
namespace {
// The apps container height at which suggestion chips container margin from the
// search box should be reduced to preserve available vertical space.
constexpr int kDenseSuggestionChipsTopMarginThreshold = 600;
// Suggestion chip container top margin (from the search box view) when apps
// container height is below |kDenseSuggestionChipsTopMarginThreshold|.
constexpr int kDenseSuggestionChipContainerTopMargin = 8;
// The range of app list transition progress in which the suggestion chips'
// opacity changes from 0 to 1.
constexpr float kSuggestionChipOpacityStartProgress = 0.66;
constexpr float kSuggestionChipOpacityEndProgress = 1;
// The app list transition progress value for fullscreen state.
constexpr float kAppListFullscreenProgressValue = 2.0;
} // namespace
AppsContainerView::AppsContainerView(ContentsView* contents_view,
AppListModel* model)
: contents_view_(contents_view) {
SetPaintToLayer(ui::LAYER_NOT_DRAWN);
suggestion_chip_container_view_ = AddChildView(
std::make_unique<SuggestionChipContainerView>(contents_view));
apps_grid_view_ =
AddChildView(std::make_unique<AppsGridView>(contents_view_, nullptr));
// Page switcher should be initialized after AppsGridView.
auto page_switcher = std::make_unique<PageSwitcher>(
apps_grid_view_->pagination_model(), true /* vertical */,
contents_view_->app_list_view()->is_tablet_mode());
page_switcher_ = AddChildView(std::move(page_switcher));
auto app_list_folder_view =
std::make_unique<AppListFolderView>(this, model, contents_view_);
// The folder view is initially hidden.
app_list_folder_view->SetVisible(false);
auto folder_background_view =
std::make_unique<FolderBackgroundView>(app_list_folder_view.get());
folder_background_view_ = AddChildView(std::move(folder_background_view));
app_list_folder_view_ = AddChildView(std::move(app_list_folder_view));
apps_grid_view_->SetModel(model);
apps_grid_view_->SetItemList(model->top_level_item_list());
SetShowState(SHOW_APPS, false);
}
AppsContainerView::~AppsContainerView() {
// Make sure |page_switcher_| is deleted before |apps_grid_view_| because
// |page_switcher_| uses the PaginationModel owned by |apps_grid_view_|.
delete page_switcher_;
}
void AppsContainerView::ShowActiveFolder(AppListFolderItem* folder_item) {
// Prevent new animations from starting if there are currently animations
// pending. This fixes crbug.com/357099.
if (app_list_folder_view_->IsAnimationRunning())
return;
app_list_folder_view_->SetAppListFolderItem(folder_item);
SetShowState(SHOW_ACTIVE_FOLDER, false);
// If there is no selected view in the root grid when a folder is opened,
// silently focus the first item in the folder to avoid showing the selection
// highlight or announcing to A11y, but still ensuring the arrow keys navigate
// from the first item.
AppListItemView* first_item_view_in_folder_grid =
app_list_folder_view_->items_grid_view()->view_model()->view_at(0);
if (!apps_grid_view()->has_selected_view()) {
first_item_view_in_folder_grid->SilentlyRequestFocus();
} else {
first_item_view_in_folder_grid->RequestFocus();
}
// Disable all the items behind the folder so that they will not be reached
// during focus traversal.
DisableFocusForShowingActiveFolder(true);
}
void AppsContainerView::ShowApps(AppListFolderItem* folder_item) {
if (app_list_folder_view_->IsAnimationRunning())
return;
SetShowState(SHOW_APPS, folder_item ? true : false);
DisableFocusForShowingActiveFolder(false);
}
void AppsContainerView::ResetForShowApps() {
UpdateSuggestionChips();
SetShowState(SHOW_APPS, false);
DisableFocusForShowingActiveFolder(false);
}
void AppsContainerView::SetDragAndDropHostOfCurrentAppList(
ApplicationDragAndDropHost* drag_and_drop_host) {
apps_grid_view()->SetDragAndDropHostOfCurrentAppList(drag_and_drop_host);
app_list_folder_view()->items_grid_view()->SetDragAndDropHostOfCurrentAppList(
drag_and_drop_host);
}
void AppsContainerView::ReparentFolderItemTransit(
AppListFolderItem* folder_item) {
if (app_list_folder_view_->IsAnimationRunning())
return;
SetShowState(SHOW_ITEM_REPARENT, false);
DisableFocusForShowingActiveFolder(false);
}
bool AppsContainerView::IsInFolderView() const {
return show_state_ == SHOW_ACTIVE_FOLDER;
}
void AppsContainerView::ReparentDragEnded() {
DCHECK_EQ(SHOW_ITEM_REPARENT, show_state_);
show_state_ = AppsContainerView::SHOW_APPS;
}
void AppsContainerView::UpdateControlVisibility(AppListViewState app_list_state,
bool is_in_drag) {
if (app_list_state == AppListViewState::kClosed)
return;
set_can_process_events_within_subtree(
app_list_state == AppListViewState::kFullscreenAllApps ||
app_list_state == AppListViewState::kPeeking);
apps_grid_view_->UpdateControlVisibility(app_list_state, is_in_drag);
page_switcher_->SetVisible(
is_in_drag || app_list_state == AppListViewState::kFullscreenAllApps ||
(app_list_features::IsScalableAppListEnabled() &&
app_list_state == AppListViewState::kFullscreenSearch));
// Ignore button press during dragging to avoid app list item views' opacity
// being set to wrong value.
page_switcher_->set_ignore_button_press(is_in_drag);
suggestion_chip_container_view_->SetVisible(
app_list_state == AppListViewState::kFullscreenAllApps ||
app_list_state == AppListViewState::kPeeking || is_in_drag);
}
void AppsContainerView::AnimateOpacity(float current_progress,
AppListViewState target_view_state,
const OpacityAnimator& animator) {
const bool target_suggestion_chip_visibility =
target_view_state == AppListViewState::kFullscreenAllApps ||
target_view_state == AppListViewState::kPeeking;
animator.Run(suggestion_chip_container_view_,
target_suggestion_chip_visibility);
if (!apps_grid_view_->layer()->GetAnimator()->IsAnimatingProperty(
ui::LayerAnimationElement::OPACITY)) {
apps_grid_view_->UpdateOpacity(true /*restore_opacity*/);
apps_grid_view_->layer()->SetOpacity(current_progress > 1.0f ? 1.0f : 0.0f);
}
const bool target_grid_visibility =
target_view_state == AppListViewState::kFullscreenAllApps ||
target_view_state == AppListViewState::kFullscreenSearch;
animator.Run(apps_grid_view_, target_grid_visibility);
animator.Run(page_switcher_, target_grid_visibility);
}
void AppsContainerView::AnimateYPosition(AppListViewState target_view_state,
const TransformAnimator& animator) {
const int target_suggestion_chip_y = GetExpectedSuggestionChipY(
AppListView::GetTransitionProgressForState(target_view_state));
suggestion_chip_container_view_->SetY(target_suggestion_chip_y);
animator.Run(suggestion_chip_container_view_);
apps_grid_view_->SetY(suggestion_chip_container_view_->y() +
chip_grid_y_distance_);
animator.Run(apps_grid_view_);
page_switcher_->SetY(suggestion_chip_container_view_->y() +
chip_grid_y_distance_);
animator.Run(page_switcher_);
}
void AppsContainerView::UpdateYPositionAndOpacity(float progress,
bool restore_opacity) {
apps_grid_view_->UpdateOpacity(restore_opacity);
// Updates the opacity of page switcher buttons. The same rule as all apps in
// AppsGridView.
AppListView* app_list_view = contents_view_->app_list_view();
int screen_bottom = app_list_view->GetScreenBottom();
gfx::Rect switcher_bounds = page_switcher_->GetBoundsInScreen();
float centerline_above_work_area =
std::max<float>(screen_bottom - switcher_bounds.CenterPoint().y(), 0.f);
const float start_px = AppListConfig::instance().all_apps_opacity_start_px();
float opacity = std::min(
std::max(
(centerline_above_work_area - start_px) /
(AppListConfig::instance().all_apps_opacity_end_px() - start_px),
0.f),
1.0f);
page_switcher_->layer()->SetOpacity(restore_opacity ? 1.0f : opacity);
// Changes the opacity of suggestion chips between 0 and 1 when app list
// transition progress changes between |kSuggestionChipOpacityStartProgress|
// and |kSuggestionChipOpacityEndProgress|.
float chips_opacity =
std::min(std::max((progress - kSuggestionChipOpacityStartProgress) /
(kSuggestionChipOpacityEndProgress -
kSuggestionChipOpacityStartProgress),
0.f),
1.0f);
suggestion_chip_container_view_->layer()->SetOpacity(
restore_opacity ? 1.0 : chips_opacity);
suggestion_chip_container_view_->SetY(GetExpectedSuggestionChipY(progress));
apps_grid_view_->SetY(suggestion_chip_container_view_->y() +
chip_grid_y_distance_);
page_switcher_->SetY(suggestion_chip_container_view_->y() +
chip_grid_y_distance_);
// If app list is in drag, reset transforms that might started animating in
// AnimateYPosition().
if (app_list_view->is_in_drag()) {
suggestion_chip_container_view_->layer()->SetTransform(gfx::Transform());
apps_grid_view_->layer()->SetTransform(gfx::Transform());
page_switcher_->layer()->SetTransform(gfx::Transform());
}
}
void AppsContainerView::OnTabletModeChanged(bool started) {
suggestion_chip_container_view_->OnTabletModeChanged(started);
apps_grid_view_->OnTabletModeChanged(started);
app_list_folder_view_->OnTabletModeChanged(started);
page_switcher_->set_is_tablet_mode(started);
}
void AppsContainerView::Layout() {
gfx::Rect rect(GetContentsBounds());
if (rect.IsEmpty())
return;
// Layout suggestion chips.
gfx::Rect chip_container_rect = rect;
chip_container_rect.set_y(GetExpectedSuggestionChipY(
contents_view_->app_list_view()->GetAppListTransitionProgress(
AppListView::kProgressFlagNone)));
chip_container_rect.set_height(
GetAppListConfig().suggestion_chip_container_height());
if (app_list_features::IsScalableAppListEnabled()) {
chip_container_rect.Inset(GetAppListConfig().GetIdealHorizontalMargin(rect),
0);
}
suggestion_chip_container_view_->SetBoundsRect(chip_container_rect);
// Leave the same available bounds for the apps grid view in both
// fullscreen and peeking state to avoid resizing the view during
// animation and dragging, which is an expensive operation.
rect.set_y(chip_container_rect.bottom());
rect.set_height(rect.height() -
GetExpectedSuggestionChipY(kAppListFullscreenProgressValue) -
chip_container_rect.height());
const int page_switcher_width = page_switcher_->GetPreferredSize().width();
// With scalable app list feature enabled, the margins are calculated from
// the edge of the apps container, instead of container bounds inset by
// page switcher area.
if (!app_list_features::IsScalableAppListEnabled()) {
rect.Inset(GetAppListConfig().GetMinGridHorizontalPadding(), 0);
}
const GridLayout grid_layout = CalculateGridLayout();
apps_grid_view_->SetLayout(grid_layout.columns, grid_layout.rows);
// Layout apps grid.
gfx::Rect grid_rect = rect;
if (app_list_features::IsScalableAppListEnabled()) {
const gfx::Insets grid_insets = apps_grid_view_->GetInsets();
const gfx::Insets margins = CalculateMarginsForAvailableBounds(
GetContentsBounds(),
contents_view_->GetSearchBoxSize(AppListState::kStateApps),
true /*for_full_container_bounds*/);
grid_rect.Inset(
margins.left(),
GetAppListConfig().grid_fadeout_zone_height() - grid_insets.top(),
margins.right(), margins.bottom());
// The grid rect insets are added to calculated margins. Given that the
// grid bounds rect should include insets, they have to be removed from
// added margins.
grid_rect.Inset(-grid_insets.left(), 0, -grid_insets.right(),
-grid_insets.bottom());
} else {
grid_rect.Inset(CalculateMarginsForAvailableBounds(
rect, gfx::Size(), false /*for_full_container_bounds*/));
// The grid rect insets are added to calculated margins. Given that the
// grid bounds rect should include insets, they have to be removed from
// the added margins.
grid_rect.Inset(-apps_grid_view_->GetInsets());
}
apps_grid_view_->SetBoundsRect(grid_rect);
// Record the distance of y position between suggestion chip container
// and apps grid view to avoid duplicate calculation of apps grid view's
// y position during dragging.
chip_grid_y_distance_ =
apps_grid_view_->y() - suggestion_chip_container_view_->y();
// Layout page switcher.
page_switcher_->SetBoundsRect(gfx::Rect(
grid_rect.right() + GetAppListConfig().grid_to_page_switcher_margin(),
grid_rect.y(), page_switcher_width, grid_rect.height()));
switch (show_state_) {
case SHOW_APPS:
break;
case SHOW_ACTIVE_FOLDER: {
folder_background_view_->SetBoundsRect(rect);
app_list_folder_view_->SetBoundsRect(
app_list_folder_view_->preferred_bounds());
break;
}
case SHOW_ITEM_REPARENT:
break;
default:
NOTREACHED();
}
}
bool AppsContainerView::OnKeyPressed(const ui::KeyEvent& event) {
if (show_state_ == SHOW_APPS)
return apps_grid_view_->OnKeyPressed(event);
else
return app_list_folder_view_->OnKeyPressed(event);
}
const char* AppsContainerView::GetClassName() const {
return "AppsContainerView";
}
void AppsContainerView::OnGestureEvent(ui::GestureEvent* event) {
// Ignore tap/long-press, allow those to pass to the ancestor view.
if (event->type() == ui::ET_GESTURE_TAP ||
event->type() == ui::ET_GESTURE_LONG_PRESS) {
return;
}
// Will forward events to |apps_grid_view_| if they occur in the same y-region
if (event->type() == ui::ET_GESTURE_SCROLL_BEGIN &&
event->location().y() <= apps_grid_view_->bounds().y()) {
return;
}
// If a folder is currently opening or closing, we should ignore the event.
// This is here until the animation for pagination while closing folders is
// fixed: https://crbug.com/875133
if (app_list_folder_view_->IsAnimationRunning()) {
event->SetHandled();
return;
}
// Temporary event for use by |apps_grid_view_|
ui::GestureEvent grid_event(*event);
ConvertEventToTarget(apps_grid_view_, &grid_event);
apps_grid_view_->OnGestureEvent(&grid_event);
// If the temporary event was handled, we don't want to handle it again.
if (grid_event.handled())
event->SetHandled();
}
void AppsContainerView::OnWillBeHidden() {
if (show_state_ == SHOW_APPS || show_state_ == SHOW_ITEM_REPARENT)
apps_grid_view_->EndDrag(true);
else if (show_state_ == SHOW_ACTIVE_FOLDER)
app_list_folder_view_->CloseFolderPage();
}
views::View* AppsContainerView::GetFirstFocusableView() {
if (IsInFolderView()) {
// The pagination inside a folder is set horizontally, so focus should be
// set on the first item view in the selected page when it is moved down
// from the search box.
return app_list_folder_view_->items_grid_view()
->GetCurrentPageFirstItemViewInFolder();
}
return GetFocusManager()->GetNextFocusableView(
this, GetWidget(), false /* reverse */, false /* dont_loop */);
}
gfx::Rect AppsContainerView::GetPageBoundsForState(AppListState state) const {
return contents_view_->GetContentsBounds();
}
const gfx::Insets& AppsContainerView::CalculateMarginsForAvailableBounds(
const gfx::Rect& available_bounds,
const gfx::Size& search_box_size,
bool for_full_container_bounds) {
DCHECK_EQ(for_full_container_bounds,
app_list_features::IsScalableAppListEnabled());
if (cached_container_margins_.bounds_size == available_bounds.size() &&
cached_container_margins_.search_box_size == search_box_size) {
return cached_container_margins_.margins;
}
const GridLayout grid_layout = CalculateGridLayout();
const gfx::Size min_grid_size = apps_grid_view()->GetMinimumTileGridSize(
grid_layout.columns, grid_layout.rows);
const gfx::Size max_grid_size = apps_grid_view()->GetMaximumTileGridSize(
grid_layout.columns, grid_layout.rows);
int available_height = available_bounds.height();
// If calculating the bounds for the full apps container (rather than apps
// grid only), add search box, and suggestion chips container height (with
// its margins to search box and apps grid) to non apps grid size.
// NOTE: Not removing bottom apps grid inset (or top inset when
// |for_full_container_bounds| is false) because they are included into the
// total margin values.
if (for_full_container_bounds) {
available_height -=
search_box_size.height() +
GetAppListConfig().grid_fadeout_zone_height() +
GetAppListConfig().suggestion_chip_container_height() +
GetAppListConfig().suggestion_chip_container_top_margin();
}
// Calculates margin value to ensure the apps grid size is within required
// bounds.
// |ideal_margin|: The value the margin would have with no restrictions on
// grid size.
// |available_size|: The available size for apps grid in the dimension where
// margin is applied.
// |min_size|: The min allowed size for apps grid in the dimension where
// margin is applied.
// |max_size|: The max allowed size for apps grid in the dimension where
// margin is applied.
const auto calculate_margin = [](int ideal_margin, int available_size,
int min_size, int max_size) -> int {
const int ideal_size = available_size - 2 * ideal_margin;
if (ideal_size < min_size)
return ideal_margin - (min_size - ideal_size + 1) / 2;
if (ideal_size > max_size)
return ideal_margin + (ideal_size - max_size) / 2;
return ideal_margin;
};
const int ideal_vertical_margin =
GetAppListConfig().GetIdealVerticalMargin(available_bounds);
const int vertical_margin =
calculate_margin(ideal_vertical_margin, available_height,
min_grid_size.height(), max_grid_size.height());
const int ideal_horizontal_margin =
GetAppListConfig().GetIdealHorizontalMargin(available_bounds);
const int horizontal_margin =
calculate_margin(ideal_horizontal_margin, available_bounds.width(),
min_grid_size.width(), max_grid_size.width());
const int min_horizontal_margin =
app_list_features::IsScalableAppListEnabled()
? GetAppListConfig().GetMinGridHorizontalPadding()
: 0;
cached_container_margins_.margins = gfx::Insets(
std::max(vertical_margin, GetAppListConfig().grid_fadeout_zone_height()),
std::max(horizontal_margin, min_horizontal_margin),
std::max(vertical_margin, GetAppListConfig().grid_fadeout_zone_height()),
std::max(horizontal_margin, min_horizontal_margin));
cached_container_margins_.bounds_size = available_bounds.size();
cached_container_margins_.search_box_size = search_box_size;
return cached_container_margins_.margins;
}
void AppsContainerView::OnAppListConfigUpdated() {
// Invalidate the cached container margins - app list config change generally
// changes preferred apps grid margins, which can influence the container
// margins.
cached_container_margins_ = CachedContainerMargins();
apps_grid_view()->OnAppListConfigUpdated();
app_list_folder_view()->items_grid_view()->OnAppListConfigUpdated();
}
void AppsContainerView::UpdateSuggestionChips() {
suggestion_chip_container_view_->SetResults(
contents_view_->GetAppListMainView()
->view_delegate()
->GetSearchModel()
->results());
}
base::ScopedClosureRunner AppsContainerView::DisableSuggestionChipsBlur() {
++suggestion_chips_blur_disabler_count_;
if (suggestion_chips_blur_disabler_count_ == 1)
suggestion_chip_container_view_->SetBlurDisabled(true);
return base::ScopedClosureRunner(
base::BindOnce(&AppsContainerView::OnSuggestionChipsBlurDisablerReleased,
weak_ptr_factory_.GetWeakPtr()));
}
const AppListConfig& AppsContainerView::GetAppListConfig() const {
return contents_view_->app_list_view()->GetAppListConfig();
}
void AppsContainerView::SetShowState(ShowState show_state,
bool show_apps_with_animation) {
if (show_state_ == show_state)
return;
show_state_ = show_state;
// Layout before showing animation because the animation's target bounds are
// calculated based on the layout.
Layout();
switch (show_state_) {
case SHOW_APPS:
page_switcher_->set_can_process_events_within_subtree(true);
folder_background_view_->SetVisible(false);
apps_grid_view_->ResetForShowApps();
app_list_folder_view_->ResetItemsGridForClose();
if (show_apps_with_animation)
app_list_folder_view_->ScheduleShowHideAnimation(false, false);
else
app_list_folder_view_->HideViewImmediately();
break;
case SHOW_ACTIVE_FOLDER:
page_switcher_->set_can_process_events_within_subtree(false);
folder_background_view_->SetVisible(true);
app_list_folder_view_->ScheduleShowHideAnimation(true, false);
break;
case SHOW_ITEM_REPARENT:
page_switcher_->set_can_process_events_within_subtree(true);
folder_background_view_->SetVisible(false);
app_list_folder_view_->ScheduleShowHideAnimation(false, true);
break;
default:
NOTREACHED();
}
}
void AppsContainerView::DisableFocusForShowingActiveFolder(bool disabled) {
suggestion_chip_container_view_->DisableFocusForShowingActiveFolder(disabled);
apps_grid_view_->DisableFocusForShowingActiveFolder(disabled);
// Ignore the page switcher in accessibility tree so that buttons inside it
// will not be accessed by ChromeVox.
page_switcher_->GetViewAccessibility().OverrideIsIgnored(disabled);
page_switcher_->GetViewAccessibility().NotifyAccessibilityEvent(
ax::mojom::Event::kTreeChanged);
}
int AppsContainerView::GetSuggestionChipContainerTopMargin(
float progress) const {
// For small screen sizes in fullscreen state, reduce the margin between the
// search box and suggestion chips to reclaim as much of the vertical space as
// possible.
if (GetContentsBounds().height() < kDenseSuggestionChipsTopMarginThreshold &&
!app_list_features::IsScalableAppListEnabled() && progress > 1.0) {
return gfx::Tween::IntValueBetween(
progress - 1, GetAppListConfig().suggestion_chip_container_top_margin(),
kDenseSuggestionChipContainerTopMargin);
}
return GetAppListConfig().suggestion_chip_container_top_margin();
}
int AppsContainerView::GetExpectedSuggestionChipY(float progress) {
const gfx::Rect search_box_bounds =
contents_view_->GetSearchBoxExpectedBoundsForProgress(
AppListState::kStateApps, progress);
return search_box_bounds.bottom() +
GetSuggestionChipContainerTopMargin(progress);
}
AppsContainerView::GridLayout AppsContainerView::CalculateGridLayout() const {
// Adapt columns and rows based on the work area size.
const gfx::Size size =
display::Screen::GetScreen()
->GetDisplayNearestView(GetWidget()->GetNativeView())
.work_area()
.size();
GridLayout result;
const AppListConfig& config = GetAppListConfig();
// Switch columns and rows for portrait mode.
if (size.width() < size.height()) {
result.columns = config.preferred_rows();
result.rows = config.preferred_cols();
} else {
result.columns = config.preferred_cols();
result.rows = config.preferred_rows();
}
return result;
}
void AppsContainerView::OnSuggestionChipsBlurDisablerReleased() {
DCHECK_GT(suggestion_chips_blur_disabler_count_, 0u);
--suggestion_chips_blur_disabler_count_;
if (suggestion_chips_blur_disabler_count_ == 0)
suggestion_chip_container_view_->SetBlurDisabled(false);
}
} // namespace ash
| [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
d0787bf21b8d911ab319f3f5a78dc416d6728607 | 543baf3f63e6a6b47534b524e54fa90c37613959 | /2013tonghua/E/main.cpp | 9cedfd9fa89d8f16d7de491ac388df62e9642030 | [] | no_license | funtion/algorithmProblems | ac9341f9fc5233cffe51d2140404983763b66265 | dd27afc25670ea3ad2a681dc382a3e500e530c1a | refs/heads/master | 2020-05-04T05:15:44.150235 | 2014-01-12T10:53:27 | 2014-01-12T10:53:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include <iostream>
using namespace std;
int t;
long g,l;
long div[10000],cd;
inline long lcm(long x,long y,long z){
}
int main()
{
cin>>t;
while(t--){
cin>>l>>g;
if(g%l!=0){
cout<<0<<endl;
}else{
g/=l;
cd=0;
for(long i=1;i<=g/2;i++){
if(g%i==0){
div[cd++] = i;
}
}
long ans = 0;
for(int i=0;i<cd;i++){
for(int j=0;j<cd;j++){
for(int k=0;k<cd;k++){
if(lcd(i,j,k)==1){
ans++;
}
}
}
}
cout<<ans<<endl;
}
}
return 0;
}
| [
"acm@acm.com"
] | acm@acm.com |
4ff9f6d2780eba0bf5e16725d7c2a45be725339c | 829faecc97ec07db831c9c138bdf089ee34c9a0f | /cpp/openGLEssential/lessons/Lesson3.3/ModelDemo.cpp | d49dc09f8433236ffde91a5fe7f827fd1b99b7a1 | [] | no_license | sysbender/study | ec1cf8baa3b2971dfb9aa08566bf5db7e5cc663d | d69bd41a269a4936624b6c4bcd53a71616986eb0 | refs/heads/master | 2021-01-20T06:07:56.494951 | 2018-07-16T12:47:01 | 2018-07-16T12:47:01 | 101,484,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,663 | cpp | #include "pch.h"
using namespace glm;
using namespace std;
using namespace Library;
namespace Rendering
{
RTTI_DEFINITIONS(ModelDemo)
ModelDemo::ModelDemo(Game& game, Camera& camera)
: DrawableGameComponent(game, camera), mShaderProgram(), mVertexArrayObject(0), mVertexBuffer(0),
mIndexBuffer(0), mWorldViewProjectionLocation(-1), mIndexCount(0)
{
}
ModelDemo::~ModelDemo()
{
glDeleteBuffers(1, &mIndexBuffer);
glDeleteBuffers(1, &mVertexBuffer);
glDeleteVertexArrays(1, &mVertexArrayObject);
}
void ModelDemo::Initialize()
{
SetCurrentDirectory(Utility::ExecutableDirectory().c_str());
// Build the shader program
vector<ShaderDefinition> shaders;
shaders.push_back(ShaderDefinition(GL_VERTEX_SHADER, L"Content\\Effects\\ModelDemo.vert"));
shaders.push_back(ShaderDefinition(GL_FRAGMENT_SHADER, L"Content\\Effects\\ModelDemo.frag"));
mShaderProgram.BuildProgram(shaders);
// Load the model
Model model("Content\\Models\\Sphere.obj");
// Create the vertex and index buffers
Mesh* mesh = model.Meshes().at(0);
CreateVertexBuffer(*mesh, mVertexBuffer);
mesh->CreateIndexBuffer(mIndexBuffer);
mIndexCount = mesh->Indices().size();
glGenVertexArrays(1, &mVertexArrayObject);
glBindVertexArray(mVertexArrayObject);
glVertexAttribPointer(static_cast<GLuint>(VertexAttribute::Position), 4, GL_FLOAT, GL_FALSE, sizeof(VertexPositionColor), (void*)offsetof(VertexPositionColor, Position));
glEnableVertexAttribArray(static_cast<GLuint>(VertexAttribute::Position));
glVertexAttribPointer(static_cast<GLuint>(VertexAttribute::Color), 4, GL_FLOAT, GL_FALSE, sizeof(VertexPositionColor), (void*)offsetof(VertexPositionColor, Color));
glEnableVertexAttribArray(static_cast<GLuint>(VertexAttribute::Color));
glBindVertexArray(0);
mWorldViewProjectionLocation = glGetUniformLocation(mShaderProgram.Program(), "WorldViewProjection");
if (mWorldViewProjectionLocation == -1)
{
throw GameException("glGetUniformLocation() did not find uniform location.");
}
}
void ModelDemo::Draw(const GameTime& gameTime)
{
UNREFERENCED_PARAMETER(gameTime);
glBindVertexArray(mVertexArrayObject);
glBindBuffer(GL_ARRAY_BUFFER, mVertexBuffer);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer);
mShaderProgram.Use();
mat4 wvp = mCamera->ViewProjectionMatrix() * mWorldMatrix;
glUniformMatrix4fv(mWorldViewProjectionLocation, 1, GL_FALSE, &wvp[0][0]);
glEnable(GL_CULL_FACE);
glFrontFace(GL_CCW);
glDrawElements(GL_TRIANGLES, mIndexCount, GL_UNSIGNED_INT, 0);
}
void ModelDemo::CreateVertexBuffer(const Mesh& mesh, GLuint& vertexBuffer)
{
const vector<vec3>& sourceVertices = mesh.Vertices();
vector<VertexPositionColor> vertices;
vertices.reserve(sourceVertices.size());
if (mesh.VertexColors().size() > 0)
{
vector<vec4>* vertexColors = mesh.VertexColors().at(0);
assert(vertexColors->size() == sourceVertices.size());
for (size_t i = 0; i < sourceVertices.size(); i++)
{
const vec3& position = sourceVertices.at(i);
const vec4& color = vertexColors->at(i);
vertices.push_back(VertexPositionColor(vec4(position.x, position.y, position.z, 1.0f), color));
}
}
else
{
for (size_t i = 0; i < sourceVertices.size(); i++)
{
const vec3& position = sourceVertices.at(i);
const vec4& color = ColorHelper::RandomColor();
vertices.push_back(VertexPositionColor(vec4(position.x, position.y, position.z, 1.0f), color));
}
}
glGenBuffers(1, &vertexBuffer);
glBindBuffer(GL_ARRAY_BUFFER, vertexBuffer);
glBufferData(GL_ARRAY_BUFFER, sizeof(VertexPositionColor) * vertices.size(), &vertices[0], GL_STATIC_DRAW);
}
} | [
"sysbender@gmail.com"
] | sysbender@gmail.com |
222c63690b9b5ea2178d2e6d446f8d85af25561f | eb9783088c90b7a34e84da748ca5056070f4788c | /tests/themispp/secure_comparator_test.hpp | 457f3f55f5fc2dba2e6fe800848557318a4dee78 | [
"Apache-2.0"
] | permissive | b264/themis | 0a385f1ac2df00aa8b1b6ed34a7f41931eb1d097 | 77d5aceca4f580482f50185799d96884a5fddaa8 | refs/heads/master | 2021-01-11T00:14:40.389338 | 2016-10-10T11:36:34 | 2016-10-10T11:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | hpp | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef THEMISPP_SECURE_COMPARATOR_TEST_HPP_
#define THEMISPP_SECURE_COMPARATOR_TEST_HPP_
#include <common/sput.h>
#include <string.h>
#ifdef SECURE_COMPARATOR_ENABLED
#include <themispp/secure_comparator.hpp>
#define STR_2_VEC(x) std::vector<uint8_t>(x.c_str(), x.c_str()+x.length())
namespace themispp{
namespace secure_session_test{
void secure_comparator_test(){
std::string shared_secret_a("shared_secret");
std::string shared_secret_b("shared_secret");
themispp::secure_comparator_t a(STR_2_VEC(shared_secret_a));
themispp::secure_comparator_t b(STR_2_VEC(shared_secret_b));
std::vector<uint8_t> buf;
buf=a.init();
buf=b.proceed(buf);
buf=a.proceed(buf);
buf=b.proceed(buf);
buf=a.proceed(buf);
sput_fail_unless(a.get(), "a ready", __LINE__);
sput_fail_unless(b.get(), "b ready", __LINE__);
std::string shared_secret_c("shared_secret_c");
std::string shared_secret_d("shared_secret_d");
themispp::secure_comparator_t c(STR_2_VEC(shared_secret_c));
themispp::secure_comparator_t d(STR_2_VEC(shared_secret_d));
buf=c.init();
buf=d.proceed(buf);
buf=c.proceed(buf);
buf=d.proceed(buf);
buf=c.proceed(buf);
sput_fail_unless(!(c.get()), "c ready", __LINE__);
sput_fail_unless(!(d.get()), "d ready", __LINE__);
}
int run_secure_comparator_test(){
sput_enter_suite("ThemisPP secure comparator test");
sput_run_test(secure_comparator_test, "secure_comparator_test", __FILE__);
return 0;
}
}
}
#endif
#endif
| [
"andrey@cossacklabs.com"
] | andrey@cossacklabs.com |
1140e04d441d962bd8edbfbafa8d0b5a87d2b05b | cdb171176480747aeacc1a01cda58aa185efbca8 | /msvc/IO/ExportPDF/vtkIOExportPDFObjectFactory.cxx | 213e6aa59851d783a1b2740e329b3a4e05ebc634 | [
"BSD-3-Clause"
] | permissive | gajgeospatial/VTK-9.0.1 | 1504a2f2991da7c3765cd90fed0880c7b6783bf6 | 8ab2c0f8852f26598d950c9c7e514947b6855a41 | refs/heads/master | 2023-04-12T09:03:47.351448 | 2021-05-05T17:35:04 | 2021-05-05T17:35:04 | 266,163,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkIOExportPDFObjectFactory.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#include "vtkIOExportPDFObjectFactory.h"
#include "vtkVersion.h"
// Include all of the classes we want to create overrides for.
#include "vtkPDFContextDevice2D.h"
vtkStandardNewMacro(vtkIOExportPDFObjectFactory);
// Now create the functions to create overrides with.
VTK_CREATE_CREATE_FUNCTION(vtkPDFContextDevice2D)
vtkIOExportPDFObjectFactory::vtkIOExportPDFObjectFactory()
{
this->RegisterOverride("vtkContextDevice2D", "vtkPDFContextDevice2D", "Override for VTK::IOExportPDF module", 1, vtkObjectFactoryCreatevtkPDFContextDevice2D);
}
const char * vtkIOExportPDFObjectFactory::GetVTKSourceVersion()
{
return VTK_SOURCE_VERSION;
}
void vtkIOExportPDFObjectFactory::PrintSelf(ostream &os, vtkIndent indent)
{
this->Superclass::PrintSelf(os, indent);
}
// Registration of object factories.
static unsigned int vtkIOExportPDFCount = 0;
VTKIOEXPORTPDF_EXPORT void vtkIOExportPDF_AutoInit_Construct()
{
if(++vtkIOExportPDFCount == 1)
{
vtkIOExportPDFObjectFactory* factory = vtkIOExportPDFObjectFactory::New();
if (factory)
{
// vtkObjectFactory keeps a reference to the "factory",
vtkObjectFactory::RegisterFactory(factory);
factory->Delete();
}
}
}
| [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
00c46bce30e703ed8e0d2244454e14031ebe1485 | 7dc87769a3eb5e38846cef7bce17c221ad57bd6d | /qt4/utility_classes/home.cpp | 91d8d1b240c0869c45eb51f03956172987c593b3 | [] | no_license | tanxulong/interview | e2f5a90026bdc3e6472dcd702ec8369c3e84985e | a60801767cd3fd7537bd087cc855557d2ec17d0b | refs/heads/master | 2020-04-06T06:39:59.408241 | 2013-05-08T13:51:44 | 2013-05-08T13:51:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | /*
* the QDir class provides access to directory structures
* and their contents.
*/
#include <QTextStream>
#include <QDir>
int main()
{
QTextStream out(stdout);
QString home = QDir::homePath();
out << home <<endl;
}
| [
"reg.tanxulong@gmial.com"
] | reg.tanxulong@gmial.com |
7d5d353f8cd72fb8dcdabf57eefd7e9915ce3a36 | 149354d7985afe98a4e895adf3b87cc21a1c5d8d | /Core/String.hpp | 39ba5b6e57dcd530beab957785a94c09d871f26d | [
"Unlicense"
] | permissive | cursey/kanan-new | 5c8bde2bc51c985f116c889ba731ca77224baa90 | 4b1bb49cd8838e21263196c72ba0024394d7ef49 | refs/heads/master | 2023-09-01T02:46:48.031030 | 2023-08-26T01:01:19 | 2023-08-26T01:01:19 | 108,602,829 | 146 | 98 | Unlicense | 2023-09-08T02:25:48 | 2017-10-27T22:53:39 | C++ | UTF-8 | C++ | false | false | 418 | hpp | #pragma once
#include <string>
#include <string_view>
#include <vector>
namespace kanan {
//
// String utilities.
//
// Conversion functions for UTF8<->UTF16.
std::string narrow(std::wstring_view str);
std::wstring widen(std::string_view str);
std::string formatString(const char* format, va_list args);
std::vector<std::string> split(std::string str, const std::string& delim);
}
| [
"cursey@live.com"
] | cursey@live.com |
3bd2aff9409d8ccee38f262084840d2191dc4194 | 5ddd0ec20099a9c3ffe865c835dcceb5b7fd0332 | /of_v0.8.0_vs_release-gesture-recognizer/examples/events/eventsExample/src/testApp.cpp | 9c9dd7693f8a949d80e5e85d56705ea387157405 | [
"MIT"
] | permissive | MarkusKonk/Geographic-Interaction | af81f9f4c7c201dd55843d4dd0d369f2f407d480 | b74f6f04656611df8dc4ebdea43f263cea67b366 | refs/heads/master | 2020-12-30T10:36:34.414880 | 2014-02-03T12:37:45 | 2014-02-03T12:37:45 | 13,868,029 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,340 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
counter = 0;
vagRounded.loadFont("vag.ttf", 32);
ofBackground(50,50,50);
}
//--------------------------------------------------------------
void testApp::update(){
counter = counter + 0.033f;
}
//--------------------------------------------------------------
void testApp::draw(){
sprintf (timeString, "time: %i:%i:%i \nelapsed time %lli", ofGetHours(), ofGetMinutes(), ofGetSeconds(), ofGetElapsedTimeMillis());
float w = vagRounded.stringWidth(eventString);
float h = vagRounded.stringHeight(eventString);
ofSetHexColor(0xffffff);
vagRounded.drawString(eventString, 98,198);
ofSetColor(255,122,220);
vagRounded.drawString(eventString, 100,200);
ofSetHexColor(0xffffff);
vagRounded.drawString(timeString, 98,98);
ofSetColor(255,122,220);
vagRounded.drawString(timeString, 100,100);
}
//--------------------------------------------------------------
void testApp::keyPressed (int key){
if(key & OF_KEY_MODIFIER){
if(key >= OF_KEY_F1 && key <= OF_KEY_F12){
sprintf(eventString, "keyPressed = (%i) %s", key, ("F" + ofToString(key+1-OF_KEY_F1)).c_str());
}else{
switch(key){
case OF_KEY_LEFT:
sprintf(eventString, "keyPressed = (%i) %s", key, "LEFT");
break;
case OF_KEY_UP:
sprintf(eventString, "keyPressed = (%i) %s", key, "UP");
break;
case OF_KEY_RIGHT:
sprintf(eventString, "keyPressed = (%i) %s", key, "RIGHT");
break;
case OF_KEY_DOWN:
sprintf(eventString, "keyPressed = (%i) %s", key, "DOWN");
break;
case OF_KEY_PAGE_UP:
sprintf(eventString, "keyPressed = (%i) %s", key, "PAGE UP");
break;
case OF_KEY_PAGE_DOWN:
sprintf(eventString, "keyPressed = (%i) %s", key, "PAGE DOWN");
break;
case OF_KEY_HOME:
sprintf(eventString, "keyPressed = (%i) %s", key, "HOME");
break;
case OF_KEY_END:
sprintf(eventString, "keyPressed = (%i) %s", key, "END");
break;
case OF_KEY_INSERT:
sprintf(eventString, "keyPressed = (%i) %s", key, "INSERT");
break;
case OF_KEY_LEFT_SHIFT:
sprintf(eventString, "keyPressed = (%i) %s", key, "LEFT SHIFT");
break;
case OF_KEY_LEFT_CONTROL:
sprintf(eventString, "keyPressed = (%i) %s", key, "LEFT CONTROL");
break;
case OF_KEY_LEFT_SUPER:
sprintf(eventString, "keyPressed = (%i) %s", key, "LEFT SUPER");
break;
case OF_KEY_RIGHT_SHIFT:
sprintf(eventString, "keyPressed = (%i) %s", key, "RIGHT SHIFT");
break;
case OF_KEY_RIGHT_CONTROL:
sprintf(eventString, "keyPressed = (%i) %s", key, "RIGHT CONTROL");
break;
case OF_KEY_RIGHT_ALT:
sprintf(eventString, "keyPressed = (%i) %s", key, "RIGHT ALT");
break;
case OF_KEY_RIGHT_SUPER:
sprintf(eventString, "keyPressed = (%i) %s", key, "RIGHT SUPER");
break;
}
}
}else{
sprintf(eventString, "keyPressed = (%i) %c", key, (char)key);
}
}
//--------------------------------------------------------------
void testApp::keyReleased(int key){
if(key & OF_KEY_MODIFIER){
if(key >= OF_KEY_F1 && key <= OF_KEY_F12){
sprintf(eventString, "keyReleased = (%i) %s", key, ("F" + ofToString(key+1-OF_KEY_F1)).c_str());
}else{
switch(key){
case OF_KEY_LEFT:
sprintf(eventString, "keyReleased = (%i) %s", key, "LEFT");
break;
case OF_KEY_UP:
sprintf(eventString, "keyReleased = (%i) %s", key, "UP");
break;
case OF_KEY_RIGHT:
sprintf(eventString, "keyReleased = (%i) %s", key, "RIGHT");
break;
case OF_KEY_DOWN:
sprintf(eventString, "keyReleased = (%i) %s", key, "DOWN");
break;
case OF_KEY_PAGE_UP:
sprintf(eventString, "keyReleased = (%i) %s", key, "PAGE UP");
break;
case OF_KEY_PAGE_DOWN:
sprintf(eventString, "keyReleased = (%i) %s", key, "PAGE DOWN");
break;
case OF_KEY_HOME:
sprintf(eventString, "keyReleased = (%i) %s", key, "HOME");
break;
case OF_KEY_END:
sprintf(eventString, "keyReleased = (%i) %s", key, "END");
break;
case OF_KEY_INSERT:
sprintf(eventString, "keyReleased = (%i) %s", key, "INSERT");
break;
case OF_KEY_LEFT_SHIFT:
sprintf(eventString, "keyReleased = (%i) %s", key, "LEFT SHIFT");
break;
case OF_KEY_LEFT_CONTROL:
sprintf(eventString, "keyReleased = (%i) %s", key, "LEFT CONTROL");
break;
case OF_KEY_LEFT_SUPER:
sprintf(eventString, "keyReleased = (%i) %s", key, "LEFT SUPER");
break;
case OF_KEY_RIGHT_SHIFT:
sprintf(eventString, "keyReleased = (%i) %s", key, "RIGHT SHIFT");
break;
case OF_KEY_RIGHT_CONTROL:
sprintf(eventString, "keyReleased = (%i) %s", key, "RIGHT CONTROL");
break;
case OF_KEY_RIGHT_ALT:
sprintf(eventString, "keyReleased = (%i) %s", key, "RIGHT ALT");
break;
case OF_KEY_RIGHT_SUPER:
sprintf(eventString, "keyReleased = (%i) %s", key, "RIGHT SUPER");
break;
}
}
}else{
sprintf(eventString, "keyReleased = (%i) %c", key, (char)key);
}
}
//--------------------------------------------------------------
void testApp::mouseMoved(int x, int y ){
sprintf(eventString, "mouseMoved = (%i,%i)", x, y);
}
//--------------------------------------------------------------
void testApp::mouseDragged(int x, int y, int button){
sprintf(eventString, "mouseDragged = (%i,%i - button %i)", x, y, button);
}
//--------------------------------------------------------------
void testApp::mousePressed(int x, int y, int button){
sprintf(eventString, "mousePressed = (%i,%i - button %i)", x, y, button);
}
//--------------------------------------------------------------
void testApp::mouseReleased(int x, int y, int button){
sprintf(eventString, "mouseReleased = (%i,%i - button %i)", x, y, button);
}
//--------------------------------------------------------------
void testApp::windowResized(int w, int h){
sprintf(eventString, "resized = (%i,%i)", w, h);
}
//--------------------------------------------------------------
void testApp::gotMessage(ofMessage msg){
sprintf(eventString, "gotMessage %s ", msg.message.c_str());
}
//--------------------------------------------------------------
void testApp::dragEvent(ofDragInfo dragInfo){
sprintf(eventString, "%i files dragged into the window at (%i, %i)", (int)dragInfo.files.size(), (int)dragInfo.position.x, (int)dragInfo.position.y);
}
| [
"matthias.m.hinz@googlemail.com"
] | matthias.m.hinz@googlemail.com |
530c411f18f99f656b7ebbbbe872329d2e09fdaa | 8bfde2ca2f110e87e6d7af5d0808362e741bcd64 | /COMPETITIVE_NININJAS/Minimum Number of Chocolates.cpp | 510b2f9da394c7095504ffe0e1d81aafdb012887 | [] | no_license | SamarthAroraa/cpp-codebase | e9f59dcab89d10fcd9570917817d71d25d725e54 | fdd2fb04664a8865f72a96f36838c44d29e64fc3 | refs/heads/master | 2022-08-29T03:57:02.847686 | 2020-05-29T08:55:52 | 2020-05-29T08:55:52 | 267,812,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include<bits/stdc++.h>
#define deb(x) cerr<<#x<<" "<<x<<endl;
#define ll long long
using namespace std;
int getMin(int *arr, int n){
// sort(arr,arr+n);
// for(int i=0;i<n;i++){
// cout<<arr[i]<<" ";
// }
int sum=0;
int choc[n];
choc[0]=1;
// sum+=choc[0];
for(int i=1;i<n;i++){
if(arr[i]>arr[i-1]){
choc[i] = choc[i-1]+1;
}
else{
choc[i]= 1;
}
// deb(i)
// deb(choc[i])
// sum+=choc[i];
}
for(int i=n-2;i>=0;i--){
if(arr[i]>arr[i+1] and choc[i]<=choc[i+1]){
choc[i] = choc[i+1]+1;
}
sum+=choc[i];
// deb(i)
// deb(choc[i])
// sum+=choc[i];
}
return sum+choc[n-1];
}
int main(){
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
int n;
cin>>n;
int*arr= new int[n];
for(int i=0;i<n;i++){
cin>>arr[i];
}
int k= getMin(arr,n);
cout<<k;
return 0;
} | [
"samartharora@Samarths-MacBook-Air.local"
] | samartharora@Samarths-MacBook-Air.local |
672f436717c64f5dbb4b456dc9e895ce30218313 | b38063d6700559ba059ee6e04034352d34620d24 | /tests/pair_extraction.cc | 69f2ba2ff7899c3ad3b601c4372a6a6b207e73d7 | [
"Apache-2.0"
] | permissive | kaorun55/Super4PCS | 6bcfe12068c3e0b154a26447b510d1336209d4b3 | 355c8f8d2af49f97c561d15e02632d55420a1127 | refs/heads/master | 2021-01-17T10:40:01.186462 | 2015-05-11T14:35:39 | 2015-05-11T14:35:39 | 30,953,909 | 0 | 0 | null | 2015-02-18T05:49:06 | 2015-02-18T05:49:04 | C++ | UTF-8 | C++ | false | false | 8,237 | cc | // Copyright 2014 Nicolas Mellado
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// -------------------------------------------------------------------------- //
//
// Authors: Nicolas Mellado
//
// This test check the validity of the pair extraction subroutine on random data
// of different dimensions (2,3 and 4).
//
//
// This test is part of the implementation of the Super 4-points Congruent Sets
// (Super 4PCS) algorithm presented in:
//
// Super 4PCS: Fast Global Pointcloud Registration via Smart Indexing
// Nicolas Mellado, Dror Aiger, Niloy J. Mitra
// Symposium on Geometry Processing 2014.
//
// Data acquisition in large-scale scenes regularly involves accumulating
// information across multiple scans. A common approach is to locally align scan
// pairs using Iterative Closest Point (ICP) algorithm (or its variants), but
// requires static scenes and small motion between scan pairs. This prevents
// accumulating data across multiple scan sessions and/or different acquisition
// modalities (e.g., stereo, depth scans). Alternatively, one can use a global
// registration algorithm allowing scans to be in arbitrary initial poses. The
// state-of-the-art global registration algorithm, 4PCS, however has a quadratic
// time complexity in the number of data points. This vastly limits its
// applicability to acquisition of large environments. We present Super 4PCS for
// global pointcloud registration that is optimal, i.e., runs in linear time (in
// the number of data points) and is also output sensitive in the complexity of
// the alignment problem based on the (unknown) overlap across scan pairs.
// Technically, we map the algorithm as an ‘instance problem’ and solve it
// efficiently using a smart indexing data organization. The algorithm is
// simple, memory-efficient, and fast. We demonstrate that Super 4PCS results in
// significant speedup over alternative approaches and allows unstructured
// efficient acquisition of scenes at scales previously not possible. Complete
// source code and datasets are available for research use at
// http://geometry.cs.ucl.ac.uk/projects/2014/super4PCS/.
#include "4pcs.h"
#include "Eigen/Dense"
#include <fstream>
#include <iostream>
#include <string>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/eigen.hpp>
#include "accelerators/pairExtraction/intersectionFunctor.h"
#include "accelerators/pairExtraction/intersectionPrimitive.h"
#include "bbox.h"
#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>
#include <utility> // pair
#include "testing.h"
//#include "normalset.h"
//#include "normalHealSet.h"
using namespace match_4pcs;
namespace Utilities{
static double Timer_getTime(void)
{
struct timeval tv;
struct timezone tz;
gettimeofday(&tv, &tz);
return (double)tv.tv_sec + 1.e-6 * (double)tv.tv_usec;
}
typedef double Timer;
static inline void startTimer(Timer& timer) { timer = Timer_getTime(); }
static inline void stopTimer(Timer& timer) { timer = Timer_getTime() - timer; }
}
struct PairCreationFunctor{
typedef std::pair<unsigned int, unsigned int>ResPair;
std::vector< ResPair >pairs;
std::vector<unsigned int> ids;
inline void beginPrimitiveCollect(int primId){
}
inline void endPrimitiveCollect(int primId){
}
inline void process(int primId, int pointId){
//if(pointId >= 10)
pairs.push_back(ResPair(pointId, primId));
}
};
/*!
* \brief Generate a set of random points and spheres, and test the pair extraction
Two tests are operated here:
- Check the validity of the sphere to point intersection test
- Check the rendering
Note here that rendering timings are not optimal because we have a volume
uniformly sampled and not a surface.
*/
template<typename Scalar, typename Point, typename Primitive, typename Functor>
void testFunction( Scalar r, Scalar epsilon,
unsigned int nbPoints, unsigned int nbPrimitives){
// Init required structures
Utilities::Timer t;
std::vector< std::pair<unsigned int, unsigned int> > p2;
p2.reserve(nbPoints*nbPrimitives);
PairCreationFunctor functor;
functor.ids.clear();
for(unsigned int i = 0; i < nbPoints; i++)
functor.ids.push_back(i);
functor.pairs.reserve(nbPoints*nbPrimitives);
// Init Random Positions
std::vector<Point> points;
Point half (Point::Ones()/2.f);
for(unsigned int i = 0; i != nbPoints; i++){
Point p (0.5f*Point::Random() + half);
points.push_back(p);
}
// Init random Spheres
std::vector<Primitive> primitives;
for(unsigned int i = 0; i != nbPrimitives; i++){
Point p (0.5f*Point::Random() + half);
primitives.push_back(Primitive(p, r));
}
// Test test intersection procedure
// Here we compare the brute force pair extraction and the sphere to point
// intersection procedure
{
Primitive& sphere = primitives.front();
for(unsigned int i = 0; i != nbPoints; i++){
const Point&p = points[i];
VERIFY( sphere.intersectPoint(p, epsilon) ==
SQR((p - sphere.center()).norm()- sphere.radius()) < SQR(epsilon));
}
}
// Test Rendering process
{
Functor IF;
// Extract pairs using rendering process
Utilities::startTimer(t);
IF.process(primitives, points, epsilon, 20, functor);
Utilities::stopTimer(t);
// Extract pairs using brute force
Utilities::startTimer(t);
for(unsigned int i = 0; i != nbPoints; i++)
for(unsigned int j = i+1; j < primitives.size(); j++)
if (primitives[j].intersectPoint(points[i], epsilon))
p2.push_back(std::pair<unsigned int, unsigned int>(i,j));
Utilities::stopTimer(t);
// Check we get the same set size
VERIFY( functor.pairs.size() == p2.size());
}
}
template<typename Scalar,
int Dim,
template <typename,typename,int,typename> class _Functor>
void callSubTests()
{
using namespace Super4PCS::Accelerators::PairExtraction;
typedef Eigen::Matrix<Scalar, Dim, 1> EigenPoint;
typedef HyperSphere< EigenPoint, Dim, Scalar > Sphere;
typedef _Functor<Sphere, EigenPoint, Dim, Scalar> Functor;
Scalar r = 0.5; // radius of the spheres
Scalar eps = 0.125/8.; // epsilon value
unsigned int nbPoint = 10000; // size of Q point cloud
unsigned int nbPrim = 500; // number of primitive queries
for(int i = 0; i < g_repeat; ++i)
{
CALL_SUBTEST(( testFunction<Scalar,
EigenPoint,
Sphere,
Functor>(r, eps, nbPoint, nbPrim) ));
}
}
int main(int argc, char **argv) {
if(!init_testing(argc, argv))
{
return EXIT_FAILURE;
}
using std::cout;
using std::endl;
using namespace Super4PCS::Accelerators::PairExtraction;
cout << "Extract pairs in 2 dimensions..." << endl;
callSubTests<float, 2, IntersectionFunctor>();
callSubTests<double, 2, IntersectionFunctor>();
callSubTests<long double, 2, IntersectionFunctor>();
cout << "Ok..." << endl;
cout << "Extract pairs in 3 dimensions..." << endl;
callSubTests<float, 3, IntersectionFunctor>();
callSubTests<double, 3, IntersectionFunctor>();
callSubTests<long double, 3, IntersectionFunctor>();
cout << "Ok..." << endl;
cout << "Extract pairs in 4 dimensions..." << endl;
callSubTests<float, 4, IntersectionFunctor>();
callSubTests<double, 4, IntersectionFunctor>();
callSubTests<long double, 4, IntersectionFunctor>();
cout << "Ok..." << endl;
return EXIT_SUCCESS;
}
| [
"nmellado0@gmail.com"
] | nmellado0@gmail.com |
acc68984a139d28aaeba3060cfea19bb31c73bc2 | 2f71acd47b352909ca2c978ad472a082ee79857c | /src/abc173/b.cpp | fd24e7b124e982389ebc2c88548697ed09269b51 | [] | no_license | imoted/atCoder | 0706c8b188a0ce72c0be839a35f96695618d0111 | 40864bca57eba640b1e9bd7df439d56389643100 | refs/heads/master | 2022-05-24T20:54:14.658853 | 2022-03-05T08:23:49 | 2022-03-05T08:23:49 | 219,258,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,566 | cpp | #include <bits/stdc++.h>
using namespace std;
// input
#define INIT std::ios::sync_with_stdio(false);std::cin.tie(0);
#define VAR(type, ...)type __VA_ARGS__;MACRO_VAR_Scan(__VA_ARGS__); // __VA_ARGS__可変引数マクロ
template<typename T> void MACRO_VAR_Scan(T& t) { std::cin >> t; }
template<typename First, typename...Rest>void MACRO_VAR_Scan(First& first, Rest& ...rest) { std::cin >> first; MACRO_VAR_Scan(rest...); }
#define VEC_ROW(type, n, ...)std::vector<type> __VA_ARGS__;MACRO_VEC_ROW_Init(n, __VA_ARGS__); for(int w_=0; w_<n; ++w_){MACRO_VEC_ROW_Scan(w_, __VA_ARGS__);}
template<typename T> void MACRO_VEC_ROW_Init(int n, T& t) { t.resize(n); }
template<typename First, typename...Rest>void MACRO_VEC_ROW_Init(int n, First& first, Rest& ...rest) { first.resize(n); MACRO_VEC_ROW_Init(n, rest...); }
template<typename T> void MACRO_VEC_ROW_Scan(int p, T& t) { std::cin >> t[p]; }
template<typename First, typename...Rest>void MACRO_VEC_ROW_Scan(int p, First& first, Rest& ...rest) { std::cin >> first[p]; MACRO_VEC_ROW_Scan(p, rest...); }
#define VEC(type, c, n) std::vector<type> c(n);for(auto& i:c)std::cin>>i;
#define MAT(type, c, m, n) std::vector<std::vector<type>> c(m, std::vector<type>(n));for(auto& R:c)for(auto& w:R)std::cin>>w;
// output
template<typename T>void MACRO_OUT(const T t) { std::cout << t; }
template<typename First, typename...Rest>void MACRO_OUT(const First first, const Rest...rest) { std::cout << first << " "; MACRO_OUT(rest...); }
#define OUT(...) MACRO_OUT(__VA_ARGS__);
#define FOUT(n, dist) std::cout<<std::fixed<<std::setprecision(n)<<(dist); // std::fixed 浮動小数点の書式 / setprecision 浮動小数点数を出力する精度を設定する。
#define SOUT(n, c, dist) std::cout<<std::setw(n)<<std::setfill(c)<<(dist);
#define EOUT(...) { OUT(__VA_ARGS__)BR; exit(0); }
#define SP std::cout<<" ";
#define TAB std::cout<<"\t";
#define BR std::cout<<"\n";
#define SPBR(w, n) std::cout<<(w + 1 == n ? '\n' : ' ');
#define ENDL std::cout<<std::endl;
#define FLUSH std::cout<<std::flush;
#define SHOW(dist) {std::cerr << #dist << "\t: " << (dist) << "\n";}
#define SHOWVECTOR(v) {std::cerr << #v << "\t: ";for(const auto& xxx : v){std::cerr << xxx << " ";}std::cerr << "\n";}
#define SHOWVECTOR2(v) {std::cerr << #v << "\t:\n";for(const auto& xxx : v){for(const auto& yyy : xxx){std::cerr << yyy << " ";}std::cerr << "\n";}}
#define SHOWQUEUE(a) {auto tmp(a);std::cerr << #a << "\t: ";while(!tmp.empty()){std::cerr << tmp.front() << " ";tmp.pop();}std::cerr << "\n";}
#define SHOWSTACK(a) {auto tmp(a);std::cerr << #a << "\t: ";while(!tmp.empty()){std::cerr << tmp.top() << " ";tmp.pop();}std::cerr << "\n";}
#define cYES cout<<"YES"<<endl
#define cNO cout<<"NO"<<endl
#define cYes cout<<"Yes"<<endl
#define cNo cout<<"No"<<endl
// utility
#define ALL(a) (a).begin(),(a).end()
#define FOR(w, a, n) for(int w=(a);w<(n);++w)
#define RFOR(w, a, n) for(int w=(n)-1;w>=(a);--w)
#define REP(w, n) for(int w=0;w<int(n);++w)
#define RREP(w, n) for(int w=int(n)-1;w>=0;--w)
#define IN(a, x, b) (a<=x && x<b)
template<class T> inline T CHMAX(T & a, const T b) { return a = (a < b) ? b : a; }
template<class T> inline T CHMIN(T& a, const T b) { return a = (a > b) ? b : a; }
#define PB push_back // 配列の最後にappendする
#define MP make_pair
#define FI first
#define SE second
// test
template<class T> using V = std::vector<T>;
template<class T> using VV = V<V<T>>;
// type/const
// #define int ll
using ll = long long;
using ull = unsigned long long;
using ld = long double;
using PAIR = std::pair<int, int>;
using PAIRLL = std::pair<ll, ll>;
constexpr int INFINT = (1 << 30) - 1; // 1.07x10^ 9
constexpr int INFINT_LIM = (1LL << 31) - 1; // 2.15x10^ 9
constexpr ll INFLL = 1LL << 60; // 1.15x10^18
constexpr ll INFLL_LIM = (1LL << 62) - 1 + (1LL << 62); // 9.22x10^18
constexpr double eps = 1e-7;
constexpr int MOD = 1000000007;
constexpr double PI = 3.141592653589793238462643383279;
template<class T, size_t N> void FILL(T(&a)[N], const T & val) { for (auto& x : a) x = val; }
template<class ARY, size_t N, size_t M, class T> void FILL(ARY(&a)[N][M], const T & val) { for (auto& b : a) FILL(b, val); }
template<class T> void FILL(std::vector<T> & a, const T & val) { for (auto& x : a) x = val; }
template<class ARY, class T> void FILL(std::vector<std::vector<ARY>> & a, const T & val) { for (auto& b : a) FILL(b, val); }
// ------------>8------------------------------------->8------------
int main() {
INIT;
VAR(int,n)
VEC(string,s,n)
int ac =0;
int wa =0;
int tle =0;
int re =0;
REP(i,n){
if(s[i] == "AC")
ac++;
else if(s[i] == "WA")
wa++;
else if(s[i] == "TLE")
tle++;
else
re++;
}
OUT("AC x ") OUT(ac) BR;
OUT("WA x ") OUT(wa) BR;
OUT("TLE x ") OUT(tle) BR;
OUT("RE x ") OUT(re) BR;
return 0;
}
////////////////////////// 数値、Vectorなど配列に適用 ///////////////////////////
// vector<int> a{1,2,3,4,5};
// vector<int> b(n, -1); // nは配列大きさ、 -1は初期値
// cout << a.size()<< '\n'; //aの大きさ
// cout << a[3]<< '\n'; //i番目の要素にアクセス
// cout << a.front()<< '\n'; //先頭を参照
// cout << a.back()<< '\n'; //末尾を参照
// a.push_back(10); //末尾に要素を追加
// a.pop_back(); //末尾の要素を削除
// listに対するfor文 書き方
// n = {{0,1,2},{3,4,5}}
// for(int i : n[0]){
// OUT(i)
// }
// 出力は 0,1,2
//"a" を b回繰り返すstringで初期化
// std::string s(b, "a");
// 3項演算子
// (n == m ? cYES : cNO)
// 配列の重複削除に使うset 配列 insertとかで配列を作り変える?
// std::set<int> st{3, 1, 4, 1};
// set は重複を許さない順序付集合なので、上記のように重複データがある場合は、重複データは自動的に削除され、{1, 3, 4} だけが格納される。
// CHMAX(a,b) a,bを比較して、でかい方をaに代入する
// 数値型への変換
// string s = "1";
// int a = s[0]-'0';
// charから数値への変換
// std::stoi() int
// std::stol() long
// std::stoll() long long
// std::stof() float
// std::stod() double
// std::stold() long double
// 2つの変数をスワップ
// int a = 1;
// int b = 2;
// swap(a, b); // a = 2, b = 1 // 戻り値は特になし
// 配列から配列を検索
// vector<ll> v = { 1, 2, 3, 4, 5 };
// vector<ll> w = { 3,4 };
// cout << *search(v.begin(), v.end(), w.begin(), w.end()); // v.begin() + 2
// 配列から 要素を検索
// vector<int> v = { 1, 2, 3, 4, 5 };
// vector<int>::iterator itr_b = find(v.begin(), v.end(), 3); // v.begin() + 2
// cout << *itr_b;
// vector<int>::iterator itr_e = find(v.begin(), v.end(), 7); // v.end()
// cout << *itr_e;
// 同等かどうか、を判定 boolを返す
// vector<ll> v = { 1, 2, 3 };a
// vector<ll> w = { 1, 2, 3 };
// cout << equal(v.begin(), v.end(), w.begin()); // true
// w[0] = 2;
// cout << equal(v.begin(), v.end(), w.begin()); // false
// 配列の中から数を数える //遅い O(N)
// vector<ll> v = { 1, 2, 1, 3, 2 };
// cout << count(v.begin(), v.end(), 1); // 2
// 配列で、配列内のそれぞれの要素のヒストグラムをmap 連想配列で作る
// REP(x,n) cnt[a[x]]++;
// 配列の要素を入れ替える
// V<ll> v = { 1, 2, 3, 2, 1 };
// replace(v.begin(), v.end(), 2, 4); // v = { 1, 4, 3, 4, 1 }
// 配列から要素を消す removeだけでは、ゴミがついてくるので、eraseを行う。
// V<ll> v = { 1, 2, 3, 2, 1 };
// V<ll> w = { 1, 2, 3, 2, 1 };
// remove(v.begin(), v.end(), 2); // v = { 1, 3, 1, ? , ? }
// remove(w.begin(), w.end(), 2), w.end(); // w = { 1,3,1}
// w.erase(remove(w.begin(), w.end(), 2), w.end()); // w = { 1,3,1}
// 連続した同じ値を消す。removeと同様新しい末尾位置を示すイテレータが返ってくる。
// 重複を無視して数え上げるときに、多くの場合setを使うよりもvectorにpush_backしていき、sortしてuniqueしたほうが速い(g++で確認)。
// V<ll> v = { 1, 1, 2, 2, 3, 3 };
// v.erase(unique(v.begin(), v.end()), v.end()); // v = { 1, 2, 3 }
// めちゃ遅い 要注意
// 逆順に並べ替える。
// 単純に逆にしたい時はもちろん、シーケンスを逆にたどるときにreverseをしておくとインデキシングが楽になるのでたまに使う。
// V<ll> v = { 1, 2, 3, 4, 5 };
// reverse(v.begin(), v.end()); // v = { 5, 4, 3, 2, 1 }
// シーケンスをシフトする。引数がなかなか難しいが、第2引数は操作後に新しく先頭になっている要素のイテレータ。
// V<ll> v = { 1, 2, 3, 4, 5 };
// rotate(v.begin(), v.begin() + 2, v.end()); // v = { 3, 4, 5, 1,2 }
// ランダムにシャッフルする。
// 乱択したい時や、特定の順番の入力に対して弱いアルゴリズムを使う時に入力をシャッフルしておくなどの使い方がある。
// V<ll> v = { 1, 2, 3, 4, 5 };
// random_shuffle(v.begin(), v.end()); // v = { 3, 5, 2, 4, 1 } (例えばこうなる)
// sort / 逆順ソートも
// V<ll> v = { 3, 5, 2, 4, 1 };
// V<ll> w = { 3, 5, 2, 4, 1 };
// sort(v.begin(), v.end()); // v = { 1, 2, 3, 4, 5 }
// sort(w.rbegin(), w.rend()); // w = { 5, 4, 3, 2, 1 } (greaterを使うより楽!)
// ソート済みのシーケンスに対して、ある値を入れるときに、最も早い/遅い位置の直後のイテレータを返す。
// 勝手に二分探索してくれるので便利。
// V<ll> v = { 1, 2, 2, 3, 3 };
// cout << *lower_bound(v.begin(), v.end(), 2); // v.begin() + 1
// cout << *upper_bound(v.begin(), v.end(), 2); // v.begin() + 3
// ソート済みのシーケンスに対して、ある値が存在するかを調べる。
// 他の操作が必要ない場合はsetを使うことで簡単にかけるので使う頻度は少ないかもしれない。
// V<ll> v = { 1, 2, 2, 3, 3 };
// cout << binary_search(v.begin(), v.end(), 2); // true
// cout << binary_search(v.begin(), v.end(), 4); // false
// シーケンス中の最大値/最小値「のイテレータ」を返す。
// 単純に最大値/最小値が欲しい時のほか、そのインデックスまで分かるため、非常に便利。
// V<ll> v = { 3, 5, 2, 4, 1 };
// cout << *max_element(v.begin(), v.end()); // 5
// cout << max_element(v.begin(), v.end()) - v.begin(); // 1 (5のインデックス)
// 辞書順で次の/前のものに並び替える。返り値は、次の/前のものがない場合にfalse、それ以外はtrueになる。
// 自分で作るとかなりめんどくさいし、非常に便利。
// 全順列を試す場合、再帰するよりもだいたい速い(ただし、枝刈りは難しくなる)。
// 99%くらい以下のdo〜whileの形で使う。
// V<ll> v = { 1, 2, 3 };
// do{
// // v は ループごとに
// { 1, 2, 3 }
// { 1, 3, 2 }
// { 2, 1, 3 }
// { 2, 3, 1 }
// { 3, 1, 2 }
// { 3, 2, 1 }
// // になっている。
// dummy = 1;
// }while(next_permutation(v.begin(), v.end()));
// // ループ後は v = { 1, 2, 3 }
// // 組み合わせを全部試したいときにも使える
// // 3個中2個を選びたい場合は
// // w = { 0, 1, 1 } としておき以下のように出来る。
// do{
// // w[i] = 1 ならば i 番目のものを選んでいる状態
// // w[i] = 0 ならば i 番目のものは選んでいない状態
// dummy = 1;
// }while(next_permutation(w.begin(), w.end()));
// 総和を簡単に求められる。
// 初期値の型によって結果の型を決めることが出来るのが地味に便利。
// V<ll> v = { 1, 2, 3, 4, 5 };
// V<string> w = { "Competitive", "Programming", "Advent", "Calendar" };
// cout << accumulate(v.begin(), v.end(), 0); // 15、結果はint
// cout << accumulate(v.begin(), v.end(), 0ll); // 15、結果はlong long
// cout << accumulate(v.begin(), v.end(), 1, multiplies<int>()); // 120、結果はint
// cout << accumulate(w.begin(), w.end(), string()); // "CompetitiveProgrammingAdventCalendar"
// 途中までの和を全部求められる
// この結果を利用してO(1)で部分和を求めることが出来ることなどから利用する場面がありそう
// V<ll> v = { 1, 2, 3, 4, 5 };
// V<ll> w = { 1, 2, 3, 4, 5 };
// // w.size() >= 5 じゃないとダメ
// partial_sum(v.begin(), v.end(), w.begin()); // w = { 1, 3, 6, 10, 15 }
// partial_sum(v.begin(), v.end(), v.begin()); // vに上書きもできる v
// nCkのコンビネーションの一覧を出してくれる 関数
// vのvectorに、kを変えた時の一覧が配列で出力される。
// void comb(vector<vector<ull> > &v){
// for(int i = 0;i <v.size(); i++){
// v[i][0]=1;
// v[i][i]=1;
// }
// for(int k = 1;k <v.size();k++){
// for(int j = 1;j<k;j++){
// v[k][j]=(v[k-1][j-1]+v[k-1][j]);
// }
// }
// }
// vector<vector<ull> > v(n+1,vector<ull>(n+1,0));
// comb(v);
// map配列 map へのアクセス(countなどのSTL)は、vectorなどに比べてOlogN の計算量で早い。
// map<int, int> cnt;
// for (int x : A) {
// if (cnt.count(x)) {
// cnt[x]++;
// }
// }
// 1 << (h-1) 2 の h乗の表現
// mint combination(ull s, ull r) {
// if ( r * 2 > s ) r = s - r;
// mint dividend = 1;
// mint divisor = 1;
// for ( ull i = 1; i <= r; ++i ) {
// dividend *= (s-i+1);
// divisor *= i;
// }
// return dividend / divisor;
// }
// pairの定義方法
// PAIR ans(9999,-1);
// OUT(ans.first);
// pair同士の比較 第一引数がまず比較される。
// PAIR ans = min(PAIR(3,4),PAIR(2,3));
// OUT(ans.second)
//////////////////////////////// 文字列に対して適用 //////////////////////////
// s = s + t; //連結
// s == t; //比較
// s.length(); //長さ
// cout << s[0] << '\n'; //i番目の文字を参照
// cout << s.substr(0, 5)<< '\n'; //i番目以降k文字を抽出して得られる文字列
// cout << s.find("abc")<< '\n'; //sの中に文字列tがあればその先頭のアドレスを返す.なければs.nopsを返却
// if (UPos != std::string::npos) { ans_s = A -1; }
// cout << s.replace(0, 3, "zxc")<< '\n'; //i番目以降k文字を文字列tで置換する.tを空文字列にすれば削除の動作
// めちゃ遅い 要注意
// cout << s.insert(5, "ins")<< '\n'; //i番目の文字の前に文字列tを挿入
// 文字列の辞書順比較
// str <= str2 str > str2
// min() max() でもOK
// 数値 → 文字列への変換
// auto s = std::to_string(i);
// 数値から、文字列に変換、上位の数字と、下位の数字をペアにして、数値に戻す。
// auto s = std::to_string(i);
// ++map[PAIR(s.front() - '0', s.back() - '0')];
// めちゃ遅い 要注意
// 文字列を逆に並べる 引数はイテレータ
//reverse(s.begin() ,s.end());
// 連想配列
// map<string, int> score;
// score["Alice"] = 100;
// score["Dave"] = 95;
// score["Bob"] = 89;
// cout << score["Alice"];
// 「"」で囲われた文字列は、文字列が格納されたメモリのアドレスを意味します。
// string s = 'AAA'; // NG 文字の実態を表している
// string t = "AAA"; // OK 文字列のアドレスを表している
// char c = 'A'; // OK 文字の実態を表している
// char d = *"A"; // OK
// char e = "A" // NG 文字列のアドレスを表している
| [
"tad.imokawa@gmail.com"
] | tad.imokawa@gmail.com |
43785d74a85c8672bfa745b23dc40dad8b746e8a | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/advcore/gdiplus/test/comtest/comtest.cpp | e3df685c393f1f335d6ab110a70fe18fc2cded1a | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 1,647 | cpp | #include "precomp.hpp"
#include "comtest.h"
#include "ComBase.hpp"
#include "HelloWorld.hpp"
#include <initguid.h>
#include "comtest_i.c"
HINSTANCE globalInstanceHandle = NULL;
LONG globalComponentCount = 0;
//
// DLL entrypoint
//
extern "C" BOOL WINAPI
DllMain(
HINSTANCE hInstance,
DWORD dwReason,
VOID* lpReserved
)
{
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstance);
globalInstanceHandle = hInstance;
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
//
// Determine whether the DLL can be safely unloaded
//
STDAPI
DllCanUnloadNow()
{
return (globalComponentCount == 0) ? S_OK : S_FALSE;
}
//
// Return a class factory object
//
STDAPI
DllGetClassObject(
REFCLSID rclsid,
REFIID riid,
VOID** ppv
)
{
if (rclsid != CLSID_HelloWorld)
return CLASS_E_CLASSNOTAVAILABLE;
CHelloWorldFactory* factory = new CHelloWorldFactory();
if (factory == NULL)
return E_OUTOFMEMORY;
HRESULT hr = factory->QueryInterface(riid, ppv);
factory->Release();
return hr;
}
//
// Register our component
//
static const ComponentRegData compRegData =
{
&CLSID_HelloWorld,
L"Skeleton COM Component",
L"comtest.HelloWorld.1",
L"comtest.HelloWorld"
};
STDAPI
DllRegisterServer()
{
return RegisterComponent(compRegData, TRUE);
}
//
// Unregister our component
//
STDAPI
DllUnregisterServer()
{
return RegisterComponent(compRegData, FALSE);
}
| [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
98ebc65259ad87f47d4c2988c2c2561fee1a305a | 5aa83fd4a74169c14e102d676e937fcdbd23dc64 | /TP3_fischmaa_geoffrog/src/Dvector.cpp | 353fbb833fcd01bdd1e615661ac8c42a7b0297e4 | [] | no_license | Fischmaa/ModelisationProgrammation | f061b7b8dc1e7e139725284e712b31b212451272 | a4edb83057c6f4801e68edabc19ee8d053c6fb0b | refs/heads/master | 2016-08-12T23:21:50.418119 | 2016-03-28T23:40:36 | 2016-03-28T23:40:36 | 51,293,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,914 | cpp | #include "Dvector.h"
#include <ctime>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cassert>
using namespace std;
Dvector::Dvector():Darray(){
};
Dvector::Dvector(int d, double val ):Darray(d,val){
};
Dvector::Dvector(const Darray & P):Darray(P){
};
Dvector::Dvector(const std::string& name):Darray(name){
};
Dvector::~Dvector(){
};
void Dvector::display( std::ostream& str) const
{
for (int i = 0; i < dim ; i++){
str << this->vect[i] << "\n" ;
}
}
void Dvector::fillRandomly() {
static bool init = false;
if (!init) {
init = true;
srand(time(NULL)); // Initialisation pour rand
}
// Generateur de nombre aleatoire
for (int i = 0; i < dim; i++) {
vect[i] = rand() / (double) RAND_MAX; // Loi Uniforme entre 0 et 1
}
}
bool Dvector::operator==(const Dvector& elem) const{
if(this->size()!=elem.size()){
return false;
}
else{
for(int i = 0 ; i< this->size();i++){
if(this->vect[i] != elem.vect[i]){
return false;
}
}
return true;;
}
}
bool Dvector::operator!=(const Dvector& elem) const{
bool res = *this==(elem);
return !res;
}
double Dvector::operator*(const Dvector& elem) const{
assert(this->size()==elem.size());
double res=0;
for(int i = 0 ; i< this->size();i++){
res=this->vect[i]+elem(i);
}
return res;
}
ostream & operator <<(ostream &OPut, const Dvector &P)
{
P.display(OPut);
return OPut;
}
// a tripatou
istream & operator >>(istream& Stream, Dvector &P)
{
std::string str;
for(int i=0;i<P.size();i++){
getline( Stream, str );
char *cptr = new char[str.size()+1]; // +1 to account for \0 byte
std::strncpy(cptr,str.c_str(), str.size());
P(i) = atof(cptr);
}
return Stream;
}
| [
"germain.geoffroy@ensimag.grenoble-inp.fr"
] | germain.geoffroy@ensimag.grenoble-inp.fr |
6471ef82b16c6875ae51284c34f5cfc9fe0965b4 | 4d77398fc24009f483f2b2abc028a135e09fc9eb | /Assignment4/Solid_plate/4.8/gradTz | 9728662a9194b279e95584bb5d401398f23fd547 | [] | permissive | Naveen-Surya/CFD-Lab-1 | 12c635b72c611d83080ed6dd316b1b0016f2f86f | c38b0bfe43c7135f4a10e744ea1ac6cf6e9d4a1a | refs/heads/master | 2020-04-05T16:43:39.651232 | 2018-08-23T12:10:06 | 2018-08-23T12:10:06 | 157,026,052 | 0 | 1 | MIT | 2018-11-10T22:11:51 | 2018-11-10T22:11:51 | null | UTF-8 | C++ | false | false | 1,376 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "4.8";
object gradTz;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 -1 0 1 0 0 0];
internalField uniform 0;
boundaryField
{
left
{
type calculated;
value uniform 0;
}
right
{
type calculated;
value uniform 0;
}
interface
{
type calculated;
value uniform 0;
}
bottom
{
type calculated;
value uniform 0;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //
| [
"sarthakgarg1993@gmail.com"
] | sarthakgarg1993@gmail.com | |
413b90b58da35954e4ea42562d7bad47495ef5e5 | c9b2a1b6cf254273cc4705f31916c4942fd6f47f | /Piscine_Cpp/d01/ex06/HumanA.cpp | 418630e146362fdb643199ed3289ef3a728c12a3 | [] | no_license | gbourgeo/42projects | cb4141026a2572c04a6e9820fe2d1a7319ac3225 | 3127c9e74ff8ec6d00be3f7d449f3469d56bdb86 | refs/heads/master | 2021-01-17T02:58:20.156155 | 2020-09-08T12:00:52 | 2020-09-08T12:00:52 | 58,766,253 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// HumanA.cpp :+: :+: :+: //
// +:+ +:+ +:+ //
// By: root </var/mail/root> +#+ +:+ +#+ //
// +#+#+#+#+#+ +#+ //
// Created: 2018/06/29 17:51:31 by root #+# #+# //
// Updated: 2018/06/29 18:06:55 by root ### ########.fr //
// //
// ************************************************************************** //
#include <iostream>
#include "HumanA.hpp"
HumanA::HumanA(std::string name, Weapon & weapon): _weapon(weapon), _name(name)
{}
HumanA::~HumanA()
{}
void HumanA::attack()
{
std::cout << _name << " attack with his " << _weapon.getType() << std::endl;
}
| [
"gillesbourgeois@gmail.com"
] | gillesbourgeois@gmail.com |
24cc4830b9b45c1d731ee9466937df1c20e2d369 | e773931bdeb9317a5ff7c7e2e6b1012b2645642a | /content/browser/accessibility/dump_accessibility_scripts_browsertest.cc | f527a0626e528c02c0bbc741699c395148fe0cf8 | [
"BSD-3-Clause"
] | permissive | SelyanKab/chromium | 21780bcaf7a21d67e3a4fe902aa8fd5d653b374b | ee248e9797404ad1cfcafdc3c0a58729b0f8f88d | refs/heads/master | 2023-03-14T15:02:38.903591 | 2021-03-10T10:21:05 | 2021-03-10T10:21:05 | 234,272,861 | 0 | 0 | BSD-3-Clause | 2020-01-16T08:36:12 | 2020-01-16T08:36:12 | null | UTF-8 | C++ | false | false | 3,441 | cc | // Copyright (c) 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/files/file_util.h"
#include "build/build_config.h"
#include "content/browser/accessibility/dump_accessibility_browsertest_base.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
namespace content {
using ui::AXPropertyFilter;
using ui::AXTreeFormatter;
// See content/test/data/accessibility/readme.md for an overview.
//
// This test loads an HTML file, invokes a script, and then
// compares the script output against an expected baseline.
//
// The flow of the test is as outlined below.
// 1. Load an html file from content/test/data/accessibility.
// 2. Read the expectation.
// 3. Browse to the page, executes scripts and format their output.
// 4. Perform a comparison between actual and expected and fail if they do not
// exactly match.
class DumpAccessibilityScriptTest : public DumpAccessibilityTestBase {
public:
void AddDefaultFilters(
std::vector<AXPropertyFilter>* property_filters) override;
void AddPropertyFilter(
std::vector<AXPropertyFilter>* property_filters,
const std::string& filter,
AXPropertyFilter::Type type = AXPropertyFilter::ALLOW) {
property_filters->push_back(AXPropertyFilter(filter, type));
}
std::vector<std::string> Dump(std::vector<std::string>& unused) override {
std::unique_ptr<AXTreeFormatter> formatter(CreateFormatter());
// Set test provided property filters.
formatter->SetPropertyFilters(property_filters_,
AXTreeFormatter::kFiltersDefaultSet);
// No accessible tree nodes, just run scripts.
formatter->SetNodeFilters({{"*", "*"}});
std::string actual_contents =
formatter->Format(GetRootAccessibilityNode(shell()->web_contents()));
return base::SplitString(actual_contents, "\n", base::KEEP_WHITESPACE,
base::SPLIT_WANT_NONEMPTY);
}
void RunMacTextMarkerTest(const base::FilePath::CharType* file_path) {
base::FilePath test_path =
GetTestFilePath("accessibility", "mac/textmarker");
{
base::ScopedAllowBlockingForTesting allow_blocking;
ASSERT_TRUE(base::PathExists(test_path)) << test_path.LossyDisplayName();
}
base::FilePath html_file = test_path.Append(base::FilePath(file_path));
RunTest(html_file, "accessibility/mac/textmarker");
}
};
void DumpAccessibilityScriptTest::AddDefaultFilters(
std::vector<AXPropertyFilter>* property_filters) {}
// Parameterize the tests so that each test-pass is run independently.
struct TestPassToString {
std::string operator()(const ::testing::TestParamInfo<size_t>& i) const {
auto passes = DumpAccessibilityTestHelper::TestPasses();
CHECK_LT(i.param, passes.size());
return std::string(passes[i.param]);
}
};
//
// Scripting supported on Mac only.
//
#if defined(OS_MAC)
INSTANTIATE_TEST_SUITE_P(
All,
DumpAccessibilityScriptTest,
::testing::Values(
1), // mac tree formatter, see DumpAccessibilityTestHelper::TestPasses
TestPassToString());
IN_PROC_BROWSER_TEST_P(DumpAccessibilityScriptTest, AXStartTextMarker) {
RunMacTextMarkerTest(FILE_PATH_LITERAL("ax_start_text_marker.html"));
}
#endif
} // namespace content
| [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
c0a3b262edf6cb5c27a0cf80537cc28b35042e30 | 30667f904bf553424e56364263e9923b5f42d74d | /PowerBook/Car.cpp | 02216472031c2f8e9f99729069ed3dd9197c7b1a | [] | no_license | bb2002/CPPStudyProjects | 037ae0a2b8a4f89a9725845989a1f00921b018cd | 2569dbb9e4a1c2acfbe67fcce20304b5094f79a3 | refs/heads/master | 2020-04-29T06:05:51.377024 | 2019-03-15T23:54:07 | 2019-03-15T23:54:07 | 175,904,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | #include "pch.h"
#include <iostream>
#include <cstring>
#include "Car.h"
using namespace std;
void Car::InitMembers(const char *id, int fuel) {
strcpy(PlayerID, id);
FuelGauge = fuel;
CurrentSpeed = 0;
}
void Car::Accel()
{
if (FuelGauge <= 0) {
return;
}
else {
FuelGauge -= CarConst::FUEL_STEP;
}
if (CurrentSpeed + CarConst::FUEL_STEP >= CarConst::MAX_SPD) {
CurrentSpeed = CarConst::MAX_SPD;
}
CurrentSpeed += CarConst::ACC_STEP;
}
| [
"5252bb@daum.net"
] | 5252bb@daum.net |
a18c8dd8b412b53ac1d9de894b5c3b243dde2583 | eeedc65ef99590d8316963717d1012cc6c90c9c5 | /src/privatesend/privatesend-util.h | ba843f06c5d1cb32050a65b89d4886fc88960b3e | [
"MIT"
] | permissive | BayerTM/DraftCoinZ | e277353042c908373738bce65716c38ab0cbc0ff | 217db2822a320d278d93dda4d3cd5dc4d01764f2 | refs/heads/main | 2023-06-01T00:54:12.511923 | 2021-06-09T21:35:24 | 2021-06-09T21:35:24 | 362,256,925 | 0 | 0 | MIT | 2021-04-27T22:23:49 | 2021-04-27T21:33:59 | null | UTF-8 | C++ | false | false | 831 | h | // Copyright (c) 2014-2019 The DFTz Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PRIVATESENDUTIL_H
#define PRIVATESENDUTIL_H
#include "wallet/wallet.h"
class CKeyHolder
{
private:
CReserveKey reserveKey;
CPubKey pubKey;
public:
CKeyHolder(CWallet* pwalletIn);
CKeyHolder(CKeyHolder&&) = delete;
CKeyHolder& operator=(CKeyHolder&&) = delete;
void KeepKey();
void ReturnKey();
CScript GetScriptForDestination() const;
};
class CKeyHolderStorage
{
private:
std::vector<std::unique_ptr<CKeyHolder> > storage;
mutable CCriticalSection cs_storage;
public:
CScript AddKey(CWallet* pwalletIn);
void KeepAll();
void ReturnAll();
};
#endif //PRIVATESENDUTIL_H
| [
"james@xmc.com"
] | james@xmc.com |
de9a422b63cb7b6fe69dd34facf70fd7556e89e4 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp | b66558c6b204e87ed5a78c67322593a8ddbb550e | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,206 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "modules/geolocation/GeolocationWatchers.h"
#include "modules/geolocation/GeoNotifier.h"
#include "platform/wtf/Assertions.h"
namespace blink {
DEFINE_TRACE(GeolocationWatchers) {
visitor->Trace(id_to_notifier_map_);
visitor->Trace(notifier_to_id_map_);
}
DEFINE_TRACE_WRAPPERS(GeolocationWatchers) {
for (const auto& notifier : id_to_notifier_map_.Values())
visitor->TraceWrappers(notifier);
// |notifier_to_id_map_| is a HeapHashMap that is the inverse mapping of
// |id_to_notifier_map_|. As the contents are the same, we don't need to
// trace |id_to_notifier_map_|.
}
bool GeolocationWatchers::Add(int id, GeoNotifier* notifier) {
DCHECK_GT(id, 0);
if (!id_to_notifier_map_.insert(id, notifier).is_new_entry)
return false;
notifier_to_id_map_.Set(notifier, id);
return true;
}
GeoNotifier* GeolocationWatchers::Find(int id) {
DCHECK_GT(id, 0);
IdToNotifierMap::iterator iter = id_to_notifier_map_.find(id);
if (iter == id_to_notifier_map_.end())
return 0;
return iter->value;
}
void GeolocationWatchers::Remove(int id) {
DCHECK_GT(id, 0);
IdToNotifierMap::iterator iter = id_to_notifier_map_.find(id);
if (iter == id_to_notifier_map_.end())
return;
notifier_to_id_map_.erase(iter->value);
id_to_notifier_map_.erase(iter);
}
void GeolocationWatchers::Remove(GeoNotifier* notifier) {
NotifierToIdMap::iterator iter = notifier_to_id_map_.find(notifier);
if (iter == notifier_to_id_map_.end())
return;
id_to_notifier_map_.erase(iter->value);
notifier_to_id_map_.erase(iter);
}
bool GeolocationWatchers::Contains(GeoNotifier* notifier) const {
return notifier_to_id_map_.Contains(notifier);
}
void GeolocationWatchers::Clear() {
id_to_notifier_map_.clear();
notifier_to_id_map_.clear();
}
bool GeolocationWatchers::IsEmpty() const {
return id_to_notifier_map_.IsEmpty();
}
void GeolocationWatchers::GetNotifiersVector(
HeapVector<Member<GeoNotifier>>& copy) const {
CopyValuesToVector(id_to_notifier_map_, copy);
}
} // namespace blink
| [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
1f63ba23ce9a8ad91ef36d5333683b0904667dcc | 09b54c3664807a96d864795cf29995c41ad2e3ab | /MQ2PyExt_DataWrapper.cpp | 776eb70597b0117d88b238decd837f8a3d7d6606 | [] | no_license | rlane187/MQ2Py | a6bb124ab4d4075bee908b9ba5158e3bedd2cc51 | e0430a39c06f8f15de66151e411e503d5968a79f | refs/heads/master | 2021-01-18T21:56:36.822901 | 2017-04-03T19:01:35 | 2017-04-03T19:01:35 | 87,030,859 | 0 | 0 | null | 2017-04-03T02:12:48 | 2017-04-03T02:12:48 | null | UTF-8 | C++ | false | false | 6,002 | cpp | /* MQ2PyExt_DataWrapper.cpp
* Copyright (c) 2009 Stephen Raub.
*
* Distribution is not allowed without the consent of the author.
*
* This module implements the MQ2 Data API Wrapper class library
*/
#include "MQ2PyPCH.h"
#include "MQ2Py.h"
#include "MQ2PyExt.h"
#include "MQ2PyExt_DataWrapper.h"
using namespace boost;
using namespace boost::python;
//----------------------------------------------------------------------------
python::object MQ2TypeToPythonType(const MQ2TYPEVAR& value)
{
/* Select return type based on result */
if (value.Type == pIntType)
return python::object(value.Int);
else if (value.Type == pFloatType)
return python::object(value.Float);
else if (value.Type == pBoolType)
return python::object((bool)value.DWord);
else if (value.Type == pStringType)
return python::str((const char*)value.Ptr);
else {
/* Unknown datatype. Return the python-wrapper of that
* datatype. */
MQ2Type* type = value.Type;
return python::object(DataTypeWrapper(type, value));
}
return python::object();
}
//----------------------------------------------------------------------------
DataMemberWrapper::DataMemberWrapper(MQ2Type* t, std::string n, const MQ2TYPEVAR& v)
{
type = t;
member = n;
value = v;
if (type == NULL) {
PyErr_SetString(PyExc_AssertionError, "Invalid Type");
throw_error_already_set();
}
}
std::string DataMemberWrapper::__repr__()
{
ostringstream oss;
oss << "<MQ2Type: " << type->GetName() << ", Member: " << member << ">";
return oss.str();
}
python::object DataMemberWrapper::__getattr__(std::string attr)
{
MQ2TYPEVAR newValue;
memcpy(&newValue, &value, sizeof(value));
type->GetMember(value.VarPtr, (PCHAR)member.c_str(), "", newValue);
return python::object(DataMemberWrapper(newValue.Type, attr, newValue));
}
python::object DataMemberWrapper::__call_str__(std::string args)
{
MQ2TYPEVAR newValue;
memcpy(&newValue, &value, sizeof(value));
type->GetMember(value.VarPtr, (PCHAR)member.c_str(), (PCHAR)args.c_str(), newValue);
return MQ2TypeToPythonType(newValue);
}
python::object DataMemberWrapper::__call_int__(int arg)
{
ostringstream oss;
oss << arg;
return __call_str__(oss.str());
}
python::object DataMemberWrapper::__call__()
{
return __call_str__("");
}
//----------------------------------------------------------------------------
DataTypeWrapper::DataTypeWrapper(MQ2Type* t, const MQ2TYPEVAR& v)
{
if (t == NULL) {
PyErr_SetString(PyExc_AssertionError, "Type is Invalid");
throw_error_already_set();
}
type = t;
value = v;
}
std::string DataTypeWrapper::Name()
{
return type->GetName();
}
std::string DataTypeWrapper::__repr__()
{
ostringstream oss;
oss << "<MQ2Type: " << type->GetName() << ">";
return oss.str();
}
std::string DataTypeWrapper::GetMemberName(int index)
{
PCHAR result = type->GetMemberName(index);
if (result == NULL) {
PyErr_SetString(PyExc_IndexError, "Index is out of range");
throw_error_already_set();
}
return result;
}
python::object DataTypeWrapper::__getattr__(std::string name)
{
if (!type->FindMember((PCHAR)name.c_str()) && !type->InheritedMember((PCHAR)name.c_str())) {
PyErr_SetString(PyExc_AttributeError, name.c_str());
throw_error_already_set();
}
return python::object(DataMemberWrapper(type, name, value));
}
//----------------------------------------------------------------------------
namespace boost { namespace python
{
template <>
struct has_back_reference<TLOWrapper>
: mpl::true_
{};
}}
TLOWrapper::TLOWrapper(PyObject* _self, std::string _name)
{
PMQ2DATAITEM item = FindMQ2Data((PCHAR)_name.c_str());
if (item == NULL) {
PyErr_SetString(PyExc_AssertionError, "Invalid Data Name");
throw_error_already_set();
}
name = item->Name;
function = item->Function;
self = _self;
}
TLOWrapper::TLOWrapper(PyObject* _self, const TLOWrapper& other)
{
self = _self;
function = other.function;
name = other.name;
}
std::string TLOWrapper::__repr__()
{
ostringstream oss;
oss << "<TopLevelObject: " << name << ">";
return oss.str();
}
python::object TLOWrapper::__call_str__(std::string args)
{
MQ2TYPEVAR value;
memset(&value, 0, sizeof(value));
BOOL result = function((PCHAR)args.c_str(), value);
/* If no result, return None */
if (result == FALSE)
return python::object();
return MQ2TypeToPythonType(value);
}
python::object TLOWrapper::__call_int__(int value)
{
ostringstream oss;
oss << value;
return __call_str__(oss.str());
}
python::object TLOWrapper::__call__()
{
return __call_str__("");
}
python::object TLOWrapper::__getattr__(std::string name)
{
/* this is a combination of __call__ and DataTypeWrapper::__getattr__ */
MQ2TYPEVAR value;
memset(&value, 0, sizeof(value));
BOOL result = function("", value);
/* If no result, return None */
if (result == FALSE)
return python::object();
return DataTypeWrapper(value.Type, value).__getattr__(name);
}
//----------------------------------------------------------------------------
void Init_Module_PyMQ2_DataWrapper()
{
class_<DataMemberWrapper>("DataTypeMember", no_init)
.def("__repr__", &DataMemberWrapper::__repr__)
.def("__getattr__", &DataMemberWrapper::__getattr__)
.def("__call__", &DataMemberWrapper::__call__)
.def("__call__", &DataMemberWrapper::__call_str__)
.def("__call__", &DataMemberWrapper::__call_int__)
;
class_<DataTypeWrapper>("DataType", no_init)
.def("GetName", &DataTypeWrapper::Name)
.def("GetMemberName", &DataTypeWrapper::GetMemberName)
.def("__repr__", &DataTypeWrapper::__repr__)
.def("__getattr__", &DataTypeWrapper::__getattr__)
;
class_<TLOWrapper>("TopLevelObject", no_init)
.def(init<std::string>())
.def("__repr__", &TLOWrapper::__repr__)
.def("__call__", &TLOWrapper::__call__)
.def("__call__", &TLOWrapper::__call_str__)
.def("__call__", &TLOWrapper::__call_int__)
.def("__getitem__", &TLOWrapper::__call_str__)
.def("__getitem__", &TLOWrapper::__call_int__)
.def("__getattr__", &TLOWrapper::__getattr__)
;
}
| [
"brainiac2k@gmail.com"
] | brainiac2k@gmail.com |
f460adee167a4bd02ddf0baeec8849b7a8c52d3c | d3741d8710d0778f99f485ea15dbfdb683dd1a6d | /src/cfl_tree.cpp | 80f9a9c396fb06deb790d96c6ca578917887230e | [
"MIT"
] | permissive | DBLouis/cfltk | af122133edfa7d2083fbd170c4e57313a921e5c7 | 8cb846aeeb5381f604eb954a93f387e4bdc88af2 | refs/heads/main | 2023-08-09T23:39:45.646467 | 2023-07-17T11:49:48 | 2023-07-17T12:02:40 | 382,894,659 | 0 | 0 | null | 2021-07-04T16:09:56 | 2021-07-04T16:09:55 | null | UTF-8 | C++ | false | false | 24,237 | cpp | #include "cfl_tree.h"
#include "cfl_lock.hpp"
#include <FL/Fl.H>
#include <FL/Fl_Image.H>
#include <FL/Fl_Tree.H>
#include <FL/Fl_Tree_Item.H>
#include <FL/Fl_Tree_Item_Array.H>
#include <FL/Fl_Widget.H>
#include <stdlib.h>
WIDGET_CLASS(Fl_Tree)
WIDGET_DEFINE(Fl_Tree)
void Fl_Tree_begin(Fl_Tree *self) {
LOCK(self->begin();)
}
void Fl_Tree_end(Fl_Tree *self) {
LOCK(self->end();)
}
void Fl_Tree_show_self(Fl_Tree *self) {
LOCK(self->show_self();)
}
void Fl_Tree_root_label(Fl_Tree *self, const char *new_label) {
LOCK(self->root_label(new_label);)
}
Fl_Tree_Item *Fl_Tree_root(Fl_Tree *self) {
LOCK(auto ret = self->root());
return ret;
}
void Fl_Tree_set_root(Fl_Tree *self, Fl_Tree_Item *newitem) {
LOCK(self->root(newitem);)
}
Fl_Tree_Item *Fl_Tree_add(Fl_Tree *self, const char *name) {
LOCK(auto ret = self->add(name));
return ret;
}
Fl_Tree_Item *Fl_Tree_insert_above(Fl_Tree *self, Fl_Tree_Item *above, const char *name) {
LOCK(auto ret = self->insert_above(above, name));
return ret;
}
Fl_Tree_Item *Fl_Tree_insert(Fl_Tree *self, Fl_Tree_Item *item, const char *name, int pos) {
LOCK(auto ret = self->insert(item, name, pos));
return ret;
}
const Fl_Tree_Item *Fl_Tree_find_item(const Fl_Tree *self, const char *path) {
if (!path || strlen(path) == 0)
return NULL;
LOCK(const Fl_Tree_Item *item = self->find_item(path));
return item;
}
Fl_Tree_Item *Fl_Tree_find_item_mut(Fl_Tree *self, const char *path) {
if (!path || strlen(path) == 0)
return NULL;
LOCK(Fl_Tree_Item *item = self->find_item(path));
return item;
}
int Fl_Tree_remove(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(auto ret = self->remove(item));
return ret;
}
void Fl_Tree_clear(Fl_Tree *self) {
self->clear();
}
void Fl_Tree_clear_children(Fl_Tree *self, Fl_Tree_Item *item) {
self->clear_children(item);
}
const Fl_Tree_Item *Fl_Tree_find_clicked(const Fl_Tree *self, int yonly) {
LOCK(auto ret = self->find_clicked(yonly));
return ret;
}
Fl_Tree_Item *Fl_Tree_item_clicked(Fl_Tree *self) {
LOCK(auto ret = self->item_clicked());
return ret;
}
Fl_Tree_Item *Fl_Tree_first(Fl_Tree *self) {
LOCK(auto ret = self->first());
return ret;
}
Fl_Tree_Item *Fl_Tree_first_visible_item(Fl_Tree *self) {
LOCK(auto ret = self->first_visible_item());
return ret;
}
Fl_Tree_Item *Fl_Tree_next(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(auto ret = self->next(item));
return ret;
}
Fl_Tree_Item *Fl_Tree_prev(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(auto ret = self->prev(item));
return ret;
}
Fl_Tree_Item *Fl_Tree_last(Fl_Tree *self) {
LOCK(auto ret = self->last());
return ret;
}
Fl_Tree_Item *Fl_Tree_last_visible_item(Fl_Tree *self) {
LOCK(auto ret = self->last_visible_item());
return ret;
}
Fl_Tree_Item *Fl_Tree_next_visible_item(Fl_Tree *self, Fl_Tree_Item *start, int dir) {
LOCK(auto ret = self->next_visible_item(start, dir));
return ret;
}
Fl_Tree_Item *Fl_Tree_first_selected_item(Fl_Tree *self) {
LOCK(auto ret = self->first_selected_item());
return ret;
}
Fl_Tree_Item *Fl_Tree_last_selected_item(Fl_Tree *self) {
LOCK(auto ret = self->last_selected_item());
return ret;
}
Fl_Tree_Item *Fl_Tree_next_item(Fl_Tree *self, Fl_Tree_Item *item, int dir, int visible) {
LOCK(auto ret = self->next_item(item, dir, visible));
return ret;
}
Fl_Tree_Item *Fl_Tree_next_selected_item(Fl_Tree *self, Fl_Tree_Item *item, int dir) {
LOCK(auto ret = self->next_selected_item(item, dir));
return ret;
}
int Fl_Tree_get_selected_items(Fl_Tree *self, Fl_Tree_Item_Array **arr) {
int c = 0;
LOCK(for (Fl_Tree_Item *i = self->first_selected_item(); i; i = self->next_selected_item(i))
c++;
if (c == 0) return 0; *arr = new Fl_Tree_Item_Array(c);
int ret = self->get_selected_items(**arr));
return ret;
}
int Fl_Tree_get_items(Fl_Tree *self, Fl_Tree_Item_Array **arr) {
int c = 0;
LOCK(for (Fl_Tree_Item *i = self->first(); i; i = self->next_item(i)) c++; if (c == 0) return 0;
*arr = new Fl_Tree_Item_Array(c);
for (Fl_Tree_Item *i = self->first(); i; i = self->next_item(i))(*arr)->add(i);)
return c;
}
int Fl_Tree_open(Fl_Tree *self, const char *path, int docallback) {
if (!path)
return 0;
LOCK(auto ret = self->open(path, docallback));
return ret;
}
void Fl_Tree_open_toggle(Fl_Tree *self, Fl_Tree_Item *item, int docallback) {
LOCK(self->open_toggle(item, docallback);)
}
int Fl_Tree_close(Fl_Tree *self, const char *path, int docallback) {
LOCK(auto ret = self->close(path, 1));
return ret;
}
int Fl_Tree_is_open(const Fl_Tree *self, const char *path) {
LOCK(auto ret = self->is_open(path));
return ret;
}
int Fl_Tree_is_close(const Fl_Tree *self, const char *path) {
LOCK(auto ret = self->is_close(path));
return ret;
}
int Fl_Tree_select(Fl_Tree *self, const char *path, int docallback) {
LOCK(auto ret = self->select(path, docallback));
return ret;
}
void Fl_Tree_select_toggle(Fl_Tree *self, Fl_Tree_Item *item, int docallback) {
LOCK(self->select_toggle(item, docallback);)
}
int Fl_Tree_deselect(Fl_Tree *self, const char *path, int docallback) {
LOCK(auto ret = self->deselect(path, docallback));
return ret;
}
int Fl_Tree_deselect_all(Fl_Tree *self, Fl_Tree_Item *item, int docallback) {
LOCK(auto ret = self->deselect_all(item, docallback));
return ret;
}
int Fl_Tree_select_only(Fl_Tree *self, Fl_Tree_Item *selitem, int docallback) {
LOCK(auto ret = self->select_only(selitem, docallback));
return ret;
}
int Fl_Tree_select_all(Fl_Tree *self, Fl_Tree_Item *item, int docallback) {
LOCK(auto ret = self->select_all(item, docallback));
return ret;
}
int Fl_Tree_extend_selection_dir(Fl_Tree *self, Fl_Tree_Item *from, Fl_Tree_Item *to, int dir,
int val, int visible) {
LOCK(auto ret = self->extend_selection_dir(from, to, dir, val, visible));
return ret;
}
int Fl_Tree_extend_selection(Fl_Tree *self, Fl_Tree_Item *from, Fl_Tree_Item *to, int val,
int visible) {
LOCK(auto ret = self->extend_selection(from, to, val, visible));
return ret;
}
void Fl_Tree_set_item_focus(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(self->set_item_focus(item);)
}
Fl_Tree_Item *Fl_Tree_get_item_focus(const Fl_Tree *self) {
LOCK(auto ret = self->get_item_focus());
return ret;
}
int Fl_Tree_is_selected(Fl_Tree *self, const char *path) {
LOCK(auto ret = self->is_selected(path));
return ret;
}
int Fl_Tree_item_labelfont(const Fl_Tree *self) {
LOCK(auto ret = self->item_labelfont());
return ret;
}
void Fl_Tree_set_item_labelfont(Fl_Tree *self, int val) {
LOCK(self->item_labelfont(val);)
}
int Fl_Tree_item_labelsize(const Fl_Tree *self) {
LOCK(auto ret = self->item_labelsize());
return ret;
}
void Fl_Tree_set_item_labelsize(Fl_Tree *self, int val) {
LOCK(self->item_labelsize(val);)
}
unsigned int Fl_Tree_item_labelfgcolor(const Fl_Tree *self) {
LOCK(auto ret = self->item_labelfgcolor());
return ret;
}
void Fl_Tree_set_item_labelfgcolor(Fl_Tree *self, unsigned int val) {
LOCK(self->item_labelfgcolor(val);)
}
unsigned int Fl_Tree_item_labelbgcolor(const Fl_Tree *self) {
LOCK(auto ret = self->item_labelbgcolor());
return ret;
}
void Fl_Tree_set_item_labelbgcolor(Fl_Tree *self, unsigned int val) {
LOCK(self->item_labelbgcolor(val);)
}
unsigned int Fl_Tree_connectorcolor(const Fl_Tree *self) {
LOCK(auto ret = self->connectorcolor());
return ret;
}
void Fl_Tree_set_connectorcolor(Fl_Tree *self, unsigned int val) {
LOCK(self->connectorcolor(val);)
}
int Fl_Tree_marginleft(const Fl_Tree *self) {
LOCK(auto ret = self->marginleft());
return ret;
}
void Fl_Tree_set_marginleft(Fl_Tree *self, int val) {
LOCK(self->marginleft(val);)
}
int Fl_Tree_margintop(const Fl_Tree *self) {
LOCK(auto ret = self->margintop());
return ret;
}
void Fl_Tree_set_margintop(Fl_Tree *self, int val) {
LOCK(self->margintop(val);)
}
int Fl_Tree_marginbottom(const Fl_Tree *self) {
LOCK(auto ret = self->marginbottom());
return ret;
}
void Fl_Tree_set_marginbottom(Fl_Tree *self, int val) {
LOCK(self->marginbottom(val);)
}
int Fl_Tree_linespacing(const Fl_Tree *self) {
LOCK(auto ret = self->linespacing());
return ret;
}
void Fl_Tree_set_linespacing(Fl_Tree *self, int val) {
LOCK(self->linespacing(val);)
}
int Fl_Tree_openchild_marginbottom(const Fl_Tree *self) {
LOCK(auto ret = self->openchild_marginbottom());
return ret;
}
void Fl_Tree_set_openchild_marginbottom(Fl_Tree *self, int val) {
LOCK(self->openchild_marginbottom(val);)
}
int Fl_Tree_usericonmarginleft(const Fl_Tree *self) {
LOCK(auto ret = self->usericonmarginleft());
return ret;
}
void Fl_Tree_set_usericonmarginleft(Fl_Tree *self, int val) {
LOCK(self->usericonmarginleft(val);)
}
int Fl_Tree_labelmarginleft(const Fl_Tree *self) {
LOCK(auto ret = self->labelmarginleft());
return ret;
}
void Fl_Tree_set_labelmarginleft(Fl_Tree *self, int val) {
LOCK(self->labelmarginleft(val);)
}
int Fl_Tree_widgetmarginleft(const Fl_Tree *self) {
LOCK(auto ret = self->widgetmarginleft());
return ret;
}
void Fl_Tree_set_widgetmarginleft(Fl_Tree *self, int val) {
LOCK(self->widgetmarginleft(val);)
}
int Fl_Tree_connectorwidth(const Fl_Tree *self) {
LOCK(auto ret = self->connectorwidth());
return ret;
}
void Fl_Tree_set_connectorwidth(Fl_Tree *self, int val) {
LOCK(self->connectorwidth(val);)
}
void *Fl_Tree_usericon(const Fl_Tree *self) {
LOCK(auto temp = self->usericon());
if (!temp)
return NULL;
LOCK(auto ret = ((Fl_Image *)temp)->copy());
return ret;
}
void Fl_Tree_set_usericon(Fl_Tree *self, void *val) {
LOCK(auto old = self->usericon(); if (!val) self->usericon(NULL);
else self->usericon(((Fl_Image *)val)->copy()); delete old;)
}
void *Fl_Tree_openicon(const Fl_Tree *self) {
LOCK(auto temp = self->openicon());
if (!temp)
return NULL;
LOCK(auto ret = ((Fl_Image *)temp)->copy());
return ret;
}
void Fl_Tree_set_openicon(Fl_Tree *self, void *val) {
LOCK(auto old = self->openicon(); if (!val) self->openicon(NULL);
else self->openicon(((Fl_Image *)val)->copy()); delete old;)
}
void *Fl_Tree_closeicon(const Fl_Tree *self) {
LOCK(auto temp = self->closeicon());
if (!temp)
return NULL;
LOCK(auto ret = ((Fl_Image *)temp)->copy());
return ret;
}
void Fl_Tree_set_closeicon(Fl_Tree *self, void *val) {
LOCK(auto old = self->closeicon(); if (!val) self->closeicon(NULL);
else self->closeicon(((Fl_Image *)val)->copy()); delete old;)
}
int Fl_Tree_showcollapse(const Fl_Tree *self) {
LOCK(auto ret = self->showcollapse());
return ret;
}
void Fl_Tree_set_showcollapse(Fl_Tree *self, int val) {
LOCK(self->showcollapse(val);)
}
int Fl_Tree_showroot(const Fl_Tree *self) {
LOCK(auto ret = self->showroot());
return ret;
}
void Fl_Tree_set_showroot(Fl_Tree *self, int val) {
LOCK(self->showroot(val);)
}
int Fl_Tree_connectorstyle(const Fl_Tree *self) {
LOCK(auto ret = self->connectorstyle());
return ret;
}
void Fl_Tree_set_connectorstyle(Fl_Tree *self, int val) {
LOCK(self->connectorstyle((Fl_Tree_Connector)val);)
}
int Fl_Tree_sortorder(const Fl_Tree *self) {
LOCK(auto ret = self->sortorder());
return ret;
}
void Fl_Tree_set_sortorder(Fl_Tree *self, int val) {
LOCK(self->sortorder((Fl_Tree_Sort)val);)
}
int Fl_Tree_selectbox(const Fl_Tree *self) {
LOCK(auto ret = self->selectbox());
return ret;
}
void Fl_Tree_set_selectbox(Fl_Tree *self, int val) {
LOCK(self->selectbox((Fl_Boxtype)val);)
}
int Fl_Tree_selectmode(const Fl_Tree *self) {
LOCK(auto ret = self->selectmode());
return ret;
}
void Fl_Tree_set_selectmode(Fl_Tree *self, int val) {
LOCK(self->selectmode((Fl_Tree_Select)val);)
}
int Fl_Tree_item_reselect_mode(const Fl_Tree *self) {
LOCK(auto ret = self->item_reselect_mode());
return ret;
}
void Fl_Tree_set_item_reselect_mode(Fl_Tree *self, int mode) {
LOCK(self->item_reselect_mode((Fl_Tree_Item_Reselect_Mode)mode);)
}
int Fl_Tree_item_draw_mode(const Fl_Tree *self) {
LOCK(auto ret = self->item_draw_mode());
return ret;
}
void Fl_Tree_set_item_draw_mode(Fl_Tree *self, int mode) {
LOCK(self->item_draw_mode(mode);)
}
void Fl_Tree_calc_dimensions(Fl_Tree *self) {
LOCK(self->calc_dimensions();)
}
void Fl_Tree_calc_tree(Fl_Tree *self) {
LOCK(self->calc_tree();)
}
void Fl_Tree_recalc_tree(Fl_Tree *self) {
LOCK(self->recalc_tree();)
}
int Fl_Tree_displayed(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(auto ret = self->displayed(item));
return ret;
}
void Fl_Tree_show_item(Fl_Tree *self, Fl_Tree_Item *item, int yoff) {
LOCK(self->show_item(item, yoff);)
}
void Fl_Tree_show_item_top(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(self->show_item_top(item);)
}
void Fl_Tree_show_item_middle(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(self->show_item_middle(item);)
}
void Fl_Tree_show_item_bottom(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(self->show_item_bottom(item);)
}
void Fl_Tree_display(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(self->display(item);)
}
int Fl_Tree_vposition(const Fl_Tree *self) {
LOCK(auto ret = self->vposition());
return ret;
}
void Fl_Tree_set_vposition(Fl_Tree *self, int pos) {
LOCK(self->vposition(pos);)
}
int Fl_Tree_hposition(const Fl_Tree *self) {
LOCK(auto ret = self->hposition());
return ret;
}
void Fl_Tree_set_hposition(Fl_Tree *self, int pos) {
LOCK(self->hposition(pos);)
}
int Fl_Tree_is_scrollbar(Fl_Tree *self, Fl_Widget *w) {
LOCK(auto ret = self->is_scrollbar(w));
return ret;
}
int Fl_Tree_scrollbar_size(const Fl_Tree *self) {
LOCK(auto ret = self->scrollbar_size());
return ret;
}
void Fl_Tree_set_scrollbar_size(Fl_Tree *self, int size) {
LOCK(self->scrollbar_size(size);)
}
int Fl_Tree_is_vscroll_visible(const Fl_Tree *self) {
LOCK(auto ret = self->is_vscroll_visible());
return ret;
}
int Fl_Tree_is_hscroll_visible(const Fl_Tree *self) {
LOCK(auto ret = self->is_hscroll_visible());
return ret;
}
void Fl_Tree_set_callback_item(Fl_Tree *self, Fl_Tree_Item *item) {
LOCK(self->callback_item(item);)
}
Fl_Tree_Item *Fl_Tree_callback_item(Fl_Tree *self) {
LOCK(auto ret = self->callback_item());
return ret;
}
void Fl_Tree_set_callback_reason(Fl_Tree *self, int reason) {
LOCK(self->callback_reason((Fl_Tree_Reason)reason);)
}
int Fl_Tree_callback_reason(const Fl_Tree *self) {
LOCK(auto ret = self->callback_reason());
return ret;
}
// TreeItems
int Fl_Tree_Item_x(const Fl_Tree_Item *self) {
LOCK(auto ret = self->x());
return ret;
}
int Fl_Tree_Item_y(const Fl_Tree_Item *self) {
LOCK(auto ret = self->y());
return ret;
}
int Fl_Tree_Item_w(const Fl_Tree_Item *self) {
LOCK(auto ret = self->w());
return ret;
}
int Fl_Tree_Item_h(const Fl_Tree_Item *self) {
LOCK(auto ret = self->h());
return ret;
}
int Fl_Tree_Item_label_x(const Fl_Tree_Item *self) {
LOCK(auto ret = self->label_x());
return ret;
}
int Fl_Tree_Item_label_y(const Fl_Tree_Item *self) {
LOCK(auto ret = self->label_y());
return ret;
}
int Fl_Tree_Item_label_w(const Fl_Tree_Item *self) {
LOCK(auto ret = self->label_w());
return ret;
}
int Fl_Tree_Item_label_h(const Fl_Tree_Item *self) {
LOCK(auto ret = self->label_h());
return ret;
}
void Fl_Tree_Item_show_self(const Fl_Tree_Item *self, const char *indent) {
LOCK(self->show_self(indent);)
}
void Fl_Tree_set_Item_label(Fl_Tree_Item *self, const char *val) {
LOCK(self->label(val);)
}
const char *Fl_Tree_Item_label(const Fl_Tree_Item *self) {
LOCK(const char *label = self->label(); char *buf = (char *)malloc(strlen(label) + 1);
memcpy(buf, label, strlen(label) + 1);)
return buf;
}
void Fl_Tree_Item_set_labelfont(Fl_Tree_Item *self, int val) {
LOCK(self->labelfont(val);)
}
int Fl_Tree_Item_labelfont(const Fl_Tree_Item *self) {
LOCK(auto ret = self->labelfont());
return ret;
}
void Fl_Tree_Item_set_labelsize(Fl_Tree_Item *self, int val) {
LOCK(self->labelsize(val);)
}
int Fl_Tree_Item_labelsize(const Fl_Tree_Item *self) {
LOCK(auto ret = self->labelsize());
return ret;
}
void Fl_Tree_Item_set_labelfgcolor(Fl_Tree_Item *self, unsigned int val) {
LOCK(self->labelfgcolor(val);)
}
unsigned int Fl_Tree_Item_labelfgcolor(const Fl_Tree_Item *self) {
LOCK(auto ret = self->labelfgcolor());
return ret;
}
void Fl_Tree_Item_set_labelcolor(Fl_Tree_Item *self, unsigned int val) {
LOCK(self->labelcolor(val);)
}
unsigned int Fl_Tree_Item_labelcolor(const Fl_Tree_Item *self) {
LOCK(auto ret = self->labelcolor());
return ret;
}
void Fl_Tree_Item_set_labelbgcolor(Fl_Tree_Item *self, unsigned int val) {
LOCK(self->labelbgcolor(val);)
}
unsigned int Fl_Tree_Item_labelbgcolor(const Fl_Tree_Item *self) {
LOCK(auto ret = self->labelbgcolor());
return ret;
}
void Fl_Tree_Item_set_widget(Fl_Tree_Item *self, Fl_Widget *val) {
LOCK(self->widget(val);)
}
Fl_Widget *Fl_Tree_Item_widget(const Fl_Tree_Item *self) {
LOCK(auto ret = self->widget());
return ret;
}
int Fl_Tree_Item_children(const Fl_Tree_Item *self) {
LOCK(auto ret = self->children());
return ret;
}
const Fl_Tree_Item *Fl_Tree_Item_child(const Fl_Tree_Item *self, int t) {
LOCK(auto ret = self->child(t));
return ret;
}
int Fl_Tree_Item_has_children(const Fl_Tree_Item *self) {
LOCK(auto ret = self->has_children());
return ret;
}
int Fl_Tree_Item_find_child(Fl_Tree_Item *self, const char *name) {
LOCK(auto ret = self->find_child(name));
return ret;
}
int Fl_Tree_Item_remove_child(Fl_Tree_Item *self, const char *new_label) {
LOCK(auto ret = self->remove_child(new_label));
return ret;
}
void Fl_Tree_Item_clear_children(Fl_Tree_Item *self) {
LOCK(self->clear_children();)
}
int Fl_Tree_Item_swap_children(Fl_Tree_Item *self, Fl_Tree_Item *a, Fl_Tree_Item *b) {
LOCK(auto ret = self->swap_children(a, b));
return ret;
}
const Fl_Tree_Item *Fl_Tree_Item_find_child_item(const Fl_Tree_Item *self, const char *name) {
LOCK(auto ret = self->find_child_item(name));
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_replace(Fl_Tree_Item *self, Fl_Tree_Item *new_item) {
LOCK(auto ret = self->replace(new_item));
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_replace_child(Fl_Tree_Item *self, Fl_Tree_Item *olditem,
Fl_Tree_Item *newitem) {
LOCK(auto ret = self->replace_child(olditem, newitem));
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_deparent(Fl_Tree_Item *self, int index) {
LOCK(auto ret = self->deparent(index));
return ret;
}
int Fl_Tree_Item_reparent(Fl_Tree_Item *self, Fl_Tree_Item *newchild, int index) {
LOCK(auto ret = self->reparent(newchild, index));
return ret;
}
int Fl_Tree_Item_move(Fl_Tree_Item *self, int to, int from) {
LOCK(auto ret = self->move(to, from));
return ret;
}
int Fl_Tree_Item_move_above(Fl_Tree_Item *self, Fl_Tree_Item *item) {
LOCK(auto ret = self->move_above(item));
return ret;
}
int Fl_Tree_Item_move_below(Fl_Tree_Item *self, Fl_Tree_Item *item) {
LOCK(auto ret = self->move_below(item));
return ret;
}
int Fl_Tree_Item_move_into(Fl_Tree_Item *self, Fl_Tree_Item *item, int pos) {
LOCK(auto ret = self->move_into(item, pos));
return ret;
}
int Fl_Tree_Item_depth(const Fl_Tree_Item *self) {
LOCK(auto ret = self->depth());
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_prev(Fl_Tree_Item *self) {
LOCK(auto ret = self->prev());
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_next(Fl_Tree_Item *self) {
LOCK(auto ret = self->next());
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_next_sibling(Fl_Tree_Item *self) {
LOCK(auto ret = self->next_sibling());
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_prev_sibling(Fl_Tree_Item *self) {
LOCK(auto ret = self->prev_sibling());
return ret;
}
void Fl_Tree_Item_update_prev_next(Fl_Tree_Item *self, int index) {
LOCK(self->update_prev_next(index));
}
const Fl_Tree_Item *Fl_Tree_Item_parent(const Fl_Tree_Item *self) {
LOCK(auto ret = self->parent());
return ret;
}
void Fl_Tree_Item_set_parent(Fl_Tree_Item *self, Fl_Tree_Item *val) {
LOCK(self->parent(val);)
}
const Fl_Tree *Fl_Tree_Item_tree(const Fl_Tree_Item *self) {
LOCK(auto ret = self->tree());
return ret;
}
void Fl_Tree_Item_open(Fl_Tree_Item *self) {
LOCK(self->open();)
}
void Fl_Tree_Item_close(Fl_Tree_Item *self) {
LOCK(self->close();)
}
int Fl_Tree_Item_is_open(const Fl_Tree_Item *self) {
LOCK(auto ret = self->is_open());
return ret;
}
int Fl_Tree_Item_is_close(const Fl_Tree_Item *self) {
LOCK(auto ret = self->is_close());
return ret;
}
void Fl_Tree_Item_open_toggle(Fl_Tree_Item *self) {
LOCK(self->open_toggle();)
}
void Fl_Tree_Item_select(Fl_Tree_Item *self, int val) {
LOCK(self->select(val);)
}
void Fl_Tree_Item_select_toggle(Fl_Tree_Item *self) {
LOCK(self->select_toggle();)
}
int Fl_Tree_Item_select_all(Fl_Tree_Item *self) {
LOCK(auto ret = self->select_all());
return ret;
}
void Fl_Tree_Item_deselect(Fl_Tree_Item *self) {
LOCK(self->deselect();)
}
int Fl_Tree_Item_deselect_all(Fl_Tree_Item *self) {
LOCK(auto ret = self->deselect_all());
return ret;
}
int Fl_Tree_Item_is_root(const Fl_Tree_Item *self) {
LOCK(auto ret = self->is_root());
return ret;
}
int Fl_Tree_Item_is_visible(const Fl_Tree_Item *self) {
LOCK(auto ret = self->is_visible());
return ret;
}
char Fl_Tree_Item_is_active(const Fl_Tree_Item *self) {
LOCK(auto ret = self->is_active());
return ret;
}
char Fl_Tree_Item_is_activated(const Fl_Tree_Item *self) {
LOCK(auto ret = self->is_activated());
return ret;
}
void Fl_Tree_Item_deactivate(Fl_Tree_Item *self) {
LOCK(self->deactivate();)
}
void Fl_Tree_Item_activate(Fl_Tree_Item *self, int val) {
LOCK(self->activate(val);)
}
char Fl_Tree_Item_is_selected(const Fl_Tree_Item *self) {
LOCK(auto ret = self->is_selected());
return ret;
}
// TreeItemArray
int Fl_Tree_Item_Array_total(const Fl_Tree_Item_Array *self) {
LOCK(auto ret = self->total());
return ret;
}
void Fl_Tree_Item_Array_swap(Fl_Tree_Item_Array *self, int ax, int bx) {
LOCK(self->swap(ax, bx));
}
int Fl_Tree_Item_Array_move(Fl_Tree_Item_Array *self, int to, int from) {
LOCK(auto ret = self->move(to, from));
return ret;
}
int Fl_Tree_Item_Array_deparent(Fl_Tree_Item_Array *self, int pos) {
LOCK(auto ret = self->deparent(pos));
return ret;
}
int Fl_Tree_Item_Array_reparent(Fl_Tree_Item_Array *self, Fl_Tree_Item *item,
Fl_Tree_Item *newparent, int pos) {
LOCK(auto ret = self->reparent(item, newparent, pos));
return ret;
}
void Fl_Tree_Item_Array_clear(Fl_Tree_Item_Array *self) {
LOCK(self->clear());
}
void Fl_Tree_Item_Array_add(Fl_Tree_Item_Array *self, Fl_Tree_Item *val) {
LOCK(self->add(val));
}
void Fl_Tree_Item_Array_insert(Fl_Tree_Item_Array *self, int pos, Fl_Tree_Item *new_item) {
LOCK(self->insert(pos, new_item));
}
void Fl_Tree_Item_Array_replace(Fl_Tree_Item_Array *self, int pos, Fl_Tree_Item *new_item) {
LOCK(self->replace(pos, new_item));
}
void Fl_Tree_Item_Array_remove(Fl_Tree_Item_Array *self, int index) {
LOCK(self->remove(index));
}
int Fl_Tree_Item_Array_remove_item(Fl_Tree_Item_Array *self, Fl_Tree_Item *item) {
LOCK(auto ret = self->remove(item));
return ret;
}
Fl_Tree_Item *Fl_Tree_Item_Array_at(Fl_Tree_Item_Array *self, int index) {
LOCK(
int total = self->total());
if (index >= total)
return NULL;
LOCK(auto ret = (*self)[index]); return ret;
}
void Fl_Tree_Item_Array_delete(Fl_Tree_Item_Array *self) {
delete self;
}
| [
"may642_2000@hotmail.com"
] | may642_2000@hotmail.com |
58fa052379f057f875735ffd300751c5df832a26 | 819875a388d7caf6795941db8104f4bf72677b90 | /ui/gfx/gl/.svn/text-base/gl_surface_android.cc.svn-base | fcb132ddd981291826857c381b439c7a590f69c2 | [
"BSD-3-Clause"
] | permissive | gx1997/chrome-loongson | 07b763eb1d0724bf0d2e0a3c2b0eb274e9a2fb4c | 1cb7e00e627422577e8b7085c2d2892eda8590ae | refs/heads/master | 2020-04-28T02:04:13.872019 | 2012-08-16T10:09:25 | 2012-08-16T10:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,655 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/gl/gl_surface_android.h"
#include <EGL/egl.h>
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "ui/gfx/gl/egl_util.h"
#include "ui/gfx/gl/gl_bindings.h"
#include "ui/gfx/gl/gl_context.h"
#include "ui/gfx/gl/gl_implementation.h"
#include "ui/gfx/gl/native_window_interface_android.h"
namespace gfx {
bool GLSurface::InitializeOneOffInternal() {
static bool initialized = false;
if (initialized)
return true;
switch (GetGLImplementation()) {
case kGLImplementationEGLGLES2:
if (!GLSurfaceEGL::InitializeOneOff()) {
LOG(ERROR) << "GLSurfaceEGL::InitializeOneOff failed.";
return false;
}
break;
default:
NOTREACHED();
break;
}
initialized = true;
return true;
}
// static
scoped_refptr<GLSurface>
GLSurface::CreateViewGLSurface(bool software, gfx::AcceleratedWidget window) {
if (software)
return NULL;
switch (GetGLImplementation()) {
case kGLImplementationEGLGLES2: {
// window is unused
scoped_refptr<AndroidViewSurface> surface(new AndroidViewSurface());
if (!surface->Initialize())
return NULL;
return surface;
}
default:
NOTREACHED();
return NULL;
}
}
// static
scoped_refptr<GLSurface>
GLSurface::CreateOffscreenGLSurface(bool software, const gfx::Size& size) {
if (software)
return NULL;
switch (GetGLImplementation()) {
case kGLImplementationEGLGLES2: {
scoped_refptr<PbufferGLSurfaceEGL> surface(
new PbufferGLSurfaceEGL(false, size));
if (!surface->Initialize())
return NULL;
return surface;
}
default:
NOTREACHED();
return NULL;
}
}
AndroidViewSurface::AndroidViewSurface()
: NativeViewGLSurfaceEGL(false, 0),
pbuffer_surface_(new PbufferGLSurfaceEGL(false, Size(1, 1))),
window_(NULL) {
}
AndroidViewSurface::~AndroidViewSurface() {
}
bool AndroidViewSurface::Initialize() {
DCHECK(pbuffer_surface_.get());
return pbuffer_surface_->Initialize();
}
void AndroidViewSurface::Destroy() {
if (pbuffer_surface_.get()) {
pbuffer_surface_->Destroy();
} else {
window_ = NULL;
}
NativeViewGLSurfaceEGL::Destroy();
}
bool AndroidViewSurface::IsOffscreen() {
return false;
}
bool AndroidViewSurface::SwapBuffers() {
if (!pbuffer_surface_.get())
return NativeViewGLSurfaceEGL::SwapBuffers();
return true;
}
gfx::Size AndroidViewSurface::GetSize() {
if (pbuffer_surface_.get())
return pbuffer_surface_->GetSize();
else
return NativeViewGLSurfaceEGL::GetSize();
}
EGLSurface AndroidViewSurface::GetHandle() {
if (pbuffer_surface_.get())
return pbuffer_surface_->GetHandle();
else
return NativeViewGLSurfaceEGL::GetHandle();
}
bool AndroidViewSurface::Resize(const gfx::Size& size) {
if (pbuffer_surface_.get())
return pbuffer_surface_->Resize(size);
else if (GetHandle()) {
DCHECK(window_ && window_->GetNativeHandle());
// Deactivate and restore any currently active context.
EGLContext context = eglGetCurrentContext();
if (context != EGL_NO_CONTEXT) {
eglMakeCurrent(GetDisplay(), EGL_NO_SURFACE, EGL_NO_SURFACE,
EGL_NO_CONTEXT);
}
NativeViewGLSurfaceEGL::Destroy();
if (CreateWindowSurface(window_)) {
if (context != EGL_NO_CONTEXT)
eglMakeCurrent(GetDisplay(), GetHandle(), GetHandle(), context);
}
}
return true;
}
bool AndroidViewSurface::CreateWindowSurface(NativeWindowInterface* window) {
DCHECK(window->GetNativeHandle());
window_ = window;
EGLSurface surface = eglCreateWindowSurface(GetDisplay(),
GetConfig(),
window->GetNativeHandle(),
NULL);
if (surface == EGL_NO_SURFACE) {
LOG(ERROR) << "eglCreateWindowSurface failed with error "
<< GetLastEGLErrorString();
Destroy();
return false;
}
SetHandle(surface);
return true;
}
void AndroidViewSurface::SetNativeWindow(NativeWindowInterface* window) {
if (window->GetNativeHandle()) {
DCHECK(pbuffer_surface_.get());
pbuffer_surface_->Destroy();
pbuffer_surface_ = NULL;
CreateWindowSurface(window);
} else {
DCHECK(GetHandle());
NativeViewGLSurfaceEGL::Destroy();
window_ = NULL;
pbuffer_surface_ = new PbufferGLSurfaceEGL(false, Size(1,1));
pbuffer_surface_->Initialize();
}
}
} // namespace gfx
| [
"loongson@Loong.(none)"
] | loongson@Loong.(none) | |
c02384aafe22e299611df570cc931c5ad0726452 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/process/example/wait.cpp | 86f773767dc83bc883196b048f9ebf49b12e0253 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
// Copyright (c) 2009 Boris Schaeling
// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <sstd/boost/process.hpp>
#include <sstd/boost/asio.hpp>
namespace bp = boost::process;
int main()
{
{
bp::child c("test.exe");
c.wait();
auto exit_code = c.exit_code();
}
{
boost::asio::io_context io_context;
bp::child c(
"test.exe",
io_context,
bp::on_exit([&](int exit, const std::error_code& ec_in){})
);
io_context.run();
}
}
| [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
7db574a144e2397c6e7dfe20effffe5984394963 | 95613a70265e6871c25a4be18075c180427d0980 | /src/walletdb.h | a48bd7687e94042830962e89e7d8da4340e35d3a | [
"MIT"
] | permissive | CryptoLover705/NocNoc | 394b7426a25a0b048fb5e2ae6c02b5f75099189e | fafa860f29c63d7357721a231fef7ad314355263 | refs/heads/master | 2023-02-11T04:11:49.555586 | 2021-01-01T00:21:57 | 2021-01-01T00:21:57 | 318,871,415 | 1 | 0 | MIT | 2020-12-05T19:25:13 | 2020-12-05T19:25:12 | null | UTF-8 | C++ | false | false | 6,297 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2016-2019 The NocNoc developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLETDB_H
#define BITCOIN_WALLETDB_H
#include "amount.h"
#include "db.h"
#include "key.h"
#include "keystore.h"
#include "primitives/zerocoin.h"
#include "libzerocoin/Accumulator.h"
#include "libzerocoin/Denominations.h"
#include <list>
#include <stdint.h>
#include <string>
#include <utility>
#include <vector>
class CAccount;
class CAccountingEntry;
struct CBlockLocator;
class CKeyPool;
class CMasterKey;
class CScript;
class CWallet;
class CWalletTx;
class CZerocoinMint;
class CZerocoinSpend;
class uint160;
class uint256;
/** Error statuses for the wallet database */
enum DBErrors {
DB_LOAD_OK,
DB_CORRUPT,
DB_NONCRITICAL_ERROR,
DB_TOO_NEW,
DB_LOAD_FAIL,
DB_NEED_REWRITE
};
class CKeyMetadata
{
public:
static const int CURRENT_VERSION = 1;
int nVersion;
int64_t nCreateTime; // 0 means unknown
CKeyMetadata()
{
SetNull();
}
CKeyMetadata(int64_t nCreateTime_)
{
nVersion = CKeyMetadata::CURRENT_VERSION;
nCreateTime = nCreateTime_;
}
ADD_SERIALIZE_METHODS;
template <typename Stream, typename Operation>
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion)
{
READWRITE(this->nVersion);
nVersion = this->nVersion;
READWRITE(nCreateTime);
}
void SetNull()
{
nVersion = CKeyMetadata::CURRENT_VERSION;
nCreateTime = 0;
}
};
/** Access to the wallet database (wallet.dat) */
class CWalletDB : public CDB
{
public:
CWalletDB(const std::string& strFilename, const char* pszMode = "r+") : CDB(strFilename, pszMode)
{
}
bool WriteName(const std::string& strAddress, const std::string& strName);
bool EraseName(const std::string& strAddress);
bool WritePurpose(const std::string& strAddress, const std::string& purpose);
bool ErasePurpose(const std::string& strAddress);
bool WriteTx(uint256 hash, const CWalletTx& wtx);
bool EraseTx(uint256 hash);
bool WriteKey(const CPubKey& vchPubKey, const CPrivKey& vchPrivKey, const CKeyMetadata& keyMeta);
bool WriteCryptedKey(const CPubKey& vchPubKey, const std::vector<unsigned char>& vchCryptedSecret, const CKeyMetadata& keyMeta);
bool WriteMasterKey(unsigned int nID, const CMasterKey& kMasterKey);
bool WriteCScript(const uint160& hash, const CScript& redeemScript);
bool WriteWatchOnly(const CScript& script);
bool EraseWatchOnly(const CScript& script);
bool WriteMultiSig(const CScript& script);
bool EraseMultiSig(const CScript& script);
bool WriteBestBlock(const CBlockLocator& locator);
bool ReadBestBlock(CBlockLocator& locator);
bool WriteOrderPosNext(int64_t nOrderPosNext);
// presstab
bool WriteStakeSplitThreshold(uint64_t nStakeSplitThreshold);
bool WriteMultiSend(std::vector<std::pair<std::string, int> > vMultiSend);
bool EraseMultiSend(std::vector<std::pair<std::string, int> > vMultiSend);
bool WriteMSettings(bool fMultiSendStake, bool fMultiSendMasternode, int nLastMultiSendHeight);
bool WriteMSDisabledAddresses(std::vector<std::string> vDisabledAddresses);
bool EraseMSDisabledAddresses(std::vector<std::string> vDisabledAddresses);
bool WriteAutoCombineSettings(bool fEnable, CAmount nCombineThreshold);
bool WriteDefaultKey(const CPubKey& vchPubKey);
bool ReadPool(int64_t nPool, CKeyPool& keypool);
bool WritePool(int64_t nPool, const CKeyPool& keypool);
bool ErasePool(int64_t nPool);
bool WriteMinVersion(int nVersion);
/// This writes directly to the database, and will not update the CWallet's cached accounting entries!
/// Use wallet.AddAccountingEntry instead, to write *and* update its caches.
bool WriteAccountingEntry_Backend(const CAccountingEntry& acentry);
bool ReadAccount(const std::string& strAccount, CAccount& account);
bool WriteAccount(const std::string& strAccount, const CAccount& account);
/// Write destination data key,value tuple to database
bool WriteDestData(const std::string& address, const std::string& key, const std::string& value);
/// Erase destination data tuple from wallet database
bool EraseDestData(const std::string& address, const std::string& key);
CAmount GetAccountCreditDebit(const std::string& strAccount);
void ListAccountCreditDebit(const std::string& strAccount, std::list<CAccountingEntry>& acentries);
DBErrors ReorderTransactions(CWallet* pwallet);
DBErrors LoadWallet(CWallet* pwallet);
DBErrors FindWalletTx(CWallet* pwallet, std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx);
DBErrors ZapWalletTx(CWallet* pwallet, std::vector<CWalletTx>& vWtx);
static bool Recover(CDBEnv& dbenv, std::string filename, bool fOnlyKeys);
static bool Recover(CDBEnv& dbenv, std::string filename);
bool WriteZerocoinMint(const CZerocoinMint& zerocoinMint);
bool EraseZerocoinMint(const CZerocoinMint& zerocoinMint);
bool ReadZerocoinMint(const CBigNum &bnSerial, CZerocoinMint& zerocoinMint);
bool ArchiveMintOrphan(const CZerocoinMint& zerocoinMint);
bool UnarchiveZerocoin(const CZerocoinMint& mint);
std::list<CZerocoinMint> ListMintedCoins(bool fUnusedOnly, bool fMaturedOnly, bool fUpdateStatus);
std::list<CZerocoinSpend> ListSpentCoins();
std::list<CBigNum> ListMintedCoinsSerial();
std::list<CBigNum> ListSpentCoinsSerial();
std::list<CZerocoinMint> ListArchivedZerocoins();
bool WriteZerocoinSpendSerialEntry(const CZerocoinSpend& zerocoinSpend);
bool EraseZerocoinSpendSerialEntry(const CBigNum& serialEntry);
bool ReadZerocoinSpendSerialEntry(const CBigNum& bnSerial);
private:
CWalletDB(const CWalletDB&);
void operator=(const CWalletDB&);
bool WriteAccountingEntry(const uint64_t nAccEntryNum, const CAccountingEntry& acentry);
};
bool BackupWallet(const CWallet& wallet, const std::string& strDest);
#endif // BITCOIN_WALLETDB_H
| [
"edward.thomas3@yahoo.com"
] | edward.thomas3@yahoo.com |
bdc6fbf380354505800d7b26580a0b302d70607d | 80cf612d55905c0d7f091b064c9e69962ad0f89c | /test/main.cpp | e0ca2ef543f9a098f0dee75af515ac54e398ff6e | [] | no_license | houdini22/prime_numbers | 70457d1e7c2615b10186443efcf6cca3d15f0f19 | 9882d2a3d21f66d46dcf40418d43314a4053231f | refs/heads/master | 2020-05-20T20:30:34.085017 | 2019-05-18T13:18:40 | 2019-05-18T13:18:40 | 185,744,250 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,039 | cpp | #include <iostream>
#include <math.h>
#include <string>
#include <algorithm>
#include <vector>
#include <stdlib.h>
#include <map>
#include <fstream>
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <chrono>
/*
* DATA TYPES
*/
typedef long long T_NUM;
typedef std::vector<T_NUM> T_NUM_VEC;
typedef std::string T_STR;
typedef std::vector<T_STR> T_STR_VEC;
typedef std::pair<T_NUM, T_NUM> T_PAIR;
typedef std::vector<T_PAIR> T_PAIR_VEC;
typedef std::vector<std::vector<std::vector<T_NUM>>> T_3D_NUM_VEC;
struct T_STRUCT {
T_NUM angle;
T_NUM angleSize;
T_NUM sum;
T_PAIR_VEC vec;
T_3D_NUM_VEC splitted;
T_NUM splitted_sum = 0;
T_STR comparison;
};
typedef std::vector<T_STRUCT> T_STRUCTURE_VECTOR;
struct T_SORT_STRUCT {
inline bool operator()(const T_STRUCT &s1, const T_STRUCT &s2) {
return (s1.angle < s2.angle);
}
};
struct T_HISTOGRAM_SORT_STRUCT {
inline bool operator()(const T_PAIR &s1, const T_PAIR &s2) {
return (s1.first < s2.first);
}
};
/*
* CONFIG
*/
T_STR output = "std::cout";
/*
* FUNCTIONS
*/
T_NUM sumVector(T_NUM_VEC vec);
void debugVector(T_STR title, T_NUM_VEC vec, bool sum);
void debugPairVector(T_PAIR_VEC vec);
void debug3dVector(T_3D_NUM_VEC vec);
int charToInt(char c);
T_STR getNumbersFromTri(double d_num, T_STR s_num, T_NUM d_step, unsigned int ommit, unsigned long length);
T_NUM sumVector(T_NUM_VEC vec);
T_NUM_VEC createVectorFromTri(T_STR sinus, T_STR cosinus, T_STR tangens, T_STR itangens);
bool isPrime(T_NUM num);
T_3D_NUM_VEC splitVector(T_NUM_VEC vec, size_t length);
T_NUM_VEC createPrimaryNumberFromSplits(T_3D_NUM_VEC vec, T_NUM multiplier);
T_STR_VEC splitString(T_STR str);
/*
* TRIGONOMETRY
*/
const double PI = std::acos(-1);
double degreeToRadian(double degree) {
return degree * PI / 180.0;
}
double radianToDegree(double radians) {
return radians * 180 / PI;
}
double _sin(double x) {
return std::sin(degreeToRadian(x));
}
double _cos(double x) {
return std::cos(degreeToRadian(x));
}
double _tan(double x) {
return std::tan(degreeToRadian(x));
}
double _itan(double x) {
return radianToDegree(std::atan(x));
}
/*
* HELPERS
*/
/**
* it prints content of the 1D T_NUM vector
* @param vec
*/
void debugVector(T_STR title, T_NUM_VEC vec, bool sum = false) {
std::cout << "\t___" << title << "___";
if (sum) {
std::cout << ": " << sumVector(vec);
}
std::cout << std::endl;
for (size_t i = 0; i < vec.size(); i++) {
std::cout << vec[i];
if (i < vec.size() - 1) {
std::cout << ", ";
}
}
std::cout << std::endl << std::endl;
}
/**
* it prints content of the T_PAIR vector
* @param vec
*/
void debugPairVector(T_PAIR_VEC vec) {
std::cout << "\t___map___" << std::endl;
for (size_t i = 0; i < vec.size(); i++) {
std::cout << vec[i].first << ":" << vec[i].second;
if (i < vec.size() - 1) {
std::cout << ", ";
}
}
std::cout << std::endl << std::endl;
}
/**
* it prints content of the 3D T_NUM vector
* @param vec
*/
void debug3dVector(T_3D_NUM_VEC vec) {
std::cout << "\t___splitted___" << std::endl;
for (size_t i = 0; i < vec.size(); i++) {
for (size_t j = 0; j < vec[i].size(); j++) {
for (size_t k = 0; k < vec[i][j].size(); k++) {
std::cout << vec[i][j][k];
}
std::cout << '\t' << '\t';
}
std::cout << std::endl;
}
std::cout << std::endl << std::endl;
}
/**
* It converts string ASCII char [0-9] to integer in C++
* @param c
* @return
*/
int charToInt(char c) {
int result = c;
switch (result) {
case 48:
return 0;
case 49:
return 1;
case 50:
return 2;
case 51:
return 3;
case 52:
return 4;
case 53:
return 5;
case 54:
return 6;
case 55:
return 7;
case 56:
return 8;
case 57:
return 9;
default:
return 0;
}
}
/**
* it converts TRIgonometry numbers to a string (2 number angle -> 2 sized string, 3 number angle -> 3 sized string)
* @param d_num
* @param s_num
* @param d_step
* @param ommit
* @param length
* @return
*/
T_STR getNumbersFromTri(double d_num, T_STR s_num, T_NUM d_step, unsigned int ommit, unsigned long length) {
T_STR result = "";
if (ommit == 0) {
for (size_t i = s_num[0] == '-' ? ommit + 1 : ommit; i < s_num.length(); i++) {
if (s_num[i] != '.') {
result += s_num[i];
}
}
result = result.substr(0, length);
} else if (d_num < 0) {
ommit += 1; // comma
result = s_num.substr(ommit, length);
} else if (d_num > 0) {
result = s_num.substr(ommit, length);
}
return result;
}
/**
* Get sum from T_NUM vector
* @param vec
* @return
*/
T_NUM sumVector(T_NUM_VEC vec) {
T_NUM result = 0;
for (size_t i = 0; i < vec.size(); i++) {
result += vec.at(i);
}
return result;
}
/**
* it creates T_NUM vector from TRInity numbers
* @param sinus
* @param cosinus
* @param tangens
* @param s4
* @return
*/
T_NUM_VEC createVectorFromTri(T_STR sinus, T_STR cosinus, T_STR tangens, T_STR itangens) {
T_NUM_VEC result = T_NUM_VEC();
for (int i = 0; i < sinus.length(); i++) {
result.push_back(charToInt(sinus.at(i)));
}
for (int i = 0; i < cosinus.length(); i++) {
result.push_back(charToInt(cosinus.at(i)));
}
for (int i = 0; i < tangens.length(); i++) {
result.push_back(charToInt(tangens.at(i)));
}
for (int i = 0; i < itangens.length(); i++) {
result.push_back(charToInt(itangens.at(i)));
}
return result;
}
/**
* Simple get true if number is primary
* @param num
* @return
*/
bool isPrime(T_NUM num) {
if (num < 2) return false;
if (num == 2) return true;
if (num % 2 == 0) return false;
for (T_NUM i = 3; i * i <= num; i += 2) {
if (num % i == 0) return false;
}
return true;
}
/**
* It converts T_NUM_VEC to splited vector (extended examples)
* @param vec
* @param length
* @return
*/
T_3D_NUM_VEC splitVector(T_NUM_VEC vec, T_NUM length) {
T_3D_NUM_VEC result;
result.resize(vec.size() / length);
T_NUM row = 0;
T_NUM col = 0;
for (T_NUM i = 0; i < vec.size(); i++) {
result[row].resize(length);
if (vec[i] == 7 || vec[i] == 5 || vec[i] == 3 || vec[i] == 2 || vec[i] == 1 || vec[i] == 0) {
result[(unsigned long) row][(unsigned long) col].resize(1);
result[(unsigned long) row][(unsigned long) col][0] = vec[i];
} else if (vec[i] == 8) {
result[(unsigned long) row][(unsigned long) col].resize(4);
result[(unsigned long) row][(unsigned long) col][0] = 2;
result[(unsigned long) row][(unsigned long) col][1] = 2;
result[(unsigned long) row][(unsigned long) col][2] = 2;
result[(unsigned long) row][(unsigned long) col][3] = 2;
} else if (vec[i] == 6) {
result[(unsigned long) row][(unsigned long) col].resize(2);
result[(unsigned long) row][(unsigned long) col][0] = 3;
result[(unsigned long) row][(unsigned long) col][1] = 3;
} else if (vec[i] == 4) {
result[(unsigned long) row][(unsigned long) col].resize(2);
result[(unsigned long) row][(unsigned long) col][0] = 2;
result[(unsigned long) row][(unsigned long) col][1] = 2;
} else if (vec[i] == 9) {
result[(unsigned long) row][(unsigned long) col].resize(3);
result[(unsigned long) row][(unsigned long) col][0] = 3;
result[(unsigned long) row][(unsigned long) col][1] = 3;
result[(unsigned long) row][(unsigned long) col][2] = 3;
}
if (((i + 1) % length) == 0) {
row++;
col = 0;
} else {
col++;
}
}
return result;
}
T_NUM_VEC createPrimaryNumberFromSplits(T_3D_NUM_VEC vec, T_NUM multiplier = 1) {
T_NUM_VEC result;
result.resize(vec.size());
for (T_NUM row = 0; row < vec.size(); row++) {
for (T_NUM number = 0; number < vec[row][0].size(); number++) {
T_NUM _result = 0;
for (size_t i = 1; i < vec[row].size(); i++) {
_result += (T_NUM) pow(vec[row][0][number], vec[row][i].size() * multiplier);
}
result[row] += _result;
}
}
return result;
}
T_STR createCell(T_NUM tabLength, T_STR content) {
T_NUM subtract = (tabLength * 4) - (T_NUM) content.length();
auto numTabs = (T_NUM) ceil((int) subtract / (int) 4);
if (((int) subtract) % 4 != 0) {
numTabs++;
}
for (T_NUM i = 0; i < numTabs; i++) {
content.append("\t");
}
return content;
}
std::ofstream fileTest;
std::ofstream fileSums;
std::ofstream fileHistogram;
std::ofstream fileSymmetry;
std::ofstream filePython;
void writeSumsToFile(T_STRUCT arr) {
fileSums << std::to_string(arr.angle) << ":\t";
if (arr.angleSize == 2 || arr.angleSize == 1) {
fileSums << "\t";
}
T_NUM sum = 0;
for (size_t i = 0; i < arr.splitted.size(); i++) {
for (size_t j = 0; j < arr.splitted[i].size(); j++) {
for (size_t k = 0; k < arr.splitted[i][j].size(); k++) {
sum += arr.splitted[i][j][k];
}
}
}
fileSums << std::to_string(sum) << "\t\t";
fileSums << (isPrime(sum) ? "true" : "false") << "\t\t";
for (T_NUM j = -2; j <= 2; j++) {
T_STR cell;
for (T_NUM k = -1; k <= 1; k += 2) {
if (j + k == 0) continue;
if (isPrime(sum + j + k)) {
cell.append(createCell(1, "|"));
cell.append(createCell(1, std::to_string(sum + j + k)));
cell.append(createCell(1, ":"));
cell.append(createCell(1, std::to_string(j)));
cell.append(createCell(1, std::to_string(k)));
cell.append(createCell(2, "|"));
fileSums << cell;
}
}
}
fileSums << "\n";
}
void writeDataToFile(T_STRUCT arr) {
fileTest << "___angle___\n";
fileTest << std::to_string(arr.angle) << '\n';
fileTest << "___splitted___\n";
T_NUM sum1 = 0;
T_NUM sum2 = 0;
T_NUM sum3 = 0;
T_NUM sum4 = 0;
T_NUM num1 = 0;
T_NUM num2 = 0;
T_NUM num3 = 0;
T_NUM num4 = 0;
T_NUM after1 = 0;
T_NUM after2 = 0;
T_NUM after3 = 0;
T_NUM after4 = 0;
for (size_t row = 0; row < arr.splitted.size(); row++) {
for (size_t col = 0; col < arr.splitted[row].size(); col++) {
for (size_t number = 0; number < arr.splitted[row][col].size(); number++) {
fileTest << arr.splitted[row][col][number];
}
for (size_t k = arr.splitted[row][col].size(); k < 10; k++) {
fileTest << " ";
}
}
fileTest << "\n";
}
for (size_t row = 0; row < arr.splitted.size(); row++) {
for (size_t col = 0; col < arr.splitted[row].size(); col++) {
for (size_t number = 0; number < arr.splitted[row][col].size(); number++) {
sum1 += arr.splitted[row][col][number];
sum2 += (T_NUM) pow(arr.splitted[row][col][number], arr.splitted[row][col].size());
sum3 += (T_NUM) pow(arr.splitted[row][col][number], number + 1);
sum4 += (T_NUM) pow(arr.splitted[row][col][number], (number + 1) * 2);
}
}
}
fileTest << "___sum1___\n";
fileTest << createCell(4, std::to_string(sum1)) << " " << createCell(4, (isPrime(sum1) ? "true" : "false")) << '\n';
for (T_NUM i = 0; i < 100; i++) {
if (isPrime(sum1 + i)) {
num1 = i;
after1 = sum1 + i;
break;
}
}
fileTest << createCell(4, "ingredient") << createCell(3, std::to_string(num1)) << " after: " << createCell(3, std::to_string(after1)) << '\n';
fileTest << "___sum2___\n";
fileTest << createCell(4, std::to_string(sum2)) << " " << createCell(4, (isPrime(sum2) ? "true" : "false")) << '\n';
for (T_NUM i = 0; i < 100; i++) {
if (isPrime(sum2 + i)) {
num2 = i;
after2 = sum2 + i;
break;
}
}
fileTest << createCell(4, "ingredient") << createCell(3, std::to_string(num2)) << " after: " << createCell(3, std::to_string(after2)) << '\n';
fileTest << "___sum3___\n";
fileTest << createCell(4, std::to_string(sum3)) << " " << createCell(4, (isPrime(sum3) ? "true" : "false")) << '\n';
for (T_NUM i = 0; i < 100; i++) {
if (isPrime(sum3 + i)) {
num3 = i;
after3 = sum3 + i;
break;
}
}
fileTest << createCell(4, "ingredient") << createCell(3, std::to_string(num3)) << " after: " << createCell(3, std::to_string(after3)) << '\n';
fileTest << "___sum4___\n";
fileTest << createCell(4, std::to_string(sum4)) << " " << createCell(4, (isPrime(sum4) ? "true" : "false")) << '\n';
for (T_NUM i = 0; i < 100; i++) {
if (isPrime(sum4 + i)) {
num4 = i;
after4 = sum4 + i;
break;
}
}
fileTest << createCell(4, "ingredient") << createCell(3, std::to_string(num4)) << " after: " << createCell(3, std::to_string(after4)) << '\n';
fileTest << "\n--------------------\n\n";
}
const T_NUM ___BEGIN___ = 18000;
int main() {
// initialize
std::cout.precision(20);
// open files
fileTest.open("./test.txt");
// start
T_NUM_VEC allFound;
T_STRUCTURE_VECTOR arr; // main data container
// from angle -___BEGIN___ (degree) -> + ___BEGIN___ (degree)
for (T_NUM step = 0; step < 1000; step += 1) {
T_NUM_VEC vec1 = createVectorFromTri(
getNumbersFromTri(_sin(step), std::to_string(_sin(step)), step, 2, std::to_string(step).length()),
getNumbersFromTri(_cos(step), std::to_string(_cos(step)), step, 2, std::to_string(step).length()),
getNumbersFromTri(_tan(step), std::to_string(_tan(step)), step, 0, std::to_string(step).length()),
getNumbersFromTri(_itan(step), std::to_string(_itan(step)), step, 0, std::to_string(step).length()));
// create data
T_STRUCT s1;
s1.angle = step;
s1.angleSize = (T_NUM) std::to_string(step).length();
s1.sum = sumVector(vec1);
s1.splitted = splitVector(vec1, s1.angleSize);
arr.push_back(s1);
}
// sort all primary numbers
std::sort(arr.begin(), arr.end(), T_SORT_STRUCT());
// debug
for (T_NUM i = 0; i < arr.size(); i++) {
writeDataToFile(arr[i]);
}
fileTest.close();
fileSums.close();
return 0;
} | [
"baniczek@gmail.com"
] | baniczek@gmail.com |
7d1efb423842f76dc6e210f220214999282824ea | f02f7b6eca25b0b0198d6239d08497be73ed9463 | /SDL2_Wrapper/window_archtype.h | 630cc187f12fa4b40005c535a4c7ad63651501b4 | [
"MIT"
] | permissive | andywm/Physics-Demo | 49ff2e4722a027aa9e1184bb4e8d6bf367612857 | 8c625636e4ca92e445329bcfc977a07b8504e9b2 | refs/heads/master | 2021-01-21T21:15:18.719410 | 2017-06-19T17:13:20 | 2017-06-19T17:13:20 | 94,798,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | h | #pragma once
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_
#endif // ! #define _WINSOCKAPI_
#include<SDL2/SDL.h>
#include<string>
#include<queue>
#include<list>
#include<memory>
#include <glm\vec2.hpp>
using uint = unsigned int;
class WindowArchtype
{
private:
int mWindowID;
SDL_Window * mWindow;
std::queue<SDL_Event> mWindowEvents;
public:
//wrapper for a list of unique_ptrs<windows>
//Window();
WindowArchtype(const std::string & title,
const uint w, const uint h,
const uint x, const uint y,
const uint flags);
WindowArchtype& operator=(const WindowArchtype&) = delete;
WindowArchtype(const WindowArchtype &) = delete;
virtual ~WindowArchtype();
void pushEvent(const SDL_Event & event);
bool peekEvent(SDL_Event * const event);
bool popEvent(SDL_Event * const event);
inline const glm::ivec2
WindowArchtype::size() const
{
int w, h;
SDL_GetWindowSize(mWindow, &w, &h);
return glm::ivec2(w, h);
}
virtual void resized()=0;
virtual void resize(const glm::ivec2 & size);
inline const int
windowID() const
{
return mWindowID;
}
inline SDL_Window * const
window() const
{
return mWindow;
}
protected:
bool createWindow(const std::string & title,
const uint w, const uint h,
const uint x, const uint y,
const uint flags);
};
using win_sptr = std::unique_ptr<WindowArchtype>;
using window_group = std::vector<win_sptr>;
| [
"andy6a6@msn.com"
] | andy6a6@msn.com |
da8edd727fa3caa8dd6c25beb6d8bc803eaa9515 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-966.cpp | 66e139eec834416b288e073cf2bb33c2c1340bcc | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,588 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool active1;
c1() : active1(true) {}
virtual ~c1()
{
tester1(this);
active1 = false;
}
virtual void f1(){}
};
void __attribute__ ((noinline)) tester1(c1* p)
{
p->f1();
}
struct c2;
void __attribute__ ((noinline)) tester2(c2* p);
struct c2
{
bool active2;
c2() : active2(true) {}
virtual ~c2()
{
tester2(this);
active2 = false;
}
virtual void f2(){}
};
void __attribute__ ((noinline)) tester2(c2* p)
{
p->f2();
}
struct c3;
void __attribute__ ((noinline)) tester3(c3* p);
struct c3 : virtual c0, c1
{
bool active3;
c3() : active3(true) {}
virtual ~c3()
{
tester3(this);
c0 *p0_0 = (c0*)(c3*)(this);
tester0(p0_0);
c1 *p1_0 = (c1*)(c3*)(this);
tester1(p1_0);
active3 = false;
}
virtual void f3(){}
};
void __attribute__ ((noinline)) tester3(c3* p)
{
p->f3();
if (p->active1)
p->f1();
if (p->active0)
p->f0();
}
struct c4;
void __attribute__ ((noinline)) tester4(c4* p);
struct c4 : c2, virtual c0, c3
{
bool active4;
c4() : active4(true) {}
virtual ~c4()
{
tester4(this);
c0 *p0_0 = (c0*)(c4*)(this);
tester0(p0_0);
c0 *p0_1 = (c0*)(c3*)(c4*)(this);
tester0(p0_1);
c1 *p1_0 = (c1*)(c3*)(c4*)(this);
tester1(p1_0);
c2 *p2_0 = (c2*)(c4*)(this);
tester2(p2_0);
c3 *p3_0 = (c3*)(c4*)(this);
tester3(p3_0);
active4 = false;
}
virtual void f4(){}
};
void __attribute__ ((noinline)) tester4(c4* p)
{
p->f4();
if (p->active1)
p->f1();
if (p->active2)
p->f2();
if (p->active3)
p->f3();
if (p->active0)
p->f0();
}
int __attribute__ ((noinline)) inc(int v) {return ++v;}
int main()
{
c0* ptrs0[25];
ptrs0[0] = (c0*)(new c0());
ptrs0[1] = (c0*)(c3*)(new c3());
ptrs0[2] = (c0*)(c4*)(new c4());
ptrs0[3] = (c0*)(c3*)(c4*)(new c4());
for (int i=0;i<4;i=inc(i))
{
tester0(ptrs0[i]);
delete ptrs0[i];
}
c1* ptrs1[25];
ptrs1[0] = (c1*)(new c1());
ptrs1[1] = (c1*)(c3*)(new c3());
ptrs1[2] = (c1*)(c3*)(c4*)(new c4());
for (int i=0;i<3;i=inc(i))
{
tester1(ptrs1[i]);
delete ptrs1[i];
}
c2* ptrs2[25];
ptrs2[0] = (c2*)(new c2());
ptrs2[1] = (c2*)(c4*)(new c4());
for (int i=0;i<2;i=inc(i))
{
tester2(ptrs2[i]);
delete ptrs2[i];
}
c3* ptrs3[25];
ptrs3[0] = (c3*)(new c3());
ptrs3[1] = (c3*)(c4*)(new c4());
for (int i=0;i<2;i=inc(i))
{
tester3(ptrs3[i]);
delete ptrs3[i];
}
c4* ptrs4[25];
ptrs4[0] = (c4*)(new c4());
for (int i=0;i<1;i=inc(i))
{
tester4(ptrs4[i]);
delete ptrs4[i];
}
return 0;
}
| [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
8ccbe77e6ba41d09784f91a8dedc586432102424 | c50c30e511946ddb660a2e25bfb81376faad6d08 | /src/qt/addresstablemodel.cpp | 9097ab9b549dde917109c761c7a7d2cf653d2427 | [
"MIT"
] | permissive | ultranatum/ultragate | e52fd316761fde9996f52e7e98ddf7475d915a88 | b4773b11f358932cbdbd8f738b0648bd4ee5f385 | refs/heads/master | 2022-07-23T21:26:27.488403 | 2022-06-21T11:27:42 | 2022-06-21T11:27:42 | 175,899,669 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 16,172 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addresstablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "base58.h"
#include "wallet/wallet.h"
#include "askpassphrasedialog.h"
#include <QDebug>
#include <QFont>
const QString AddressTableModel::Send = "S";
const QString AddressTableModel::Receive = "R";
const QString AddressTableModel::Zerocoin = "X";
struct AddressTableEntry {
enum Type {
Sending,
Receiving,
Zerocoin,
Hidden /* QSortFilterProxyModel will filter these out */
};
Type type;
QString label;
QString address;
QString pubcoin;
AddressTableEntry() {}
AddressTableEntry(Type type, const QString &pubcoin): type(type), pubcoin(pubcoin) {}
AddressTableEntry(Type type, const QString& label, const QString& address) : type(type), label(label), address(address) {}
};
struct AddressTableEntryLessThan {
bool operator()(const AddressTableEntry& a, const AddressTableEntry& b) const
{
return a.address < b.address;
}
bool operator()(const AddressTableEntry& a, const QString& b) const
{
return a.address < b;
}
bool operator()(const QString& a, const AddressTableEntry& b) const
{
return a < b.address;
}
};
/* Determine address type from address purpose */
static AddressTableEntry::Type translateTransactionType(const QString& strPurpose, bool isMine)
{
AddressTableEntry::Type addressType = AddressTableEntry::Hidden;
// "refund" addresses aren't shown, and change addresses aren't in mapAddressBook at all.
if (strPurpose == "send")
addressType = AddressTableEntry::Sending;
else if (strPurpose == "receive")
addressType = AddressTableEntry::Receiving;
else if (strPurpose == "unknown" || strPurpose == "") // if purpose not set, guess
addressType = (isMine ? AddressTableEntry::Receiving : AddressTableEntry::Sending);
return addressType;
}
// Private implementation
class AddressTablePriv
{
public:
CWallet* wallet;
QList<AddressTableEntry> cachedAddressTable;
AddressTableModel* parent;
AddressTablePriv(CWallet* wallet, AddressTableModel* parent) : wallet(wallet), parent(parent) {}
void refreshAddressTable()
{
cachedAddressTable.clear();
{
LOCK(wallet->cs_wallet);
for (const PAIRTYPE(CTxDestination, CAddressBookData) & item : wallet->mapAddressBook) {
const CBitcoinAddress& address = item.first;
bool fMine = IsMine(*wallet, address.Get());
AddressTableEntry::Type addressType = translateTransactionType(
QString::fromStdString(item.second.purpose), fMine);
const std::string& strName = item.second.name;
cachedAddressTable.append(AddressTableEntry(addressType,
QString::fromStdString(strName),
QString::fromStdString(address.ToString())));
}
}
// qLowerBound() and qUpperBound() require our cachedAddressTable list to be sorted in asc order
// Even though the map is already sorted this re-sorting step is needed because the originating map
// is sorted by binary address, not by base58() address.
qSort(cachedAddressTable.begin(), cachedAddressTable.end(), AddressTableEntryLessThan());
}
void updateEntry(const QString& address, const QString& label, bool isMine, const QString& purpose, int status)
{
// Find address / label in model
QList<AddressTableEntry>::iterator lower = qLowerBound(
cachedAddressTable.begin(), cachedAddressTable.end(), address, AddressTableEntryLessThan());
QList<AddressTableEntry>::iterator upper = qUpperBound(
cachedAddressTable.begin(), cachedAddressTable.end(), address, AddressTableEntryLessThan());
int lowerIndex = (lower - cachedAddressTable.begin());
int upperIndex = (upper - cachedAddressTable.begin());
bool inModel = (lower != upper);
AddressTableEntry::Type newEntryType = translateTransactionType(purpose, isMine);
switch (status) {
case CT_NEW:
if (inModel) {
qWarning() << "AddressTablePriv::updateEntry : Warning: Got CT_NEW, but entry is already in model";
break;
}
parent->beginInsertRows(QModelIndex(), lowerIndex, lowerIndex);
cachedAddressTable.insert(lowerIndex, AddressTableEntry(newEntryType, label, address));
parent->endInsertRows();
break;
case CT_UPDATED:
if (!inModel) {
qWarning() << "AddressTablePriv::updateEntry : Warning: Got CT_UPDATED, but entry is not in model";
break;
}
lower->type = newEntryType;
lower->label = label;
parent->emitDataChanged(lowerIndex);
break;
case CT_DELETED:
if (!inModel) {
qWarning() << "AddressTablePriv::updateEntry : Warning: Got CT_DELETED, but entry is not in model";
break;
}
parent->beginRemoveRows(QModelIndex(), lowerIndex, upperIndex - 1);
cachedAddressTable.erase(lower, upper);
parent->endRemoveRows();
break;
}
}
void updateEntry(const QString &pubCoin, const QString &isUsed, int status)
{
// Find address / label in model
QList<AddressTableEntry>::iterator lower = qLowerBound(
cachedAddressTable.begin(), cachedAddressTable.end(), pubCoin, AddressTableEntryLessThan());
QList<AddressTableEntry>::iterator upper = qUpperBound(
cachedAddressTable.begin(), cachedAddressTable.end(), pubCoin, AddressTableEntryLessThan());
int lowerIndex = (lower - cachedAddressTable.begin());
bool inModel = (lower != upper);
AddressTableEntry::Type newEntryType = AddressTableEntry::Zerocoin;
switch(status)
{
case CT_NEW:
if(inModel)
{
qWarning() << "AddressTablePriv_ZC::updateEntry : Warning: Got CT_NEW, but entry is already in model";
}
parent->beginInsertRows(QModelIndex(), lowerIndex, lowerIndex);
cachedAddressTable.insert(lowerIndex, AddressTableEntry(newEntryType, isUsed, pubCoin));
parent->endInsertRows();
break;
case CT_UPDATED:
if(!inModel)
{
qWarning() << "AddressTablePriv_ZC::updateEntry : Warning: Got CT_UPDATED, but entry is not in model";
break;
}
lower->type = newEntryType;
lower->label = isUsed;
parent->emitDataChanged(lowerIndex);
break;
}
}
int size()
{
return cachedAddressTable.size();
}
AddressTableEntry* index(int idx)
{
if (idx >= 0 && idx < cachedAddressTable.size()) {
return &cachedAddressTable[idx];
} else {
return 0;
}
}
};
AddressTableModel::AddressTableModel(CWallet* wallet, WalletModel* parent) : QAbstractTableModel(parent), walletModel(parent), wallet(wallet), priv(0)
{
columns << tr("Label") << tr("Address");
priv = new AddressTablePriv(wallet, this);
priv->refreshAddressTable();
}
AddressTableModel::~AddressTableModel()
{
delete priv;
}
int AddressTableModel::rowCount(const QModelIndex& parent) const
{
Q_UNUSED(parent);
return priv->size();
}
int AddressTableModel::columnCount(const QModelIndex& parent) const
{
Q_UNUSED(parent);
return columns.length();
}
QVariant AddressTableModel::data(const QModelIndex& index, int role) const
{
if (!index.isValid())
return QVariant();
AddressTableEntry* rec = static_cast<AddressTableEntry*>(index.internalPointer());
if (role == Qt::DisplayRole || role == Qt::EditRole) {
switch (index.column()) {
case Label:
if (rec->label.isEmpty() && role == Qt::DisplayRole) {
return tr("(no label)");
} else {
return rec->label;
}
case Address:
return rec->address;
}
} else if (role == Qt::FontRole) {
QFont font;
if (index.column() == Address) {
font = GUIUtil::bitcoinAddressFont();
}
return font;
} else if (role == TypeRole) {
switch (rec->type) {
case AddressTableEntry::Sending:
return Send;
case AddressTableEntry::Receiving:
return Receive;
default:
break;
}
}
return QVariant();
}
bool AddressTableModel::setData(const QModelIndex& index, const QVariant& value, int role)
{
if (!index.isValid())
return false;
AddressTableEntry* rec = static_cast<AddressTableEntry*>(index.internalPointer());
std::string strPurpose = (rec->type == AddressTableEntry::Sending ? "send" : "receive");
editStatus = OK;
if (role == Qt::EditRole) {
LOCK(wallet->cs_wallet); /* For SetAddressBook / DelAddressBook */
CTxDestination curAddress = CBitcoinAddress(rec->address.toStdString()).Get();
if (index.column() == Label) {
// Do nothing, if old label == new label
if (rec->label == value.toString()) {
editStatus = NO_CHANGES;
return false;
}
wallet->SetAddressBook(curAddress, value.toString().toStdString(), strPurpose);
} else if (index.column() == Address) {
CTxDestination newAddress = CBitcoinAddress(value.toString().toStdString()).Get();
// Refuse to set invalid address, set error status and return false
if (boost::get<CNoDestination>(&newAddress)) {
editStatus = INVALID_ADDRESS;
return false;
}
// Do nothing, if old address == new address
else if (newAddress == curAddress) {
editStatus = NO_CHANGES;
return false;
}
// Check for duplicate addresses to prevent accidental deletion of addresses, if you try
// to paste an existing address over another address (with a different label)
else if (wallet->mapAddressBook.count(newAddress)) {
editStatus = DUPLICATE_ADDRESS;
return false;
}
// Double-check that we're not overwriting a receiving address
else if (rec->type == AddressTableEntry::Sending) {
// Remove old entry
wallet->DelAddressBook(curAddress);
// Add new entry with new address
wallet->SetAddressBook(newAddress, rec->label.toStdString(), strPurpose);
}
}
return true;
}
return false;
}
QVariant AddressTableModel::headerData(int section, Qt::Orientation orientation, int role) const
{
if (orientation == Qt::Horizontal) {
if (role == Qt::DisplayRole && section < columns.size()) {
return columns[section];
}
}
return QVariant();
}
Qt::ItemFlags AddressTableModel::flags(const QModelIndex& index) const
{
if (!index.isValid())
return 0;
AddressTableEntry* rec = static_cast<AddressTableEntry*>(index.internalPointer());
Qt::ItemFlags retval = Qt::ItemIsSelectable | Qt::ItemIsEnabled;
// Can edit address and label for sending addresses,
// and only label for receiving addresses.
if (rec->type == AddressTableEntry::Sending ||
(rec->type == AddressTableEntry::Receiving && index.column() == Label)) {
retval |= Qt::ItemIsEditable;
}
return retval;
}
QModelIndex AddressTableModel::index(int row, int column, const QModelIndex& parent) const
{
Q_UNUSED(parent);
AddressTableEntry* data = priv->index(row);
if (data) {
return createIndex(row, column, priv->index(row));
} else {
return QModelIndex();
}
}
void AddressTableModel::updateEntry(const QString& address,
const QString& label,
bool isMine,
const QString& purpose,
int status)
{
// Update address book model from Ultragate core
priv->updateEntry(address, label, isMine, purpose, status);
}
void AddressTableModel::updateEntry(const QString &pubCoin, const QString &isUsed, int status)
{
// Update stealth address book model from Bitcoin core
priv->updateEntry(pubCoin, isUsed, status);
}
QString AddressTableModel::addRow(const QString& type, const QString& label, const QString& address)
{
std::string strLabel = label.toStdString();
std::string strAddress = address.toStdString();
editStatus = OK;
if (type == Send) {
if (!walletModel->validateAddress(address)) {
editStatus = INVALID_ADDRESS;
return QString();
}
// Check for duplicate addresses
{
LOCK(wallet->cs_wallet);
if (wallet->mapAddressBook.count(CBitcoinAddress(strAddress).Get())) {
editStatus = DUPLICATE_ADDRESS;
return QString();
}
}
} else if (type == Receive) {
// Generate a new address to associate with given label
CPubKey newKey;
if (!wallet->GetKeyFromPool(newKey)) {
WalletModel::UnlockContext ctx(walletModel->requestUnlock(AskPassphraseDialog::Context::Unlock_Full, true));
if (!ctx.isValid()) {
// Unlock wallet failed or was cancelled
editStatus = WALLET_UNLOCK_FAILURE;
return QString();
}
if (!wallet->GetKeyFromPool(newKey)) {
editStatus = KEY_GENERATION_FAILURE;
return QString();
}
}
strAddress = CBitcoinAddress(newKey.GetID()).ToString();
} else {
return QString();
}
// Add entry
{
LOCK(wallet->cs_wallet);
wallet->SetAddressBook(CBitcoinAddress(strAddress).Get(), strLabel,
(type == Send ? "send" : "receive"));
}
return QString::fromStdString(strAddress);
}
bool AddressTableModel::removeRows(int row, int count, const QModelIndex& parent)
{
Q_UNUSED(parent);
AddressTableEntry* rec = priv->index(row);
if (count != 1 || !rec || rec->type == AddressTableEntry::Receiving) {
// Can only remove one row at a time, and cannot remove rows not in model.
// Also refuse to remove receiving addresses.
return false;
}
{
LOCK(wallet->cs_wallet);
wallet->DelAddressBook(CBitcoinAddress(rec->address.toStdString()).Get());
}
return true;
}
/* Look up label for address in address book, if not found return empty string.
*/
QString AddressTableModel::labelForAddress(const QString& address) const
{
{
LOCK(wallet->cs_wallet);
CBitcoinAddress address_parsed(address.toStdString());
std::map<CTxDestination, CAddressBookData>::iterator mi = wallet->mapAddressBook.find(address_parsed.Get());
if (mi != wallet->mapAddressBook.end()) {
return QString::fromStdString(mi->second.name);
}
}
return QString();
}
int AddressTableModel::lookupAddress(const QString& address) const
{
QModelIndexList lst = match(index(0, Address, QModelIndex()),
Qt::EditRole, address, 1, Qt::MatchExactly);
if (lst.isEmpty()) {
return -1;
} else {
return lst.at(0).row();
}
}
void AddressTableModel::emitDataChanged(int idx)
{
emit dataChanged(index(idx, 0, QModelIndex()), index(idx, columns.length() - 1, QModelIndex()));
}
| [
"ultranatum@web.de"
] | ultranatum@web.de |
4a6fc8b0033f0d208ceea802eace5fa6dcc7d726 | cd53591c82fc4b78635db88d7b48cff95b2d75f7 | /Alien.hpp | 1e7a4ffc0ec31bb651dc1e0bede262cf5ee8d7c6 | [] | no_license | taylor-jones/Fly-Away-Home | da439d3856068c39544d7255091fbf394a3403df | 14036d29c6ef719327cc9043b269d313b968689c | refs/heads/master | 2020-03-26T15:25:19.335305 | 2019-01-15T01:19:04 | 2019-01-15T01:19:04 | 145,041,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | hpp | /**********************************************************
** Program Name: final project
** Author: Taylor Jones
** Date: 3/6/2018
** Description: Alien.hpp is the Alien class
** specification file. This file contains declarations
** for the member variables and member functions of
** the Alien class.
**********************************************************/
#ifndef ALIEN_HPP
#define ALIEN_HPP
#include "Element.hpp"
#include "Bag.hpp"
#include "Earthling.hpp"
class Alien: public Element {
private:
//
// member variables
//
bool backHome = false;
int homeLevel = -1;
int cash = 0;
int points = 0;
int rank = 1;
string rankName = "Weiner";
int maxEnergy = 100;
int energy = 100;
int energyMarker = 100;
int livesRemaining = 3;
int activeItemStepsRemaining = 0;
private:
std::vector<string>menuOpts;
Bag* bag = nullptr;
Bag* shipPieces = nullptr;
Item* activeItem = nullptr;
Item* nonBagItem = nullptr;
Space* prevSpace = nullptr;
Island* homeland = nullptr;
//
// member functions
//
int nextRankPoints();
void depleteActiveItem();
void checkForwardExperiences();
public:
// object handling
Alien();
explicit Alien(int homeLevel);
~Alien() override;
void init();
// getters
int getCash() const;
int getPoints() const;
int getRank() const;
int getEnergy() const;
int getEnergyMarker() const;
int getLivesRemaining() const;
int getHomeLevel() const;
int getActiveItemStepsRemaining() const;
int getMaxEnergy() const;
bool isAlive();
const string &getRankName() const;
string getOrientationString() const;
Item* getActiveItem() const;
Item* getNonBagItem() const;
Space* getPrevSpace() const;
Bag* getBag() const;
Bag* getShipPieces() const;
Island* getHomeland() const;
// setters
void setCash(int cash);
void setPoints(int points);
void setRank(int rankNumber);
void setRankName(const string &rankName);
void setBag(Bag* bag);
void setLivesRemaining(int livesRemaining);
void setActiveItem(Item* currentItem);
void setEnergy(int energy);
void setHomeLevel(int homeLevel);
void setEnergyMarker();
void setPrevSpace(Space* prevSpace);
void setHomeland(Island* homeland);
void setNonBagItem(Item* nonBagItem);
void setMaxEnergy(int maxEnergy);
void adjustPoints(int amount);
void adjustCash(int amount);
void adjustEnergy(int amount, bool bypassMax = false);
void setActiveItemStepsRemaining(int activeItemStepsRemaining);
// activity
void interact(Element* actor) override;
void experienceSpace(Direction direction = NO_DIRECTION);
void interactWithElements(Direction direction = NO_DIRECTION);
void interactWithEarthling(Earthling* earthling);
void checkDropBagItem(Item* replaceWithItem = nullptr);
void checkPickupBagItem(Item* newItem = nullptr);
void checkUseBagItem();
bool checkBuyMaps(int price);
bool move(Direction direction) override;
bool move(Space* space) override;
void checkIfBackHome();
void checkRestoreEnergy();
bool checkRestoreEnergy(int price);
void getBittenByShark();
void eatFood(Item* food);
bool findShipPiece(Item* piece);
void flyHome(Item* spaceship);
void pickupMoney(Item* money);
void restoreEnergy();
void printStats(bool showSurroundings = true);
void showMenu();
void uncoverAdjacentSpaces();
};
#endif //ALIEN_HPP
| [
"taylorjonesdev@gmail.com"
] | taylorjonesdev@gmail.com |
4ea0d691bbcfbfe47460cc8d595447388ee9c035 | 9d82eabe30c2ad6aef7c24d3358eec308c74254c | /Plugins/Puerts/Source/PuertsEditor/Public/PEBlueprintMetaData.h | 9c0b13578c625b2424813eef5e6d463694e877db | [] | permissive | zombieyang/puerts_unreal_demo | 011da1e0b6bc43b9c36c264cbd2729be61eec3ee | 167ed16baf9a77ac615bcb56431c3771ff9c3e82 | refs/heads/master | 2023-03-12T04:01:28.817664 | 2022-08-11T03:52:52 | 2022-08-11T03:52:52 | 344,380,891 | 0 | 0 | MIT | 2021-03-04T07:02:30 | 2021-03-04T07:02:29 | null | UTF-8 | C++ | false | false | 27,691 | h | /*
* Tencent is pleased to support the open source community by making Puerts available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
* Puerts is licensed under the BSD 3-Clause License, except for the third-party components listed in the file 'LICENSE' which may
* be subject to their corresponding license terms. This file is subject to the terms and conditions defined in file 'LICENSE',
* which is part of this source code package.
*/
#pragma once
#include "PropertyMacros.h"
#include "Math/UnitConversion.h"
#include "K2Node_CustomEvent.h"
#include "K2Node_FunctionEntry.h"
#include "Engine/Blueprint.h"
#include "PEBlueprintMetaData.generated.h"
/**
* @brief since the void_t defined in converter.hpp will introduce v8
* define a temporary void_t here
*/
template <class...>
using Void_t = void;
/**
* @brief the utility function collection for meta data
*/
struct FPEMetaDataUtils
{
/**
* temporary check if a type is defined
*/
template <typename T, typename = void>
struct TFormatValidator
{
/**
* @brief fallback
* @param ...
* @return
*/
template <typename... Args>
bool operator()(Args&&...) const
{
// if the field variant is not exist, currently don't do further check
UE_LOG(LogTemp, VeryVerbose, TEXT("FFieldVarient is not implemented in current engine"));
return true;
}
};
/**
* @brief if the field variant is defined, we do the check
* @tparam T
*/
template <typename T>
struct TFormatValidator<T, typename std::enable_if<(sizeof(T) > 0)>::type>
{
/**
* @brief real check
* @param InField
* @param InKey
* @param InValue
* @param OutMessage
* @return
*/
bool operator()(T InField, FName InKey, const FString& InValue, FString& OutMessage) const
{
// name pre define
static const FName NAME_BlueprintProtected = TEXT("BlueprintProtected");
static const FName NAME_ClampMax = TEXT("ClampMax");
static const FName NAME_ClampMin = TEXT("ClampMin");
static const FName NAME_CommutativeAssociativeBinaryOperator = TEXT("CommutativeAssociativeBinaryOperator");
static const FName NAME_DevelopmentStatus = TEXT("DevelopmentStatus");
static const FName NAME_DocumentationPolicy = TEXT("DocumentationPolicy");
static const FName NAME_ExpandBoolAsExecs = TEXT("ExpandBoolAsExecs");
static const FName NAME_ExpandEnumAsExecs = TEXT("ExpandEnumAsExecs");
static const FName NAME_UIMax = TEXT("UIMax");
static const FName NAME_UIMin = TEXT("UIMin");
static const FName NAME_Units = TEXT("Units");
// a helper function used to check a function is well defined blueprint protected
static const auto ValidateFunctionBlueprintProtected = [](UFunction* InFunction)
{
if (!IsValid(InFunction))
{
return false;
}
if (InFunction->HasAnyFunctionFlags(FUNC_Static))
{
// Determine if it's a function library
UClass* Class = InFunction->GetOuterUClass();
while (Class != nullptr && Class->GetSuperClass() != UObject::StaticClass())
{
Class = Class->GetSuperClass();
}
if (Class != nullptr && Class->GetName() == TEXT("BlueprintFunctionLibrary"))
{
return false;
}
}
return true;
};
// a helper function used to check a function is well defined binary operator
static const auto ValidateFunctionCommutativeAssociativeBinaryOperator = [](UFunction* InFunction)
{
if (!IsValid(InFunction))
{
return false;
}
bool bGoodParams = (InFunction->NumParms == 3);
if (bGoodParams)
{
PropertyMacro* FirstParam = nullptr;
PropertyMacro* SecondParam = nullptr;
PropertyMacro* ReturnValue = nullptr;
TFieldIterator<PropertyMacro> It(InFunction);
auto GetNextParam = [&]()
{
if (It)
{
if (It->HasAnyPropertyFlags(CPF_ReturnParm))
{
ReturnValue = *It;
}
else
{
if (FirstParam == nullptr)
{
FirstParam = *It;
}
else if (SecondParam == nullptr)
{
SecondParam = *It;
}
}
++It;
}
};
GetNextParam();
GetNextParam();
GetNextParam();
ensure(!It);
if (ReturnValue == nullptr || SecondParam == nullptr || !SecondParam->SameType(FirstParam))
{
bGoodParams = false;
}
}
return bGoodParams;
};
// a helper function sued to check a function is well defined as execs
static const auto ValidateFunctionExpandAsExecs = [](UFunction* InFunction, const FString& InValue)
{
if (!IsValid(InFunction))
{
return false;
}
// multiple entry parsing in the same format as eg SetParam.
TArray<FString> RawGroupings;
InValue.ParseIntoArray(RawGroupings, TEXT(","), false);
PropertyMacro* FirstInput = nullptr;
for (const FString& RawGroup : RawGroupings)
{
TArray<FString> IndividualEntries;
RawGroup.ParseIntoArray(IndividualEntries, TEXT("|"));
for (const FString& Entry : IndividualEntries)
{
if (Entry.IsEmpty())
{
continue;
}
auto FoundField = FindUFieldOrFProperty(InFunction, *Entry);
if (!FoundField)
{
return false;
}
if (PropertyMacro* Prop = FoundField.Get<PropertyMacro>())
{
if (!Prop->HasAnyPropertyFlags(CPF_ReturnParm) &&
(!Prop->HasAnyPropertyFlags(CPF_OutParm) || Prop->HasAnyPropertyFlags(CPF_ReferenceParm)))
{
if (!FirstInput)
{
FirstInput = Prop;
}
else
{
return false;
}
}
}
}
}
return true;
};
// function body
// check numeric keys
if (InKey == NAME_UIMin || InKey == NAME_UIMax || InKey == NAME_ClampMin || InKey == NAME_ClampMax)
{
if (!InValue.IsNumeric())
{
OutMessage =
FString::Printf(TEXT("Metadata value for '%s' is non-numeric : '%s'"), *InKey.ToString(), *InValue);
return false;
}
return true;
}
// check blueprint protected function
if (InKey == NAME_BlueprintProtected)
{
if (!ValidateFunctionBlueprintProtected(InField.template Get<UFunction>()))
{
OutMessage =
FString::Printf(TEXT("%s doesn't make sense on static method '%s' in a blueprint function library"),
*InKey.ToString(), *InField.GetFullName());
return false;
}
return true;
}
// check binary operator function
if (InKey == NAME_CommutativeAssociativeBinaryOperator)
{
if (!ValidateFunctionCommutativeAssociativeBinaryOperator(InField.template Get<UFunction>()))
{
OutMessage = TEXT(
"Commutative asssociative binary operators must have exactly 2 parameters of the same type and a return "
"value.");
return false;
}
return true;
}
// check expand as execs
if (InKey == NAME_ExpandBoolAsExecs || InKey == NAME_ExpandEnumAsExecs)
{
if (!ValidateFunctionExpandAsExecs(InField.template Get<UFunction>(), InValue))
{
OutMessage = TEXT("invalid meta data for expand as execs");
return false;
}
return true;
}
// check development status
if (InKey == NAME_DevelopmentStatus)
{
const FString EarlyAccessValue(TEXT("EarlyAccess"));
const FString ExperimentalValue(TEXT("Experimental"));
if ((InValue != EarlyAccessValue) && (InValue != ExperimentalValue))
{
OutMessage = FString::Printf(TEXT("'%s' metadata was '%s' but it must be %s or %s"), *InKey.ToString(),
*InValue, *ExperimentalValue, *EarlyAccessValue);
return false;
}
return true;
}
// check units
if (InKey == NAME_Units)
{
// Check for numeric property
auto* MaybeProperty = InField.template Get<NumericPropertyMacro>();
if (MaybeProperty == nullptr && !MaybeProperty->template IsA<StructPropertyMacro>())
{
OutMessage = TEXT("'Units' meta data can only be applied to numeric and struct properties");
return false;
}
if (!FUnitConversion::UnitFromString(*InValue))
{
OutMessage = FString::Printf(
TEXT("Unrecognized units (%s) specified for property '%s'"), *InValue, *InField.GetFullName());
return false;
}
return true;
}
// check documentation policy
if (InKey == NAME_DocumentationPolicy)
{
const TCHAR* StrictValue = TEXT("Strict");
if (InValue != StrictValue)
{
OutMessage =
FString::Printf(TEXT("'%s' metadata was '%s' but it must be %s"), *InKey.ToString(), *InValue, StrictValue);
return false;
}
return true;
}
return true;
}
};
/**
* @brief the format validate
*/
static TFormatValidator<class FFieldVariant> ValidateFormat;
/**
* @brief add specific meta data to ufield
* @param InField
* @param InMetaData
* @return
*/
static bool AddMetaData(UField* InField, TMap<FName, FString>& InMetaData);
};
/**
* @brief a helper structure used to store the meta data of a class, @see ClassDeclarationMetaData.h/cpp
* currently, we don't need remove methods, also the caller should ensure the internal data consistence
* e.g. the show category added should never be added in hide categories...
*/
UCLASS()
class PUERTSEDITOR_API UPEClassMetaData : public UObject
{
GENERATED_BODY()
public:
/**
* @brief set the class flags, ant notify if placeable specifier is set
* @param InFlags
* @param bInPlaceable
*/
UFUNCTION()
void SetClassFlags(int32 InFlags, bool bInPlaceable);
/**
* @brief set the specific meta data
* @param InName
* @param InValue
*/
UFUNCTION()
void SetMetaData(const FString& InName, const FString& InValue);
/**
* @brief set the class should be with in
* @param InClassName
*/
UFUNCTION()
void SetClassWithIn(const FString& InClassName);
/**
* @brief set the configuration name
* @param InConfigName
*/
UFUNCTION()
void SetConfig(const FString& InConfigName);
/**
* @brief add a category to hide in blueprint
* @param InCategory
*/
UFUNCTION()
void AddHideCategory(const FString& InCategory);
/**
* @brief add a category to show in blueprint
* @param InCategory
*/
UFUNCTION()
void AddShowCategory(const FString& InCategory);
/**
* @brief add a sub category to show in blueprint
* @param InCategory
*/
UFUNCTION()
void AddShowSubCategory(const FString& InCategory);
/**
* @brief add a function to hide in blueprint
* @param InFunctionName
*/
UFUNCTION()
void AddHideFunction(const FString& InFunctionName);
/**
* @brief add a function to show in blueprint
* @param InFunctionName
*/
UFUNCTION()
void AddShowFunction(const FString& InFunctionName);
/**
* @brief add a category to auto expand in blueprint
* @param InCategory
*/
UFUNCTION()
void AddAutoExpandCategory(const FString& InCategory);
/**
* @brief add a category to auto collapse in blueprint
* @param InCategory
*/
UFUNCTION()
void AddAutoCollapseCategory(const FString& InCategory);
/**
* @brief forbid a category to auto collapse in blueprint
* @param InCategory
*/
UFUNCTION()
void AddDontAutoCollapseCategory(const FString& InCategory);
/**
* @brief add a class group
* @param InGroupName
*/
UFUNCTION()
void AddClassGroup(const FString& InGroupName);
/**
* @brief add a sparse data type
* @param InType
*/
UFUNCTION()
void AddSparseDataType(const FString& InType);
public:
/**
* @brief apply the meta data to specific class, this should only call at most once
* since this function will change the internal status of the meta data
* @param InClass
* @param InBlueprint
* @return
*/
bool Apply(UClass* InClass, UBlueprint* InBlueprint);
private:
/**
* @brief the helper function used to get the value array like meta data from the given class
* @param InClass
* @param InMetaDataKey
* @param InDelimiter
* @param bInCullEmpty
* @return
*/
static TArray<FString> GetClassMetaDataValues(
UClass* InClass, const TCHAR* InMetaDataKey, const TCHAR* InDelimiter = TEXT(" "), bool bInCullEmpty = true);
/**
* @brief since blueprint compilation will reset class meta data, so make blueprint sync with class
* @param InClass
* @param InBlueprint
*/
static void SyncClassToBlueprint(UClass* InClass, UBlueprint* InBlueprint);
private:
/**
* @brief Merges all category properties with the class which at this point only has its parent propagated categories
* @param InClass
*/
void MergeClassCategories(UClass* InClass);
/**
* @brief Merge and validate the class flags, the input class is the class to set meta data
* @param InClass
* @return if the class flags is changed
*/
bool MergeAndValidateClassFlags(UClass* InClass);
/**
* @brief set the class meta data
* @param InClass
* @return
*/
bool SetClassMetaData(UClass* InClass);
/**
* @brief set and check with class
* @param InClass
*/
void SetAndValidateWithinClass(UClass* InClass);
/**
* @brief set and check the config name
* @param InClass
*/
void SetAndValidateConfigName(UClass* InClass);
public:
/**
* @brief the class flags
*/
EClassFlags ClassFlags = CLASS_None;
/**
* @brief the meta data
*/
TMap<FName, FString> MetaData;
/**
* @brief the class with in
*/
FString ClassWithIn;
/**
* @brief the config name, from where the class to read config variables' value
*/
FString ConfigName;
/**
* @brief the hide categories in blueprint
*/
TArray<FString> HideCategories;
/**
* @brief the show categories in blueprint
*/
TArray<FString> ShowCategories;
/**
* @brief the show sub categories in blueprint
*/
TArray<FString> ShowSubCategories;
/**
* @brief the hide functions in blueprint
*/
TArray<FString> HideFunctions;
/**
* @brief the show functions in blueprint
*/
TArray<FString> ShowFunctions;
/**
* @brief the auto expand categories in blueprint
*/
TArray<FString> AutoExpandCategories;
/**
* @brief the auto collapse categories in blueprint
*/
TArray<FString> AutoCollapseCategories;
/**
* @brief the categories will not auto collapse in blueprint
*/
TArray<FString> DontAutoCollapseCategories;
/**
* @brief the class group names
*/
TArray<FString> ClassGroupNames;
/**
* @brief the sparse class data types
*/
TArray<FString> SparseClassDataTypes;
/**
* @brief a boolean indicate if wants to be placeable
*/
bool bWantsToBePlaceable = false;
private:
/**
* @brief the name of cached category in meta data
*/
static const TCHAR* NAME_ClassGroupNames;
static const TCHAR* NAME_HideCategories;
static const TCHAR* NAME_ShowCategories;
static const TCHAR* NAME_SparseClassDataTypes;
static const TCHAR* NAME_HideFunctions;
static const TCHAR* NAME_AutoExpandCategories;
static const TCHAR* NAME_AutoCollapseCategories;
};
/**
* @brief a helper structure used to store the meta data of a function, @see ParseHelper.h
*/
UCLASS()
class PUERTSEDITOR_API UPEFunctionMetaData : public UObject
{
GENERATED_BODY()
private:
friend class UPEBlueprintAsset;
public:
/**
* @brief set the function flags, since this will called from js, so divide into high and low parts
* @param InHighBits
* @param InLowBits
*/
UFUNCTION()
void SetFunctionFlags(int32 InHighBits, int32 InLowBits);
/**
* @brief set the function export flags
* @param InFlags
*/
UFUNCTION()
void SetFunctionExportFlags(int32 InFlags);
/**
* @brief set the specific meta data
* @param InName
* @param InValue
*/
UFUNCTION()
void SetMetaData(const FString& InName, const FString& InValue);
/**
* @brief set the cpp implementation function, is this meaningful for blueprint function?
* @param InName
*/
UFUNCTION()
void SetCppImplName(const FString& InName);
/**
* @brief set the cpp implementation validation function
* @param InName
*/
UFUNCTION()
void SetCppValidationImplName(const FString& InName);
/**
* @brief set the end point name,
* @param InEndpointName
*/
UFUNCTION()
void SetEndpointName(const FString& InEndpointName);
/**
* @brief set the rpc id
* @param InRPCId
*/
UFUNCTION()
void SetRPCId(int32 InRPCId);
/**
* @brief set the rpc response id
* @param InRPCResponseId
*/
UFUNCTION()
void SetRPCResponseId(int32 InRPCResponseId);
/**
* @brief set if the function is sealed event
* @param bInSealedEvent
*/
UFUNCTION()
void SetIsSealedEvent(bool bInSealedEvent);
/**
* @brief set if the function is force blueprint impure
* @param bInForceBlueprintImpure
*/
UFUNCTION()
void SetForceBlueprintImpure(bool bInForceBlueprintImpure);
public:
/**
* @brief apply to a custom event
* @param InCustomEvent
*/
bool Apply(UK2Node_CustomEvent* InCustomEvent) const;
/**
* @brief apply to a normal function
* @param InFunctionEntry
*/
bool Apply(UK2Node_FunctionEntry* InFunctionEntry) const;
private:
/**
* @brief
* fallback if the custom event not support the user defined meta data
* @param bOutChanged
* @param ...
*/
template <typename... Args>
static void ApplyCustomEventMetaData(bool& bOutChanged, Args&&...)
{
bOutChanged = false;
};
/**
* @brief add user defined meta data for custom event
* @tparam CustomEvent
* @param bOutChanged
* @param InMetaData
* @param InCustomEvent
* @return
*/
template <typename CustomEvent>
static auto ApplyCustomEventMetaData(bool& bOutChanged, const TMap<FName, FString>& InMetaData, CustomEvent* InCustomEvent) ->
typename std::enable_if<true, Void_t<decltype(std::declval<CustomEvent>().GetUserDefinedMetaData())>>::type
{
check(IsValid(InCustomEvent));
// a helper function used to update text value, and return if the value is updated by a new value
static const auto UpdateTextMetaData = [](FName InKey, const TMap<FName, FString>& InMetaData, FText& InOutValue) -> bool
{
const FText NewValue = InMetaData.Contains(InKey) ? FText::FromString(InMetaData[InKey]) : FText{};
const bool bChanged = !NewValue.EqualTo(InOutValue);
InOutValue = NewValue;
return bChanged;
};
// a helper function used to update boolean value, and return if the value is updated by the new value
static const auto UpdateBooleanMetaData = [](FName InKey, const TMap<FName, FString>& InMetaData, bool& InOutValue) -> bool
{
const bool NewValue = InMetaData.Contains(InKey) ? true : false;
const bool bChanged = NewValue != InOutValue;
InOutValue = NewValue;
return bChanged;
};
// a helper function sued update string value, return return if the value is updated by the new value
static const auto UpdateStringMetaData = [](FName InKey, const TMap<FName, FString>& InMetaData,
FString& InOutValue) -> bool
{
const FString NewValue = InMetaData.Contains(InKey) ? InMetaData[InKey] : FString{};
const bool bChanged = NewValue != InOutValue;
InOutValue = NewValue;
return bChanged;
};
bool bMetaDataChanged = false;
auto& MetaDataToSet = InCustomEvent->GetUserDefinedMetaData();
bMetaDataChanged = UpdateBooleanMetaData(TEXT("CallInEditor"), InMetaData, MetaDataToSet.bCallInEditor) || bMetaDataChanged;
bMetaDataChanged = UpdateTextMetaData(TEXT("Category"), InMetaData, MetaDataToSet.Category) || bMetaDataChanged;
bMetaDataChanged = UpdateTextMetaData(TEXT("Keywords"), InMetaData, MetaDataToSet.Keywords) || bMetaDataChanged;
bMetaDataChanged =
UpdateTextMetaData(TEXT("CompactNodeTitle"), InMetaData, MetaDataToSet.CompactNodeTitle) || bMetaDataChanged;
bMetaDataChanged = UpdateTextMetaData(TEXT("ToolTip"), InMetaData, MetaDataToSet.ToolTip) || bMetaDataChanged;
bMetaDataChanged =
UpdateBooleanMetaData(TEXT("DeprecatedFunction"), InMetaData, MetaDataToSet.bIsDeprecated) || bMetaDataChanged;
bMetaDataChanged =
UpdateStringMetaData(TEXT("DeprecationMessage"), InMetaData, MetaDataToSet.DeprecationMessage) || bMetaDataChanged;
bOutChanged = bMetaDataChanged;
}
public:
/**
* @brief the function flags
*/
EFunctionFlags FunctionFlags = FUNC_None;
/**
* @brief the function export flags
*/
int32 FunctionExportFlags = 0;
/**
* @brief the meta data of the function
*/
TMap<FName, FString> MetaData;
/**
* @brief the cpp implementation name, is this ok for blueprint function? or generated function could be a no-blueprint function
* ?
*/
FString CppImplName;
/**
* @brief the cpp validation implementation name,
*/
FString CppValidationImplName;
/**
* @brief endpoint name
*/
FString EndpointName;
/**
* @brief identifier for an RPC call to a platform service
*/
uint16 RPCId = 0;
/**
* @brief identifier for an RPC call expect a response
*/
uint16 RPCResponseId = 0;
/**
* @brief whether this function represents a sealed event
*/
bool bSealedEvent = false;
/**
* @brief true if the function is being forced to be considered as impure by the user
*/
bool bForceBlueprintImpure = false;
};
/**
* @brief a helper structure used to store the meta data of a function parameter
*/
UCLASS()
class PUERTSEDITOR_API UPEParamMetaData : public UObject
{
GENERATED_BODY()
private:
friend class UPEBlueprintAsset;
public:
/**
* @brief set the parameter's property flags
* @param InHighBits
* @param InLowBits
*/
UFUNCTION()
void SetParamFlags(int32 InHighBits, int32 InLowBits);
/**
* @brief set specific meta data
* @param InName
* @param InValue
*/
UFUNCTION()
void SetMetaData(const FString& InName, const FString& InValue);
public:
/**
* @brief apply to pin type
* @param PinType
* @return
*/
bool Apply(FEdGraphPinType& PinType) const;
private:
/**
* @brief the parameter's flags
*/
EPropertyFlags ParamFlags;
/**
* @brief the meta data
*/
TMap<FName, FString> MetaData;
};
/**
* @brief a helper function used to store the meta data of a class's member variable
*/
UCLASS()
class PUERTSEDITOR_API UPEPropertyMetaData : public UObject
{
GENERATED_BODY()
private:
friend class UPEBlueprintAsset;
public:
/**
* @brief set the property flags
* @param InHighBits
* @param InLowBits
*/
UFUNCTION()
void SetPropertyFlags(int32 InHighBits, int32 InLowBits);
/**
* @brief set the meta data of the property
* @param InName
* @param InValue
*/
UFUNCTION()
void SetMetaData(const FString& InName, const FString& InValue);
/**
* @brief set the rep callback name
* @param InName
*/
UFUNCTION()
void SetRepCallbackName(const FString& InName);
public:
/**
* @brief apply the meta data to the property
* @param Element
*/
bool Apply(FBPVariableDescription& Element) const;
private:
/**
* @brief the property's flags
*/
EPropertyFlags PropertyFlags;
/**
* @brief the function name for a replicated function
*/
FString RepCallbackName;
/**
* @brief the meta data for the property
*/
TMap<FName, FString> MetaData;
};
| [
"johnche@tencent.com"
] | johnche@tencent.com |
6a7b200da824acd6dc178511ff95828aae4f58bf | 5ec1ccbb2d6d485c7ddbff92d1a8855f5df4d805 | /src/barrier.hpp | 64d4ac732ed6e75b51093911d578228033ea0717 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause-LBNL"
] | permissive | snake0/upcxx-2020.3.2 | e1f2e94e33175b15a1f636b384ce206a59abebac | a376bcb4f4f15905e4360f0b78f5a3661071b737 | refs/heads/master | 2023-01-08T13:54:32.709572 | 2020-11-18T12:14:38 | 2020-11-18T12:14:38 | 313,923,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,843 | hpp | #ifndef _f2c7c1fc_cd4a_4123_bf50_a6542f8efa2c
#define _f2c7c1fc_cd4a_4123_bf50_a6542f8efa2c
#include <upcxx/backend.hpp>
#include <upcxx/completion.hpp>
#include <upcxx/future.hpp>
#include <upcxx/team.hpp>
namespace upcxx {
namespace detail {
////////////////////////////////////////////////////////////////////
// barrier_event_values: Value for completions_state's EventValues
// template argument. barrier events always report no values.
struct barrier_event_values {
template<typename Event>
using tuple_t = std::tuple<>;
};
void barrier_async_inject(const team &tm, backend::gasnet::handle_cb *cb);
}
void barrier(const team &tm = upcxx::world());
template<typename Cxs = completions<future_cx<operation_cx_event>>>
typename detail::completions_returner<
/*EventPredicate=*/detail::event_is_here,
/*EventValues=*/detail::barrier_event_values,
Cxs
>::return_t
barrier_async(
const team &tm = upcxx::world(),
Cxs cxs = completions<future_cx<operation_cx_event>>({})
) {
struct barrier_cb final: backend::gasnet::handle_cb {
detail::completions_state<
/*EventPredicate=*/detail::event_is_here,
/*EventValues=*/detail::barrier_event_values,
Cxs> state;
barrier_cb(Cxs &&cxs): state(std::move(cxs)) {}
void execute_and_delete(backend::gasnet::handle_cb_successor) {
state.template operator()<operation_cx_event>();
delete this;
}
};
barrier_cb *cb = new barrier_cb(std::move(cxs));
auto returner = detail::completions_returner<
/*EventPredicate=*/detail::event_is_here,
/*EventValues=*/detail::barrier_event_values,
Cxs
>(cb->state);
detail::barrier_async_inject(tm, cb);
return returner();
}
}
#endif
| [
"1260865816@qq.com"
] | 1260865816@qq.com |
e4188ddfe84790da5759936a0ccfc815d6d40891 | d1f24644ad545978264a4a5f6db812546ee6f20e | /covid19_ventilator_vub/test/suite.cpp | 8cc29965f4ac4cae2b074b8c2070ca76c5766e0a | [] | no_license | jantje/covid16_ventilatyor_vub | be5be96d62fee24cf5183c1a6678baa9c6327863 | ffc6211f3178f0c45ccdc3b8dc6a93e2229e86fe | refs/heads/master | 2021-03-31T15:56:08.955531 | 2020-03-24T22:22:15 | 2020-03-24T22:22:15 | 248,117,811 | 1 | 3 | null | 2020-03-24T21:14:51 | 2020-03-18T02:14:45 | C++ | UTF-8 | C++ | false | false | 121 | cpp | #include <gtest/gtest.h>
#include "Alarm.h"
TEST(GreaterTest,AisGreater){
EXPECT_EQ(3,3);
};
#include "gtest.cpp.in"
| [
"ruben.de.smet@rubdos.be"
] | ruben.de.smet@rubdos.be |
5bd4d1d9ead0fa6e20698b2465724c2ce61804c6 | db51654c39a6e0fedb36a040cba7534dd214db6e | /pointers.h | a2ee72303959a540e77003b216816ee2edf8fef8 | [] | no_license | KirillOvs/ComplexSession | 62f43b4ad56374a68a3b580da028daa3ea81e682 | ec55909e0ae9ca4f62373b1119749595fc11db98 | refs/heads/master | 2020-05-03T21:31:24.590152 | 2019-04-01T14:46:53 | 2019-04-01T14:46:53 | 178,825,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | h | #ifndef POINTERS_H
#define POINTERS_H
#include <memory>
#include "range.h"
struct ScheduleData;
using ScheduleDataPtr = std::shared_ptr<ScheduleData>;
class ScheduleItem;
using ScheduleItemPtr = std::unique_ptr<const ScheduleItem>;
class Worker;
using WorkerPtr = std::unique_ptr<Worker>;
#endif // POINTERS_H
| [
"ovseychuk@ukr.net"
] | ovseychuk@ukr.net |
188c99879752898ffb4adcaec1b65ac6e7394a41 | 08cb51dc2ccf77dfec50851664367eefa78afb32 | /day04/ex01/PlasmaRifle.cpp | eb1e0fbccb1eca008a0ff45c4eab9c533db75d37 | [] | no_license | acarlson99/piscine-cpp | f251a5662e5509f4ca8d6c0d4b737655e10a4820 | 86f926d046e7cac139e7ed28b9a9ed4af80dd6bd | refs/heads/master | 2020-04-17T16:32:36.547220 | 2019-02-05T03:11:49 | 2019-02-05T03:11:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// PlasmaRifle.cpp :+: :+: :+: //
// +:+ +:+ +:+ //
// By: acarlson <marvin@42.fr> +#+ +:+ +#+ //
// +#+#+#+#+#+ +#+ //
// Created: 2019/01/25 14:32:42 by acarlson #+# #+# //
// Updated: 2019/01/25 19:32:14 by acarlson ### ########.fr //
// //
// ************************************************************************** //
#include "PlasmaRifle.hpp"
std::string PlasmaRifle::_dname = std::string("PlasmaRifle");
PlasmaRifle::PlasmaRifle( void ) : AWeapon(_dname, 5, 21) { }
PlasmaRifle::PlasmaRifle( PlasmaRifle const & cp) { *this = cp; }
PlasmaRifle::~PlasmaRifle( void ) { }
PlasmaRifle& PlasmaRifle::operator=( PlasmaRifle const &) { return *this; }
void PlasmaRifle::attack() const
{
std::cout << "* piouuu piouuu piouuu *" << std::endl;
}
| [
"acarlson@e1z3r2p8.42.us.org"
] | acarlson@e1z3r2p8.42.us.org |
9b3d91a76c50953d806ac99c64632bf1406567db | 6db8ebd5b071a349de6a15c1e6fc1e27a0987cd1 | /Drivers/libuavcan/root_ns_a/B.hpp | 12b1d026f163386aaa06c515d8f4f638584e2f9a | [] | no_license | RuslanUrya/nucleo_power_uavcan | 163ea518aaf25d68adb310ac51c51668c2ffa985 | ee34900a4b8f83bf3a0855fa0c58a47de9df17af | refs/heads/master | 2022-12-24T18:52:38.874759 | 2020-10-06T08:56:11 | 2020-10-06T08:56:11 | 283,022,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,252 | hpp | /*
* UAVCAN data structure definition for libuavcan.
*
* Autogenerated, do not edit.
*
* Source file: /home/acyc/src/libuavcan/libuavcan/test/dsdl_test/root_ns_a/B.uavcan
*/
#ifndef ROOT_NS_A_B_HPP_INCLUDED
#define ROOT_NS_A_B_HPP_INCLUDED
#include <uavcan/build_config.hpp>
#include <uavcan/node/global_data_type_registry.hpp>
#include <uavcan/marshal/types.hpp>
/******************************* Source text **********************************
float64[2] vector
bool[16] bools
******************************************************************************/
/********************* DSDL signature source definition ***********************
root_ns_a.B
saturated float64[2] vector
saturated bool[16] bools
******************************************************************************/
#undef vector
#undef bools
namespace root_ns_a
{
template <int _tmpl>
struct UAVCAN_EXPORT B_
{
typedef const B_<_tmpl>& ParameterType;
typedef B_<_tmpl>& ReferenceType;
struct ConstantTypes
{
};
struct FieldTypes
{
typedef ::uavcan::Array< ::uavcan::FloatSpec< 64, ::uavcan::CastModeSaturate >, ::uavcan::ArrayModeStatic, 2 > vector;
typedef ::uavcan::Array< ::uavcan::IntegerSpec< 1, ::uavcan::SignednessUnsigned, ::uavcan::CastModeSaturate >, ::uavcan::ArrayModeStatic, 16 > bools;
};
enum
{
MinBitLen
= FieldTypes::vector::MinBitLen
+ FieldTypes::bools::MinBitLen
};
enum
{
MaxBitLen
= FieldTypes::vector::MaxBitLen
+ FieldTypes::bools::MaxBitLen
};
// Constants
// Fields
typename ::uavcan::StorageType< typename FieldTypes::vector >::Type vector;
typename ::uavcan::StorageType< typename FieldTypes::bools >::Type bools;
B_()
: vector()
, bools()
{
::uavcan::StaticAssert<_tmpl == 0>::check(); // Usage check
#if UAVCAN_DEBUG
/*
* Cross-checking MaxBitLen provided by the DSDL compiler.
* This check shall never be performed in user code because MaxBitLen value
* actually depends on the nested types, thus it is not invariant.
*/
::uavcan::StaticAssert<144 == MaxBitLen>::check();
#endif
}
bool operator==(ParameterType rhs) const;
bool operator!=(ParameterType rhs) const { return !operator==(rhs); }
/**
* This comparison is based on @ref uavcan::areClose(), which ensures proper comparison of
* floating point fields at any depth.
*/
bool isClose(ParameterType rhs) const;
static int encode(ParameterType self, ::uavcan::ScalarCodec& codec,
::uavcan::TailArrayOptimizationMode tao_mode = ::uavcan::TailArrayOptEnabled);
static int decode(ReferenceType self, ::uavcan::ScalarCodec& codec,
::uavcan::TailArrayOptimizationMode tao_mode = ::uavcan::TailArrayOptEnabled);
/*
* Static type info
*/
enum { DataTypeKind = ::uavcan::DataTypeKindMessage };
// This type has no default data type ID
static const char* getDataTypeFullName()
{
return "root_ns_a.B";
}
static void extendDataTypeSignature(::uavcan::DataTypeSignature& signature)
{
signature.extend(getDataTypeSignature());
}
static ::uavcan::DataTypeSignature getDataTypeSignature();
};
/*
* Out of line struct method definitions
*/
template <int _tmpl>
bool B_<_tmpl>::operator==(ParameterType rhs) const
{
return
vector == rhs.vector &&
bools == rhs.bools;
}
template <int _tmpl>
bool B_<_tmpl>::isClose(ParameterType rhs) const
{
return
::uavcan::areClose(vector, rhs.vector) &&
::uavcan::areClose(bools, rhs.bools);
}
template <int _tmpl>
int B_<_tmpl>::encode(ParameterType self, ::uavcan::ScalarCodec& codec,
::uavcan::TailArrayOptimizationMode tao_mode)
{
(void)self;
(void)codec;
(void)tao_mode;
int res = 1;
res = FieldTypes::vector::encode(self.vector, codec, ::uavcan::TailArrayOptDisabled);
if (res <= 0)
{
return res;
}
res = FieldTypes::bools::encode(self.bools, codec, tao_mode);
return res;
}
template <int _tmpl>
int B_<_tmpl>::decode(ReferenceType self, ::uavcan::ScalarCodec& codec,
::uavcan::TailArrayOptimizationMode tao_mode)
{
(void)self;
(void)codec;
(void)tao_mode;
int res = 1;
res = FieldTypes::vector::decode(self.vector, codec, ::uavcan::TailArrayOptDisabled);
if (res <= 0)
{
return res;
}
res = FieldTypes::bools::decode(self.bools, codec, tao_mode);
return res;
}
/*
* Out of line type method definitions
*/
template <int _tmpl>
::uavcan::DataTypeSignature B_<_tmpl>::getDataTypeSignature()
{
::uavcan::DataTypeSignature signature(0xCE758EF6221573DULL);
FieldTypes::vector::extendDataTypeSignature(signature);
FieldTypes::bools::extendDataTypeSignature(signature);
return signature;
}
/*
* Out of line constant definitions
*/
/*
* Final typedef
*/
typedef B_<0> B;
// No default registration
} // Namespace root_ns_a
/*
* YAML streamer specialization
*/
namespace uavcan
{
template <>
class UAVCAN_EXPORT YamlStreamer< ::root_ns_a::B >
{
public:
template <typename Stream>
static void stream(Stream& s, ::root_ns_a::B::ParameterType obj, const int level);
};
template <typename Stream>
void YamlStreamer< ::root_ns_a::B >::stream(Stream& s, ::root_ns_a::B::ParameterType obj, const int level)
{
(void)s;
(void)obj;
(void)level;
if (level > 0)
{
s << '\n';
for (int pos = 0; pos < level; pos++)
{
s << " ";
}
}
s << "vector: ";
YamlStreamer< ::root_ns_a::B::FieldTypes::vector >::stream(s, obj.vector, level + 1);
s << '\n';
for (int pos = 0; pos < level; pos++)
{
s << " ";
}
s << "bools: ";
YamlStreamer< ::root_ns_a::B::FieldTypes::bools >::stream(s, obj.bools, level + 1);
}
}
namespace root_ns_a
{
template <typename Stream>
inline Stream& operator<<(Stream& s, ::root_ns_a::B::ParameterType obj)
{
::uavcan::YamlStreamer< ::root_ns_a::B >::stream(s, obj, 0);
return s;
}
} // Namespace root_ns_a
#endif // ROOT_NS_A_B_HPP_INCLUDED
| [
"ruslikc@gmail.om"
] | ruslikc@gmail.om |
c803a423a373ff8c5687b501a41df1e1602e0ec7 | b269392cc4727b226e15b3f08e9efb41a7f4b048 | /CodeForces/CodeForces 443A.cpp | 11910e2636559b90f8e7916b7adc2e9a8b292f72 | [] | no_license | ThoseBygones/ACM_Code | edbc31b95077e75d3b17277d843cc24b6223cc0c | 2e8afd599b8065ae52b925653f6ea79c51a1818f | refs/heads/master | 2022-11-12T08:23:55.232349 | 2022-10-30T14:17:23 | 2022-10-30T14:17:23 | 91,112,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <set>
using namespace std;
char str[1005];
set <char> ele;
int main()
{
ele.clear();
gets(str);
int len=strlen(str);
for(int i=0; i<len; i++)
{
if(str[i]>='a' && str[i]<='z')
ele.insert(str[i]);
}
cout << ele.size() << endl;
return 0;
}
| [
"1273789365@qq.com"
] | 1273789365@qq.com |
e93382f17a8e406e8c729429843d13889ed5c290 | 259319e5fe06036972de9036f0078b8f5faba86e | /records/StudentRecord.cpp | 9b9eb617920366a7c7d62e8a3f5d9ba327189155 | [] | no_license | ferromera/sancus | 652d05fc2a28987ac37309b9293cbd7f92448186 | 0f5d9b2e0bf1b6e099ade36edcf75e9640788589 | refs/heads/master | 2021-01-01T16:56:39.380388 | 2011-12-04T01:01:55 | 2011-12-04T01:01:55 | 32,414,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | cpp | #include "StudentRecord.h"
#include <cstring>
using namespace std;
StudentRecord::StudentRecord():idNumber_(0),name_(string()){
key_=new Key;
buffer= new char[260];
}
StudentRecord::StudentRecord(const StudentRecord & sr):
idNumber_(sr.idNumber_),name_(sr.name_){
key_=new Key((uint16_t) idNumber_);
buffer= new char[260];
}
StudentRecord::StudentRecord(char ** input){
key_= new Key();
buffer= new char[260];
read(input);
}
StudentRecord::StudentRecord(uint16_t idNumber,const string & name)
:idNumber_(idNumber),name_(name){
key_= new Key(idNumber);
buffer= new char[260];
}
const StudentRecord::Key & StudentRecord::getKey()const{
//Key * k= dynamic_cast<Key *>(key_);
//return (*k);
return * ( (StudentRecord::Key *) key_ );
}
void StudentRecord::setKey(const StudentRecord::Key & k){
//const Key & ak=dynamic_cast<const Key &>(k);
delete key_;
key_=new Key(k);
idNumber_=k.getKey();
}
void StudentRecord::setKey(int16_t k){
delete key_;
key_=new Key(k);
idNumber_=k;
}
void StudentRecord::read(char ** input){
char * buffCurr=buffer;
memcpy(buffCurr,*input,2);
memcpy(&idNumber_,*input,2);
delete key_;
key_=new Key(idNumber_);
(*input)+=2;
buffCurr+=2;
uint8_t nameSize;
memcpy(buffCurr,*input,1);
memcpy(&nameSize,*input,1);
buffCurr++;
(*input)++;
char * c_str=new char[nameSize+1];
memcpy(buffCurr,*input,nameSize);
memcpy(c_str,*input,nameSize);
(*input)+=nameSize;
c_str[nameSize]='\0';
name_=c_str;
delete c_str;
}
void StudentRecord::write(char ** output){
update();
memcpy(*output,buffer,size());
(*output)+=size();
}
void StudentRecord::update(){
//write back to the buffer
char * buffCurr=buffer;
memcpy(buffCurr,&idNumber_,2);
buffCurr+=2;
uint8_t nameSize=name_.size();
memcpy(buffCurr,&nameSize,1);
buffCurr++;
memcpy(buffCurr,name_.c_str(),nameSize);
}
unsigned int StudentRecord::size()const{
return sizeof(idNumber_)+1+name_.size();
}
uint16_t StudentRecord::idNumber()const{
return idNumber_;
}
const string & StudentRecord::name()const{
return name_;
}
void StudentRecord::idNumber(uint16_t p){
setKey(p);
}
void StudentRecord::name(const string & n){
name_=n;
}
StudentRecord& StudentRecord::operator=(const StudentRecord& rec){
if(this==&rec)
return *this;
idNumber_=rec.idNumber_;
name_=rec.name_;
key_=new Key((uint16_t) idNumber_);
buffer= new char[260];
return *this;
}
StudentRecord::~StudentRecord(){
delete buffer;
}
| [
"FernandoRomeraFerrio@gmail.com@b06ae71c-7d8b-23a7-3f8b-8cb8ce3c93c2"
] | FernandoRomeraFerrio@gmail.com@b06ae71c-7d8b-23a7-3f8b-8cb8ce3c93c2 |
10f602de41c887b243cdf20cacbaf7be67cfe204 | 37ee162650bc8bbe0cd8aac85854465c3a6d58dc | /src/connection.cpp | 3fc136e6866f98bd416d2949d4f46bfb9d82b67c | [] | no_license | weltenbauer/wb-time-tracker | 487c958a25c3ef11c6066df31a5d31aef618fb0f | b5cf82cf8ad6732eee37803765ae89212a74eeaf | refs/heads/master | 2020-07-11T13:59:32.544041 | 2019-08-26T21:03:46 | 2019-08-26T21:03:46 | 204,561,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,242 | cpp |
#include <SPI.h>
#include <WiFiNINA.h>
#include <ArduinoHttpClient.h>
#include "connection.h"
#include "util.h"
#include "../config.h"
//-----------------------------------------------------------------------------------------------
WiFiSSLClient wifi;
//-----------------------------------------------------------------------------------------------
void connect(){
// Get data
int status = WL_IDLE_STATUS;
char ssid[] = SECRET_SSID;
char pass[] = SECRET_PASS;
// Check for WiFi module
if (WiFi.status() == WL_NO_MODULE) {
exit("Communication with WiFi module failed!");
}
// Check Firmware
String fv = WiFi.firmwareVersion();
if (fv < WIFI_FIRMWARE_LATEST_VERSION) {
msgPrintln("Please upgrade the firmware!");
}
// Print state
msgPrint("Connect to SSID: ");
msgPrint(ssid);
// Connect to network
int connectionAttempts = 0;
while (true) {
// Connect
status = WiFi.begin(ssid, pass);
// Check state
if(status == WL_CONNECTED){
break;
}
else if(connectionAttempts > 100){
exit("Can not connect to Wifi!");
}
else{
delay(2000);
msgPrint(".");
connectionAttempts++;
}
}
// Connection sucessful: Print state
msgPrint("\nConnected to WiFi: ");
msgPrintln(ssid);
//printWifiStatus();
}
//-----------------------------------------------------------------------------------------------
Response request(String server, String path, int port, String header, String httpMethod, String postData){
// Print state
msgPrint("Request: ");
msgPrint(httpMethod);
msgPrint(" ");
msgPrint(server);
msgPrint(path);
msgPrint(" - ");
msgPrintln(postData);
// Make request
HttpClient client = HttpClient(wifi, server, port);
client.beginRequest();
// Switch HTTP Method
if(httpMethod.compareTo(HTTP_METHOD_GET) == 0){
client.get(path);
}
else if(httpMethod.compareTo(HTTP_METHOD_POST) == 0){
client.post(path);
}
else if(httpMethod.compareTo(HTTP_METHOD_PUT) == 0){
client.put(path);
}
else if(httpMethod.compareTo(HTTP_METHOD_PATCH) == 0){
client.patch(path);
}
else if(httpMethod.compareTo(HTTP_METHOD_DELETE) == 0){
client.del(path);
}
// Set Headers and body
client.sendHeader(header);
client.sendHeader("Content-Type", "application/json");
client.sendHeader("Content-Length", postData.length());
client.beginBody();
client.print(postData);
client.endRequest();
// Get response
int status = client.responseStatusCode();
String body = client.responseBody();
// Print state
msgPrint("Response: ");
msgPrint(String(status));
msgPrint(" ");
msgPrintln(body);
// Copy to response
Response res = {status, body};
return res;
}
//-----------------------------------------------------------------------------------------------
void printWifiStatus() {
msgPrintln("\n\nWiFi connection state\n-------------------------------------");
// Print the SSID of the network you're attached to:
msgPrint("SSID: ");
msgPrintln(String(WiFi.SSID()));
// Print your board's IP address:
IPAddress ip = WiFi.localIP();
msgPrint("IP Address: ");
msgPrintln(String(ip));
// Print the received signal strength:
long rssi = WiFi.RSSI();
msgPrint("signal strength (RSSI):");
msgPrint(String(rssi));
msgPrintln(" dBm\n");
}
| [
"christian.rathemacher@weltenbauer-se.com"
] | christian.rathemacher@weltenbauer-se.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.