blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
03e36357642af7e72505fe231518df29079dad09
cc643dc7c84e4a49a35090c6a418715fe2d92268
/lecture/数据结构与算法练习题/ch5- 离线等价类.cpp
880c3a5f0f2eaa04b3b144107c8d203c8ec83b69
[]
no_license
AuBella/acm-1
9a0d45fd9ce43f3c1086f10f51a38332907c7250
6146226137d476aaceceef89d9dc53e1eca8a404
refs/heads/master
2023-09-01T13:37:18.097171
2014-05-13T12:57:52
2014-05-13T12:57:52
null
0
0
null
null
null
null
IBM852
C++
false
false
1,620
cpp
ch5- 离线等价类.cpp
/************************************** * * * └ۤ▀Á╚╝█└Ó * * DataStructureú║StackúĘLinkedúę * * Chain * * * * * **************************************/ /* //------------------------ #include"LinkedStack.h" #include"Chain.h" #include"ChainIterator.h" //------------------------ int main() { //--------InPut------------- int n,r; cout<<"Enter the number of elements"<<endl; cin>>n; if(n<2) { cerr<<"Too few elements"<<endl;exit(1); } cout<<"Enter the number of relations"<<endl; cin>>r; if(r<1) { cerr<<"Too few relations"<<endl; } Chain<int> *chain; try{ chain=new Chain<int>[n+1]; }catch(NoMem){cerr<<"Out of Memory"<<endl;exit(1);} int a,b; for(int i=1;i<=r;i++) { cout<<"Enter the Next Pairs:"<<endl; cin>>a>>b; chain[a].Insert(0,b); chain[b].Insert(0,a); } //------------Output--------------- LinkedStack<int> stack; bool *out; try { out=new bool[n+1]; }catch(NoMem){cerr<<"No enough memory for array out"<<endl;} for(int i=0;i<=n;i++) out[i]=false; for(int i=1;i<=n;i++) { if(!out[i]) { cout<<"the class is: "<<i<<" "; stack.Add(i); out[i]=true; while(!stack.IsEmpty()) { int *q,j; stack.Delete(j); ChainIterator<int> c; q=c.Initialize(chain[j]); while(q) { if(!out[*q]) { out[*q]=true; cout<<*q<<" "; stack.Add(*q); } q=c.Next(); } } cout<<endl; } } return 0; } */
c26b115891e77a959e6b22c9f1f58569db08b1b1
4b1d25c2d5f4dca3f3b4acacfd3b2f996b9dee87
/AqlCompiler/Alias.h
6a8da066d94350d1de535304b5097d6eb5f0f303
[]
no_license
MchCyLh/AqlCompiler
eeced415cd479878e720269dc266b5c7dd1f26ea
c39a38289ba4bc6c0f033f42c4d5a2bbd8a92942
refs/heads/master
2021-01-10T16:19:56.420400
2015-12-31T13:56:28
2015-12-31T13:56:28
48,797,835
0
0
null
null
null
null
UTF-8
C++
false
false
374
h
Alias.h
#ifndef ALIAS_H #define ALIAS_H #include "Stmt.h" #include "Token.h" class Alias : public Stmt { public: Token *id = Token::Null; Alias() {} void init(Token *t) { id = t; } //static Alias *Null; void gen() { Id * id_name = static_cast<Id *>(id); __alias = id_name->lexeme; } ~Alias() { delete id; id = Token::Null; } }; #endif
16b1658a8563b3e629278b96e9ef128dc495cadd
09d26a821db354a052df22d6d68da522fdd30b79
/ansys/CommonDlg.cpp
bc8804fd04c3483a8be0c1b47888140876863caf
[]
no_license
simmon2014/RuiLi
c04fd2e43933650380950111c55e188f5a021a3c
bf20d7344859ad6a1186bf1d37b804d078a6c00f
refs/heads/master
2020-12-31T07:10:59.554489
2017-03-29T12:04:23
2017-03-29T12:09:35
86,577,100
0
4
null
null
null
null
GB18030
C++
false
false
5,984
cpp
CommonDlg.cpp
// CommonDlg.cpp : 实现文件 // #include "stdafx.h" #include "ansys.h" #include "CommonDlg.h" // CCommonDlg 对话框 IMPLEMENT_DYNAMIC(CCommonDlg, CDialog) CCommonDlg::CCommonDlg(CWnd* pParent /*=NULL*/) : CDialog(CCommonDlg::IDD, pParent) { m_Table="NPartManageTable"; } CCommonDlg::~CCommonDlg() { } void CCommonDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); DDX_Control(pDX, IDC_TREE1, m_Tree); DDX_Control(pDX, IDC_LIST_DIM, m_List); DDX_Control(pDX, IDC_COMBO1, m_Combo); } BEGIN_MESSAGE_MAP(CCommonDlg, CDialog) ON_BN_CLICKED(IDOK, OnBnClickedOk) ON_NOTIFY(NM_CLICK, IDC_TREE1, OnNMClickTree1) ON_NOTIFY(NM_CLICK, IDC_LIST_DIM, OnNMClickListDim) ON_CBN_SELCHANGE(IDC_COMBO1, OnCbnSelchangeCombo1) ON_WM_CLOSE() END_MESSAGE_MAP() // CCommonDlg 消息处理程序 BOOL CCommonDlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: 在此添加额外的初始化 m_List.SetExtendedStyle(LVS_EX_GRIDLINES|LVS_EX_FULLROWSELECT); m_List.InsertColumn(0,"参数名称",LVCFMT_LEFT,100,-1); m_List.InsertColumn(1,"参数值",LVCFMT_LEFT,100,-1); m_List.InsertColumn(2,"参数系统默认名",LVCFMT_LEFT,100,-1); m_Combo.AddString("零件模型"); m_Combo.AddString("装配模型"); m_Combo.SelectString(0,"零件模型"); int status; status=m_db.Open(globl_connectString); //status=m_db.Open("DSN=ruili;UID=scm;PWD=scm;"); m_ImageList.Create(16, 16, ILC_COLOR8, 0, 3);// m_ImageList.Add(AfxGetApp()->LoadIcon(IDI_ICON3)); m_ImageList.Add(AfxGetApp()->LoadIcon(IDI_ICON1)); m_ImageList.Add(AfxGetApp()->LoadIcon(IDI_ICON2)); m_Tree.SetImageList(&m_ImageList,TVSIL_NORMAL); if(status!=0) this->AddTree(); return TRUE; // return TRUE unless you set the focus to a control // 异常:OCX 属性页应返回 FALSE } void CCommonDlg::OnBnClickedOk() { // TODO: 在此添加控件通知处理程序代码 OnOK(); } void CCommonDlg::AddTree() { CString strSql; int status=0; int rows=0; // HTREEITEM root; //root=m_Tree.InsertItem("模型树",NULL); strSql="select * from "+m_Table; m_db.Query(strSql); rows=m_db.getRows(); if(rows==0) return; m_db.MoveBegin(); ModelStruct ms; ModelList.RemoveAll(); for(int i=0;i<rows;i++) { ms.Number=m_db.getInt("Number"); ms.FatherNum=m_db.getInt("TypeNum"); ms.Name=m_db.getString("Name"); ms.Type="mdl"; ModelList.Add(ms); m_db.MoveNext(); } strSql="select * from NAsmType"; m_db.Query(strSql); rows=m_db.getRows(); if(rows==0) return; m_db.MoveBegin(); for(int i=0;i<rows;i++) { ms.Number=m_db.getInt("Number"); ms.FatherNum=m_db.getInt("FatherNum"); ms.Name=m_db.getString("Name"); ms.Type="typ"; ModelList.Add(ms); m_db.MoveNext(); } AddTree(NULL,&ModelList,0); } void CCommonDlg::AddTree(HTREEITEM root,CArray<ModelStruct,ModelStruct> * List,int Fathernum) { int num=List->GetSize(); CString name; HTREEITEM hitem; for(int i=0;i<num;i++) { if((*List)[i].FatherNum==Fathernum) { name=(*List)[i].Name; if((*List)[i].Type=="typ") { hitem=m_Tree.InsertItem(name,0,0,root); m_Tree.SetItemData(hitem,(*List)[i].Number); AddTree(hitem,List,(*List)[i].Number); ///AddTree(hitem,(*List)[i].Number); } else if((*List)[i].Type=="mdl") { hitem=m_Tree.InsertItem(name,1,1,root); m_Tree.SetItemData(hitem,(*List)[i].Number); //AddTree(hitem,List,(*List)[i].Number); ///AddTree(hitem,(*List)[i].Number); } } } } void CCommonDlg::AddTree(HTREEITEM root,int Number) { CString strSql; strSql.Format("select * from AsmInsInfoTable where AsmNum=%d",Number); m_db.Query(strSql); int rows; rows=m_db.getRows(); if(rows==0) return; m_db.MoveBegin(); int InsNum; HTREEITEM hitem; CString InsName,InsCode,str; for(int i=0;i<rows;i++) { InsNum=m_db.getInt("InsNum"); InsName=m_db.getString("InsName"); InsCode=m_db.getString("InsCode"); str=InsCode+"("+InsName+")"; hitem=m_Tree.InsertItem(str,2,2,root); m_Tree.SetItemData(hitem,InsNum); m_db.MoveNext(); } } void CCommonDlg::AddToDimList(int ModelNum) { m_List.DeleteAllItems(); m_ModelNum=ModelNum; CString strSql; int rows,status; strSql.Format("select * from NPartVariantTable where PrtNum=%d",ModelNum); status=m_db.Query(strSql); rows=m_db.getRows(); if(rows==0) return; m_db.MoveBegin(); CString str; for(int i=0;i<rows;i++) { str=m_db.getString("Name"); m_List.InsertItem(i,str); str=m_db.getString("Value"); m_List.SetItemText(i,1,str); str=m_db.getString("IdNum"); m_List.SetItemText(i,2,str); m_db.MoveNext(); } } void CCommonDlg::OnNMClickTree1(NMHDR *pNMHDR, LRESULT *pResult) { UINT uFlags=0; CPoint point; HTREEITEM hItem; point= GetCurrentMessage()->pt;/// m_Tree.ScreenToClient(&point);/// hItem =m_Tree.HitTest(point, &uFlags); int i=0; CString name; int asmNum; if ( hItem&&(uFlags&TVHT_ONITEM) ) { name=m_Tree.GetItemText(hItem); int start=0; int index=name.Find("(",start); if(index!=-1) { name=name.Mid(0,index); } else { asmNum=m_Tree.GetItemData(hItem); this->AddToDimList(asmNum); } } *pResult = 0; } void CCommonDlg::OnNMClickListDim(NMHDR *pNMHDR, LRESULT *pResult) { // TODO: 在此添加控件通知处理程序代码 for (int i=0;i<m_List.GetItemCount();i++) { if ( m_List.GetItemState(i,LVIS_SELECTED)==LVIS_SELECTED) { m_IdNum=m_List.GetItemText(i,2); } } *pResult = 0; } void CCommonDlg::OnCbnSelchangeCombo1() { // TODO: 在此添加控件通知处理程序代码 int index; index=m_Combo.GetCurSel(); if(index==CB_ERR) return; CString str; m_Combo.GetLBText(index,str); if(str=="零件模型") { m_Table="NPartManageTable"; } else if(str=="装配模型") { m_Table="NAsmManageTable"; } m_Tree.DeleteAllItems(); this->AddTree(); } void CCommonDlg::OnClose() { // TODO: 在此添加消息处理程序代码和/或调用默认值 ProWindowRepaint(PRO_VALUE_UNUSED); CDialog::OnClose(); }
e59117872e305a73223898a6c1a2aa927c5eea8d
3fa046c6e991c12d9629b2623638fc36140e52b7
/src/Fermbot/HeatingControl.cpp
dbb545895869dc351791b1e45f22e14fa94ab861
[]
no_license
slobrewer/FermbotArduino
3ae600122a37ca5b56800f39bd72a5814de9d5fd
570b5408afc9af079e5acc638501a13855ef39d7
refs/heads/master
2016-09-08T00:33:10.455715
2012-12-17T23:41:26
2012-12-17T23:41:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
287
cpp
HeatingControl.cpp
/* * HeatingControl.cpp * * Created on: Aug 19, 2012 * Author: dlouw */ #include "HeatingControl.h" namespace Fermbot { HeatingControl::HeatingControl(const uint8_t digitalPin) : Control(digitalPin) { } HeatingControl::~HeatingControl() { } } /* namespace Fermbot */
7f2f1d53a08e7f91535640cec0c9a1fd10466224
dae9f5aca9418e4b067a283596df6d92dc00b7db
/src/Game/UpdateTasks/CameraViewportReporter.cpp
574952dff232feeb9335132c11c1e6b27c4ef258
[]
no_license
ifschleife/Shoot
0c5c52a573b331203647fa1146734dc9e318a287
b3ffe1c700e58bbee50e4cb4e7d37159d64de538
refs/heads/master
2021-05-06T05:10:07.074211
2017-12-23T17:38:31
2017-12-23T17:38:31
115,051,427
0
0
null
2017-12-21T22:09:06
2017-12-21T22:09:05
null
UTF-8
C++
false
false
418
cpp
CameraViewportReporter.cpp
#include "CameraViewportReporter.h" #include "Rendering/ICamera.h" #include "AIKnowledge.h" using namespace game; CameraViewportReporter::CameraViewportReporter(const mono::ICameraPtr& camera) : m_camera(camera) { } void CameraViewportReporter::doUpdate(unsigned int delta) { const math::Quad& viewport = m_camera->GetViewport(); camera_viewport = math::Quad(viewport.mA, viewport.mA + viewport.mB); }
f92beb0e0c3501c3b86fccb79a5884225219269d
3365ff1b3e49e2fb2c533a1d515d862f3ce6ae0d
/Bomberman Project V1.1/DX2DE/Util.cpp
d871520f6707109d82e980ad6ce6ad66e05d413c
[]
no_license
thatguyabass/Project01_Bomberman
2cef57a08bed473828a56397af6500e139f7df6d
08bd00e081351681e431c5f7e64c0f972a699c0a
refs/heads/master
2021-01-19T02:11:23.223891
2016-09-13T02:38:53
2016-09-13T02:38:53
25,746,420
0
0
null
null
null
null
UTF-8
C++
false
false
1,368
cpp
Util.cpp
//--------------------------------------------------------- //Util.cpp //--------------------------------------------------------- // #include "Util.h" Util::Util() { m_flags.back = false; m_flags.exit = false; } Util::~Util() { } Util::Vec2 Util::m_aspectRatio; Util::Vec2 Util::GetAspectRatio() { return m_aspectRatio; } void Util::SetAspectRatio(int screenWidth, int screenHeight) { m_aspectRatio.x = (float)screenWidth / (float)IDEAL_WIDTH; m_aspectRatio.y = (float)screenHeight / (float)IDEAL_HEIGHT; } void Util::ReadFolder(vector<string>& str, wstring directory) { WIN32_FIND_DATA data; HANDLE hFind = INVALID_HANDLE_VALUE; // Find the first file in the directory. hFind = FindFirstFile(directory.c_str(), &data); if (hFind != INVALID_HANDLE_VALUE) { do { wstring ws = data.cFileName; string s(ws.begin(), ws.end()); str.push_back(s); }while (FindNextFile(hFind, &data) != 0); FindClose(hFind); } } Util::GLOBAL_GAME_STATE Util::e_globalGame = MENU; Util::GLOBAL_START_MENU_STATE Util::e_globalMenu = CLOSED; void Util::ToggleMenu() { switch(e_globalMenu) { case CLOSED: e_globalMenu = OPEN; break; case OPEN: default: e_globalMenu = CLOSED; break; } } Util::MenuFlags Util::m_flags = Util::MenuFlags(); Util::MenuFlags& Util::GetFlags() { return m_flags; } void Util::ResetMenuFlags() { m_flags.back = false; }
ac15156567fd80cc9832beca378a955736a0d847
ed3f271599aaa73581a974649b161d7b2e30b22a
/Carving/chunk.cpp
8633d3471bfc54dde3f31cfb3cc380386c07b215
[ "MIT" ]
permissive
pastleo/Carving
1009f9218f7ec529dbad9d0e621742ad80a60645
a619f47c863a1fee44cec89c2250dd41bf6dff96
refs/heads/master
2021-05-29T19:43:27.076720
2015-06-27T08:22:12
2015-06-27T08:25:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,462
cpp
chunk.cpp
#include "stdafx.h" chunk::chunk(void) { this->spots = NULL; } void chunk::prepare() { if(spots == NULL){ spots = new std::map<int,std::set<spot*>*>(); prepare(SPOT_TYPE_SIMPLE); } } void chunk::prepare(int type) { prepare(); if(spots->count(type) == 0){ spots->emplace(type,new std::set<spot*>()); } } chunk::~chunk(void) { if(spots != NULL) delete spots; } #define S (*spots) std::set<spot*>::iterator chunk::iter_spots() { return iter_spots(SPOT_TYPE_SIMPLE); } std::set<spot*>::iterator chunk::iter_spots(int type) { prepare(type); return S[type]->begin(); } bool chunk::iter_ends(std::set<spot*>::iterator* i) { return iter_ends(SPOT_TYPE_SIMPLE,i); } bool chunk::iter_ends(int type,std::set<spot*>::iterator* i) { prepare(type); return *i == S[type]->end(); } int chunk::size() { int total = 0; if(spots == NULL) return total; for (auto it=spots->begin(); it!=spots->end(); ++it) total += it->second->size(); return total; } int chunk::size(int type) { prepare(type); return S[type]->size(); } void chunk::insert(spot* s) { int type = s->getType(); prepare(type); S[type]->insert(s); } void chunk::erase(spot* s) { int type = s->getType(); prepare(type); S[type]->erase(s); } void chunk::hightlight(int x,int z,float size) { set_mtl(MTL_hurtable_fire); glPushMatrix(); glTranslatef(x + 0.5,0.1,z + 0.5); glRotatef(-90, 1.0, 0.0, 0.0); glRectf(size, size, -size, -size); glPopMatrix(); pop_mtl(); }
3748f6583eaddff53f754ce2d9c7e3ab9e506367
4a8470e4cb7b1dcbbf396e6fef86cfb0c93b0f51
/Stash/main.cpp
fe6d9c63371eed7af2a312be288f0a8dd914acb3
[ "MIT" ]
permissive
njbuch/PiS2_Controller
1787914744520b6a0cf14183345f27a7397520a7
b89b7aeacea449d2ca3ae6236fe4afde01632b16
refs/heads/master
2021-05-10T14:38:08.180512
2018-05-22T21:25:42
2018-05-22T21:25:42
118,523,966
0
0
null
null
null
null
UTF-8
C++
false
false
2,568
cpp
main.cpp
/* This is the rfirst example of a sketch that tries to support a handshake between the Rpi3 and the arduino on the sleepy pi 2. What works: Can be deployed and starts blinking the LED when running the rpi3 command: "i2cget -y 1 0x07" it returns an increasing number to the rpi3 when running the rpi3 command: "i2cset -y 1 0x07 0x11" it prints 17 to the serial interface monitor in Arduino IDE TODO: Merge with https://github.com/SpellFoundry/SleepyPi2/blob/master/examples/ButtonOnOff3/ButtonOnOff3.ino TODO: Establish a protocol / statemachine that adresses the commands needed TODO: Convert existing mechanics control to https://github.com/jonblack/arduino-fsm */ #include <Wire.h> #include "Arduino.h" static char c = '0'; // function that executes whenever data is received from master // this function is registered as an event, see setup() void requestEvent() { Serial.print("requestEvent!"); Wire.write("Hej"); if (c > 'z') c = '0'; } void receiveEvent(int numBytes) { Serial.print("receiveEvent:"); Serial.print(numBytes); while (1 < Wire.available()) { // loop through all but the last char c = Wire.read(); // receive byte as a character Serial.print(c); // print the character } int x = Wire.read(); // receive byte as an integer Serial.println(x); } // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 13; // the setup routine runs once when you press reset: void setup() { // initialize the digital pin as an output. pinMode(led, OUTPUT); // Setup the i2c communication with the RPI3 with two event functions Wire.begin(7); // join i2c bus with address #7 Wire.onRequest(requestEvent); // register event Wire.onReceive(receiveEvent); Serial.begin(9600); // start serial for output } // the loop routine runs over and over again forever: int c2 = 0; void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(2000); // wait for a second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(200); // wait for a second Serial.print("Hi:"); Serial.print(c); if (c2++ > 10) { Serial.print("Now writing..."); Serial.print(c); Wire.beginTransmission(7); // transmit to device # Wire.write("c is "); // sends five bytes Wire.write(c); // sends one byte Wire.endTransmission(); // stop transmitting c++; c2 = 0; } }
e69c62af76445f222792b674ee10b6141a6996cb
099d7747edb21625144c76675fdeaa17af1dcde2
/CustomTreeDelegate.h
60e04fbf561a2c01752a32796d8c97b5f69d0924
[]
no_license
zjtdd/NavMenuTree
765004da12a90770778ba5a6126a987d8ec3effb
86ebffe9b912749f7de1949f9c257e46536395d6
refs/heads/master
2020-04-12T17:46:10.994987
2018-12-21T10:06:55
2018-12-21T10:06:55
162,656,631
1
0
null
null
null
null
UTF-8
C++
false
false
568
h
CustomTreeDelegate.h
#ifndef CUSTOMTREEDELEGATE_H #define CUSTOMTREEDELEGATE_H #include "CustomTreeWidget.h" #include <QObject> #include <QStyledItemDelegate> #include <QPainter> #include <QTreeView> class CustomTreeDelegate : public QStyledItemDelegate { Q_OBJECT public: CustomTreeDelegate(CustomTreeWidget *view, QObject *parent ); void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; private: CustomTreeWidget *m_view; QStandardItemModel *m_model; }; #endif // CUSTOMTREEDELEGATE_H
e297c368ac51ed01915293b6d4f74f05cc30630f
ec585299e0ffc34e9f99bcc5be3f485c66c6820d
/include/exot/framework/interface.h
0ff9d926483e5d6291ac075b42ce8885a52ef417
[ "BSD-3-Clause" ]
permissive
ETHZ-TEC/exot_app_lib
3958b938a2e80ee2e501e7099e57e18833047237
7330c2db9ea6da33b7532af9c3049f8b673dd117
refs/heads/master
2022-10-11T01:46:40.430959
2020-06-10T10:58:08
2020-06-10T10:58:08
272,035,756
0
0
null
null
null
null
UTF-8
C++
false
false
12,993
h
interface.h
// Copyright (c) 2015-2020, Swiss Federal Institute of Technology (ETH Zurich) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this // list of conditions and the following disclaimer. // // * 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. // // * Neither the name of the copyright holder 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. // /** * @file framework/interface.h * @author Bruno Klopott * @brief Interfaces abstracting to queues and other transmission media. */ #pragma once #include <chrono> // for time_point and duration #include <memory> namespace exot::framework { /** * Mostly adapter classes. */ /** * Virtual inheritance avoids copies of the base class object. */ /** * @brief Basic reader interface, defining `read()` and `is_readable()` * pure virtual methods. * * @tparam Token Data type used by the interface */ template <typename Token> struct IReader { virtual ~IReader() = default; virtual void read(Token&) = 0; virtual bool is_readable() = 0; }; /** * @brief Basic reader interface, defining `write()` and `is_writeable()` * pure virtual methods. * * @tparam Token Data type used by the interface */ template <typename Token> struct IWriter { virtual ~IWriter() = default; virtual void write(const Token&) = 0; virtual void write(Token&&) = 0; virtual bool is_writable() = 0; }; /** * @brief Base reader class * @details Defines a shared pointer to the channel/container, a method to * set that pointer, and a few member types, which can be used to * access internal types from outside of the interfaces. * * @tparam Token Data type used by the interface * @tparam Container Type of channel/container used for communication */ template <typename Token, template <typename...> typename Container> class Reader { public: using value_type = Token; //! token type transported via the reader interface using container_type = Container<value_type>; //! container used by the reader using container_pointer = std::shared_ptr<container_type>; //! shared pointer to the container Reader() = default; explicit Reader(container_pointer container) : in_container_ptr_(container){}; /** * @brief Set the pointer to the reader's container/channel * * @param[in] container The pointer to the container */ void set_read_container(container_pointer container) { in_container_ptr_ = container; } /** * @brief Get the pointer to the reader's container/channel * * @return The pointer to the container */ container_pointer get_read_container() const { return in_container_ptr_; } protected: container_pointer in_container_ptr_; //! internal container pointer, //! accessible by derived classes }; /** * @brief Base writer class * @details Defines a shared pointer to the channel/container, a method to * set that pointer, and a few member types, which can be used to * access internal types from outside of the interfaces. * * @tparam Token Data type used by the interface * @tparam Container Type of channel/container used for communication */ template <typename Token, template <typename...> typename Container> class Writer { public: using value_type = Token; //! token type transported via the reader interface using container_type = Container<value_type>; //! container used by the reader using container_pointer = std::shared_ptr<container_type>; //! shared pointer to the container Writer() = default; explicit Writer(container_pointer container) : out_container_ptr_(container){}; /** * @brief Set the pointer to the writer's container/channel * * @param[in] container The pointer to the container */ void set_write_container(container_pointer container) { out_container_ptr_ = container; } /** * @brief Get the pointer to the writer's container/channel * * @return The pointer to the container */ container_pointer get_write_container() const { return out_container_ptr_; } protected: container_pointer out_container_ptr_; }; /** * @brief Reader class for accessing queue-like structures. */ template <typename Token, template <typename...> typename Container> class QueueReader : public IReader<Token>, public Reader<Token, Container> { public: /** * This states that the class uses the constructor of the inherited class. */ using Reader<Token, Container>::Reader; using Reader<Token, Container>::in_container_ptr_; //! Necessary for name lookup /** * @brief Get the size of the underlying container * @details In addition to the basic operations, the queue interface also * provides methods to access the number of elements in the * container. * * @return The size of the container */ inline unsigned long size() { return in_container_ptr_->size(); } /** * @brief Read and pop a token from the queue * @details Each read operation is destructive, the interface does not * allow peeking into the queue. * * @param token The popped token */ inline void read(Token& token) override { token = in_container_ptr_->front(); in_container_ptr_->pop(); } /** * @brief Determines if the queue is readable * @details The basic queue only provides methods to check if it is empty. * A non-empty queue is considered readable, i.e. a read operation * will return a value. * * @return True if readable, False otherwise. */ inline bool is_readable() override { return !in_container_ptr_->empty(); } }; /** * @brief Writer class for accessing queue-like structures. */ template <typename Token, template <typename...> typename Container> class QueueWriter : public IWriter<Token>, public Writer<Token, Container> { public: /** * This states that the class uses the constructor of the inherited class. */ using Writer<Token, Container>::Writer; using Writer<Token, Container>::out_container_ptr_; /** * @brief Get the size of the underlying container * * @return The size of the container */ inline unsigned long size() { return out_container_ptr_->size(); } /** * @brief Write a token to the queue via its const reference * * @param[in] token The token to write to the queue */ inline void write(const Token& token) override { out_container_ptr_->push(token); } /** * @brief Write a token to the queue via a move operation * @details The function only perfect-forwards its argument, the call to * `std::move` must be performed in the calling code. * * @param[in] token The token to write to the queue */ inline void write(Token&& token) override { out_container_ptr_->push(std::forward<decltype(token)>(token)); } /** * @brief Determines if the underlying container is writable. * @details The basic queue is not bounded, therefore the call to this * function will always return true. * * @return True */ inline bool is_writable() override { return true; } }; /** * @brief Reader class for accessing queue-like structures that provide * additional functionality of `try_pop`, `try_pop_for`, etc. */ template <typename Token, template <typename...> typename Container> class ExtendedQueueReader : public QueueReader<Token, Container> { public: /** * This states that the class uses the constructor of the inherited class. */ using QueueReader<Token, Container>::QueueReader; using QueueReader<Token, Container>::in_container_ptr_; /** * @brief Forwarding wrapper for the `try_pop` method. */ inline bool try_read(Token& token) { return in_container_ptr_->try_pop(std::forward<decltype(token)>(token)); }; /** * @brief Forwarding wrapper for the `try_pop_for` method. */ template <typename Rep, typename Period> inline bool try_read_for(Token& token, const std::chrono::duration<Rep, Period>& timeout) { return in_container_ptr_->try_pop_for( std::forward<decltype(token)>(token), std::forward<decltype(timeout)>(timeout)); }; /** * @brief Forwarding wrapper for the `try_pop_until` method. */ template <typename Clock, typename Duration> inline bool try_read_until( Token& token, const std::chrono::time_point<Clock, Duration>& time) { return in_container_ptr_->try_pop_until( std::forward<decltype(token)>(token), std::forward<decltype(time)>(time)); }; }; /** * @brief Reader class for accessing queue-like structures that provide * additional functionality of `try_push`, `try_push_for`, etc. */ template <typename Token, template <typename...> typename Container> class ExtendedQueueWriter : public QueueWriter<Token, Container> { public: /** * This states that the class uses the constructor of the inherited class. */ using QueueWriter<Token, Container>::QueueWriter; using QueueWriter<Token, Container>::out_container_ptr_; /** * @brief Forwarding wrapper for the `try_push` method. */ inline bool try_write(const Token& token) { return out_container_ptr_->try_push(std::forward<decltype(token)>(token)); }; /** * @brief Forwarding wrapper for the `try_push` method. */ inline bool try_write(Token&& token) { return out_container_ptr_->try_push(std::forward<decltype(token)>(token)); }; /** * @brief Forwarding wrapper for the `try_push_for` method. */ template <typename Rep, typename Period> inline bool try_write_for(const Token& token, const std::chrono::duration<Rep, Period>& timeout) { return out_container_ptr_->try_push_for( std::forward<decltype(token)>(token), std::forward<decltype(timeout)>(timeout)); }; /** * @brief Forwarding wrapper for the `try_push_for` method. */ template <typename Rep, typename Period> inline bool try_write_for(Token&& token, const std::chrono::duration<Rep, Period>& timeout) { return out_container_ptr_->try_push_for( std::forward<decltype(token)>(token), std::forward<decltype(timeout)>(timeout)); }; /** * @brief Forwarding wrapper for the `try_push_until` method. */ template <typename Clock, typename Duration> inline bool try_write_until( const Token& token, const std::chrono::time_point<Clock, Duration>& time) { return out_container_ptr_->try_push_until( std::forward<decltype(token)>(token), std::forward<decltype(time)>(time)); }; /** * @brief Forwarding wrapper for the `try_push_until` method. */ template <typename Clock, typename Duration> inline bool try_write_until( Token&& token, const std::chrono::time_point<Clock, Duration>& time) { return out_container_ptr_->try_push_until( std::forward<decltype(token)>(token), std::forward<decltype(time)>(time)); }; /** * @brief Determines if the underlying container is writable. * @details The extended queue can be bounded, and provides a `full()` * method. * * @return True if writeable, false otherwise. */ inline bool is_writable() override { return out_container_ptr_->full(); } }; } // namespace exot::framework
f153756f9ae56df9c64d8aed1050d5e2697558e5
b1aef802c0561f2a730ac3125c55325d9c480e45
/src/ripple/overlay/ClusterNode.h
df691038178e9bc511774ce79fff23a660bbb595
[]
no_license
sgy-official/sgy
d3f388cefed7cf20513c14a2a333c839aa0d66c6
8c5c356c81b24180d8763d3bbc0763f1046871ac
refs/heads/master
2021-05-19T07:08:54.121998
2020-03-31T11:08:16
2020-03-31T11:08:16
251,577,856
6
4
null
null
null
null
UTF-8
C++
false
false
1,084
h
ClusterNode.h
#ifndef RIPPLE_APP_PEERS_CLUSTERNODESTATUS_H_INCLUDED #define RIPPLE_APP_PEERS_CLUSTERNODESTATUS_H_INCLUDED #include <ripple/basics/chrono.h> #include <ripple/protocol/PublicKey.h> #include <cstdint> #include <string> namespace ripple { class ClusterNode { public: ClusterNode() = delete; ClusterNode( PublicKey const& identity, std::string const& name, std::uint32_t fee = 0, NetClock::time_point rtime = NetClock::time_point{}) : identity_ (identity) , name_(name) , mLoadFee(fee) , mReportTime(rtime) { } std::string const& name() const { return name_; } std::uint32_t getLoadFee() const { return mLoadFee; } NetClock::time_point getReportTime() const { return mReportTime; } PublicKey const& identity () const { return identity_; } private: PublicKey const identity_; std::string name_; std::uint32_t mLoadFee = 0; NetClock::time_point mReportTime = {}; }; } #endif
58c4fb129efef62ad934f35cb222ac996438c76c
29b2595ff5db39f1d905a5a871e03c5bd555e27f
/ChatClient/mainwindow.cpp
e387761e45015d6ef64bec4e65813eede1061b5a
[]
no_license
Zhmoll/ZhmollChatRoom-IOCP
8e3301695e207d07b0963401498c4777c074d261
0e4eb431accd94dff2189373ce44fd1debdcca3e
refs/heads/master
2021-01-23T11:01:10.182845
2017-06-02T02:04:49
2017-06-02T02:04:49
93,116,901
0
0
null
null
null
null
UTF-8
C++
false
false
7,069
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QMessageBox> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { WSADATA wsaData; if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) ErrorHandling("WSAStartup() error!"); sock = socket(AF_INET, SOCK_STREAM, 0); if (sock == INVALID_SOCKET) ErrorHandling("socket() error!"); ui->setupUi(this); ui->textEdit->setReadOnly(true); ui->plainTextEdit_6->setVisible(false); ui->pushButton_2->setEnabled(false); } MainWindow::~MainWindow() { if(ui->pushButton->text()=="注销"){ QString username = ui->plainTextEdit_3->toPlainText(); QByteArray usernameLatin = username.toLatin1(); const char *cusername = usernameLatin.data(); LogoutPkt logout; logout.header.type = PKT_TYPE_LOGOUT; strcpy(logout.username,cusername); send(sock, (const char*)(&logout), sizeof(logout), 0); } if(recv_thread!=NULL){ recv_thread->terminate(); closesocket(sock); } WSACleanup(); delete ui; } // 登录按钮 void MainWindow::on_pushButton_clicked() { QString host = ui->plainTextEdit->toPlainText(); QString port = ui->plainTextEdit_2->toPlainText(); QString username = ui->plainTextEdit_3->toPlainText(); QString password = ui->plainTextEdit_4->toPlainText(); QByteArray hostLatin = host.toLatin1(); QByteArray portLatin = port.toLatin1(); QByteArray usernameLatin = username.toLatin1(); QByteArray passwordLatin = password.toLatin1(); const char *chost = hostLatin.data(); const char *cport = portLatin.data(); const char *cusername = usernameLatin.data(); const char *cpassword = passwordLatin.data(); if(ui->pushButton->text()=="登录"){ servAddr.sin_family = AF_INET; servAddr.sin_addr.s_addr = inet_addr(chost); servAddr.sin_port = htons(atoi(cport)); len = sizeof(servAddr); recv_thread = new RecvThread(sock,this); connect(recv_thread, SIGNAL(sendBuffer(const char*)), this, SLOT(receiveBuffer(const char*)), Qt::BlockingQueuedConnection); ::connect(sock,(SOCKADDR*)&servAddr,sizeof(servAddr)); recv_thread->start(); LoginPkt login; login.header.type = PKT_TYPE_LOGIN; login.header.length = sizeof(login); strcpy(login.username,cusername); strcpy(login.password,cpassword); send(sock, (const char*)(&login), sizeof(login), 0); ui->pushButton->setText("登录中"); appendText("system", "登录中 ……"); }else if(ui->pushButton->text()=="注销"){ LogoutPkt logout; logout.header.type = PKT_TYPE_LOGOUT; logout.header.length = sizeof(logout); strcpy(logout.username,cusername); send(sock, (const char*)(&logout), sizeof(logout), 0); appendText("system","注销成功!"); ui->pushButton->setText("登录"); ui->pushButton_2->setEnabled(false); recv_thread->terminate(); } } // 切换公聊私聊界面显示 void MainWindow::on_comboBox_currentIndexChanged(int index) { if(index==0){ ui->plainTextEdit_6->setVisible(false); ui->plainTextEdit_5->setGeometry(120,330,341,31); }else if(index==1){ ui->plainTextEdit_6->setVisible(true); ui->plainTextEdit_5->setGeometry(230,330,231,31); } } void MainWindow::receiveBuffer(const char* pkt){ int type = ((Header*)pkt)->type; switch (type) { case PKT_TYPE_LOG_REPLY: processLoginReplyPkt((const char*)pkt); break; case PKT_TYPE_MSG_PUBLIC: processPublicChatPkt((const char*)pkt); break; case PKT_TYPE_MSG_PRIVATE: processPrivateChatPkt((const char*)pkt); break; default: qDebug("错包 %d",type); } } void MainWindow::processLoginReplyPkt(const char* pkt){ LoginRelpyPkt* reply = (LoginRelpyPkt*)pkt; QString str; if(reply->retCode == LOGIN_FAIL){ str= "用户名或密码错误!"; } else if(reply->retCode==LOGIN_SUCCEED){ str= "登录成功!"; ui->plainTextEdit->setReadOnly(true); ui->plainTextEdit_2->setReadOnly(true); ui->plainTextEdit_3->setReadOnly(true); ui->plainTextEdit_4->setReadOnly(true); ui->pushButton->setText("注销"); ui->pushButton_2->setEnabled(true); } appendText("system",str); } void MainWindow::processPublicChatPkt(const char* pkt){ PublicChatMsgHeader* header = (PublicChatMsgHeader*)pkt; QString msg((char *)(header+1)); appendText(header->from, msg); } void MainWindow::processPrivateChatPkt(const char* pkt){ PrivateChatMsgHeader* header = (PrivateChatMsgHeader*)pkt; QString msg((char *)(header+1)); appendText(header->from, msg, true); } void MainWindow::appendText(QString from, QString msg, bool isPrivate, bool isMe){ QString str; if (from == "system"){ str = "<p><font color=\"red\"><b>[系统]:"+msg+"</b></font></p>"; } else if (!isPrivate){ str="<p>["+from+"]:"+msg+"</p>"; } else if (!isMe){ str="<p><font color=\"green\">["+from+"]对你说:"+msg+"</font></p>"; } else{ str="<p><font color=\"green\">我对["+from+"]说:"+msg+"</font></p>"; } ui->textEdit->append(str); } void MainWindow::ErrorHandling(char *message) { fputs(message, stderr); fputc('\n', stderr); exit(1); } void MainWindow::on_pushButton_2_clicked() { QString from = ui->plainTextEdit_3->toPlainText(); QByteArray fromLatin = from.toLatin1(); const char *cfrom = fromLatin.data(); QString to = ui->plainTextEdit_6->toPlainText(); QByteArray toLatin = to.toLatin1(); const char *cto = toLatin.data(); QString content = ui->plainTextEdit_5->toPlainText(); QByteArray contentLatin = content.toUtf8(); const char *ccontent = contentLatin.data(); if(ui->comboBox->currentIndex()==0){// 公聊 PublicChatMsgHeader header; header.header.type = PKT_TYPE_MSG_PUBLIC; strcpy(header.from,cfrom); int length = sizeof(header)+strlen(ccontent)+1; header.header.length = length; char *buffer = new char[length]; memcpy(buffer,&header,sizeof(header)); memcpy(buffer+sizeof(header),ccontent,strlen(ccontent)+1); send(sock,(const char*)buffer,length,0); delete[] buffer; }else if(ui->comboBox->currentIndex()==1){// 私聊 PrivateChatMsgHeader header; header.header.type = PKT_TYPE_MSG_PRIVATE; strcpy(header.from,cfrom); strcpy(header.to,cto); int length = sizeof(header)+strlen(ccontent)+1; header.header.length = length; char *buffer = new char[length]; memcpy(buffer,&header,sizeof(header)); memcpy(buffer+sizeof(header),ccontent,strlen(ccontent)+1); send(sock,(const char*)buffer,length,0); delete[] buffer; appendText(cto,ccontent,true,true); } }
41c3c9f706915e0ba382b646dc85bacf8e1fe78a
a92820fc61023ab4360e040cf6532d89c311ea3a
/Disparo.cpp
aad021ec71b5d116ac6db3ebd66715f67b0fdd01
[]
no_license
JiangRosete/Trabajo
725c1f4700b7fe0ba29bbe5b324e4df91f94281c
513f6665be49b3b9f2870aa4913fec22aad3785f
refs/heads/master
2020-03-17T06:35:06.440008
2018-05-14T13:00:43
2018-05-14T13:00:43
133,361,368
0
0
null
null
null
null
UTF-8
C++
false
false
1,302
cpp
Disparo.cpp
#include "Disparo.h" #include "glut.h" #include "Protagonista.h" Protagonista prota; Disparo::Disparo() { //Cuando se crea el objeto se inicializa el origen con la posicion actual del protagonista origen.x = prota.posicion.x; origen.y = prota.posicion.y; origen.z = prota.posicion.z; } Disparo::~Disparo() { } void Disparo::dibuja() { glColor3f(0.0f, 0.0f, 255.0f); glPushMatrix(); glTranslatef(posicion.x, posicion.y, posicion.z); glutSolidSphere(radio, 40, 40); glPopMatrix(); } void Disparo::mueve(float t) { Vector3D Vel = velocidad * t, auxAc = aceleracion * t, Ac = aceleracion * (0.5f*t*t); posicion = (posicion + Vel + Ac); velocidad = (velocidad + auxAc); } void Disparo::tecla(unsigned char key) { if (key == ' ') { velocidad.x = 3.0f; } } void Disparo::setPos(float ix, float iy, float iz) { posicion.x = ix; posicion.y = iy; posicion.z = iz; aceleracion.x = 0; aceleracion.y = 0; aceleracion.z = 0; velocidad.x = 3.0f; velocidad.y = 0; velocidad.z = 0; radio = 0.25f; } void Disparo::setVel(float vx, float vy, float vz) { velocidad.x = vx; velocidad.y = vy; velocidad.z = vz; } float Disparo::getRadio() { return radio; } Vector3D Disparo::getPos() { return posicion; } float Disparo::distanciaDisparo() { return (posicion - origen).modulo(); }
bb65e27c237cebfd93b7548779753a330d9423a3
cfa3cd393a4583e3ea5cf21d0932cec015bf5cae
/ComputerCollection.cpp
9fd23b7806a1e557fc8eda3961388bc0c557e20c
[]
no_license
Sapio-S/exercise
c1f9946ae78ce16391e3f600fcd64dfefb57a4b8
93ab66d2d0b27527ee2221f4bafc7676e58320c6
refs/heads/master
2021-08-18T03:05:55.250626
2019-10-29T02:31:07
2019-10-29T02:31:07
218,184,655
0
0
null
null
null
null
UTF-8
C++
false
false
558
cpp
ComputerCollection.cpp
// // ComputerCollection.cpp // pr21 // // Created by yuqing on 2019/3/17. // Copyright © 2019 yuqing. All rights reserved. // #include <stdio.h> #include <iostream> #include "ComputerCollection.h" using namespace std; istream& operator>> (istream& in, ComputerCollection& cc) { int i = cc.totalnum; in >> cc.com[i]; cc.totalnum++; return in; } ostream& operator<< (ostream& out, const ComputerCollection& src) { for(int i = 0; i < src.totalnum; i++) { out << src.com[i]; cout << endl; } return out; }
ff27685dfe5fdc5dae59d221b3e71a52be08db22
8d0f764da10bc17675f82bde3d1801de4c2c9ff7
/Codeforces gym solutions/ACM International Collegiate Programming Contest, Amman Collegiate Programming Contest (2018)/A.cpp
005b5e54a974e57f28916debb565e41846691417
[]
no_license
AbdelrahmanElhawary/CompetitiveProgramming
f24f675ced34d75a383db03a9ffef59373b23c31
791ed4fcdefde421902f3b512414c1a49fdc21cd
refs/heads/master
2021-05-09T05:00:41.380756
2020-08-19T09:57:32
2020-08-19T09:57:32
119,295,405
1
3
null
2020-10-01T20:12:38
2018-01-28T20:33:41
C++
UTF-8
C++
false
false
2,491
cpp
A.cpp
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include<iostream> #include<map> #include<cmath> #include<algorithm> #include<string> #include<set> #include<sstream> #include<vector> #include<string.h> #include<queue> #include<list> #include<iterator> #include<functional> #include<iomanip> #include<bitset> #include<stack> #include <assert.h> #include<complex> #include<unordered_map> #define ll long long #define ld long double #define ull unsigned ll #define endl '\n' #define mk make_pair const double PI = acos(-1.0); using namespace std; void fast_in_out() { std::ios_base::sync_with_stdio(NULL); cin.tie(NULL); cout.tie(NULL); } void pause() { #ifndef ONLINE_JUDGE system("pause"); #endif } //int dx[] = { -1,0,1,0,-1,1,-1,1 }; //int dy[] = { 0,-1,0,1,1,1,-1,-1 }; pair<pair<ll, ll>, ll>arr[100005]; ll cost[100005]; int n, k; ll bs(ll en) { int s = 0, e = n - 1, ret =-1; while (s <= e) { int mid = (s + e) / 2; if (arr[mid].first.first <= en) { s = mid + 1; ret = mid; } else e = mid - 1; } return ret; } ll bs2(ll st) { int s = 0, e = n - 1, ret = -1; while (s <= e) { int mid = (s + e) / 2; if (arr[mid].first.second >= st) { e = mid - 1; ret = mid; } else s = mid + 1; } return ret; } int main() { fast_in_out(); //cout << fixed << setprecision(6); //freopen("knights.in", "r", stdin); //freopen("","w",stdout); int t; cin >> t; while(t--) { cin >> n >> k; for (int i = 0; i < n; i++) { cin >> arr[i].first.first >> arr[i].first.second >> arr[i].second; } sort(arr, arr + n); for (int i = 0; i < n; i++) { cost[i] = arr[i].second*(arr[i].first.second - arr[i].first.first + 1); if (i)cost[i] += cost[i - 1]; } ll ans = 0; for (int i = 0; i < n; i++) { ll s = arr[i].first.first, e = min((ll)1e9, s + k - 1); ll ind = bs(e); ll ansy; if (arr[ind].first.second <= e) { ansy = cost[ind]; if (i)ansy -= cost[i - 1]; } else { ansy = cost[ind-1]; if (i)ansy -= cost[i - 1]; ansy += (e - arr[ind].first.first + 1)*arr[ind].second; } ans = max(ansy, ans); s = max(0LL, arr[i].first.second - k + 1), e = arr[i].first.second; ind = bs2(s); ansy; if (arr[ind].first.first >= s) { ansy = cost[i]; if (ind)ansy -= cost[ind - 1]; } else { ansy = cost[i]; ansy -= cost[ind]; ansy += (arr[ind].first.second- s + 1)*arr[ind].second; } ans = max(ansy, ans); } cout << ans << endl; } pause(); return 0; }
5808cf3af672fc78352383370e7487ea35caf252
5008ac58b431582c26865890cd79e20a5e9c0fd0
/DiamondGraphicsEngine/inc/core/Object.h
f2390fffd50d32308816056e386ef9f4986a17c6
[]
no_license
levey-lee/GraphicsEngine
3848a5a1611039efcffbc0fe562743156ace1fff
ceb40f675b4cb8caa8670bc3bf66dd71e3d35263
refs/heads/master
2021-05-10T12:26:03.630000
2018-07-28T20:29:46
2018-07-28T20:29:46
118,441,932
0
0
null
null
null
null
UTF-8
C++
false
false
4,316
h
Object.h
#pragma once #include "core/ComponentPool.h" #include "core/BoundingVolume.h" #include "graphics/ShaderManager.h" class ComponentEditorInterface; namespace Graphics { enum class ShaderType; class GraphicsEngine; } struct HierarchicalObjectHandlerNode; class Object; class ComponentInterface; using RenderObject = std::vector<ComponentInterface*>; /** * @brief */ class ObjectErrorException : public std::exception { public: explicit ObjectErrorException(std::string msg): m_msg(std::move(msg)){} char const* what() const override { return m_msg.c_str(); } private: std::string m_msg; }; /** * @brief */ struct ObjectHandle { //this is needed since the class has non-default constructor ObjectHandle() = default; explicit ObjectHandle(ObjectId object_id) : m_objectId(object_id){} operator ObjectId() const { return m_objectId; } ObjectId GetId() const { return m_objectId; } bool operator<(ObjectHandle rhs) const { return m_objectId < rhs.m_objectId; } private: friend class Object; ObjectId m_objectId = -1; }; /** * @brief */ class Object { friend class Scene; public: Object() = default; Object(ObjectId id, bool defaultActive = true) :m_isActive(defaultActive), m_objectHandle(ObjectHandle(id)){} virtual ~Object(){} ObjectHandle GetHandle() const { return m_objectHandle; } template <typename TComp> TComp& AddComponent(); template <typename TComp, typename... Args> TComp& AddComponent(Args&&... args); template <typename TComp> TComp& GetComponentRef(); template <typename TComp> const TComp& GetComponentRef() const; template <typename TComp> bool HasComponent() const; template <typename TComp> void RemoveComponent(); void RemoveAllComponents() const; void Active(); void Deactive(); bool IsActive() const { return m_isActive; } HierarchicalObjectHandlerNode* GetHierarchicalObjectHandlerNode() const { return m_hohNode; } Scene* GetScene() const { return m_scene; } RenderObject* GetShadedComponents() { return &m_shadedComponents; } void PushShadedComponent(ComponentInterface* comp, Graphics::ShaderType shaderType); Object* GetParent() const { return m_parent; } std::string const& GetName() const { return m_name; } void SetName(std::string const& name) { m_name = name; } void Reflect(TwBar* editor, std::string const& barName, Graphics::GraphicsEngine* graphics); BoundingSphere GetBoundingSphere(); const Graphics::ShaderType& GetShaderType() const { return m_shaderType; } protected: void AssignHierarchicalObjectHandlerNode(HierarchicalObjectHandlerNode* node); void AssignScene(Scene* scene); void AssignParent(Object* parent) { m_parent = parent; } virtual void OnActive(); virtual void OnDeactive(); std::string m_name; std::vector<ComponentEditorInterface*> m_editorComponents; //container of components that are specified 'Shaded' RenderObject m_shadedComponents; Graphics::ShaderType m_shaderType = Graphics::ShaderType::Null; Object* m_parent = nullptr; bool m_isActive = true; private: Scene* m_scene = nullptr; HierarchicalObjectHandlerNode* m_hohNode = nullptr; ObjectHandle m_objectHandle; }; template <typename TComp> TComp& Object::AddComponent() { DEBUG_PRINT_DATA_FLOW ComponentPool<TComp>::AddComponent(m_objectHandle); auto& compRef = GetComponentRef<TComp>(); compRef.AssignOwner(this); m_editorComponents.push_back(&compRef); return compRef; } template <typename TComp, typename ... Args> TComp& Object::AddComponent(Args&&... args) { DEBUG_PRINT_DATA_FLOW ComponentPool<TComp>::AddComponent(m_objectHandle, std::forward<Args>(args)...); auto& compRef = GetComponentRef<TComp>(); compRef.AssignOwner(this); m_editorComponents.push_back(&compRef); return compRef; } template <typename TComp> TComp& Object::GetComponentRef() { return ComponentPool<TComp>::GetComponentRef(m_objectHandle); } template <typename TComp> const TComp& Object::GetComponentRef() const { return ComponentPool<TComp>::GetComponentRef(m_objectHandle); } template <typename TComp> bool Object::HasComponent() const { DEBUG_PRINT_DATA_FLOW return ComponentPool<TComp>::HasComponent(m_objectHandle); }
2bf601f4abea6ad0f14fa43e9b4debc2133da8d9
85455876309135778cba6bbf16933ca514f457f8
/16900/16929.cpp
37ed0d33ff8e2f5efd61b2b726300768c0ddfcdb
[]
no_license
kks227/BOJ
679598042f5d5b9c3cb5285f593231a4cd508196
727a5d5def7dbbc937bd39713f9c6c96b083ab59
refs/heads/master
2020-04-12T06:42:59.890166
2020-03-09T14:30:54
2020-03-09T14:30:54
64,221,108
83
19
null
null
null
null
UTF-8
C++
false
false
1,186
cpp
16929.cpp
#include <cstdio> #include <vector> using namespace std; const int roff[4] = {-1, 1, 0, 0}; const int coff[4] = {0, 0, -1, 1}; int R, C; vector<vector<char>> map; vector<vector<bool>> visited, finished; bool dfs(int r, int c, int pr = -1, int pc = -1){ visited[r][c] = true; bool result = false; for(int d = 0; d < 4; ++d){ int nr = r+roff[d], nc = c+coff[d]; if(nr == pr && nc == pc) continue; if(nr < 0 || nr >= R || nc < 0 || nc >= C || map[r][c] != map[nr][nc]) continue; if(finished[nr][nc]); else if(visited[nr][nc] || dfs(nr, nc, r, c)) result = true; } finished[r][c] = true; return result; } int main(){ scanf("%d %d\n", &R, &C); for(int i = 0; i < R; ++i){ vector<char> line; for(int j = 0; j < C; ++j) line.push_back(getchar()); map.push_back(line); getchar(); } visited = finished = vector<vector<bool>>(R, vector<bool>(C, false)); for(int i = 0; i < R; ++i){ for(int j = 0; j < C; ++j){ if(!visited[i][j] && dfs(i, j)){ puts("Yes"); return 0; } } } puts("No"); }
4dbb19c25fe6b2318402cb565124531560e801a9
c1b20b52514a88c4924df2ae7c3ae9378f79b43a
/1A.TheaterSquare.cpp
bff1bea37a0d4c70f9f4a8bf521735fab8cc7761
[]
no_license
Shreyash41/CodeForces
9d8ae67577a30f284d31af448673ff0823b53fa9
66f9ecabf1ea90868bc0412f9a864a259610700a
refs/heads/master
2022-12-07T05:37:21.803572
2020-09-02T07:57:46
2020-09-02T07:57:46
257,672,485
1
0
null
null
null
null
UTF-8
C++
false
false
358
cpp
1A.TheaterSquare.cpp
#include<bits/stdc++.h> using namespace std; int main(){ #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); #endif double n,m,a; cin>>n>>m>>a; long long int tot = (long long)ceil(n/a) * (long long)ceil(m/a); cout<<tot<<"\n"; return 0; } /*---------------------Problem Set------------------------*/
b006e596e5e9203cbad696cce71a8396a4568db9
0744dcc5394cebf57ebcba343747af6871b67017
/external/libcxx-test/support/experimental_any_helpers.h
6b84a9877d75052791f0f4cef922e3fb915ed1d1
[ "Apache-2.0", "MIT" ]
permissive
Samsung/TizenRT
96abf62f1853f61fcf91ff14671a5e0c6ca48fdb
1a5c2e00a4b1bbf4c505bbf5cc6a8259e926f686
refs/heads/master
2023-08-31T08:59:33.327998
2023-08-08T06:09:20
2023-08-31T04:38:20
82,517,252
590
719
Apache-2.0
2023-09-14T06:54:49
2017-02-20T04:38:30
C
UTF-8
C++
false
false
8,553
h
experimental_any_helpers.h
/**************************************************************************** * * Copyright 2018 Samsung Electronics 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. * ****************************************************************************/ //===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef EXPERIMENTAL_ANY_HELPERS_H #define EXPERIMENTAL_ANY_HELPERS_H #include "../../include/libcxx/experimental/any" #include <typeinfo> #include <type_traits> #include <cassert> #include "test_macros.h" #if !defined(TEST_HAS_NO_RTTI) #define RTTI_ASSERT(X) assert(X) #else #define RTTI_ASSERT(X) #endif template <class T> struct IsSmallObject : public std::integral_constant<bool , sizeof(T) <= (sizeof(void*)*3) && std::alignment_of<void*>::value % std::alignment_of<T>::value == 0 && std::is_nothrow_move_constructible<T>::value > {}; // Return 'true' if 'Type' will be considered a small type by 'any' template <class Type> bool isSmallType() { #if defined(_LIBCPP_VERSION) return std::experimental::__any_imp::_IsSmallObject<Type>::value; #else return IsSmallObject<Type>::value; #endif } // Assert that an object is empty. If the object used to contain an object // of type 'LastType' check that it can no longer be accessed. template <class LastType = int> void assertEmpty(std::experimental::any const& a) { assert(a.empty()); RTTI_ASSERT(a.type() == typeid(void)); assert(std::experimental::any_cast<LastType const>(&a) == nullptr); } // Assert that an 'any' object stores the specified 'Type' and 'value'. template <class Type> _LIBCPP_AVAILABILITY_THROW_BAD_ANY_CAST void assertContains(std::experimental::any const& a, int value = 1) { assert(!a.empty()); RTTI_ASSERT(a.type() == typeid(Type)); assert(std::experimental::any_cast<Type const &>(a).value == value); } // Modify the value of a "test type" stored within an any to the specified // 'value'. template <class Type> _LIBCPP_AVAILABILITY_THROW_BAD_ANY_CAST void modifyValue(std::experimental::any& a, int value) { assert(!a.empty()); RTTI_ASSERT(a.type() == typeid(Type)); std::experimental::any_cast<Type&>(a).value = value; } // A test type that will trigger the small object optimization within 'any'. template <int Dummy = 0> struct small_type { static int count; static int copied; static int moved; static int const_copied; static int non_const_copied; static void reset() { small_type::copied = 0; small_type::moved = 0; small_type::const_copied = 0; small_type::non_const_copied = 0; } int value; explicit small_type(int val) : value(val) { ++count; } small_type(small_type const & other) throw() { value = other.value; ++count; ++copied; ++const_copied; } small_type(small_type& other) throw() { value = other.value; ++count; ++copied; ++non_const_copied; } small_type(small_type && other) throw() { value = other.value; other.value = 0; ++count; ++moved; } ~small_type() { value = -1; --count; } private: small_type& operator=(small_type const&) = delete; small_type& operator=(small_type&&) = delete; }; template <int Dummy> int small_type<Dummy>::count = 0; template <int Dummy> int small_type<Dummy>::copied = 0; template <int Dummy> int small_type<Dummy>::moved = 0; template <int Dummy> int small_type<Dummy>::const_copied = 0; template <int Dummy> int small_type<Dummy>::non_const_copied = 0; typedef small_type<> small; typedef small_type<1> small1; typedef small_type<2> small2; // A test type that will NOT trigger the small object optimization in any. template <int Dummy = 0> struct large_type { static int count; static int copied; static int moved; static int const_copied; static int non_const_copied; static void reset() { large_type::copied = 0; large_type::moved = 0; large_type::const_copied = 0; large_type::non_const_copied = 0; } int value; large_type(int val) : value(val) { ++count; data[0] = 0; } large_type(large_type const & other) { value = other.value; ++count; ++copied; ++const_copied; } large_type(large_type & other) { value = other.value; ++count; ++copied; ++non_const_copied; } large_type(large_type && other) { value = other.value; other.value = 0; ++count; ++moved; } ~large_type() { value = 0; --count; } private: large_type& operator=(large_type const&) = delete; large_type& operator=(large_type &&) = delete; int data[10]; }; template <int Dummy> int large_type<Dummy>::count = 0; template <int Dummy> int large_type<Dummy>::copied = 0; template <int Dummy> int large_type<Dummy>::moved = 0; template <int Dummy> int large_type<Dummy>::const_copied = 0; template <int Dummy> int large_type<Dummy>::non_const_copied = 0; typedef large_type<> large; typedef large_type<1> large1; typedef large_type<2> large2; // The exception type thrown by 'small_throws_on_copy', 'large_throws_on_copy' // and 'throws_on_move'. struct my_any_exception {}; void throwMyAnyExpression() { #if !defined(TEST_HAS_NO_EXCEPTIONS) throw my_any_exception(); #else assert(false && "Exceptions are disabled"); #endif } // A test type that will trigger the small object optimization within 'any'. // this type throws if it is copied. struct small_throws_on_copy { static int count; int value; explicit small_throws_on_copy(int val = 0) : value(val) { ++count; } small_throws_on_copy(small_throws_on_copy const &) { throwMyAnyExpression(); } small_throws_on_copy(small_throws_on_copy && other) throw() { value = other.value; ++count; } ~small_throws_on_copy() { --count; } private: small_throws_on_copy& operator=(small_throws_on_copy const&) = delete; small_throws_on_copy& operator=(small_throws_on_copy &&) = delete; }; int small_throws_on_copy::count = 0; // A test type that will NOT trigger the small object optimization within 'any'. // this type throws if it is copied. struct large_throws_on_copy { static int count; int value = 0; explicit large_throws_on_copy(int val = 0) : value(val) { data[0] = 0; ++count; } large_throws_on_copy(large_throws_on_copy const &) { throwMyAnyExpression(); } large_throws_on_copy(large_throws_on_copy && other) throw() { value = other.value; ++count; } ~large_throws_on_copy() { --count; } private: large_throws_on_copy& operator=(large_throws_on_copy const&) = delete; large_throws_on_copy& operator=(large_throws_on_copy &&) = delete; int data[10]; }; int large_throws_on_copy::count = 0; // A test type that throws when it is moved. This object will NOT trigger // the small object optimization in 'any'. struct throws_on_move { static int count; int value; explicit throws_on_move(int val = 0) : value(val) { ++count; } throws_on_move(throws_on_move const & other) { value = other.value; ++count; } throws_on_move(throws_on_move &&) { throwMyAnyExpression(); } ~throws_on_move() { --count; } private: throws_on_move& operator=(throws_on_move const&) = delete; throws_on_move& operator=(throws_on_move &&) = delete; }; int throws_on_move::count = 0; #endif
375a75ad35f16f2762e1279fbdc73adced8d8a04
db2d7c18a83d367322ea313123bc07cae2c05fa6
/Platform Specific/Interview_Bits/Math/Pairwise_Hammingdistance.cpp
bfade25155628b8a43e4871076f4b1932849430c
[]
no_license
SARTHAK-27/Ultimate-DSA
4f983f9cca3666b3b7f4dfec6d2cc7324e448562
6acb7794e91aebd0d22d0d5597044979c095b9c3
refs/heads/main
2023-08-24T23:50:01.324849
2021-09-20T04:02:19
2021-09-20T04:02:19
359,049,907
1
0
null
null
null
null
UTF-8
C++
false
false
359
cpp
Pairwise_Hammingdistance.cpp
int Solution::hammingDistance(const vector<int> &A) { long ans = 0, n = A.size(); for (int i = 0; i < 32; i++) { int c = 0; for (int j = 0; j < n; j++) { if ((A[j] & (1 << i))) { c++; } } ans = ans + (c * (n - c) * 2); } return ans % 1000000007; }
dd84a242e6416757ecf42e171b7eaaa6a9229bec
40f73a14d163a8cc33dfde92f1109743d9ecdbe2
/Letter_tilepossibilities_Backtracking.cpp
25c0e90233241020607e1c107cc0b2a57d16eb38
[]
no_license
pravirtual/Leetcode
dc83d09f6fc15f24e05e8fca7546e2f003f45c37
7f754f38e507b7f4aaeb267b05873437b1ca5bcf
refs/heads/master
2023-08-28T07:52:59.019305
2021-10-29T14:21:01
2021-10-29T14:21:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
768
cpp
Letter_tilepossibilities_Backtracking.cpp
class Solution { vector<string> ss; public: int numTilePossibilities(string tiles) { vector<bool> visited(tiles.size()); unordered_set<string> un; visited={false}; string a; backtrack(a,tiles,visited,un); return un.size(); } void backtrack(string &a,string &tiles,vector<bool> &visited,unordered_set<string> &un) { for(int i=0;i<tiles.length();i++) { if(visited[i]==false) { a.push_back(tiles[i]); visited[i]=true; un.insert(a); backtrack(a,tiles,visited,un); a.pop_back(); visited[i]=false; } } } };
46da87d15db637814833a50cf4e2615767f0b305
e162982fa4a413d89f96edd6dd07a3ec44432ba0
/Baekjoon/1000/1717-집합의 표현.cpp
c91b51433d222465309b848966df81d08ba716f4
[]
no_license
Bucoco/Baekjoon
3a70b867a8577de62a1486187bda2b6e5ce77a9b
055ff80540c8da3c8c395f72461c061f6d676969
refs/heads/master
2023-06-19T21:21:16.420591
2021-07-21T06:44:12
2021-07-21T06:44:12
349,312,541
0
0
null
null
null
null
UTF-8
C++
false
false
609
cpp
1717-집합의 표현.cpp
#include <iostream> using namespace std; int parent[1000010] = {}; int find(int u) { if (u == parent[u]) return u; return parent[u] = find(parent[u]); } void merge(int u, int v) { u = find(u); v = find(v); if (u == v) return; parent[u] = v; } int main() { cin.tie(0); cout.tie(0); ios::sync_with_stdio(false); int n, m, a, b, c; cin >> n >> m; for (int i = 0;i <= n;i++) { parent[i] = i; } for (int i = 0;i < m;i++) { cin >> a >> b >> c; if (!a) { merge(b, c); } else { if (find(b) == find(c)) cout << "YES\n"; else { cout << "NO\n"; } } } return 0; }
3d41c46b8db6752025db5db7a607d2869795d74b
473495f8d029e089dbc8f64d1abaa667d3f9761f
/IdGenerator.h
2b8dc81ffd03d92830041d6ee9aafdd685cd902d
[]
no_license
uahmad565/University-Management-System-Object-Oriented-Programming-
d7b46178a07d0cb31693f93bc45395b38a621405
d8073b0ebdfd8d91489485def926fc045420a5cb
refs/heads/main
2023-06-18T05:24:13.686267
2021-07-16T07:32:40
2021-07-16T07:32:40
386,526,343
0
0
null
null
null
null
UTF-8
C++
false
false
92
h
IdGenerator.h
#pragma once class IdGenerator { private: int next = 0; public: int getNextId(); };
f9106745b8bd1357642e56d629a7b8fce79a68dc
4be6611431e4ff6d53ad00df164646c7bce1c6b2
/nowcoder/Wannafly挑战赛6/B-比赛/main.cpp
f608262eb8db6df3cbf30a093daec6d866cad822
[]
no_license
cheerconi/online-judge
98d0a8353cf80ade292cf8edfba3d02474a80b67
46cc0f35f2f66aac520557c511484393cf16888b
refs/heads/master
2022-09-22T13:24:38.477277
2022-09-18T12:26:53
2022-09-18T12:26:53
97,737,698
3
0
null
null
null
null
UTF-8
C++
false
false
792
cpp
main.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; typedef long double LD; LD a[12], b[12], c[12], nums[12]; int main() { // freopen("test.txt", "r", stdin); for (int i = 0; i < 12; i++) cin >> a[i]; for (int i = 0; i < 12; i++) cin >> b[i]; for (int i = 0; i < 12; i++) cin >> c[i]; for (int i = 0; i < 12; i++) { nums[i] = 1 - (1 - a[i]) * (1 - b[i]) * (1 - c[i]); } vector<LD> dp(13, 0); dp[0] = 1; for (int i = 0; i < 12; i++) { vector<LD> tmp(13, 0); for (int j = 0; j < 12; j++) { tmp[j] += dp[j] * (1 - nums[i]); tmp[j+1] += dp[j] * nums[i]; } swap(tmp, dp); } for (int i = 0; i <= 12; i++) { printf("%.6Lf\n", dp[i]); } return 0; }
14f62612ee28b2441d1c887fc5a8e5c2ad0391ab
d49811ff011841c524f9ffef7ec82bb13d624097
/src/cpp/ga/ga.h
07b1181b071e4591dac2dff358c002d21a651d51
[ "MIT" ]
permissive
Aktyn/Genetic-Algorithm
e904d05dce86252fc6bdbcdac7ecca0bd182194e
c3ca1e1a51606f7b22266287e02a3021b6ac8430
refs/heads/master
2023-07-08T10:58:28.358713
2023-06-28T09:50:42
2023-06-28T09:50:42
177,880,125
3
0
MIT
2023-01-07T04:11:50
2019-03-26T22:49:09
C++
UTF-8
C++
false
false
1,499
h
ga.h
#ifndef GENETIC_ALGORITHM_HPP #define GENETIC_ALGORITHM_HPP #include "heap_population.h" //defines used in child classes #define DEFAULT_MUTATION_CHANCE 0.1f #define DEFAULT_MUTATION_SCALE 0.5f #define DEFAULT_DNA_SPLITS 20//2 #define DEFAULT_DNA_TWIST_CHANCE 0.5f #define DEFAULT_PARENT_FITNESS_SCALE 2.f #define DEFAULT_ELITISM 1 class GA : public HeapPopulation { private: struct Params { float mutation_chance; float mutation_scale; uint32 dna_splits; float dna_twist_chance; float parent_fitness_scale; uint32 elitism; }; uint32 generation; float best_score; //Individual* selection(HeapPopulation::Species& species) const; Individual* tournament_selection(HeapPopulation::Species& species, uint32 tournament_size, float selection_probability) const; void evolveSpecies(HeapPopulation::Species& species, uint32 tournament_size, float selection_probability); protected: Params params; virtual Individual* crossover(const Individual& parentA, const Individual& parentB) const = 0; virtual void mutate(Individual& child) const = 0; public: GA(float mutation_chance, float mutation_scale, uint32 dna_splits, float dna_twist_chance, float parent_fitness_scale, uint32 elitism); virtual ~GA(); void evolve(uint32 tournament_size, float selection_probability, uint32 max_species = 8, float split_species_probability = 0.2f, float merge_species_probability = 0.2f); uint32 getGeneration() const; float getBestScore() const; }; #endif
43036e5016be41d7efa8b37ddbda7496f0bcca7a
6ff636e5d12437d92f00184a9b2ba3ba1f4e5ad4
/1009.cpp
3fa6bf6883f4456396ec01c8141916763db71785
[]
no_license
HeathLee/Soj
a95b1ac7d7c483ec67031d67d456149e4a19cea2
5390417e404f74e3ccb917ee7aebd1b975933026
refs/heads/master
2021-01-10T17:47:33.699661
2015-11-17T04:22:48
2015-11-17T04:22:48
43,541,709
0
1
null
null
null
null
UTF-8
C++
false
false
1,146
cpp
1009.cpp
// // Created by heath on 15-10-2. // #include <iostream> #include <cmath> #include <vector> using namespace std; vector<long long> result; void get_prime(long long input) { long long upper = pow(input, 0.5); bool can_divided = false; for (int i = 2; i <= upper; ++i) { if (input % i == 0) { can_divided = true; get_prime(i); get_prime(input / i); break; } } if (!can_divided) { result.push_back(input); } } int main() { int prime_list[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61}; int k; cin >> k; for (int i = 0; i < 18 && prime_list[i] < k; ++i) { result.clear(); get_prime((long long) (pow(2, prime_list[i]) - 1)); if (result.size() > 1) { for (int j = 0; j < result.size() - 1; ++j) { cout << result[j] << " * "; } cout << result[result.size() - 1] << " = " << (long long) (pow(2, prime_list[i]) - 1) << " = ( 2 ^ " << prime_list[i] << " ) - 1" << endl; } } }
68a0d025727d5170a644f886bc2184da96933375
10602f705401b1b7365b9af3d579a95e11db37a7
/SimsTesting_03/SimsTesting_03/Brain.h
6c81c806c58ad83b2aa3898d6ef1200b8d5d136e
[]
no_license
conor-flynn/Evolution
85d4552788b2f7422aae7f57b241a95c32bad721
e01302852c2f4227241460b6c382c79ed3b7d103
refs/heads/master
2020-12-24T06:49:52.430892
2016-09-07T01:39:12
2016-09-07T01:39:12
58,673,100
1
0
null
null
null
null
UTF-8
C++
false
false
414
h
Brain.h
#ifndef BRAIN_H #define BRAIN_H #include "sources.h" #include "Neuron.h" #include "Axon.h" class Brain { public: Brain(); Brain(vector<int> info); //Brain(int inputs, int layers, int neuronsPer, int outputs); Brain(Brain* source); vector<float> processResults; vector<vector<Neuron*>> neurons; void process(vector<float> inputs); void fireNeuron(Neuron* neuron, int layer); void mutate(); }; #endif
3de42ad646f09fa33bb971129833c0b7c32b04eb
f4e1ca72f15f3ee1ff818c3d6657a54871800a78
/10226 Hardwood Species.cpp
553b7cbbf0b9f22d9e9a5fa993643356d2352e2b
[]
no_license
ZzzandyzzZ/Problemas-UVA
4d26fd372f8befff8ad12344d0a2d081c8e0c69f
bbcf0c711be7954ee054cf27e3771467a879ec34
refs/heads/master
2020-08-19T03:35:53.835473
2019-10-17T19:55:55
2019-10-17T19:55:55
215,872,450
0
0
null
null
null
null
UTF-8
C++
false
false
937
cpp
10226 Hardwood Species.cpp
#include <iostream> #include <string> #include <map> #include <cstdio> #include <iomanip> using namespace std; void mostrar(map<string,double> a,int total){ for(map<string,double>::const_iterator it = a.begin();it != a.end(); ++it){ printf("%s %.4lf\n", (*it).first.data(),(double) (*it).second / (double) total * 100.0); } } int main(){ int N,total; string aux; scanf("%d\n\n", &N); for(int i=0;i<N;i++){ map<string,double> m; total=0; while(getline(cin,aux)){ //cout<<"Case"<<endl; if(aux.size()==0){break;} total++; map<string,double>::iterator p = m.find(aux); if(p != m.end()){ m[aux]++; } else{ m[aux]=1; } //cout<<total<<endl; } mostrar(m,total); if(i!=N-1)cout<<endl; } }
fa793dcc5ff5777d0fa7aaad3a9460ca1fceaf3c
dff4adc719fd9a7392f52781792a3d32732e2065
/Simple Text RPG/Simple Text RPG/Warrior.h
6e68190a80ecdfc5907114f630d3a4d3b3a07f25
[]
no_license
Chipp93/Simple-Text-RPG
7ad8ffa10fa72247222f5c303e552b29df0b3aa6
e53c9f3d5c362af4c6cc1326ba8a558bd78786b9
refs/heads/master
2021-01-17T17:29:42.267773
2016-07-17T19:48:12
2016-07-17T19:48:12
63,549,471
0
0
null
null
null
null
UTF-8
C++
false
false
228
h
Warrior.h
#pragma once #include "Player.h" class Warrior : public Player { public: Warrior(); ~Warrior(); float getRage(); void setRage(float newRage); float getMaxRage(); void setMaxRage(float newMaxRage); };
48b5f9601b8b2654eb6134271d7debf1b09b9e2b
4faeb6aec30e88ea49662b193be2149fd1ad8ac4
/week3/nt591_hw3_q3.cpp
2ad441e469d9e633afb55b43a08c4ca217a3f162
[]
no_license
nt591/nyu-bridge-notes
a87671df83565d34d799907e826c70bc409e81fa
c6935836e38a9b263238f0527e03eb425adef334
refs/heads/master
2022-11-29T17:06:21.357992
2020-08-07T16:19:48
2020-08-07T16:19:48
278,675,536
1
0
null
null
null
null
UTF-8
C++
false
false
1,493
cpp
nt591_hw3_q3.cpp
/* * Name: Nikhil Thomas * NetID: nt591 * Problem: Homework 3 Question 3 * Compiled with: clang++ --std=c++14 */ #include <iostream> #include <cmath> using namespace std; int main() { double a, b, c; cout << "Please enter value of a: "; cin >> a; cout << "Please enter value of b: "; cin >> b; cout << "Please enter value of c: "; cin >> c; // if b^2 + 4ac is less than zero, no real solution // else if it is zero, we have one solution // else, two double discriminant = b * b -+ 4 * a * c; // validate possible solutions if (a == 0 && b == 0 && c == 0) { cout << "This equation has an infinite number of solutions" << endl; } else if (a == 0 && b == 0) { cout << "This equation has no solution" << endl; } else if (a == 0) { // not a quadratic but still has one root // aka 0x^2 + 4x + 8, x = -2 double root = (-1 * c) / b; cout << "This equation has a single real solution x=" << root << endl; } else if (discriminant < 0) { cout << "This equation has no real solution" << endl; } else if (discriminant == 0) { double root = -1 * b / (2 * a); cout << "This equation has a single real solution x=" << root << endl; } else { double discriminantRoot = sqrt(discriminant); double root1 = (-1 * b - discriminantRoot) / (2 * a); double root2 = (-1 * b + discriminantRoot) / (2 * a); cout << "This equation has two real solutions x=" << root1 << " and x=" << root2 << endl; } return 0; }
e24e8914a04ad2cf0274f5a0e238e852b23e7941
02d2343755b3172278bbe16de8e783459550e630
/arc035/b/main.cpp
f187209244488bb976727e77ead34d6f7277cc99
[]
no_license
naototazumi/AtCoder
415f2860f65caef7d30d26c4599339ddbe596213
ede6d13db5d92778237f3481b9cd313465f31047
refs/heads/master
2022-04-14T11:33:47.069504
2020-04-20T09:29:04
2020-04-20T09:29:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,062
cpp
main.cpp
#include<bits/stdc++.h> using namespace std; #define ll long long #define INF 99999999 #define INF_LL 1LL << 60 #define MOD (ll)1000000007 #define rep(i, n) for(int i = 0; i < (int)(n); i++) #define rrep(i, n) for(int i = (int)(n); i >= 0; i--) #define REP(i, a, n) for(int i = a; i < (int)(n); i++) #define RREP(i, a, n) for(int i = (int)(n); i >= a; i--) #define all(x) (x).begin(),(x).end() template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; } template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; } void put_double(double obj){printf("%.12f\n",obj);}; template < typename T > std::string to_string( const T& n ) { std::ostringstream stm ; stm << n ; return stm.str() ; } #define MAX 510000 long long fac[MAX], finv[MAX], inv[MAX]; // テーブルを作る前処理 void COMinit() { fac[0] = fac[1] = 1; finv[0] = finv[1] = 1; inv[1] = 1; for (int i = 2; i < MAX; i++) { fac[i] = fac[i - 1] * i % MOD; inv[i] = MOD - inv[MOD % i] * (MOD / i) % MOD; finv[i] = finv[i - 1] * inv[i] % MOD; } } // 二項係数計算 long long COM(int n, int k) { if (n < k) return 0; if (n < 0 || k < 0) return 0; return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD; } int main() { int N; cin >> N; COMinit(); vector<int> T(N); set<int> roop; multiset<int> key; rep(i,N) { cin >> T[i]; roop.insert(T[i]); key.insert(T[i]); } sort(all(T)); vector<ll> dp(N+1,0); rep(i,N) { chmax(dp[i+1], dp[i]+T[i]); } ll total = 0; rep(i,dp.size()) total += dp[i]; ll cnt = 1; for(set<int>::iterator itr = roop.begin(); itr != roop.end(); itr++) { cnt %= MOD; int roop_key = key.count(*itr); while( roop_key > 1 ) { cnt *= COM(roop_key, roop_key-1); roop_key--; cnt %= MOD; } } cout << total << endl; cout << cnt%MOD << endl; }
743fd4ccb5ee0e9820c13bd21af1675639d2463e
751a397a1e64d20ad2e669b67a5f05e036cf0b29
/MyGame/Asset/FrameWork/Component/Collision/Mesh/CollisionMesh.h
10020e1e1cedaf99c2841ec3485f2afc9bb988ac
[]
no_license
YanaseTaiho/LegendOfRabbit
d81e8775fcd08b36a988981b2ca4df49a19e87a1
76fc73c50ceedbcaa226e48e1bfa935c2aeb8b67
refs/heads/master
2020-12-19T20:33:13.542843
2020-03-08T21:18:54
2020-03-08T21:18:54
235,841,122
0
0
null
2020-02-21T22:25:17
2020-01-23T16:52:32
C++
UTF-8
C++
false
false
1,299
h
CollisionMesh.h
#ifndef _COLLISIONMESH_H_ #define _COLLISIONMESH_H_ #include "../Collision.h" #include "CollisionMeshInfo.h" namespace FrameWork { class CollisionMesh : public Collision { private: friend cereal::access; template <typename Archive> void save(Archive & archive) const { archive(cereal::make_nvp("Collision", cereal::base_class<Collision>(this))/*, CEREAL_NVP(meshInfo)*/); } template <typename Archive> void load(Archive & archive) { archive(cereal::make_nvp("Collision", cereal::base_class<Collision>(this))/*, CEREAL_NVP(meshInfo)*/); } void LoadSerialized(const std::shared_ptr<Component> & component) override; void DrawImGui(int id) override; public: CollisionMesh() {} CollisionMesh(bool isTrigger) : Collision("", isTrigger) {} ~CollisionMesh() {} std::weak_ptr<CollisionMeshInfo> meshInfo; private: void Awake() override; void Update() override; void Draw() override; bool CollisionJudge(Collision * other) override; bool vsCollisionSphere(CollisionSphere * other) override; bool vsCollisionCapsule(CollisionCapsule * other) override; bool vsCollisionBox(CollisionBox * other) override; bool vsCollisionMesh(CollisionMesh * other) override; }; } CEREAL_REGISTER_TYPE(FrameWork::CollisionMesh) #endif // !_COLLISIONMESH_H_
94893ea1e3d8e1eb6aca978e7cd3f0d07d98defd
511f58bc46be60a0215eb46335a783585701c07a
/gpa1.cpp
b19fb60279dafc2d19e69755e2fee75174efa3e5
[]
no_license
sagar-massand/spoj1
6ee6c7b93ba4873dd2a0b43c107f081a3fb69879
56ceac968afc318854ceec4c22267fa64d2c72a8
refs/heads/master
2016-09-06T09:41:04.540897
2013-11-29T12:38:20
2013-11-29T12:38:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,917
cpp
gpa1.cpp
#include<iostream> #include<stdio.h> #include<stdlib.h> #include<algorithm> #include<string> #include<math.h> #include<queue> #include<vector> #include<stack> #include<set> #include<time.h> using namespace std; #define FOR(i,n) for(i=0;i<n;i++) #define pi(n) printf("%d\n",n); #define pl(n) printf("%lld\n",n); #define ps(c) printf("%s\n",c); #define pf(n) printf("%lf\n",n); #define si(n) scanf("%d",&n); #define sl(n) scanf("%lld",&n); #define ss(n) scanf("%s",n); #define sf(n) scanf("%lf",&n); #define sc(n) scanf(" %c",&n); #define mod 1000000007 #define FORi(i,a,b) for(i=a;i<b;i++) void swap1(double *assess,long long a,long long b) { double temp; temp=assess[a]; assess[a]=assess[b]; assess[b]=temp; } double find_marks(double *assess,double final,double attend) { double assess_marks,final_marks,attend_marks,marks; if(assess[0]<assess[1]) { swap1(assess,0,1); } if(assess[1]<assess[2]) { swap1(assess,1,2); } assess_marks=(1.125*(assess[0]+assess[1])); // printf("Assess marks are %lf\n",assess_marks); final_marks=(0.5*final); // printf("Final marks are %lf\n",final_marks); if(attend<51) attend_marks=5; else if(attend<61) attend_marks=4; else if(attend<71) attend_marks=3; else if(attend<81) attend_marks=2; else if(attend<91) attend_marks=1; else attend_marks=0; // printf("Attend marks are %lf\n",attend_marks); marks=attend_marks+final_marks+assess_marks; return marks; } long long find_grade(double marks) { if(marks>=91) return 10; else if(marks>=81) return 9; else if(marks>=71) return 8; else if(marks>=61) return 7; else if(marks>50.000001) return 6; else if((marks<=50.000001)&&(marks>=49.999999)) return 5; else return 0; } double find_gpa(double *grade,double *credit) { int i; long long total_credits=0; double gpa=0; FOR(i,6) { gpa+=(credit[i]*grade[i]); total_credits+=credit[i]; } gpa/=((double)total_credits); return gpa; } int main() { double credit[6],assess[3],final,attend,grade[6]; double marks,a,b,c,gpa; long long t,i,j,k,fail,temp; char ch; sl(t) FOR(i,t) { fail=0; FOR(j,6) { sf(credit[j]) } FOR(j,6) { sc(ch) if((ch>='0')&&(ch<='9')) { ungetc(ch,stdin); sf(assess[0]) } else { sc(ch) assess[0]=0; } sc(ch) if((ch>='0')&&(ch<='9')) { ungetc(ch,stdin); sf(assess[1]) } else { sc(ch) assess[1]=0; } // assess[1]=0; sc(ch) if((ch>='0')&&(ch<='9')) { ungetc(ch,stdin); sf(assess[2]) } else { sc(ch) assess[2]=0; } // assess[2]=0; sf(final) sf(attend) marks=find_marks(assess,final,attend); // pf(marks) temp=find_grade(marks); // pl(temp) if(temp==0) fail=1; grade[j]=(double)temp; } if(fail==0) printf("PASSED, "); else printf("FAILED, "); gpa=find_gpa(grade,credit); printf("%.2lf\n",gpa); } return 0; }
2a178cbf4cd1a02456af40ba2cfd4c180d60598f
c5b583438a0219a74c271237f24a3bad18bc2519
/problems/poj1417.cpp
e9a22962513f7670b141dfac63df05c12aa0ed06
[]
no_license
gaodechen/OI_History
7b857cda868b5881735431a41de6fb42ea68b19f
5abf087de374cd9866ec7b6902f3a2bae870bdd9
refs/heads/master
2022-04-22T19:27:15.534325
2020-04-23T16:36:33
2020-04-23T16:36:33
258,250,958
0
0
null
null
null
null
UTF-8
C++
false
false
2,612
cpp
poj1417.cpp
#include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 6e2 + 5; bool ans[N][2]; int c, n, p1, p2, ind; short d[N][N], pre[N], tmp[N][N], cnt[N][2], mark[N], rank[N]; int Find( int u ) { if( u != pre[u] ) { int t = pre[u]; pre[u] = Find( t ); rank[u] ^= rank[t]; } return pre[u]; } int main() { while( scanf( "%d%d%d", &c, &p1, &p2 ) == 3 ) { if( c == 0 && p1 == 0 && p2 == 0 ) break ; n = p1 + p2, ind = 0; memset( d, 0, sizeof( d ) ); memset( cnt, 0, sizeof( cnt ) ); memset( ans, 0, sizeof( ans ) ); memset( tmp, 0, sizeof( tmp ) ); memset( mark, 0, sizeof( mark ) ); memset( rank, 0, sizeof( rank ) ); for( int i = 1; i <= n; i ++ ) pre[i] = i; for( int i = 0; i < c; i ++ ) { int a, b; char buf[3]; scanf( "%d%d%s", &a, &b, buf ); int u = Find( a ); int v = Find( b ); if( u == v ) continue ; pre[v] = u; rank[v] = rank[a] ^ rank[b]; if( buf[0] == 'n' ) rank[v] ^= 1; } for( int i = 1; i <= n; i ++ ) if( Find( i ) == i ) mark[i] = ++ ind; for( int i = 1; i <= n; i ++ ) { mark[i] = mark[pre[i]]; cnt[mark[i]][rank[i]] ++; } d[0][0] = 1; for( int i = 1; i <= ind; i ++ ) { for( int j = 0; j <= n; j ++ ) { if( j - cnt[i][0] >= 0 && d[i-1][j-cnt[i][0]] > 0 ) { d[i][j] += d[i-1][j-cnt[i][0]]; tmp[i][j] = cnt[i][0]; } if( j - cnt[i][1] >= 0 && d[i-1][j-cnt[i][1]] > 0 ) { d[i][j] += d[i-1][j-cnt[i][1]]; tmp[i][j] = cnt[i][1]; } if( d[i][j] > 2 ) d[i][j] = 2; } } if( d[ind][p1] != 1 ) { printf( "no\n" ); continue ; } for( int i = ind, j = p1; i > 0 && j > 0; i -- ) { if( cnt[i][0] == tmp[i][j] ) ans[i][0] = 1; else ans[i][1] = 1; j -= tmp[i][j]; } for( int i = 1; i <= n; i ++ ) if( ans[mark[i]][rank[i]] ) printf( "%d\n", i ); printf( "end\n" ); } return 0; }
d6245cd21e53ae141da23b067adf82dc30ac2a22
c5a2d2c6044cd41fcb0a4da261142c7ec805a5dc
/test/boost_ext/TupleComparison.hpp
e09d89d4d3f868c7d92cbffb6d64a9606a537a66
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
arborx/ArborX
008cca7c559b7ebb17355e8144d60ac5ce78269d
1c6bf64e419177e4934daf26bf640c96e05ceb91
refs/heads/master
2023-08-30T03:08:07.511532
2023-08-30T03:05:50
2023-08-30T03:05:50
180,446,569
142
29
BSD-3-Clause
2023-09-11T20:58:41
2019-04-09T20:44:44
C++
UTF-8
C++
false
false
1,923
hpp
TupleComparison.hpp
/**************************************************************************** * Copyright (c) 2017-2022 by the ArborX authors * * All rights reserved. * * * * This file is part of the ArborX library. ArborX is * * distributed under a BSD 3-clause license. For the licensing terms see * * the LICENSE file in the top-level directory. * * * * SPDX-License-Identifier: BSD-3-Clause * ****************************************************************************/ #ifndef ARBORX_BOOST_TEST_TUPLE_COMPARISON_HPP #define ARBORX_BOOST_TEST_TUPLE_COMPARISON_HPP #include <boost/test/tools/detail/print_helper.hpp> #include <iostream> #include <tuple> // Enable comparison of tuples namespace boost { namespace test_tools { namespace tt_detail { namespace cppreference { // helper function to print a tuple of any size // adapted from https://en.cppreference.com/w/cpp/utility/tuple/tuple_cat template <class Tuple, std::size_t N> struct TuplePrinter { static void print(std::ostream &os, Tuple const &t) { TuplePrinter<Tuple, N - 1>::print(os, t); os << ", " << std::get<N - 1>(t); } }; template <class Tuple> struct TuplePrinter<Tuple, 1> { static void print(std::ostream &os, Tuple const &t) { os << std::get<0>(t); } }; } // namespace cppreference template <typename... Args> struct print_log_value<std::tuple<Args...>> { void operator()(std::ostream &os, std::tuple<Args...> const &t) { os << '('; cppreference::TuplePrinter<decltype(t), sizeof...(Args)>::print(os, t); os << ')'; } }; } // namespace tt_detail } // namespace test_tools } // namespace boost #endif
49f57a606bc0e9e7f72a826d294bfa79c61231c2
09d1138225f295ec2e5f3e700b44acedcf73f383
/Remoting/ClientServerStream/vtkClientServerInterpreter.h
d5d92151d93f1962cb379af3eea28fd969af1859
[ "BSD-3-Clause" ]
permissive
nagyist/ParaView
e86d1ed88a805aecb13f707684103e43d5f6b09f
6810d701c44b2097baace5ad2c05f81c6d0fd310
refs/heads/master
2023-09-04T07:34:57.251637
2023-09-03T00:34:36
2023-09-03T00:34:57
85,244,343
0
0
BSD-3-Clause
2023-09-11T15:57:25
2017-03-16T21:44:59
C++
UTF-8
C++
false
false
6,499
h
vtkClientServerInterpreter.h
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc. // SPDX-License-Identifier: BSD-3-Clause /** * @class vtkClientServerInterpreter * @brief Run-time VTK interpreter. * * vtkClientServerInterpreter will process messages stored in a * vtkClientServerStream. This allows run-time creation and execution * of VTK programs. */ #ifndef vtkClientServerInterpreter_h #define vtkClientServerInterpreter_h #include "vtkObject.h" #include "vtkClientServerID.h" // Needed for vtkClientServerID. class vtkClientServerInterpreter; class vtkClientServerInterpreterInternals; class vtkClientServerStream; /** * The type of a command function. One such function is generated per * class wrapped. It knows how to call the methods for that class at * run-time. */ typedef int (*vtkClientServerCommandFunction)(vtkClientServerInterpreter*, vtkObjectBase* ptr, const char* method, const vtkClientServerStream& msg, vtkClientServerStream& result, void* ctx); /** * The type of a new-instance function. */ typedef vtkObjectBase* (*vtkClientServerNewInstanceFunction)(void* ctx); typedef void (*vtkContextFreeFunction)(void* ctx); /** * A pointer to this struct is sent as call data when an ErrorEvent is * invoked by the interpreter. */ struct vtkClientServerInterpreterErrorCallbackInfo { // The stream containing the message causing the error. const vtkClientServerStream* css; // The message index with in the stream that caused the error. int message; }; class VTKREMOTINGCLIENTSERVERSTREAM_EXPORT vtkClientServerInterpreter : public vtkObject { public: static vtkClientServerInterpreter* New(); vtkTypeMacro(vtkClientServerInterpreter, vtkObject); void PrintSelf(ostream& os, vtkIndent indent) override; vtkClientServerInterpreter(const vtkClientServerInterpreter&) = delete; vtkClientServerInterpreter& operator=(const vtkClientServerInterpreter&) = delete; ///@{ /** * Process all messages in a given vtkClientServerStream. Return 1 * if all messages succeeded, and 0 otherwise. */ int ProcessStream(const unsigned char* msg, size_t msgLength); int ProcessStream(const vtkClientServerStream& css); ///@} /** * Process the message with the given index in the given stream. * Returns 1 for success, 0 for failure. */ int ProcessOneMessage(const vtkClientServerStream& css, int message); /** * Get the message for an ID. ID 0 always returns a nullptr message. */ const vtkClientServerStream* GetMessageFromID(vtkClientServerID id); /** * Get the last result message. */ const vtkClientServerStream& GetLastResult() const; /** * Return a pointer to a vtkObjectBase for an ID whose message * contains only the one object. */ vtkObjectBase* GetObjectFromID(vtkClientServerID id) { return this->GetObjectFromID(id, 0); } vtkObjectBase* GetObjectFromID(vtkClientServerID id, int noerror); /** * Return an ID given a pointer to a vtkObjectBase (or 0 if object * is not found) */ vtkClientServerID GetIDFromObject(vtkObjectBase* key); ///@{ /** * Get/Set a stream to which an execution log is written. */ void SetLogFile(const char* name); virtual void SetLogStream(ostream* ostr); vtkGetMacro(LogStream, ostream*); ///@} /** * Called by generated code to register a new class instance. Do * not call directly. */ int NewInstance(vtkObjectBase* obj, vtkClientServerID id); /** * Creates a new instance for the class specified using the interpreter. */ VTK_NEWINSTANCE vtkObjectBase* NewInstance(const char* classname); /** * Called by generated code to add an observer to a wrapped object. * Do not call directly. */ int NewObserver(vtkObject* obj, const char* event, const vtkClientServerStream& css); /** * Add a command function for a class. */ void AddCommandFunction(const char* cname, vtkClientServerCommandFunction func, void* ctx = nullptr, vtkContextFreeFunction ctx_free = nullptr); /** * Return true if the classname has a command function, false otherwise. */ bool HasCommandFunction(const char* cname); /** * Call a command function. */ int CallCommandFunction(const char* classname, vtkObjectBase* ptr, const char* method, const vtkClientServerStream& msg, vtkClientServerStream& result); /** * Add a function used to create new objects. */ void AddNewInstanceFunction(const char* cname, vtkClientServerNewInstanceFunction f, void* ctx = nullptr, vtkContextFreeFunction ctx_free = nullptr); ///@{ /** * The callback data structure passed to observers looking for VTK * object creation and deletion events. */ struct NewCallbackInfo { const char* Type; unsigned long ID; }; ///@} /** * Resets the LastResult stream. */ void ClearLastResult(); ///@{ /** * Dynamically load a wrapper module into the interpreter. Returns * 1 for success and 0 for failure. */ int Load(const char* moduleName); int Load(const char* moduleName, const char* const* optionalPaths); ///@} /** * Return the next available Id that can be used to create a new object. * This only work if all class that created object into the interpretor have * used this method. Basically it is just a counter available with the * interpreter instance. */ vtkClientServerID GetNextAvailableId(); protected: // constructor and destructor vtkClientServerInterpreter(); ~vtkClientServerInterpreter() override; // A stream to which a log is written. ostream* LogStream; ostream* LogFileStream; // Internal message processing functions. int ProcessCommandNew(const vtkClientServerStream& css, int midx); int ProcessCommandInvoke(const vtkClientServerStream& css, int midx); int ProcessCommandDelete(const vtkClientServerStream& css, int midx); int ProcessCommandAssign(const vtkClientServerStream& css, int midx); // Expand all the id_value arguments of a message starting with the // given argument index. int ExpandMessage( const vtkClientServerStream& in, int inIndex, int startArgument, vtkClientServerStream& out); // Load a module dynamically given the full path to it. int LoadInternal(const char* moduleName, const char* fullPath); private: // Message containing the result of the last command. vtkClientServerStream* LastResultMessage; // Internal implementation details. vtkClientServerInterpreterInternals* Internal; int NextAvailableId; }; #endif
e5d9c383e51b04901fd046f974e859893e5efb95
a5f3b0001cdb692aeffc444a16f79a0c4422b9d0
/main/autodoc/source/parser_i/idl/pe_selem.cxx
bc00d78a4187ea0858da1bf587cbddce91eb751b
[ "Apache-2.0", "CPL-1.0", "bzip2-1.0.6", "LicenseRef-scancode-other-permissive", "Zlib", "LZMA-exception", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-philippe-de-muyter", "OFL-1.1", "LGPL-2.1-only", "MPL-1.1", "X11", "LGPL-2.1-or-later", "GPL-2.0-only", "OpenSSL", "LicenseRef-scancode-cpl-0.5", "GPL-1.0-or-later", "NPL-1.1", "MIT", "MPL-2.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "MPL-1.0", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "BSL-1.0", "LicenseRef-scancode-docbook", "LicenseRef-scancode-mit-old-style", "Python-2.0", "BSD-3-Clause", "IJG", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-or-later", "LGPL-2.0-only", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown", "BSD-2-Clause", "Autoconf-exception-generic", "PSF-2.0", "NTP", "LicenseRef-scancode-python-cwi", "Afmparse", "W3C", "W3C-19980720", "curl", "LicenseRef-scancode-x11-xconsortium-veillard", "Bitstream-Vera", "HPND-sell-variant", "ICU" ]
permissive
apache/openoffice
b9518e36d784898c6c2ea3ebd44458a5e47825bb
681286523c50f34f13f05f7b87ce0c70e28295de
refs/heads/trunk
2023-08-30T15:25:48.357535
2023-08-28T19:50:26
2023-08-28T19:50:26
14,357,669
907
379
Apache-2.0
2023-08-16T20:49:37
2013-11-13T08:00:13
C++
UTF-8
C++
false
false
4,701
cxx
pe_selem.cxx
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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 <precomp.h> #include <s2_luidl/pe_selem.hxx> // NOT FULLY DECLARED SERVICES #include <ary/idl/i_gate.hxx> #include <ary/idl/i_struct.hxx> #include <ary/idl/i_structelem.hxx> #include <ary/idl/ip_ce.hxx> #include <ary/doc/d_oldidldocu.hxx> #include <s2_luidl/pe_type2.hxx> #include <s2_luidl/tk_ident.hxx> #include <s2_luidl/tk_punct.hxx> namespace csi { namespace uidl { namespace { const String C_sNone; } PE_StructElement::PE_StructElement( RStructElement & o_rResult, const RStruct & i_rCurStruct, const String & i_rCurStructTemplateParam ) : eState(e_none), pResult(&o_rResult), pCurStruct(&i_rCurStruct), bIsExceptionElement(false), pPE_Type(0), nType(0), sName(), pCurStructTemplateParam(&i_rCurStructTemplateParam) { pPE_Type = new PE_Type(nType); } PE_StructElement::PE_StructElement( RStructElement & o_rResult, const RStruct & i_rCurExc ) : eState(e_none), pResult(&o_rResult), pCurStruct(&i_rCurExc), bIsExceptionElement(true), pPE_Type(0), nType(0), sName(), pCurStructTemplateParam(&C_sNone) { pPE_Type = new PE_Type(nType); } void PE_StructElement::EstablishContacts( UnoIDL_PE * io_pParentPE, ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ) { UnoIDL_PE::EstablishContacts(io_pParentPE,io_rRepository,o_rResult); pPE_Type->EstablishContacts(this,io_rRepository,o_rResult); } PE_StructElement::~PE_StructElement() { } void PE_StructElement::ProcessToken( const Token & i_rToken ) { i_rToken.Trigger(*this); } void PE_StructElement::Process_Default() { if (eState == expect_type) { SetResult( not_done, push_sure, pPE_Type.Ptr() ); eState = expect_name; } else { csv_assert(false); } } void PE_StructElement::Process_Identifier( const TokIdentifier & i_rToken ) { csv_assert(*i_rToken.Text() != 0); if (eState == expect_type) { if ( *pCurStructTemplateParam == i_rToken.Text() ) { nType = lhf_FindTemplateParamType(); SetResult( done, stay ); eState = expect_name; } else // No template parameter type existing, or not matching: { SetResult( not_done, push_sure, pPE_Type.Ptr() ); eState = expect_name; } } else if (eState == expect_name) { sName = i_rToken.Text(); SetResult( done, stay ); eState = expect_finish; } else { csv_assert(false); } } void PE_StructElement::Process_Punctuation( const TokPunctuation &) { csv_assert(eState == expect_finish); SetResult( done, pop_success ); } void PE_StructElement::InitData() { eState = expect_type; nType = 0; sName = ""; } void PE_StructElement::TransferData() { csv_assert(pResult != 0 AND pCurStruct != 0); ary::idl::StructElement * pCe = 0; if (bIsExceptionElement) { pCe = & Gate().Ces().Store_ExceptionMember( *pCurStruct, sName, nType ); } else { pCe = & Gate().Ces().Store_StructMember( *pCurStruct, sName, nType ); } *pResult = pCe->CeId(); PassDocuAt(*pCe); eState = e_none; } UnoIDL_PE & PE_StructElement::MyPE() { return *this; } ary::idl::Type_id PE_StructElement::lhf_FindTemplateParamType() const { const ary::idl::CodeEntity & rCe = Gate().Ces().Find_Ce(*pCurStruct); const ary::idl::Struct & rStruct = static_cast< const ary::idl::Struct& >(rCe); return rStruct.TemplateParameterType(); } } // namespace uidl } // namespace csi
400d62113b6c088501195f40e96be1c7b9173960
6fbe2fc9b3455cb1c1c74badfa6e2afb9d859fde
/src/ca-sandbox/files-loaded-state.cpp
27a53351cddb8041023326adaa06aeffe7fb47c7
[]
no_license
olls/ca-sandbox
62001f2be9ef3afcaa6b95f8a3442939c59f8796
b5f68c4da383a25e0547e0e9651f84010448e70e
refs/heads/master
2018-12-09T09:57:07.917611
2018-08-27T19:44:55
2018-08-27T19:44:55
107,127,066
0
0
null
null
null
null
UTF-8
C++
false
false
1,053
cpp
files-loaded-state.cpp
#include "ca-sandbox/files-loaded-state.h" #include "engine/my-array.h" #include "engine/text.h" void flag_load_rule_file(FilesLoadedState *files_loaded_state) { files_loaded_state->load_rule_file = true; } void flag_load_cells_file(FilesLoadedState *files_loaded_state) { if (!files_loaded_state->rule_file_loaded) { files_loaded_state->error |= true; append_string(files_loaded_state->errors, new_string("Error: Cannot load cells file without having a rule file loaded first.\n")); } else { files_loaded_state->load_cells_file = true; } } void flag_unload_rule_file(FilesLoadedState *files_loaded_state) { if (files_loaded_state->cells_file_loaded) { files_loaded_state->error |= true; append_string(files_loaded_state->errors, new_string("Error: Cannot unload rule file, whilst cells file is currently loaded.\n")); } else { files_loaded_state->unload_rule_file = true; } } void flag_unload_cells_file(FilesLoadedState *files_loaded_state) { files_loaded_state->unload_cells_file = true; }
eaa90742f109fa614716b3bf0488448703e4acf5
690eaa702126003f1548501b348963b956409648
/Lesson4/Lesson4_V3/Lesson4_V3.ino
a78fd3beceba0f9738da550b5059fe16b70ea8f1
[]
no_license
BrandedNomad/ArduinoEducation
58e9bcd94ee421972c28f8cacf9b3264c67cc5ff
f3e8db8b921de29db6bf92256dc5f9bf268c7815
refs/heads/master
2023-02-03T22:54:50.638269
2020-12-15T07:46:29
2020-12-15T07:46:29
320,188,504
0
0
null
null
null
null
UTF-8
C++
false
false
1,032
ino
Lesson4_V3.ino
int readValue = 0; int writeValue = 0; void setup() { // put your setup code here, to run once: pinMode(11,OUTPUT); pinMode(10,OUTPUT); pinMode(9,OUTPUT); Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: readValue = analogRead(A0); writeValue = readValue/4; if(readValue <= 340){ analogWrite(11,writeValue); digitalWrite(10,LOW); digitalWrite(9,LOW); }else if(readValue > 340 && readValue <= 680){ analogWrite(11,writeValue); analogWrite(10,writeValue); digitalWrite(9,LOW); }else if(readValue > 680 && readValue <=1022){ analogWrite(11,writeValue); analogWrite(10,writeValue); analogWrite(9,writeValue); }else if(readValue > 1022){ digitalWrite(11,HIGH); digitalWrite(10,HIGH); digitalWrite(9,HIGH); delay(250); digitalWrite(11,LOW); digitalWrite(10,LOW); digitalWrite(9,LOW); delay(250); } Serial.print(readValue); Serial.print(" : "); Serial.println(writeValue); delay(100); }
beab1d5f6cd3d0f1b30293abc74b3b30525a7f83
29e991d810726db111e426545d48dcff0bb8f911
/Lab 4/Utils.h
065d76251074cb6bf05756b02585a70d60eb344a
[]
no_license
ZachMassia/GAME303
1ec83fc2547c7f3ed0566dc506ba18efdb54ef91
85c7d6598d07943e6ddc0ee4d468e110648fb74e
refs/heads/master
2020-04-17T21:47:38.261854
2013-11-11T17:06:48
2013-11-11T17:06:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
467
h
Utils.h
#pragma once #include <string> #pragma region Forward Declerations namespace Ogre { class Vector3; class Radian; class Ray; } #pragma region namespace Lab4 { class Utils { private: Utils() {} public: static void clampVector(Ogre::Vector3& v, const Ogre::Vector3& min, const Ogre::Vector3& max); static Ogre::Vector3 yawPitchToDirVect(Ogre::Radian pitch, Ogre::Radian yaw); static const std::string rayToStr(const Ogre::Ray& ray); }; } // namespace Lab4
1538e1a7232e52eac9e1eed7a6f07172d677a6c9
ff3b513ffe0925bba25cf0af4c62ea846388339b
/VereEngine/GameDirectionalLight.h
ca707f267d55554927e1f3204c2365a37d2a7e52
[ "Zlib", "MIT" ]
permissive
VereWolf/VereEngine
9b311796fbd2c4919040c8ce93a1272a42713e80
6b5453554cef1ef5d5dbf58206806198a3beec35
refs/heads/master
2021-07-18T13:32:31.815101
2017-12-24T21:15:08
2017-12-24T21:15:08
94,897,016
4
1
null
2017-11-22T13:09:45
2017-06-20T13:55:34
C++
UTF-8
C++
false
false
482
h
GameDirectionalLight.h
#pragma once #include "pch.h" class GameDirectionalLight : public GameBaseObject { public: GameDirectionalLight() {} ~GameDirectionalLight() { ReleaseDirectionalLight(); } void SetDirectionalLight(DirectionalLight *L) { m_gameDirectionalLight = L; } DirectionalLight* GetDirectionalLight() { return m_gameDirectionalLight; } inline void ReleaseDirectionalLight() { SafeDelete(m_gameDirectionalLight); } private: DirectionalLight *m_gameDirectionalLight; };
346e7632d82311362752e89dbc93379efe514f12
245132e6f263334312b633dc239710b24e0a7aae
/nvmain/Decoders/BufferDecoder/BufferDecoder.cpp
7caf3b4def9f72144c10a1c16646a09ba7fa53bc
[]
no_license
xiaoyuanW/hybrid-main-memory
82daf5f7a24155e3b7bbc70999203f74fcf39c87
9ab911cc8d56e55398e746a4c8c060c9e8b10165
refs/heads/master
2021-01-10T01:19:30.210631
2016-01-05T02:51:33
2016-01-05T02:51:33
48,995,590
1
0
null
null
null
null
UTF-8
C++
false
false
1,182
cpp
BufferDecoder.cpp
/** * created on 2015/5/29 **/ #include "Decoders/BufferDecoder/BufferDecoder.h" using namespace NVM; BufferDecoder::BufferDecoder() { addr_width = 0; addr_mask = 0; max_addr = 0; } BufferDecoder::~BufferDecoder() { } void BufferDecoder::Translate(uint64_t address, uint64_t *row, uint64_t *col, uint64_t *bank,uint64_t *rank, uint64_t *channel, uint64_t *subarray ) { if( max_addr || addr_mask ) { //access cache address &= addr_mask; AddressTranslator::Translate( address , row , col , bank, rank , channel , subarray); } else NVM::Fatal("must set memory bit width first!"); } uint64_t BufferDecoder::ReverseTranslate( const uint64_t& row, const uint64_t& col,const uint64_t& bank, const uint64_t& rank, const uint64_t& channel, const uint64_t& subarray ) { uint64_t tmp_pa = AddressTranslator::ReverseTranslate( row , col , bank , rank , channel , subarray ); return tmp_pa | ( 1<< addr_width ); } void BufferDecoder::SetAddrWidth(uint64_t width) { addr_width = width ; max_addr = static_cast<uint64_t>(1<<width); addr_mask = max_addr - 1 ; } void BufferDecoder::SetAddrMask( uint64_t addr_mask) { this->addr_mask = addr_mask; }
64b18dd5fbc65a68fe1f2b07a2bf1318c5b2204b
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2751486_0/C++/Niak/A.cpp
0bc095e93e2efe8b2e5f244eb0fc7ca3b240e82f
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
740
cpp
A.cpp
#include <iostream> using namespace std; #define LMAX 1000001 #define ISVOY(C) ((C)=='a' || (C)=='e' || (C)=='i' || (C)=='o' || (C)=='u') typedef int ent; ent maxfrom[LMAX]; string mot; ent cpt; ent maxuntil; int main() { int T,n; cin >> T; for (int t=1; t<=T; ++t) { cin >> mot >> n; maxuntil = 0; cpt = 0; for (int p=0; p<(int)mot.size(); ++p) { if (ISVOY(mot[p])) maxuntil = 0; else maxuntil += 1; if (maxuntil>0) maxfrom[p] = 1; else maxfrom[p] = 0; if (maxfrom[p]>=n) cpt += 1; for (int p0=0; p0<p; ++p0) { maxfrom[p0] = max(maxfrom[p0],min(p-p0+1,maxuntil)); if (maxfrom[p0]>=n) cpt += 1; } } cout << "Case #" << t << ": " << cpt << endl; } return 0; }
3b787bc7225529f6ecbcd9fde1f2e7d779977970
b6ae8438870e1f3c85825f8c60fb58d0da7daff6
/CubZHoloLensClient/3D/Objects/Mesh/2DFormes/ColoredRectangle.cpp
3c6f27d81424a7d30f7b85b83f4903035bb01315
[ "MIT" ]
permissive
Oxydros/CubZHoloLensClient
3d138c17258e4741dd43e7b811664b76403f4cc4
badb069dd38c0cdef169b49eaf6412ceda6e34c1
refs/heads/master
2020-04-29T11:38:24.279041
2019-03-17T13:50:52
2019-03-17T13:50:52
176,105,890
0
0
null
2019-03-17T13:43:05
2019-03-17T13:34:45
C++
UTF-8
C++
false
false
2,208
cpp
ColoredRectangle.cpp
#include "pch.h" #include "3D\Scene\HolographicScene.h" #include "3D\Utility\DirectXHelper.h" #include "3D\Objects\Mesh\2DFormes\ColoredRectangle.h" using namespace HoloLensClient; using namespace DirectX; using namespace Windows::Foundation::Numerics; ColoredRectangle::ColoredRectangle(std::shared_ptr<DX::DeviceResources> devicesResources, Windows::Foundation::Numerics::float2 size, Windows::Foundation::Numerics::float4 color) : ColoredObject(devicesResources), _size(size) { SetColor(color); /*SetPosition({ 0.0f, 0.0f, -2.0f });*/ } ColoredRectangle::~ColoredRectangle() { } void ColoredRectangle::CreateMesh() { float halfWidth = _size.x * 0.5f; float halfHeight = _size.y * 0.5f; _boundingBox = BoundingOrientedBox(XMFLOAT3(0.0f, 0.0f, 0.0f), XMFLOAT3(halfWidth, halfHeight, 0.001f), XMFLOAT4(0.0f, 0.0f, 0.0f, 1.0f)); // Load mesh vertices. Each vertex has a position and a texture UV. const std::array<VertexPosition, 4> rectangleVertices = { { { XMFLOAT3(-halfWidth, -halfHeight, 0.0f) }, // 0 (1) { XMFLOAT3(-halfWidth, halfHeight, 0.0f) }, // 1 (3) { XMFLOAT3(halfWidth, -halfHeight, 0.0f) }, // 2 (5) { XMFLOAT3(halfWidth, halfHeight, 0.0f) }, // 3 (7) } }; D3D11_SUBRESOURCE_DATA vertexBufferData = { 0 }; vertexBufferData.pSysMem = rectangleVertices.data(); vertexBufferData.SysMemPitch = 0; vertexBufferData.SysMemSlicePitch = 0; const CD3D11_BUFFER_DESC vertexBufferDesc(sizeof(VertexPosition) * static_cast<UINT>(rectangleVertices.size()), D3D11_BIND_VERTEX_BUFFER); DX::ThrowIfFailed( _deviceResources->GetD3DDevice()->CreateBuffer( &vertexBufferDesc, &vertexBufferData, &_vertexBuffer ) ); static constexpr unsigned short rectangleIndices[] = { 0,1,3, 0,3,2, }; _indexCount = ARRAYSIZE(rectangleIndices); D3D11_SUBRESOURCE_DATA indexBufferData = { 0 }; indexBufferData.pSysMem = rectangleIndices; indexBufferData.SysMemPitch = 0; indexBufferData.SysMemSlicePitch = 0; CD3D11_BUFFER_DESC indexBufferDesc(sizeof(rectangleIndices), D3D11_BIND_INDEX_BUFFER); DX::ThrowIfFailed( _deviceResources->GetD3DDevice()->CreateBuffer( &indexBufferDesc, &indexBufferData, &_indexBuffer ) ); }
9dc489f1285157a0bd1ae830a39cb565dc0dad47
fd9589bbf8b31bffce62be5d7da4cb3f10352f25
/Sandbox/threadTest/main.cpp
dab838d23d2dce5041d7070db08a6685fdd6674e
[]
no_license
IvanBogdanyuk/RoboCP
c0d6aa753312a0eced5e93638ca5c8a1b8be6c5a
71b46c7d1e3abe40ba98f4687c3a2a72d2b474e4
refs/heads/master
2016-08-12T21:04:37.193941
2016-03-18T13:52:39
2016-03-18T13:52:39
8,507,023
1
9
null
2016-03-18T13:53:08
2013-03-01T17:57:50
C
UTF-8
C++
false
false
569
cpp
main.cpp
#include <iostream> #include <vector> #include "jbuffer_test.h" #include "JoysticThreads.h" #include <QtCore\qthread.h> #include <SDL.h> #include <QtCore/QDebug> #undef main using namespace std; int main() { RealJoystick* joystick = new RealJoystick(); JoystickBuffer* buffer = new JoystickBuffer(); MockRobotLinker* link = new MockRobotLinker(); JoystickThread* jthread = new JoystickThread(joystick, buffer); RobotLinkThread* rthread = new RobotLinkThread(buffer, link); jthread->start(); rthread->start(); int i; std::cin >> i; return 0; }
f60c75161030785c34b562e6df5128e07bd6ee51
4610baf9a7e81cad6e52fe49289a5f234861732b
/libraries/display/src/display.cpp
82e4fbded3d93f612656206d4e60720840ab854f
[]
no_license
kuasha/stanley
07f924f6ff61413f5baabd5b6605d4289e93c68d
b6b6d3a9efd4611258b2a6337ef25007f406bd80
refs/heads/master
2021-01-19T00:57:09.752337
2016-08-15T02:36:18
2016-08-15T02:36:18
65,698,509
6
0
null
null
null
null
UTF-8
C++
false
false
7,648
cpp
display.cpp
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * The names of the contributors may not 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 OWNER 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. ********************************************************/ #include <QtGui/QtGui> #include <QtOpenGL/QGLWidget> #include <display.h> namespace vlr { class ToolBar : public QToolBar { public: ToolBar(QWidget* parent=NULL) : QToolBar(parent) {} ~ToolBar() {} void paintEvent(QPaintEvent *) { QPainter p(this); // p.setRenderHint(QPainter::Antialiasing); p.setBackgroundMode(Qt::TransparentMode); // p.fillRect(rect(), QColor(0x00FF00A0)); p.save(); // extern void render_qt_text(QPainter *, int32_t, int32_t, const QColor &); // render_qt_text(&p, width(), height(), fgColorForName(color)); p.restore(); } }; class ToolButton : public QToolButton { public: ToolButton(QWidget* parent=NULL) : QToolButton(parent) {} ~ToolButton() {} void paintEvent(QPaintEvent *) { QPainter p(this); // p.setRenderHint(QPainter::Antialiasing); p.fillRect(rect(), QColor(0x00FF00A0)); p.save(); // extern void render_qt_text(QPainter *, int32_t, int32_t, const QColor &); // render_qt_text(&p, width(), height(), fgColorForName(color)); p.restore(); } }; Display::Display(QWidget* parent) : QWidget(parent), glWidget_(NULL) { create(DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_MODE, DEFAULT_HPOS, DEFAULT_VPOS, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->requestRedraw(); } Display::Display(uint32_t width, uint32_t height) : QWidget(NULL), glWidget_(NULL) { create(width, height, DEFAULT_MODE, DEFAULT_HPOS, DEFAULT_VPOS, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->requestRedraw(); } Display::Display(uint32_t width, uint32_t height, int32_t hPos, int32_t vPos) : QWidget(NULL), glWidget_(NULL) { create(width, height, DEFAULT_MODE, hPos, vPos, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->requestRedraw(); } Display::Display(uint32_t width, uint32_t height, int32_t hPos, int32_t vPos, QWidget* parent) : QWidget(parent), glWidget_(NULL) { create(width, height, DEFAULT_MODE, hPos, vPos, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->requestRedraw(); } Display::Display(uint32_t width, uint32_t height, displayMode_t mode, int32_t hPos, int32_t vPos, double frameRate, QWidget* parent, QGLFormat glFormat) : QWidget(parent), glWidget_(NULL) { create(width, height, mode, hPos, vPos, frameRate, glFormat); glWidget_->requestRedraw(); } Display::Display(ImageBase& img) : QWidget(NULL), glWidget_(NULL) { create(img.width(), img.height(), DEFAULT_MODE, DEFAULT_HPOS, DEFAULT_VPOS, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->updateImage(img); } Display::Display(ImageBase& img, int32_t hPos, int32_t vPos) : QWidget(NULL), glWidget_(NULL) { create(img.width(), img.height(), DEFAULT_MODE, hPos, vPos, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->updateImage(img); } Display::Display(ImageBase& img, int32_t hPos, int32_t vPos, QWidget* parent) : QWidget(parent), glWidget_(NULL) { create(img.width(), img.height(), DEFAULT_MODE, hPos, vPos, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->updateImage(img); } Display::Display(ImageBase& img, displayMode_t mode, int32_t hPos, int32_t vPos, double frameRate, QWidget* parent, QGLFormat glFormat) : QWidget(parent), glWidget_(NULL) { create(img.width(), img.height(), mode, hPos, vPos, frameRate, glFormat); glWidget_->updateImage(img); } Display::Display(QWidget* parent, int32_t hPos, int32_t vPos) : QWidget(parent), glWidget_(NULL) { create(DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_MODE, DEFAULT_HPOS, DEFAULT_VPOS, DEFAULT_FRAMERATE, DEFAULT_FORMAT); glWidget_->requestRedraw(); if (hPos >= 0 && vPos >= 0) { move(hPos, vPos); } } Display::~Display() { if(glWidget_) {delete glWidget_;} } void Display::create(uint32_t width, uint32_t height, displayMode_t mode, int32_t hPos, int32_t vPos, double frameRate, QGLFormat glFormat) { if(thread() != QApplication::instance()->thread()) { throw VLRException("Display was not created from GUI thread."); } if (hPos >= 0 && vPos >= 0) { move(hPos, vPos); } if(width == 1 || height == 1) { width=DisplayGL::initial_1d_width; height=DisplayGL::initial_1d_height; } setBaseSize(width, height); QWidget::resize(width, height); gridLayout = NULL; // gridLayout = new QGridLayout(this); glWidget_ = new DisplayGL(this, mode, frameRate, glFormat); glWidget_->resize(width, height); // gridLayout->setContentsMargins(0, 0, 0, 0); // gridLayout->addWidget(glWidget_); // QToolBar* toolbar = new ToolBar(this); // // QAction* action_2d = new QAction("2D", NULL); // QAction* action_3d = new QAction("3D", NULL); // ToolButton* tbutton_2d = new ToolButton(NULL); // toolbar->addWidget(tbutton_2d); // toolbar->addAction(action_2d); // toolbar->addAction(action_3d); // toolbar->setFloatable(true); // toolbar->setMovable(true); // toolbar->setIconSize(QSize(16,12)); // action_2d->connect(action_2d, SIGNAL(activated()), this, SLOT(on_action_2d_activated())); // action_3d->connect(action_3d, SIGNAL(activated()), this, SLOT(on_action_3d_activated())); // QButtonGroup* buttons_ = new QButtonGroup(gridLayout); // gridLayout->addWidget((QWidget*)buttons_); // addToolBar(Qt::TopToolBarArea, toolbar); glWidget_->setFocus(); // raise(); // show(); } void Display::on_action_2d_activated() { setDisplayMode(MODE_2D); glWidget_->requestRedraw(); } void Display::on_action_3d_activated() { setDisplayMode(MODE_3D); glWidget_->requestRedraw(); } void Display::setCustomGLDisplay(DisplayGL* customGLWidget) { if(!customGLWidget) {throw("zero pointer to custom GL widget.");} if(glWidget_) {delete glWidget_;} if(gridLayout) {delete gridLayout;} glWidget_=customGLWidget; glWidget_->resize(width(), height()); glWidget_->setFocus(); glWidget_->setParent(this); glWidget_->show(); setContentsMargins(0, 0, 0, 0); } void Display::show() { raise(); QWidget::show(); } } // namespace vlr
53cbb149ee5fe6aa73693b4b15dc4c82d4e7f5a1
e315bb51eb5d5c24023ebd5f9bcea15a25e2fec6
/main.cpp
ef2a02e878e29d5378ed18623909ccfe2fa0f5e2
[ "MIT" ]
permissive
deqyra/PicrossEngine
5327f77856a856a39da19856b126df3f626ca54f
0c81172faa8121c58bc2a88122d1cdbe661cc17e
refs/heads/master
2020-08-23T07:50:26.002568
2020-06-11T21:03:09
2020-06-11T21:03:09
216,574,336
0
0
null
null
null
null
UTF-8
C++
false
false
3,389
cpp
main.cpp
#include <iostream> #include <vector> #include <memory> #include "tools/cli/cli_menu.hpp" #include "tools/cli/cli_command.hpp" #include "tools/cli/command_sequence.hpp" #include "tools/cli/menu_command.hpp" #include "picross_cli/picross_cli_state.hpp" #include "picross_cli/cli_create_grid_command.hpp" #include "picross_cli/cli_load_grid_command.hpp" #include "picross_cli/cli_solve_grid_command.hpp" #include "picross_cli/cli_save_grid_command.hpp" #include "picross_cli/cli_modify_grid_command.hpp" #include "cmake_defines.hpp" using Picross::PicrossCLIState; using Picross::CLISolveCommand; using Picross::CLIModifyGridCommand; using Picross::CLISaveGridCommand; using Picross::CLILoadGridCommand; using Picross::CLICreateGridCommand; using PicrossCLICommand = CLICommand<PicrossCLIState>; using PicrossCommandPtr = std::shared_ptr<PicrossCLICommand>; using PicrossMenuCommand = MenuCommand<PicrossCLIState>; using PicrossCommandSequence = CommandSequence<PicrossCLIState>; using PicrossCLIMenu = CLIMenu<PicrossCLIState>; #ifdef _WIN32 #include <windows.h> #endif // Build CLI app structure and run it. void runCLIApp(); int main(int argc, char** argv) { #ifdef _WIN32 SetConsoleOutputCP(65001); #endif runCLIApp(); return 0; } void runCLIApp() { // Commands available from the "Manipulate grid" menu: std::vector<PicrossCommandPtr> manipulateGridMenuCommands = { std::make_shared<CLISolveCommand>(), // Attempt to solve the grid using a solver std::make_shared<CLIModifyGridCommand>(), // Modify the grid manually std::make_shared<CLISaveGridCommand>() // Save the grid to disk }; // "Manipulate grid" menu, consisting of the commands instantiated above. PicrossCLIMenu manipulateGridMenu = PicrossCLIMenu(manipulateGridMenuCommands, "Grid manipulation menu", "Close grid", nullptr); // Command sequence for the "Create new grid" option of the main menu: std::vector<PicrossCommandPtr> newGridCommands = { std::make_shared<CLICreateGridCommand>(), // 1 - Run the grid creation command. std::make_shared<PicrossMenuCommand>(manipulateGridMenu) // 2 - Display the "Manipulate grid" menu (defined above). }; // Command sequence for the "Open XML grid" option of the main menu: std::vector<PicrossCommandPtr> openGridCommands = { std::make_shared<CLILoadGridCommand>(), // 1 - Run the command to read a grid from an XML file. std::make_shared<PicrossMenuCommand>(manipulateGridMenu) // 2 - Display the "Manipulate grid" menu (defined above). }; // Commands available from the main menu: 2 command sequences created from the command vectors defined above. std::vector<PicrossCommandPtr> mainMenuCommands = { std::make_shared<PicrossCommandSequence>(newGridCommands, "Create new grid"), std::make_shared<PicrossCommandSequence>(openGridCommands, "Open grid from XML file") }; // Creation of the main menu using the command vector defined right above. PicrossCLIMenu mainMenu = PicrossCLIMenu(mainMenuCommands, "Main menu", "Exit", nullptr); std::cout << PROJECT_NAME << " " << PROJECT_VERSION << " " << COPYRIGHT_NOTICE << std::endl; // Create a new state and run the menu on it. PicrossCLIState state = PicrossCLIState(); mainMenu.show(state); std::cout << "Thank you for using Picross Engine. Bye!" << std::endl; }
1cd0ac8b585e10465a9cb24d9bb9bfc7499e9d9b
d64bb70a14246e8da868887a67b8a45af061745c
/BuildMngtServices.h
28d45e9f74bc60f6a15c5b8ab855cb64628da81a
[]
no_license
rcoscali/cpad_tool
176fcc20005bff1dcac6045f539abe96ff72602a
4addc1223b32068d72ca1e4d2df21d5b098f9945
refs/heads/master
2021-03-22T04:52:28.258861
2017-06-08T08:51:02
2017-06-08T08:51:02
85,364,407
0
0
null
null
null
null
UTF-8
C++
false
false
2,634
h
BuildMngtServices.h
// // Copyright 2017, Google Inc. // #ifndef __BUILDMNGT_SERVICES_H_ #define __BUILDMNGT_SERVICES_H_ #include <grpc/grpc.h> #include <grpc++/server.h> #include <grpc++/server_builder.h> #include <grpc++/server_context.h> #include <grpc++/security/server_credentials.h> #include "BuildMngtMsg.h" #include "build_mngt.grpc.pb.h" using grpc::Server; using grpc::ServerBuilder; using grpc::ServerContext; using grpc::ServerReader; using grpc::ServerReaderWriter; using grpc::ServerWriter; using grpc::Status; using cpad::build_mngt::BuildMngtServices; using cpad::build_mngt::StartCfgCollectionRequest; using cpad::build_mngt::StartCfgCollectionRequestHelper; using cpad::build_mngt::StartCfgCollectionResponse; using cpad::build_mngt::StartCfgCollectionResponseHelper; using cpad::build_mngt::EndCfgCollectionRequest; using cpad::build_mngt::EndCfgCollectionRequestHelper; using cpad::build_mngt::EndCfgCollectionResponse; using cpad::build_mngt::EndCfgCollectionResponseHelper; using cpad::build_mngt::StartCfgToolingRequest; using cpad::build_mngt::StartCfgToolingRequestHelper; using cpad::build_mngt::StartCfgToolingResponse; using cpad::build_mngt::StartCfgToolingResponseHelper; using cpad::build_mngt::EndCfgToolingRequest; using cpad::build_mngt::EndCfgToolingRequestHelper; using cpad::build_mngt::EndCfgToolingResponse; using cpad::build_mngt::EndCfgToolingResponseHelper; class BuildMngtServicesImpl final : public BuildMngtServices::Service { public: explicit BuildMngtServicesImpl(std::ostream* = &std::cout); virtual ~BuildMngtServicesImpl(); virtual ::grpc::Status StartCfgCollectionService(::grpc::ServerContext* context, const StartCfgCollectionRequest* request, StartCfgCollectionResponse* response); virtual ::grpc::Status EndCfgCollectionService(::grpc::ServerContext* context, const EndCfgCollectionRequest* request, EndCfgCollectionResponse* response); virtual ::grpc::Status StartCfgToolingService(::grpc::ServerContext* context, const StartCfgToolingRequest* request, StartCfgToolingResponse* response); virtual ::grpc::Status EndCfgToolingService(::grpc::ServerContext* context, const EndCfgToolingRequest* request, EndCfgToolingResponse* response); private: std::ostream* m_osb; }; #endif
167cab73cb1b0a1533526f9c2ab7987c98931952
cb0f510888d4d80c8fe16c22a0f40787677abfe0
/usar_joy/src/UsarJoy.cpp
22703c6f6a6563d7c4b4ace7a272ac418d5eeada
[ "MIT" ]
permissive
DeepBlue14/usar_system
89f4fb384c3fb41c3fefb9fe0eb339eb011c267f
a1b3d78a65f064be897f75dfc5f4dad4214f9d74
refs/heads/master
2021-01-17T21:03:37.653042
2017-11-16T05:21:50
2017-11-16T05:21:50
61,601,115
0
0
null
null
null
null
UTF-8
C++
false
false
2,925
cpp
UsarJoy.cpp
/* * Copyright (C) 2016 James T. Kuczynski * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "../include/usar_joy/UsarJoy.h" UsarJoy::UsarJoy() { joyToVelScaler = 0.5; ros::NodeHandle nh; Subscriber sub = nh.subscribe<sensor_msgs::Joy>("/joy", 10, &UsarJoy::callback, this); robotNavPubPtr = new Publisher(); turretNavPubPtr = new Publisher(); topicPubPtr = new Publisher(); fireTurretPubPtr = new Publisher(); //uiModePubPtr = new Publisher(); //focusPubPtr = new Publisher(); enableTurretPubPtr = new Publisher(); configPubPtr = new Publisher(); } void UsarJoy::callback(const sensor_msgs::JoyConstPtr& msg) { robotNav.linear.x = msg->axes[1] * joyToVelScaler; robotNav.angular.z = msg->axes[0] * joyToVelScaler; turretNav.angular.y = msg->axes[3]; turretNav.angular.z = msg->axes[2]; cout << "z: " << msg->axes[2] << endl; if(static_cast<int>(msg->axes[5] ) == -1 || static_cast<int>(msg->axes[5] ) == 1) { topic.data = static_cast<int>(msg->axes[5] ); //cout << "UsarJoy::callback(...); sending: " << topic.data << endl; topicPubPtr->publish(topic); } else if(static_cast<int>(msg->axes[4] ) == 1) { topic.data = 2; //cout << "UsarJoy::callback(...); sending: " << topic.data << endl; topicPubPtr->publish(topic); } fireTurret.data = msg->buttons[5]; // // enableTurret.data = msg->buttons[9]; if(msg->buttons[2] == true) { config.data = msg->buttons[2]; configPubPtr->publish(config); } robotNavPubPtr->publish(robotNav); turretNavPubPtr->publish(turretNav); fireTurretPubPtr->publish(fireTurret); enableTurretPubPtr->publish(enableTurret); //cout << "Pressed " << msg->buttons[2] << endl; //cout << "Sent nav command to turret" << endl; } Publisher* UsarJoy::getRobotNavPubPtr() const { return robotNavPubPtr; } Publisher* UsarJoy::getTurretNavPubPtr() const { return turretNavPubPtr; } Publisher* UsarJoy::getTopicPubPtr() const { return topicPubPtr; } Publisher* UsarJoy::getFireTurretPubPtr() const { return fireTurretPubPtr; } //Publisher* UsarJoy::getUiModePubPtr() const //{ // return uiModePubPtr; //} //Publisher* UsarJoy::getFocusPubPtr() const //{ // return focusPubPtr; //} Publisher* UsarJoy::getEnableTurretPubPtr() const { return enableTurretPubPtr; } Publisher* UsarJoy::getConfigPubPtr() const { return configPubPtr; } char* UsarJoy::toString() { char* str = const_cast<char*>("***METHOD STUB***"); return str; } UsarJoy::~UsarJoy() { ; }
44001238c432ce67b92600ae860d5ae5d88b0c37
4e49d43e75ab8e495f0c3a4fbf621ac5def67fee
/compiler/declaration.hh
ff7d4e91f29da3c4732de787fd84af430f1bb36c
[]
no_license
elacor/Flaner
fd6dabb2819f3a9de52cee9649c85dc3996537d2
dd36b5a73f1f7bbf4c022c28552a983b9c87138b
refs/heads/master
2020-06-01T07:06:32.043320
2019-06-06T13:35:24
2019-06-06T13:35:24
190,691,884
1
0
null
2019-06-07T05:18:17
2019-06-07T05:18:15
null
UTF-8
C++
false
false
796
hh
declaration.hh
#ifndef _FLANER_COMPILER_DECLARATION_HH_ #define _FLANER_COMPILER_DECLARATION_HH_ #include <global.hh> #include <token.hh> #include <statement.hh> #include <string> namespace Flaner { namespace Compiler { namespace AST { class Identifier { public: std::string name; Identifier(Lex::Token token) { name = token.value; } inline std::shared_ptr<Identifier> operator=(Lex::Token token) { name = token.value; return std::make_shared<Identifier>(token); } }; class Declaration : public Statement { public: enum Kind { Variable, Constant }; public: Kind kind; Identifier identifier; }; } } } #endif // !_FLANER_COMPILER_DECLARATION_HH_
338c19aac23e4f2a955a4f4ab88adf884170703f
edb4f249883679792e689eea9fcf969f331c28ba
/spoj/3928_MDIGITS/P3928_cjtoribio.cpp
6d71efd48e17d8c091c4b434a477770ca02393ba
[]
no_license
pavelsimo/ProgrammingContest
2845bddc2a61444bf2c667aa5f77e34f7a324ebc
a2c52be868bcd480a682b872fed85b344731497b
refs/heads/master
2021-01-25T03:48:05.415007
2017-11-11T14:39:51
2017-11-11T14:39:51
25,308,102
4
0
null
null
null
null
UTF-8
C++
false
false
1,077
cpp
P3928_cjtoribio.cpp
const char Directory[300] = "/Users/carlosjosetoribio/NetBeansProjects/Run/dist/Release/GNU-MacOSX/run"; #include <iostream> #include <cstdlib> #include <cstring> #include <algorithm> #include <vector> #include <cstdio> #include <cmath> using namespace std; typedef long long Long; typedef vector<Long> VL; VL calc(Long n) { VL ret(10,0); if(n<0)return ret; for(int i = 0; i < 10 ; ++i) { for(Long p = 1; p < 1000000000; p*=10) { Long cn = n/p , mo = n%p; ret[i] += ((cn+9-i)/10)*p + ((cn%10==i) ? (mo)+1 : 0) ; if(i==0) { if(cn > 0)ret[i] -= p; else ret[i] -= (n+1); } } } return ret; } int main(int argc, char** argv) { Long a,b; for(int tc = 1 ; cin >> a >> b && !(a==0 && b==0); ++tc) { if(a>b)swap(a,b); VL ansa = calc(a-1); VL ansb = calc(b); for(int i = 0; i < 10; ++i) { if(i<9)cout << ansb[i] - ansa[i] << " "; else cout << ansb[i] - ansa[i] << endl; } } return 0; }
7a3b5062762dc681bdb55f1f0b724ffd295868b4
5d0ddbd6f42843ded4d5ba18966dc130725607d2
/c13.code/uintah/branches/pearls/src/Core/Thread/Thread_pthreads.cc
099b8fb81e471e35072745f6c226679bfc008be2
[ "MIT" ]
permissive
alvarodlg/lotsofcoresbook2code
b93ad62e015d205e4f550028ceb54254023021ee
a2dbeb306fa29ae6663ae29b2c4c132608375cf0
refs/heads/master
2020-12-31T03:02:22.579614
2015-09-02T15:23:18
2015-09-02T15:23:18
54,509,919
2
1
null
2016-03-22T21:27:56
2016-03-22T21:27:56
null
UTF-8
C++
false
false
37,462
cc
Thread_pthreads.cc
/* * The MIT License * * Copyright (c) 1997-2015 The University of Utah * * 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. */ /* * Thread_pthreads.cc: Posix threads implementation of the thread library * * Written by: * Author: Steve Parker * Department of Computer Science * University of Utah * Date: June 1997 * */ #include <sci_defs/bits_defs.h> #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif #define __USE_UNIX98 #include <pthread.h> #ifndef PTHREAD_MUTEX_RECURSIVE # define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP #endif #include <Core/Exceptions/Exception.h> #include <iostream> ////////////////////////////////////////////////////// // begin: Danger Will Robinson! Danger Will Robinson! #define private public #define protected public #include <Core/Thread/Thread.h> #include <Core/Thread/Mutex.h> // So ConditionVariable can get to Mutex::priv_ #undef private #undef protected // end: Danger Will Robinson! Danger Will Robinson! ////////////////////////////////////////////////////// #include <Core/Thread/Thread.h> #include <Core/Thread/AtomicCounter.h> #include <Core/Thread/Barrier.h> #include <Core/Thread/CleanupManager.h> #include <Core/Thread/ConditionVariable.h> #include <Core/Thread/RecursiveMutex.h> #include <Core/Thread/Semaphore.h> #include <Core/Thread/ThreadError.h> #include <Core/Thread/ThreadGroup.h> #include <Core/Thread/WorkQueue.h> #include <Core/Thread/Thread_unix.h> #include <Core/Util/Assert.h> #include <Core/Thread/CrashPad.h> #include <cerrno> extern "C" { # include <semaphore.h> } #include <signal.h> #include <cstdio> #include <cstdlib> #include <string> #include <cstring> #include <unistd.h> #include <fstream> #include <string> #ifdef __APPLE__ # include <sys/types.h> # include <sys/sysctl.h> #endif #ifdef __APPLE__ #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050 #define SigContext ucontext_t #else #define SigContext struct sigcontext #endif #else #define SigContext struct sigcontext #endif #else #define SigContext struct sigcontext #endif #include <TauProfilerForSCIRun.h> //#define __ia64__ #ifdef __ia64__ # ifndef __int64 # define __int64 long # endif # include <ia64intrin.h> #endif #if defined(_AIX) # include <sys/mman.h> # define sem_type msemaphore * # define SEM_UNLOCK(sem) msem_unlock(*(sem),0) # define SEM_LOCK(sem) msem_lock(*(sem),0) # define SEM_TRYLOCK(sem) msem_lock(*(sem), MSEM_IF_NOWAIT) # define SEM_INIT(sem, shared, val) msem_init(*(sem), \ ((val)==0)?MSEM_UNLOCKED:MSEM_LOCKED) # define SEM_INIT_SUCCESS(val) (((val)!= 0)?true:false) # define SEM_DESTROY(sem) msem_remove(*(sem)) #else # define sem_type sem_t # define SEM_UNLOCK(sem) sem_post((sem)) # define SEM_TRYLOCK(sem) sem_trywait((sem)) # define SEM_INIT(sem, shared, val) sem_init( (sem), (shared), (val) ) # define SEM_INIT_SUCCESS(val) (((val)== 0)?true:false) # define SEM_DESTROY(sem) sem_destroy((sem)) // NOTE(boulos): This code is not currently used if __APPLE__ is // defined, so defining this function produces a "defined but not used // warning" # ifndef __APPLE__ static int SEM_LOCK(sem_type* sem) { int returnValue = 0; while ( (returnValue = sem_wait(sem)) == -1 && (errno == EINTR) ); return returnValue; } # endif #endif typedef void (*SIG_HANDLER_T)(int); /* * The pthread implementation uses the default version of AtomicCounter, * Barrier, and CrowdMonitor. It provides native implementations of * of ConditionVariable, Mutex, RecursiveMutex and Semaphore. * */ #ifndef __ia64__ # include <Core/Thread/Barrier_default.cc> #endif #include <Core/Thread/CrowdMonitor_pthreads.cc> using SCIRun::ConditionVariable; using SCIRun::Mutex; using SCIRun::RecursiveMutex; using SCIRun::Semaphore; using SCIRun::Thread; using SCIRun::ThreadError; using SCIRun::ThreadGroup; static bool exiting = false; #define MAXBSTACK 10 #if defined(_AIX) && defined(MAXTHREADS) # undef MAXTHREADS #endif #define MAXTHREADS 4000 namespace SCIRun { struct Thread_private { Thread_private(bool stopped); Thread* thread; pthread_t threadid; Thread::ThreadState state; int bstacksize; const char* blockstack[MAXBSTACK]; Semaphore done; Semaphore delete_ready; Semaphore block_sema; bool is_blocked; bool ismain; }; } // end namespace SCIRun static const char* bstack_init = "Unused block stack entry"; using SCIRun::Thread_private; static Thread_private* active[MAXTHREADS]; static int numActive = 0; static pthread_mutex_t sched_lock; static pthread_key_t thread_key; static Semaphore main_sema("main",0); static Semaphore control_c_sema("control-c",1); static Thread* mainthread = 0; Thread_private::Thread_private(bool stopped) : done("done",0), delete_ready("delete_ready",0), block_sema("block_sema",stopped?0:1) { } static void lock_scheduler() { const int status = pthread_mutex_lock(&sched_lock); if (status) { switch (status) { case EINVAL: throw ThreadError("pthread_mutex_lock: Uninitialized lock."); break; case EDEADLK: throw ThreadError("pthread_mutex_lock: Calling thread already holds this lock."); break; default: throw ThreadError("pthread_mutex_lock: Unknown error."); } } } static void unlock_scheduler() { const int status = pthread_mutex_unlock(&sched_lock); if (status) { switch (status) { case EINVAL: throw ThreadError("pthread_mutex_unlock: Uninitialized lock."); break; case EPERM: throw ThreadError("pthread_mutex_unlock: Unlocker did not lock."); break; default: throw ThreadError("pthread_mutex_unlock: Unknown error."); } } } int Thread::push_bstack(Thread_private* p, Thread::ThreadState state, const char* name) { int oldstate = p->state; p->state = state; p->blockstack[p->bstacksize]=name; p->bstacksize++; if (p->bstacksize>=MAXBSTACK){ fprintf(stderr, "Blockstack Overflow!\n"); Thread::niceAbort(); } return oldstate; } void Thread::pop_bstack(Thread_private* p, int oldstate) { p->bstacksize--; p->state = (ThreadState)oldstate; } // When using this function, affinity patterns defined by a thread also apply // to subsequently launched threads UNLESS explicitly specified otherwise // (e.g. using this to bind the main thread to core 0 will result in worker // threads also being bound to core 0 unless they explicitly call this function // and define a different mask) void Thread::set_affinity(int cpu) { #ifndef __APPLE__ //disable affinity on OSX since sched_setaffinity() is not avaible in OSX api cpu_set_t mask; unsigned int len = sizeof(mask); CPU_ZERO(&mask); CPU_SET(cpu,&mask); sched_setaffinity(0, len, &mask); #endif } // This function addresses the case when one wishes to utilize selective binding // of threads (e.g. binding the main thread to a specific core and allowing worker // threads to run anywhere up to the core reserved for the main thread and // subsequent cores). void Thread::set_affinityMainOnly(int nthreads) { #ifndef __APPLE__ //disable affinity on OSX since sched_setaffinity() is not avaible in OSX api cpu_set_t mask; unsigned int len = sizeof(mask); CPU_ZERO(&mask); // CPU-specific affinity binds the main thread nthreads-1 for (int i = 0; i < nthreads-1; i++) { CPU_SET(i,&mask); } sched_setaffinity(0, len, &mask); #endif } // This function addresses the case when one wishes to utilize selective binding // of threads (e.g. binding the main thread to a specific core and allowing worker // threads to run anywhere up to the core reserved for the main thread and // subsequent cores). void Thread::set_affinityMICMainOnly(int nthreads) { #ifndef __APPLE__ //disable affinity on OSX since sched_setaffinity() is not avaible in OSX api cpu_set_t mask; unsigned int len = sizeof(mask); CPU_ZERO(&mask); // This is hard-coded for a Xeon Phi where worker thread indexing begins at 1 // and assumes that the main thread is bound to the lastmost logical core used for (int i = 1; i < nthreads; i++) { CPU_SET(i,&mask); } sched_setaffinity(0, len, &mask); #endif } void ThreadGroup::gangSchedule() { // Cannot do this on pthreads unfortunately } static void Thread_shutdown(Thread* thread) { Thread_private* priv = thread->priv_; priv->done.up(); if (!priv->ismain) priv->delete_ready.down(); // Allow this thread to run anywhere... if (thread->cpu_ != -1) { thread->migrate(-1); } lock_scheduler(); /* Remove it from the active queue */ int i; for (i = 0;i<numActive;i++){ if (active[i]==priv) break; } for (i++;i<numActive;i++){ active[i-1]=active[i]; } numActive--; // This can't be done in checkExit, because of a potential race // condition. int done = true; for (int i = 0;i<numActive;i++){ Thread_private* p = active[i]; if (!p->thread->isDaemon()){ done = false; break; } } thread->handleCleanup(); unlock_scheduler(); bool wait_main = priv->ismain; delete thread; if (pthread_setspecific(thread_key, 0) != 0) { fprintf(stderr, "Warning: pthread_setspecific failed"); } priv->thread = 0; delete priv; if (done) { Thread::exitAll(0); } if (wait_main) { main_sema.down(); } pthread_exit(0); } void Thread::exit() { Thread * self = Thread::self(); Thread_shutdown(self); } void Thread::checkExit() { lock_scheduler(); int done = true; for (int i = 0;i<numActive;i++) { Thread_private* p = active[i]; if (!p->thread->isDaemon()) { done = false; break; } } unlock_scheduler(); if (done) Thread::exitAll(0); } Thread* Thread::self() { void* p = pthread_getspecific(thread_key); return (Thread*)p; } void Thread::join() { pthread_t id = priv_->threadid; priv_->delete_ready.up(); const int status = pthread_join(id, 0); if (status) { switch (status) { case ESRCH: throw ThreadError("pthread_join: No such thread."); break; case EINVAL: throw ThreadError("pthread_join: Joining detached thread or joining same thread twice."); break; case EDEADLK: throw ThreadError("pthread_join: Joining self, deadlock."); break; default: throw ThreadError("pthread_join: Unknown error."); } } } int Thread::numProcessors() { static int np = 0; if (np == 0) { #ifdef __APPLE__ size_t len = sizeof(np); int tparams[2] = {CTL_HW, HW_NCPU}; sysctl(tparams, 2, &np, &len, NULL, 0); #else // Linux std::ifstream cpuinfo("/proc/cpuinfo"); if (cpuinfo) { int count = 0; while (!cpuinfo.eof()) { std::string str; cpuinfo >> str; if (str == "processor") { ++count; } } np = count; } #endif if (np <= 0) np = 1; } return np; } static void Thread_run(Thread* t) { t->run_body(); } static void* run_threads(void* priv_v) { TAU_REGISTER_THREAD(); Thread_private* priv = (Thread_private*)priv_v; if (pthread_setspecific(thread_key, priv->thread)) { throw ThreadError("pthread_setspecific: Unknown error."); } priv->is_blocked = true; priv->block_sema.down(); priv->is_blocked = false; priv->state = Thread::RUNNING; Thread_run(priv->thread); priv->state = Thread::SHUTDOWN; Thread_shutdown(priv->thread); return 0; // Never reached } void Thread::os_start(bool stopped) { if (!initialized) Thread::initialize(); priv_ = new Thread_private(stopped); priv_->state = STARTUP; priv_->bstacksize = 0; for (int i = 0;i<MAXBSTACK;i++) priv_->blockstack[i]=bstack_init; priv_->thread = this; priv_->threadid = 0; priv_->is_blocked = false; priv_->ismain = false; pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setstacksize(&attr, stacksize_); lock_scheduler(); active[numActive]=priv_; numActive++; if (pthread_create(&priv_->threadid, &attr, run_threads, priv_) != 0) { // Always EAGAIN throw ThreadError("pthread_create: Out of thread resources."); } unlock_scheduler(); } void Thread::stop() { lock_scheduler(); if (priv_->block_sema.tryDown() == false) { if (this == self()) { priv_->block_sema.down(); } else { pthread_kill(priv_->threadid, SIGUSR2); } } unlock_scheduler(); } void Thread::resume() { lock_scheduler(); priv_->block_sema.up(); unlock_scheduler(); } void Thread::detach() { detached_=true; pthread_t id = priv_->threadid; priv_->delete_ready.up(); const int status = pthread_detach(id); if (status) { switch (status) { case ESRCH: throw ThreadError("pthread_detach: Thread does not exist."); break; case EINVAL: throw ThreadError("pthread_detach: Thread is already detached."); break; default: throw ThreadError("pthread_detach: Unknown error."); } } } void Thread::exitAll(int code) { if (getenv("SCIRUN_EXIT_CRASH_WORKAROUND")) { raise(SIGKILL); } CleanupManager::call_callbacks(); if (initialized && !exiting) { exiting = true; lock_scheduler(); if( initialized ){ // Stop all of the other threads before we die, because // global destructors may destroy primitives that other // threads are using... Thread* me = Thread::self(); for (int i = 0;i<numActive;i++){ Thread_private * thread_priv = active[i]; // It seems like this is the correct place to call handleCleanup (on all the threads)... // However, I haven't tested this feature in SCIRun itself... it does work for Uintah // (which only has one (the main) thread). thread_priv->thread->handleCleanup(); if (thread_priv->thread != me){ pthread_kill(thread_priv->threadid, SIGUSR2); } } // Wait for all threads to be in the signal handler int numtries = 100000; bool done = false; while(--numtries && !done){ done = true; for (int i = 0;i<numActive;i++){ Thread_private * thread_priv = active[i]; if (thread_priv->thread != me){ if (!thread_priv->is_blocked) done = false; } } sched_yield(); //sleep(1); } if (!numtries){ for (int i = 0;i<numActive;i++){ Thread_private* thread_priv = active[i]; if ( thread_priv->thread != me && !thread_priv->is_blocked ) { fprintf(stderr, "Thread: %s is slow to stop, giving up\n", thread_priv->thread->getThreadName()); //sleep(1000); } } } } // end if( initialized ) // See Thread.h for why we are doing this. if (Thread::getCallExit()) { ::exit(code); } } else if ( !initialized ) { // This case happens if the thread library is not being used. // Just use the normal exit function. ::exit(code); } } /* * Handle an abort signal - like segv, bus error, etc. */ static void #if defined(__sgi) handle_abort_signals(int sig, int, SigContext* ctx) #elif defined (__CYGWIN__) handle_abort_signals(int sig) #else handle_abort_signals(int sig, SigContext ctx) #endif { struct sigaction action; sigemptyset(&action.sa_mask); action.sa_handler = SIG_DFL; action.sa_flags = 0; if (sigaction(sig, &action, NULL) == -1) { throw ThreadError(std::string("sigaction failed") + strerror(errno)); } Thread* self = Thread::self(); const char* tname = self?self->getThreadName():"idle or main"; #if defined(__sgi) # if defined(_LONGLONG) caddr_t addr = (caddr_t)ctx->sc_badvaddr; # else caddr_t addr = (caddr_t)ctx->sc_badvaddr.lo32; # endif #else # if defined(PPC) void* addr = (void*)ctx.regs->dsisr; # else # if defined(_AIX) // Not sure if this is correct, but here it is. // On IMB SP2 sigcontext is defined in /usr/include/sys/context.h # if defined(SCI_64BITS) void* addr = (void*)ctx.sc_jmpbuf.jmp_context.except; # else void* addr = (void*)ctx.sc_jmpbuf.jmp_context.o_vaddr; # endif # else // void* addr = (void*)ctx.cr2; void* addr = 0; # endif # endif #endif char* signam = Core_Thread_signal_name(sig, addr); // Don't print if the signal was SIGINT because the signal likely came from MPI aborting // and the problem was likely on another processor. bool print = ( sig != SIGINT ); Uintah::CrashPad::printMessages(std::cout); if(print) fprintf(stderr, "%c%c%cThread \"%s\"(pid %d) caught signal %s\n", 7,7,7,tname, getpid(), signam); SCIRun::WAIT_FOR_DEBUGGER(true); Thread::niceAbort(NULL,print); action.sa_handler = (SIG_HANDLER_T)handle_abort_signals; action.sa_flags = 0; if (sigaction(sig, &action, NULL) == -1) { throw ThreadError(std::string("sigaction failed") + strerror(errno)); } } // handle_abort_signals() void Thread::print_threads() { FILE* fp = stderr; for (int i = 0;i<numActive;i++) { Thread_private* p = active[i]; const char* tname = p->thread?p->thread->getThreadName():"???"; // NOTE(boulos): On Darwin, pthread_t is an opaque type and so // using it as a thread_id (despite the man page) is a bad idea. // For this purpose (printing out some unique identifier) it // should be fine but requires a C-style cast. long unsigned int tid = (long unsigned int)(p->threadid); fprintf(fp, " %lu: %s (", tid, tname); if (p->thread) { if (p->thread->isDaemon()) fprintf(fp, "daemon, "); if (p->thread->isDetached()) fprintf(fp, "detached, "); } fprintf(fp, "state = %s", Thread::getStateString(p->state)); for (int i = 0;i<p->bstacksize;i++) { fprintf(fp, ", %s", p->blockstack[i]); } fprintf(fp, ")\n"); } } /* * Handle sigquit - usually sent by control-C */ static void #ifdef __CYGWIN__ // Cygwin's version doesn't take a sigcontext handle_quit(int sig) #else handle_quit(int sig, SigContext /*ctx*/) #endif { // Try to acquire a lock. If we can't, then assume that somebody // else already caught the signal... Thread* self = Thread::self(); if (self == 0) return; // This is an idle thread... if (!(control_c_sema.tryDown())) { control_c_sema.down(); control_c_sema.up(); } // Otherwise, we got the semaphore and handle the interrupt const char* tname = self?self->getThreadName():"main?"; // Kill all of the threads... char* signam = Core_Thread_signal_name(sig, 0); int pid = getpid(); // Don't print if the signal was SIGINT because the signal likely came from MPI aborting // and the problem was likely on another processor. bool print = ( sig != SIGINT ); Uintah::CrashPad::printMessages(std::cout); if( print ) { fprintf(stderr, "Thread \"%s\"(pid %d) caught signal %s\n", tname, pid, signam); } SCIRun::WAIT_FOR_DEBUGGER(true); Thread::niceAbort(NULL, print); // Enter the monitor control_c_sema.up(); } /* * Handle siguser1 - for stop/resume */ static void handle_siguser2(int) { Thread* self = Thread::self(); if (!self) { // This can happen if the thread is just started and hasn't had // the opportunity to call setspecific for the thread id yet for (int i = 0;i<numActive;i++) if (pthread_self() == active[i]->threadid) self = active[i]->thread; } self->priv_->is_blocked = true; self->priv_->block_sema.down(); self->priv_->is_blocked = false; } /* * Setup signals for the current thread */ static void install_signal_handlers() { struct sigaction action; sigemptyset(&action.sa_mask); action.sa_flags = 0; action.sa_handler = (SIG_HANDLER_T)handle_abort_signals; if (sigaction(SIGILL, &action, NULL) == -1) throw ThreadError(std::string("SIGILL failed") + strerror(errno)); if (sigaction(SIGABRT, &action, NULL) == -1) throw ThreadError(std::string("SIGABRT failed") + strerror(errno)); if (sigaction(SIGTRAP, &action, NULL) == -1) throw ThreadError(std::string("SIGTRAP failed") + strerror(errno)); if (sigaction(SIGBUS, &action, NULL) == -1) throw ThreadError(std::string("SIGBUS failed") + strerror(errno)); if (sigaction(SIGSEGV, &action, NULL) == -1) throw ThreadError(std::string("SIGSEGV failed") + strerror(errno)); action.sa_handler = (SIG_HANDLER_T)handle_quit; if (sigaction(SIGQUIT, &action, NULL) == -1) throw ThreadError(std::string("SIGQUIT failed") + strerror(errno)); if (sigaction(SIGINT, &action, NULL) == -1) throw ThreadError(std::string("SIGINT failed") + strerror(errno)); action.sa_handler = (SIG_HANDLER_T)handle_siguser2; if (sigaction(SIGUSR2, &action, NULL) == -1) throw ThreadError(std::string("SIGUSR2 failed") + strerror(errno)); } static void exit_handler() { Thread * self = Thread::self(); // Self appears to be able to be NULL if the program has already // mostly shutdown before the atexit() function (this function) // kicks in. if( exiting || self == NULL ) { return; } Thread_shutdown( self ); } void Thread::allow_sgi_OpenGL_page0_sillyness() { // Nothing necessary here } void Thread::disallow_sgi_OpenGL_page0_sillyness() { // Nothing necessary here } void Thread::initialize() { if (initialized) return; if (exiting) abort(); // Something really weird happened! CleanupManager::initialize(); if (!getenv("THREAD_NO_ATEXIT")) atexit(exit_handler); pthread_mutex_init(&sched_lock, NULL); if (pthread_key_create(&thread_key, NULL) != 0) { throw ThreadError("pthread_key_create: Out of resources."); } initialized = true; ThreadGroup::s_default_group = new ThreadGroup("default group", 0); mainthread = new Thread(ThreadGroup::s_default_group, "main"); // mainthread->priv_=new Thread_private(false); mainthread->priv_ = new Thread_private(true); mainthread->priv_->thread = mainthread; mainthread->priv_->state = RUNNING; mainthread->priv_->bstacksize = 0; mainthread->priv_->is_blocked = false; mainthread->priv_->threadid = pthread_self(); mainthread->priv_->ismain = true; // mainthread->priv_->block_sema.down(); for (int i = 0;i<MAXBSTACK;i++) mainthread->priv_->blockstack[i]=bstack_init; if (pthread_setspecific(thread_key, mainthread) != 0) { throw ThreadError("pthread_setspecific: Failed."); } lock_scheduler(); active[numActive]=mainthread->priv_; numActive++; unlock_scheduler(); if (!getenv("THREAD_NO_CATCH_SIGNALS")) install_signal_handlers(); numProcessors(); //initialize the processor count; } void Thread::yield() { sched_yield(); } void Thread::migrate(int /*proc*/) { // Nothing for now... } namespace SCIRun { struct Mutex_private { pthread_mutex_t mutex; }; } // namespace SCIRun Mutex::Mutex(const char* name) : name_(name) { // DO NOT CALL INITIALIZE in this CTOR! if (this == 0){ fprintf(stderr, "WARNING: creation of null mutex\n"); } priv_ = new Mutex_private; #ifdef PTHREAD_MUTEX_ERRORCHECK_NP pthread_mutexattr_t attr; pthread_mutexattr_init(&attr); // always returns zero if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP) != 0) throw ThreadError("pthread_mutexattr_settype: Bad kind."); pthread_mutex_init(&priv_->mutex, &attr); // always returns zero pthread_mutexattr_destroy(&attr); // usually noop #else pthread_mutex_init(&priv_->mutex, NULL); // always returns zero #endif } Mutex::~Mutex() { // RHE 3.0 pthread_mutex_destroy returns EBUSY if you unlock an // already unlocked thread first. So we force a lock/unlock before // destroying. Probably better to just remove the unlock altogether // but this breaks the shutdown behavior. TODO: This fix doesn't // really work. Race condition can relock between our unlock and // destroy calls. pthread_mutex_trylock(&priv_->mutex); pthread_mutex_unlock(&priv_->mutex); if (pthread_mutex_destroy(&priv_->mutex) != 0) { // EBUSY fprintf(stderr,"Mutex::~Mutex: Warning: Mutex \"%s\" currently locked.\n", name_); priv_ = 0; return; // EBUSY //throw ThreadError("pthread_mutex_destroy: Mutex currently locked."); } delete priv_; priv_ = 0; } void Mutex::unlock() { int status = pthread_mutex_unlock(&priv_->mutex); if (status) { switch (status) { case EINVAL: ThreadError("pthread_mutex_unlock: Uninitialized lock."); break; case EPERM: ThreadError("pthread_mutex_unlock: Calling thread did not lock."); break; default: ThreadError("pthread_mutex_unlock: Unknown error."); } } } void Mutex::lock() { Thread* t = Thread::isInitialized()?Thread::self():0; int oldstate = -1; Thread_private* p = 0; if (t){ p = t->priv_; oldstate = Thread::push_bstack(p, Thread::BLOCK_MUTEX, name_); } #if defined( __APPLE__ ) || defined ( _AIX ) // Temporary hack: // On OSX and AIX, this call may come before the constructor (for // static vars) for some reason. To solve this problem we allocate // priv_ and init it if the constructor was not called yet. // Note: This would appear to cause a deadlock or crash // if we lock on priv_ and then call the constructor to replace it. if ( !priv_ ) { priv_=new Mutex_private; pthread_mutex_init(&priv_->mutex, NULL); } #endif int status = pthread_mutex_lock(&priv_->mutex); if (status) { switch (status) { case EINVAL: throw ThreadError("pthread_mutex_lock: Uninitialized lock."); break; case EDEADLK: throw ThreadError("pthread_mutex_lock: Calling thread already holds this lock."); break; default: throw ThreadError("pthread_mutex_lock: Unknown error."); } } if (t) { Thread::pop_bstack(p, oldstate); } } bool Mutex::tryLock() { int status = pthread_mutex_trylock(&priv_->mutex); switch (status) { case 0: return true; case EBUSY: return false; default: // EINVAL throw ThreadError("pthread_mutex_trylock: Uninitialized lock."); } } namespace SCIRun { struct RecursiveMutex_private { pthread_mutex_t mutex; }; } // namespace SCIRun RecursiveMutex::RecursiveMutex(const char* name) : name_(name) { if (!Thread::initialized) Thread::initialize(); priv_ = new RecursiveMutex_private; pthread_mutexattr_t attr; pthread_mutexattr_init(&attr); if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE) != 0) throw ThreadError("pthread_mutexattr_settype: unknown kind."); pthread_mutex_init(&priv_->mutex, &attr); pthread_mutexattr_destroy(&attr); } RecursiveMutex::~RecursiveMutex() { // RHE 3.0 pthread_mutex_destroy returns EBUSY if you unlock an // already unlocked thread first. So we force a lock/unlock before // destroying. Probably better to just remove the unlock altogether // but this breaks the shutdown behavior. TODO: This fix doesn't // really work. Race condition can relock between our unlock and // destroy calls. pthread_mutex_trylock(&priv_->mutex); pthread_mutex_unlock(&priv_->mutex); if (pthread_mutex_destroy(&priv_->mutex) != 0) { // EBUSY fprintf(stderr, "RecursiveMutex::~RecursiveMutex: Warning: Mutex currently locked.\n"); priv_ = 0; return; //throw ThreadError("pthread_mutex_destroy: Mutex currently locked."); } delete priv_; priv_=0; } void RecursiveMutex::unlock() { const int status = pthread_mutex_unlock(&priv_->mutex); if (status) { switch (status) { case EINVAL: ThreadError("pthread_mutex_unlock: Uninitialized lock."); break; case EPERM: ThreadError("pthread_mutex_unlock: Calling thread did not lock."); break; default: ThreadError("pthread_mutex_unlock: Unknown error."); } } } void RecursiveMutex::lock() { Thread* self = Thread::self(); int oldstate = 0; Thread_private* p = NULL; if (self) { p = Thread::self()->priv_; oldstate = Thread::push_bstack(p, Thread::BLOCK_ANY, name_); } const int status = pthread_mutex_lock(&priv_->mutex); if (status) { switch (status) { case EINVAL: throw ThreadError("pthread_mutex_lock: Uninitialized lock."); break; case EDEADLK: throw ThreadError("pthread_mutex_lock: Calling thread already holds this lock."); break; default: throw ThreadError("pthread_mutex_lock: Unknown error."); } } if (self) Thread::pop_bstack(p, oldstate); } namespace SCIRun { #if defined (__APPLE__) struct Semaphore_private { Semaphore_private(const char *name, int value); Mutex mutex_; int cnt_; ConditionVariable cv_; }; Semaphore_private::Semaphore_private(const char *name, int value) : mutex_(name), cnt_(value), cv_(name) { } #else struct Semaphore_private { sem_type sem; }; #endif } // namespace SCIRun #if defined(__APPLE__) Semaphore::Semaphore(const char *name,int value) : name_(name) { priv_ = new Semaphore_private(name,value); } Semaphore::~Semaphore() { if (priv_) { delete priv_; priv_ = 0; } } void Semaphore::down(int count) { for (int p = 0 ; p < count; p++) { priv_->mutex_.lock(); priv_->cnt_--; if (priv_->cnt_ < 0) priv_->cv_.wait(priv_->mutex_); priv_->mutex_.unlock(); } } bool Semaphore::tryDown() { priv_->mutex_.lock(); if (priv_->cnt_ > 0) { priv_->cnt_--; priv_->mutex_.unlock(); return(true); } priv_->mutex_.unlock(); return(false); } void Semaphore::up(int count) { for (int p = 0;p < count; p++) { priv_->mutex_.lock(); priv_->cv_.conditionBroadcast(); priv_->cnt_++; priv_->mutex_.unlock(); } } #else Semaphore::Semaphore(const char* name, int value) : name_(name) { if (!Thread::initialized) Thread::initialize(); priv_=new Semaphore_private; #if defined(_AIX) priv_->sem = (msemaphore*) mmap(NULL,sizeof(msemaphore), PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS | MAP_VARIABLE, -1, 0 ); #endif if ( !SEM_INIT_SUCCESS( SEM_INIT(&(priv_->sem), 0, value) ) ) throw ThreadError(std::string("SEM_INIT: ") + strerror(errno)); } Semaphore::~Semaphore() { #if !defined(_AIX) // Dd: Don't know exactly what to do about this for AIX... int val; sem_getvalue(&(priv_->sem),&val); while (val<=0) { SEM_UNLOCK(&(priv_->sem)); sem_getvalue(&(priv_->sem),&val); } if (SEM_DESTROY(&priv_->sem) != 0) { throw ThreadError(std::string("sem_destroy: ") +strerror(errno)); perror("Sem destroy" ); } delete priv_; priv_=0; #endif } void Semaphore::up(int count) { for (int i = 0;i<count;i++) { if (SEM_UNLOCK(&priv_->sem) != 0) throw ThreadError(std::string("SEM_UNLOCK: ") + strerror(errno)); } } void Semaphore::down(int count) { Thread* self = Thread::self(); int oldstate = 0; Thread_private* p = NULL; if (self) { p = Thread::self()->priv_; oldstate = Thread::push_bstack(p, Thread::BLOCK_SEMAPHORE, name_); } for (int i = 0;i<count;i++) { if (SEM_LOCK(&priv_->sem) != 0) { perror("sem lock"); throw ThreadError(std::string("SEM_LOCK: ") + strerror(errno)); } } if (self) Thread::pop_bstack(p, oldstate); } bool Semaphore::tryDown() { if (SEM_TRYLOCK(&priv_->sem) != 0) { if (errno == EAGAIN) return false; throw ThreadError(std::string("SEM_TRYLOCK: ") + strerror(errno)); } return true; } #endif namespace SCIRun { struct ConditionVariable_private { pthread_cond_t cond; }; } // namespace SCIRun ConditionVariable::ConditionVariable(const char* name) : name_(name) { if (!Thread::initialized) Thread::initialize(); priv_ = new ConditionVariable_private; pthread_cond_init(&priv_->cond, 0); } ConditionVariable::~ConditionVariable() { if (pthread_cond_destroy(&priv_->cond) != 0) { ThreadError("pthread_cond_destroy: Threads are currently waiting on this condition."); } delete priv_; priv_=0; } void ConditionVariable::wait(Mutex& m) { Thread* self = Thread::self(); if (self) { Thread_private* p = Thread::self()->priv_; int oldstate = Thread::push_bstack(p, Thread::BLOCK_ANY, name_); pthread_cond_wait(&priv_->cond, &m.priv_->mutex); Thread::pop_bstack(p, oldstate); } else { pthread_cond_wait(&priv_->cond, &m.priv_->mutex); } } bool ConditionVariable::timedWait(Mutex& m, const struct timespec* abstime) { Thread* self = Thread::self(); int oldstate = 0; Thread_private* p = NULL; if (self) { p = Thread::self()->priv_; oldstate = Thread::push_bstack(p, Thread::BLOCK_ANY, name_); } bool success; if (abstime){ int err = pthread_cond_timedwait(&priv_->cond, &m.priv_->mutex, abstime); if (err != 0){ if (err == ETIMEDOUT) success = false; else throw ThreadError("pthread_cond_timedwait: Interrupted by a signal."); } else { success = true; } } else { pthread_cond_wait(&priv_->cond, &m.priv_->mutex); success = true; } if (self) Thread::pop_bstack(p, oldstate); return success; } void ConditionVariable::conditionSignal() { pthread_cond_signal(&priv_->cond); } void ConditionVariable::conditionBroadcast() { pthread_cond_broadcast(&priv_->cond); } #ifdef __ia64__ using SCIRun::Barrier; namespace SCIRun { struct Barrier_private { Barrier_private(); // long long amo_val; char pad0[128]; __int64 amo_val; char pad1[128]; volatile int flag; char pad2[128]; }; } // namespace SCIRun using SCIRun::Barrier_private; Barrier_private::Barrier_private() { flag = 0; amo_val = 0; } Barrier::Barrier(const char* name) : name_(name) { if (!Thread::isInitialized()) { if (getenv("THREAD_SHOWINIT")) fprintf(stderr, "Barrier: %s\n", name); Thread::initialize(); } priv_=new Barrier_private; } Barrier::~Barrier() { delete priv_; priv_=0; } void Barrier::wait(int n) { Thread* self = Thread::self(); int oldstate; Thread_private* p; if (self) { p = Thread::self()->priv_; oldstate = Thread::push_bstack(p, Thread::BLOCK_BARRIER, name_); } int gen = priv_->flag; __int64 val = __sync_fetch_and_add_di(&(priv_->amo_val),1); if (val == n-1){ priv_->amo_val = 0; priv_->flag++; } while(priv_->flag==gen) /* spin */ ; if (self) Thread::pop_bstack(p, oldstate); } using SCIRun::AtomicCounter; namespace SCIRun { struct AtomicCounter_private { AtomicCounter_private(); // These variables used only for non fectchop implementation // long long amo_val; char pad0[128]; __int64 amo_val; char pad1[128]; }; } // namespace SCIRun using SCIRun::AtomicCounter_private; AtomicCounter_private::AtomicCounter_private() { } AtomicCounter::AtomicCounter(const char* name) : name_(name) { if (!Thread::isInitialized()) { if (getenv("THREAD_SHOWINIT")) fprintf(stderr, "AtomicCounter: %s\n", name); Thread::initialize(); } priv_=new AtomicCounter_private; priv_->amo_val = 0; } AtomicCounter::AtomicCounter(const char* name, int value) : name_(name) { if (!Thread::isInitialized()) { if (getenv("THREAD_SHOWINIT")) fprintf(stderr, "AtomicCounter: %s\n", name); Thread::initialize(); } priv_=new AtomicCounter_private; priv_->amo_val = value; } AtomicCounter::~AtomicCounter() { delete priv_; priv_=0; } AtomicCounter::operator int() const { return (int)(priv_->amo_val); } // Preincrement int AtomicCounter::operator++() { __int64 val = __sync_fetch_and_add_di(&(priv_->amo_val),1); return (int)val+1; } // Postincrement int AtomicCounter::operator++(int) { __int64 val = __sync_fetch_and_add_di(&(priv_->amo_val),1); return (int)val; } // Predecrement int AtomicCounter::operator--() { __int64 val = __sync_fetch_and_add_di(&(priv_->amo_val),-1); return (int)val-1; } // Postdecrement int AtomicCounter::operator--(int) { __int64 val = __sync_fetch_and_add_di(&(priv_->amo_val),-1); return (int)val; } void AtomicCounter::set(int v) { priv_->amo_val = v; } #endif // end #ifdef __ia64__
75587e06e965ce72a9f637bbbe696afdb198346c
77a88451e9816de8dcafd76b7d70d6110c8a459f
/pizza_store_af/pizza_ingredient_factories/ny_pizza_inrgedient_factory.cpp
7506a25a385fd5110a1dcfe6c83eef041bd0fa9e
[]
no_license
jsxft/learn-oop
847dad41823cb7254cbcd28e03d6909ba58cbbf6
58b1f79087ead639a812387b8a56be40bf42d07a
refs/heads/main
2023-04-30T03:23:31.604874
2021-05-13T17:41:59
2021-05-13T17:41:59
363,584,863
0
0
null
null
null
null
UTF-8
C++
false
false
1,309
cpp
ny_pizza_inrgedient_factory.cpp
#include "ny_pizza_inrgedient_factory.hpp" #include "../doughs/thin_crust.hpp" #include "../sauces/marinara.hpp" #include "../cheeses/reggiano.hpp" #include "../veggies/garlic.hpp" #include "../veggies/onion.hpp" #include "../veggies/mushroom.hpp" #include "../veggies/red_pepper.hpp" #include "../pepperonies/sliced_pepperoni.hpp" #include "../clams/fresh_clams.hpp" std::unique_ptr<Dough> NYPizzaIngredientFactory::createDough() { return std::unique_ptr<Dough> {new ThinCrustDough}; } std::unique_ptr<Sauce> NYPizzaIngredientFactory::createSauce() { return std::unique_ptr<Sauce> {new MarinaraSauce}; } std::unique_ptr<Cheese> NYPizzaIngredientFactory::createCheese() { return std::unique_ptr<Cheese> {new ReggianoCheese}; } std::vector<std::unique_ptr<Veggie>> NYPizzaIngredientFactory::createVeggies() { std::vector<std::unique_ptr<Veggie>> veggies; veggies.emplace_back(new Garlic); veggies.emplace_back(new Onion); veggies.emplace_back(new Mushroom); veggies.emplace_back(new RedPepper); return veggies; } std::unique_ptr<Pepperoni> NYPizzaIngredientFactory::createPepperoni() { return std::unique_ptr<Pepperoni> {new SlicedPepperoni}; } std::unique_ptr<Clams> NYPizzaIngredientFactory::createClam() { return std::unique_ptr<Clams> {new FreshClams}; }
022c81b454b4af91755629e026a42be01e2a2b4e
ec76c1297252070d72fd194baebca3146bafac59
/damBreak_laminar/damBreak/4.5/U
06482861e006efc6a4b94acfccf7e400a2967e1d
[]
no_license
Shivam-IITKGP/CFD_InterFoam_BottleFill
413cdb5536cf71d95da882821fa36c7bd138e17e
be711e0f19a5331bb1094b8e54982c9ad101da5c
refs/heads/main
2023-04-13T12:58:09.332312
2021-04-15T16:24:42
2021-04-15T16:24:42
358,315,309
1
0
null
null
null
null
UTF-8
C++
false
false
221,735
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "4.5"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField nonuniform List<vector> 9150 ( (0.00495481 -0.0781313 0) (0.0130401 -0.0974588 0) (0.0109125 -0.10428 0) (0.00816826 -0.108123 0) (0.00161562 -0.109809 0) (-0.00358199 -0.109207 0) (-0.00915317 -0.107376 0) (-0.0108606 -0.104258 0) (-0.0131124 -0.0973478 0) (-0.00490721 -0.0780683 0) (0.00595457 -0.0920326 0) (0.00859613 -0.100505 0) (0.00736507 -0.102192 0) (0.00476931 -0.103953 0) (0.00246243 -0.105187 0) (-0.00137567 -0.105619 0) (-0.00422248 -0.10491 0) (-0.0072742 -0.102338 0) (-0.00863279 -0.100467 0) (-0.00596253 -0.0920035 0) (0.0017703 -0.0954676 0) (0.00458353 -0.0989837 0) (0.00370968 -0.101032 0) (0.00317047 -0.101906 0) (0.000747069 -0.102503 0) (-0.00090845 -0.102337 0) (-0.00339073 -0.101669 0) (-0.0037743 -0.100907 0) (-0.00459893 -0.0989621 0) (-0.00177414 -0.095455 0) (0.00176027 -0.0984347 0) (0.00248108 -0.100406 0) (0.00221489 -0.100212 0) (0.0013077 -0.100763 0) (0.000640523 -0.100831 0) (-0.000603087 -0.100846 0) (-0.00126228 -0.100901 0) (-0.00220602 -0.100246 0) (-0.002492 -0.100399 0) (-0.00176303 -0.0984282 0) (0.000187952 -0.0994946 0) (0.000726266 -0.0995747 0) (0.000453632 -0.100027 0) (0.000657268 -0.0998642 0) (0.000164809 -0.100097 0) (-8.34667e-05 -0.100132 0) (-0.000679032 -0.0998788 0) (-0.000469273 -0.0999974 0) (-0.00073176 -0.0995695 0) (-0.00018893 -0.099494 0) (0.0761015 -0.194438 2.01203e-26) (0.0495587 -0.184838 0) (0.0309651 -0.176128 0) (0.0157468 -0.175366 0) (0.00391073 -0.176311 0) (-0.00530463 -0.175975 0) (-0.0164871 -0.174212 0) (-0.0310482 -0.176894 0) (-0.0493024 -0.18537 0) (-0.0762898 -0.195163 -2.04401e-26) (0.0584096 -0.146277 5.09023e-27) (0.0483461 -0.146337 0) (0.0282763 -0.156157 0) (0.0210089 -0.155835 0) (0.0052956 -0.155314 0) (-0.00398322 -0.155925 0) (-0.0200785 -0.158111 0) (-0.0282536 -0.156784 0) (-0.0484248 -0.146802 0) (-0.0585622 -0.146721 -5.47158e-27) (0.0476128 -0.121436 2.59015e-27) (0.0422041 -0.1312 0) (0.0295952 -0.133953 0) (0.0177398 -0.138356 0) (0.00598781 -0.140431 0) (-0.00592776 -0.14029 0) (-0.0177662 -0.136834 0) (-0.0297935 -0.134073 0) (-0.0423066 -0.131664 0) (-0.0477443 -0.121679 -2.62104e-27) (0.0373568 -0.0994279 4.04309e-27) (0.0391915 -0.110252 0) (0.0227122 -0.120223 0) (0.0174785 -0.124915 0) (0.00408953 -0.125161 0) (-0.0046131 -0.125306 0) (-0.0172709 -0.125309 0) (-0.0220628 -0.120287 0) (-0.0388268 -0.110327 0) (-0.0372824 -0.0994859 -4.06675e-27) (0.0249055 -0.0814379 -1.28116e-26) (0.0280943 -0.101112 -1.5184e-26) (0.0201729 -0.108213 -3.79191e-27) (0.0114186 -0.113734 -3.28425e-27) (0.00541086 -0.11669 -1.415e-28) (-0.00362603 -0.116881 -1.11467e-28) (-0.0105843 -0.113942 -3.42776e-27) (-0.0200125 -0.108239 -3.83495e-27) (-0.028101 -0.101058 -1.51396e-26) (-0.0248207 -0.0813936 -1.27961e-26) (0.0197198 -0.14273 0) (0.016015 -0.201601 0) (0.0255552 -0.213526 0) (0.0146657 -0.220065 0) (0.0143746 -0.225427 0) (-0.000637288 -0.227284 0) (-0.00244416 -0.225874 0) (-0.0177919 -0.219211 0) (-0.00818722 -0.207364 0) (-0.0181075 -0.146341 0) (0.0168751 -0.163219 0) (0.00288123 -0.196358 0) (0.0163161 -0.207283 0) (0.00341915 -0.212959 0) (0.00692275 -0.214182 0) (-0.00487397 -0.21486 0) (-0.00111346 -0.213777 0) (-0.0135291 -0.209887 0) (-0.000797741 -0.201608 0) (-0.0147402 -0.16932 0) (0.0153864 -0.170341 0) (-0.00314774 -0.201754 0) (0.0121071 -0.206886 0) (0.000849998 -0.208542 0) (0.0062948 -0.209025 0) (-0.00164043 -0.209979 0) (0.0031703 -0.210407 0) (-0.00981017 -0.209169 0) (0.00437952 -0.204259 0) (-0.0150234 -0.173232 0) (0.0177686 -0.193252 0) (-0.00659295 -0.202899 0) (0.0106526 -0.20935 0) (-0.000110469 -0.207652 0) (0.00155885 -0.206967 0) (-0.0014038 -0.207187 0) (0.00123132 -0.205394 0) (-0.00903741 -0.210689 0) (0.00688211 -0.204787 0) (-0.0169071 -0.194832 0) (0.0346922 -0.216737 0) (0.00915338 -0.204048 0) (0.0167553 -0.203493 0) (0.0118179 -0.196013 0) (0.002585 -0.19286 0) (-0.00146265 -0.193246 0) (-0.0106551 -0.196659 0) (-0.0163492 -0.20352 0) (-0.00876698 -0.204065 0) (-0.0351216 -0.218281 0) (0.0334587 -0.00512491 0) (0.0309823 -0.00281251 0) (0.0350131 -0.0133216 0) (0.0398906 -0.00457954 0) (0.0381858 0.00292595 0) (0.0332884 0.00824544 0) (0.018194 0.0190455 0) (-0.00273708 0.00974168 0) (-0.0104183 0.00603886 0) (-0.0221706 0.0146582 0) (0.067107 0.0295295 0) (0.0561748 0.00185283 0) (0.0504357 -0.00996262 0) (0.0463857 0.00125384 0) (0.0441356 0.01492 0) (0.0422793 0.0284203 0) (0.032793 0.0499887 0) (0.0144285 0.053627 0) (-0.00730271 0.0387016 0) (-0.0269559 0.0617506 0) (0.128276 0.0897867 0) (0.103375 0.0348353 0) (0.0838579 0.00712244 0) (0.0781951 0.00679011 0) (0.0766125 0.0154737 0) (0.0725205 0.0352933 0) (0.0646434 0.0668614 0) (0.0552485 0.0865927 0) (0.0333618 0.0854341 0) (0.00809121 0.0993624 0) (0.134593 0.10934 0) (0.125856 0.0836309 0) (0.111453 0.0305765 0) (0.104342 0.0164131 0) (0.100821 0.0201811 0) (0.0928342 0.0439561 0) (0.0862865 0.0820872 0) (0.0745693 0.112887 0) (0.0495991 0.131878 0) (0.0259684 0.143163 0) (0.137791 0.111919 0) (0.14068 0.0969886 0) (0.135173 0.0491024 0) (0.129049 0.0364837 0) (0.116826 0.0427087 0) (0.0896457 0.0646304 0) (0.0794038 0.106735 0) (0.0597128 0.158337 0) (0.0389904 0.175898 0) (0.0299834 0.189061 0) (0.143843 0.105886 0) (0.149181 0.0877705 0) (0.141509 0.0592592 0) (0.137314 0.0619365 0) (0.108913 0.0879552 0) (0.0718471 0.116785 0) (0.0528604 0.162138 0) (0.0388674 0.195341 0) (0.0307195 0.197155 0) (0.0295999 0.204004 0) (0.138148 0.098766 0) (0.141326 0.0837569 0) (0.133658 0.0769668 0) (0.128286 0.105356 0) (0.0757763 0.160248 0) (0.0443235 0.162753 0) (0.0320236 0.190892 0) (0.0269688 0.204669 0) (0.0266264 0.197933 0) (0.0268515 0.201668 0) (0.107603 0.0922029 0) (0.108098 0.0912051 0) (0.0965117 0.101748 0) (0.0799531 0.18847 0) (0.048939 0.221963 0) (0.0263396 0.2011 0) (0.0202036 0.201675 0) (0.0196921 0.20105 0) (0.0230289 0.192663 0) (0.0274387 0.193864 0) (0.070504 0.0901019 0) (0.0750337 0.10164 0) (0.0558363 0.14171 0) (0.0480799 0.230073 0) (0.0367665 0.247151 0) (0.0287353 0.231071 0) (0.0194193 0.210498 0) (0.0203418 0.19687 0) (0.0249512 0.184056 0) (0.0358493 0.177662 0) (0.0359853 0.0868577 0) (0.0338086 0.128019 0) (0.0193808 0.175895 0) (0.0156854 0.231406 0) (0.0264023 0.244972 0) (0.0323685 0.237401 0) (0.0300565 0.220092 0) (0.0372555 0.187213 0) (0.0463376 0.165259 0) (0.0587536 0.154969 0) (0.0040709 0.104804 0) (-0.000277803 0.140332 0) (-0.00230369 0.179619 0) (0.00414924 0.206327 0) (0.024467 0.21482 0) (0.0431161 0.222835 0) (0.0508952 0.210849 0) (0.0655868 0.169193 0) (0.0716024 0.147427 0) (0.0778711 0.140852 0) (-0.000850303 0.11043 0) (-0.00931499 0.137913 0) (-0.00566386 0.164808 0) (0.00367259 0.181061 0) (0.0169283 0.174676 0) (0.0345786 0.184822 0) (0.055419 0.176198 0) (0.0706226 0.152193 0) (0.0750621 0.139864 0) (0.0792186 0.136539 0) (-0.0127261 0.130387 0) (-0.028106 0.153013 0) (-0.0318217 0.158207 0) (-0.0230988 0.15475 0) (-0.00305239 0.132818 0) (0.0177616 0.129835 0) (0.0354991 0.128803 0) (0.0473858 0.132537 0) (0.0499884 0.130259 0) (0.0543261 0.12978 0) (-0.0439913 0.14872 0) (-0.0402797 0.161523 0) (-0.0362262 0.150494 0) (-0.0210219 0.121912 0) (-0.00987212 0.107403 0) (0.00209543 0.106987 0) (0.00944556 0.119101 0) (0.00720364 0.132573 0) (0.000761297 0.121421 0) (0.00623003 0.111839 0) (-0.0628989 0.127903 0) (-0.0512145 0.14848 0) (-0.0430946 0.130624 0) (-0.0353806 0.0947047 0) (-0.032352 0.0861969 0) (-0.0261187 0.0915139 0) (-0.0139413 0.119166 0) (-0.0116485 0.149527 0) (-0.019199 0.134128 0) (-0.0224187 0.0989094 0) (-0.0729033 0.0984504 0) (-0.0592171 0.11257 0) (-0.0482471 0.105053 0) (-0.0480827 0.104186 0) (-0.0670281 0.0908468 0) (-0.0772636 0.0806515 0) (-0.0760325 0.0972442 0) (-0.0589068 0.137713 0) (-0.0445438 0.131148 0) (-0.0339618 0.103325 0) (-0.0554997 0.0815386 0) (-0.0449225 0.0996535 0) (-0.0400665 0.112013 0) (-0.0399603 0.133199 0) (-0.056728 0.120856 0) (-0.0691902 0.097186 0) (-0.0681636 0.0876825 0) (-0.0613024 0.0998962 0) (-0.0514838 0.0950289 0) (-0.0433638 0.0693492 0) (-0.0100626 0.0834463 0) (-0.0224734 0.0902758 0) (-0.0248105 0.0992135 0) (-0.0205934 0.124297 0) (-0.00699504 0.137573 0) (-0.00799965 0.131943 0) (-0.0178868 0.0962201 0) (-0.0135218 0.0749413 0) (-0.00815313 0.0811593 0) (0.00525835 0.0432597 0) (0.0372351 0.117149 0) (0.0301892 0.113731 0) (0.0167886 0.113808 0) (0.0137057 0.108718 0) (0.0198167 0.119087 0) (0.0267756 0.116618 0) (0.0414558 0.0905499 0) (0.0638794 0.0727087 0) (0.0706517 0.0709787 0) (0.077625 0.0425597 0) (0.0524255 0.114375 0) (0.0643037 0.130321 0) (0.0647932 0.118576 0) (0.0780972 0.0914826 0) (0.081252 0.090193 0) (0.0928789 0.0772463 0) (0.126335 0.0235048 0) (0.153763 0.0118932 0) (0.182904 0.0393857 0) (0.206771 0.0460488 0) (0.113532 0.0679457 0) (0.141963 0.0943043 0) (0.161906 0.0927463 0) (0.176024 0.0918981 0) (0.19595 0.0837709 0) (0.223645 0.0436971 0) (0.263013 -0.0186979 0) (0.295403 -0.0480362 0) (0.328756 -0.0481157 0) (0.374101 -0.0165864 0) (0.143253 0.0348426 0) (0.158493 0.0444538 0) (0.177251 0.0549753 0) (0.197643 0.0505867 0) (0.223987 0.0205848 0) (0.265019 -0.0478782 0) (0.287183 -0.100837 0) (0.29759 -0.1198 0) (0.306101 -0.117712 0) (0.31975 -0.0983256 0) (0.175877 0.0075956 0) (0.202838 0.0137444 0) (0.237752 0.00783099 0) (0.264058 -0.0094526 0) (0.293734 -0.0557519 0) (0.322836 -0.101488 0) (0.338238 -0.120353 0) (0.340367 -0.123191 0) (0.336432 -0.11987 0) (0.333086 -0.100413 0) (0.22352 -0.0483173 0) (0.256012 -0.0669689 0) (0.294669 -0.0693595 0) (0.327143 -0.0591008 0) (0.355949 -0.0817571 0) (0.371449 -0.111983 0) (0.36964 -0.113047 0) (0.360532 -0.109705 0) (0.333917 -0.0902074 0) (0.306871 0.00150036 0) (0.214656 -0.0698315 0) (0.206302 -0.113325 0) (0.208496 -0.121349 0) (0.218561 -0.129379 0) (0.224465 -0.127479 0) (0.218679 -0.124322 0) (0.219347 -0.110725 0) (0.222098 -0.0676685 0) (0.200222 -0.0379655 0) (0.194584 -0.015952 0) (0.125338 -0.0394498 0) (0.11596 -0.0906992 0) (0.116621 -0.123336 0) (0.121944 -0.121636 0) (0.120687 -0.114661 0) (0.108468 -0.124299 0) (0.0931148 -0.118734 0) (0.0680281 -0.07415 0) (0.0409014 -0.0572209 0) (0.00138935 0.101437 0) (0.0662116 -0.0146609 0) (0.0594585 -0.0712656 0) (0.0127642 -0.0948065 0) (-0.0213341 -0.0895693 0) (-0.0623918 -0.0664157 0) (-0.0932853 -0.0444334 0) (-0.113219 0.0124753 0) (-0.146896 0.0231396 0) (-0.167431 0.043381 0) (-0.135807 0.135523 0) (-0.0548331 -0.0402159 0) (-0.0866697 -0.00459163 0) (-0.118433 -0.0110285 0) (-0.133474 -0.0116182 0) (-0.14311 -0.00392939 0) (-0.158885 -0.0142896 0) (-0.174309 0.00572003 0) (-0.185978 -0.00349735 0) (-0.193873 0.0227347 0) (-0.175722 0.0372477 0) (-0.129313 0.0414163 0) (-0.154108 0.0640046 0) (-0.171342 0.00251954 0) (-0.167537 -0.0142371 0) (-0.156388 0.00242724 0) (-0.155183 0.0225456 0) (-0.168366 0.035345 0) (-0.178336 0.0295637 0) (-0.178963 0.0229401 0) (-0.170229 0.0218224 0) (-0.138039 0.0841895 0) (-0.150621 0.106443 0) (-0.182579 -0.00162502 0) (-0.18127 -0.0365259 0) (-0.185286 -0.0288215 0) (-0.170537 0.0320192 0) (-0.145371 0.0512026 0) (-0.133615 0.0439562 0) (-0.133671 0.0337674 0) (-0.144347 0.0273457 0) (-0.0232197 0.158032 0) (-0.0538381 0.188207 0) (-0.106894 0.0553203 0) (-0.141902 -0.0426434 0) (-0.227394 -0.0516201 0) (-0.239384 -0.0441635 0) (-0.212074 -0.0530976 0) (-0.162191 -0.0196099 0) (-0.143648 0.0405626 0) (-0.123272 0.0476701 0) (0.198135 0.210805 0) (0.204984 0.287578 0) (0.181647 0.279207 0) (0.100502 0.175953 0) (-0.0247538 0.193294 0) (-0.121237 0.0840747 0) (-0.177326 -0.099503 0) (-0.196101 -0.101838 0) (-0.175726 -0.0508584 0) (-0.130264 0.000600312 0) (0.108803 0.0434104 0) (0.15677 0.183665 0) (0.170211 0.27884 0) (0.134353 0.287071 0) (0.0302055 0.276054 0) (-0.0268442 0.245261 0) (-0.028664 0.113228 0) (-0.15515 -0.0409013 0) (-0.183743 -0.0759786 0) (-0.17528 -0.0693665 0) (-0.0393892 0.0513713 0) (0.0161895 0.206302 0) (0.0242334 0.357285 0) (-0.00288539 0.461124 0) (-0.034091 0.423324 0) (0.0315428 0.259035 0) (0.0923601 0.104499 0) (0.0863849 0.154376 0) (-0.160412 0.0352011 0) (-0.172725 -0.11245 0) (-0.337532 0.0118479 0) (-0.280649 0.174924 0) (-0.256508 0.303417 0) (-0.102951 0.385784 0) (-0.01842 0.312862 0) (0.0801726 0.0553335 0) (0.0426018 0.0812934 0) (-0.00585905 0.369626 0) (-0.0911294 0.386314 0) (-0.0380643 -0.0217339 0) (-0.390824 -0.0945033 0) (-0.32965 -0.0114427 0) (-0.225777 -0.0325543 0) (-0.144763 -0.0507086 0) (-0.0954482 0.0399913 0) (-0.0755039 0.13654 0) (-0.140091 0.290242 0) (-0.161701 0.416375 0) (-0.0780711 0.241416 0) (0.0329422 -0.0361389 0) (-0.350089 -0.208259 0) (-0.321564 -0.181157 0) (-0.266545 -0.0995196 0) (-0.251548 0.0305668 0) (-0.217213 0.113259 0) (-0.183618 0.197926 0) (-0.153275 0.280503 0) (-0.136246 0.302088 0) (0.0474707 -0.165936 0) (0.0512142 -0.187362 0) (-0.287541 -0.184179 0) (-0.271585 -0.210717 0) (-0.241647 -0.140179 0) (-0.230315 -0.0336722 0) (-0.192153 -0.036205 0) (-0.1162 -0.0619394 0) (-0.0437392 0.113725 0) (0.0927497 0.0691594 0) (0.134764 -0.1115 0) (0.103494 -0.141967 0) (-0.256459 -0.251926 0) (-0.231506 -0.232536 0) (-0.20725 -0.197102 0) (-0.15978 -0.123936 0) (-0.116362 -0.106521 0) (-0.0798302 -0.135639 0) (-0.0398632 -0.0655032 0) (0.0406718 -0.088788 0) (0.0651028 -0.12251 0) (0.0690291 -0.105532 0) (-0.269523 -0.322303 0) (-0.240613 -0.302703 0) (-0.211375 -0.274139 0) (-0.191326 -0.207313 0) (-0.159711 -0.186623 0) (-0.137874 -0.174143 0) (-0.0990093 -0.166714 0) (-0.0526007 -0.193929 0) (-0.00930832 -0.17845 0) (0.021666 -0.172896 0) (-0.249605 -0.36351 0) (-0.222737 -0.350149 0) (-0.198856 -0.297532 0) (-0.185978 -0.235976 0) (-0.177638 -0.221243 0) (-0.148517 -0.23854 0) (-0.108421 -0.279406 0) (-0.0871492 -0.283437 0) (-0.058686 -0.251045 0) (-0.045808 -0.228634 0) (-0.214759 -0.435931 0) (-0.177575 -0.405106 0) (-0.158722 -0.334766 0) (-0.137438 -0.271269 0) (-0.122838 -0.259342 0) (-0.101802 -0.278796 0) (-0.0972864 -0.294781 0) (-0.0982702 -0.294662 0) (-0.0961043 -0.260648 0) (-0.0935083 -0.23282 0) (-0.238211 -0.537161 0) (-0.161625 -0.443555 0) (-0.123219 -0.364327 0) (-0.108641 -0.309272 0) (-0.0846168 -0.290788 0) (-0.0786462 -0.282815 0) (-0.0818852 -0.280846 0) (-0.0960069 -0.275264 0) (-0.114383 -0.252858 0) (-0.12047 -0.221249 0) (-0.361881 -0.870411 0) (-0.216665 -0.620266 0) (-0.112201 -0.422527 0) (-0.0802207 -0.340879 0) (-0.0819866 -0.304935 0) (-0.0833996 -0.283242 0) (-0.095972 -0.254868 0) (-0.10497 -0.238535 0) (-0.114778 -0.223487 0) (-0.13508 -0.187559 0) (-0.413441 -1.08305 0) (-0.337712 -1.00522 0) (-0.17936 -0.629215 0) (-0.0941851 -0.380301 0) (-0.0969326 -0.29545 0) (-0.123613 -0.261471 0) (-0.136694 -0.23398 0) (-0.140326 -0.228355 0) (-0.137282 -0.209857 0) (-0.137039 -0.171854 0) (-0.408084 -1.12073 0) (-0.372695 -1.13175 0) (-0.304067 -0.958743 0) (-0.159938 -0.47085 0) (-0.131513 -0.271057 0) (-0.17929 -0.203109 0) (-0.186595 -0.222463 0) (-0.179007 -0.244795 0) (-0.16373 -0.232738 0) (-0.143312 -0.174103 0) (-0.367158 -1.09478 0) (-0.384859 -1.15648 0) (-0.34835 -1.09578 0) (-0.251366 -0.641384 0) (-0.153487 -0.237942 0) (-0.197446 -0.164673 0) (-0.192967 -0.238648 0) (-0.182787 -0.274209 0) (-0.177218 -0.272297 0) (-0.157317 -0.235433 0) (-0.27591 -0.7695 0) (-0.411734 -1.14251 0) (-0.38059 -1.17141 0) (-0.312722 -0.915906 0) (-0.187444 -0.306761 0) (-0.122873 -0.15816 0) (-0.155648 -0.220925 0) (-0.165461 -0.277883 0) (-0.172267 -0.28059 0) (-0.169218 -0.260694 0) (0.135613 -0.0246704 0) (-0.441057 -0.997514 0) (-0.346516 -1.23057 0) (-0.301539 -1.14118 0) (-0.224572 -0.630519 0) (-0.0851159 -0.194755 0) (-0.0941771 -0.153247 0) (-0.127548 -0.237912 0) (-0.159222 -0.264093 0) (-0.170791 -0.263846 0) (-0.139829 0.406683 0) (-0.530576 -0.711239 0) (-0.354479 -1.27336 0) (-0.305642 -1.24986 0) (-0.253037 -0.97149 0) (-0.132598 -0.313078 0) (-0.0488294 -0.144223 0) (-0.0963866 -0.131757 0) (-0.136211 -0.209154 0) (-0.169923 -0.239097 0) (-0.379326 0.995453 0) (-0.360173 -0.487294 0) (-0.28032 -1.30525 0) (-0.243805 -1.32023 0) (-0.207618 -1.18063 0) (-0.116942 -0.581157 0) (-0.0135706 -0.151135 0) (-0.0601578 -0.103293 0) (-0.04957 -0.101169 0) (-0.101047 -0.171727 0) (-0.394134 0.978902 0) (-0.278646 -0.781195 0) (-0.267542 -1.30479 0) (-0.227273 -1.35663 0) (-0.185922 -1.28318 0) (-0.1269 -0.911027 0) (-0.0251999 -0.1621 0) (-0.0590937 -0.121858 0) (-0.0280167 -0.0823348 0) (-0.0404847 -0.100372 0) (-0.0241652 0.575551 0) (-0.0270629 -0.64587 0) (-0.140428 -1.29603 0) (-0.117794 -1.36223 0) (-0.0964823 -1.34778 0) (-0.0944496 -1.10032 0) (-0.0345235 -0.151471 0) (-0.0728159 -0.138364 0) (-0.0490753 -0.106011 0) (-0.0454893 -0.0803514 0) (0.143796 0.0855644 0) (0.118222 -0.353372 0) (-0.0811114 -1.19463 0) (-0.0729213 -1.35147 0) (-0.0434938 -1.34897 0) (-0.0625865 -1.23511 0) (-0.049902 -0.102464 0) (-0.0904647 -0.129622 0) (-0.0811591 -0.135274 0) (-0.068096 -0.117194 0) (0.189092 0.0493037 0) (0.205291 -0.249506 0) (0.0217075 -0.815608 0) (-0.0421019 -1.35122 0) (-0.021392 -1.34936 0) (-0.0442021 -1.29986 0) (0.0247486 -0.0371092 0) (-0.0470203 -0.112313 0) (-0.0521191 -0.166988 0) (-0.0715496 -0.133798 0) (0.148931 -0.111749 0) (0.142249 -0.290821 0) (0.00255827 -0.661061 0) (-0.0557093 -1.31325 0) (-0.0198479 -1.32576 0) (-0.0447986 -1.30337 0) (-0.0151552 -0.0589417 0) (0.127328 0.0454197 0) (0.094905 -0.0513249 0) (0.0721089 -0.0907169 0) (0.126141 -0.0195854 0) (0.0945206 -0.117123 0) (0.0645838 -0.449259 0) (0.0327675 -1.2285 0) (0.00375905 -1.29427 0) (-0.0092085 -1.2904 0) (0.0161893 -0.833372 0) (0.503286 -0.0933156 0) (0.573602 -0.198489 0) (0.543059 -0.118257 0) (0.0565599 -0.0082147 0) (0.0246813 -0.117936 0) (0.0161047 -0.483761 0) (0.015367 -1.22187 0) (0.00789497 -1.26438 0) (-0.0070525 -1.2597 0) (0.0039558 -1.17056 0) (0.0687746 -0.407254 0) (0.104788 -0.229994 0) (0.124826 -0.167372 0) (0.0355668 0.0284868 0) (0.0108959 -0.0649936 0) (0.00684716 -0.453264 0) (0.00779433 -1.22514 0) (0.00998493 -1.24332 0) (-0.00943364 -1.24709 0) (-0.0168249 -1.20332 0) (0.00676427 -0.307532 0) (-0.0212527 -0.183339 0) (-0.00882438 -0.266584 0) (0.035631 0.0798824 0) (0.0101856 -0.0417514 0) (0.00493144 -0.450148 0) (0.00817712 -1.23222 0) (0.00549421 -1.22113 0) (-0.00611777 -1.21851 0) (-0.0146138 -1.22874 0) (0.0202367 -0.509196 0) (0.049443 -0.176185 0) (0.0330662 -0.305076 0) (0.0454709 0.133607 0) (0.00474606 0.0232272 0) (0.004006 -0.45415 0) (0.00473318 -1.22309 0) (0.00791576 -1.20394 0) (-0.0104361 -1.20325 0) (-0.00762096 -1.2253 0) (-0.0189854 -0.608405 0) (0.097648 -0.19049 0) (0.11917 -0.229723 0) (0.0298353 0.231978 0) (-0.0236462 0.074472 0) (0.0177695 -0.499107 0) (0.0114996 -1.20703 0) (0.00786969 -1.18713 0) (-0.00192586 -1.18548 0) (-0.00293398 -1.20942 0) (-0.0107396 -0.680119 0) (0.0263272 -0.408664 0) (0.0814134 -0.247449 0) (-0.0412277 0.314604 0) (-0.0528445 0.0279969 0) (0.0136441 -0.586603 0) (0.00734629 -1.18904 0) (0.00939359 -1.1766 0) (-0.00194469 -1.17515 0) (0.00223309 -1.18963 0) (-0.00343219 -0.701752 0) (-0.00458252 -0.412288 0) (-0.00500945 -0.228235 0) (-0.0555664 0.315158 0) (-0.0492913 0.0664933 0) (0.0254158 -0.667508 0) (0.014013 -1.17315 0) (0.0106427 -1.16712 0) (0.0022932 -1.16764 0) (0.00949994 -1.17332 0) (0.00687041 -0.686949 0) (-0.0248721 -0.355802 0) (-0.038793 -0.301136 0) (-0.0773367 0.245989 0) (-0.0302573 -0.0702894 0) (0.0243592 -0.756667 0) (0.00476621 -1.16321 0) (0.00549117 -1.1599 0) (-0.00346075 -1.16217 0) (-0.00150992 -1.16235 0) (0.0066726 -0.718196 0) (-0.00467388 -0.25689 0) (-0.0512783 -0.33532 0) (-0.0429225 0.105703 0) (-0.0119719 -0.167625 0) (0.0126633 -0.757128 0) (-0.000454994 -1.15127 0) (0.00451288 -1.15233 0) (-0.00782647 -1.15141 0) (-0.0113046 -1.15212 0) (-0.0297199 -0.771219 0) (0.015329 -0.207143 0) (-0.0155765 -0.34527 0) (0.0328972 0.0699142 0) (0.0265808 -0.148086 0) (0.0415896 -0.740333 0) (0.0196741 -1.13217 0) (0.0116834 -1.13688 0) (0.000230725 -1.13467 0) (0.00398528 -1.13372 0) (-0.0189957 -0.783444 0) (0.0202129 -0.252577 0) (0.0198773 -0.293231 0) (0.0395227 -0.0484441 0) (0.049087 -0.120009 0) (0.0423425 -0.708124 0) (0.0115081 -1.11866 0) (0.00771856 -1.11758 0) (-0.0061461 -1.11894 0) (-0.00719884 -1.11808 0) (-0.0255596 -0.752394 0) (-0.0295691 -0.309512 0) (-0.0203049 -0.243188 0) (-0.0720987 -0.110546 0) (-0.00926917 -0.208682 0) (0.0368092 -0.719263 0) (0.0168889 -1.09667 0) (0.00923941 -1.09842 0) (-0.0056232 -1.09821 0) (-0.00622803 -1.09598 0) (-0.0212836 -0.697623 0) (-0.0429224 -0.294964 0) (-0.0597583 -0.211272 0) (-0.0714361 -0.190547 0) (0.00770078 -0.366518 0) (0.0310557 -0.74121 0) (0.0174253 -1.08611 0) (0.0118082 -1.07711 0) (-0.00548757 -1.07499 0) (-0.00410708 -1.0854 0) (-0.0113817 -0.673715 0) (-0.0349663 -0.246876 0) (-0.0573896 -0.175807 0) (-0.00456396 -0.24703 0) (0.0208601 -0.395043 0) (0.0270892 -0.734527 0) (0.0166904 -1.07758 0) (0.0124225 -1.05197 0) (-0.00490549 -1.05432 0) (-0.00692012 -1.07554 0) (-0.0172627 -0.660908 0) (-0.0240055 -0.212918 0) (-0.0387507 -0.146736 0) (0.0148957 -0.282226 0) (0.0207363 -0.400709 0) (0.019047 -0.736492 0) (0.0101747 -1.06448 0) (0.00618319 -1.03008 0) (-0.0108191 -1.02942 0) (-0.0141028 -1.06224 0) (-0.0241896 -0.652407 0) (-0.0236051 -0.200796 0) (-0.0261631 -0.137221 0) (0.0150796 -0.316692 0) (0.0154372 -0.39792 0) (0.0205591 -0.741055 0) (0.0107231 -1.04531 0) (0.00830355 -1.00893 0) (-0.00835754 -1.00582 0) (-0.0120652 -1.04363 0) (-0.0254638 -0.661664 0) (-0.0169041 -0.199378 0) (-0.0190756 -0.14058 0) (0.0276247 -0.322796 0) (0.0189555 -0.390369 0) (0.0276148 -0.753013 0) (0.0119358 -1.02093 0) (0.00789499 -0.988048 0) (-0.00651221 -0.987688 0) (-0.00968031 -1.01956 0) (-0.0185059 -0.67521 0) (-0.0148035 -0.194075 0) (-0.0228881 -0.142105 0) (0.0468942 -0.297533 0) (0.0259187 -0.384677 0) (0.0193682 -0.753749 0) (0.00860061 -0.997188 0) (0.00552118 -0.970957 0) (-0.00730826 -0.970337 0) (-0.0118241 -0.996021 0) (-0.0223901 -0.680953 0) (-0.0238596 -0.168176 0) (-0.0425574 -0.124773 0) (0.0569921 -0.245913 0) (0.0347501 -0.350247 0) (0.0195191 -0.744176 0) (0.0124914 -0.978171 0) (0.00684964 -0.956396 0) (-0.00536372 -0.954099 0) (-0.0107299 -0.977249 0) (-0.0187511 -0.678908 0) (-0.0287481 -0.123607 0) (-0.0551281 -0.0791538 0) (0.0789436 -0.198751 0) (0.0474 -0.297107 0) (0.0238958 -0.723616 0) (0.0145869 -0.958225 0) (0.00708047 -0.937753 0) (-0.00580032 -0.937336 0) (-0.0120034 -0.95785 0) (-0.0212947 -0.671932 0) (-0.025184 -0.0840947 0) (-0.0426888 -0.0303046 0) (0.096799 -0.115135 0) (0.057324 -0.228249 0) (0.0259314 -0.680168 0) (0.015327 -0.936521 0) (0.00735918 -0.918002 0) (-0.00573891 -0.918264 0) (-0.0128097 -0.936485 0) (-0.0230333 -0.656798 0) (-0.0302961 -0.0648317 0) (-0.0404368 0.0143568 0) (0.118017 -0.0338778 0) (0.0756837 -0.147664 0) (0.0270049 -0.615936 0) (0.0156323 -0.916243 0) (0.00719579 -0.897628 0) (-0.00831347 -0.898231 0) (-0.016325 -0.917228 0) (-0.0260832 -0.638555 0) (-0.0313147 -0.0744788 0) (-0.0255167 0.0291401 0) (0.102776 0.0528853 0) (0.0550264 -0.0645387 0) (0.0216526 -0.585757 0) (0.016286 -0.896725 0) (0.00691483 -0.873883 0) (-0.00723353 -0.874068 0) (-0.017178 -0.897686 0) (-0.0283457 -0.59686 0) (-0.0514329 -0.0878947 0) (-0.0487024 0.0392089 0) (0.0786464 0.139919 0) (0.0400547 0.00968879 0) (0.0244795 -0.565123 0) (0.0177291 -0.874617 0) (0.00928507 -0.851129 0) (-0.00814154 -0.851849 0) (-0.0155032 -0.875864 0) (-0.0206445 -0.548712 0) (-0.0685634 -0.0241978 0) (-0.0672025 0.0306266 0) (0.0630198 0.200688 0) (0.0315035 0.0606303 0) (0.0203483 -0.559297 0) (0.0162522 -0.852635 0) (0.00585998 -0.825179 0) (-0.00743443 -0.82811 0) (-0.0185876 -0.854143 0) (-0.0192824 -0.538261 0) (-0.0515333 0.0329057 0) (-0.0865961 0.00858508 0) (0.0712868 0.225175 0) (0.0374264 0.111442 0) (0.0215527 -0.549152 0) (0.0140969 -0.828043 0) (0.00531277 -0.804029 0) (-0.0111932 -0.804413 0) (-0.0193889 -0.828894 0) (-0.0261425 -0.546479 0) (-0.0313931 0.150385 0) (-0.0738843 0.0342439 0) (0.0573659 0.236974 0) (0.0288393 0.157936 0) (0.0198234 -0.544101 0) (0.0142288 -0.802406 0) (0.00235408 -0.778467 0) (-0.00907655 -0.778667 0) (-0.0211641 -0.803483 0) (-0.0355599 -0.577294 0) (0.00911156 0.160552 0) (0.0116528 0.11824 0) (0.0346467 0.254049 0) (0.0235815 0.188949 0) (0.0237595 -0.539573 0) (0.0172768 -0.776326 0) (0.00641328 -0.758053 0) (-0.00882198 -0.755715 0) (-0.0197624 -0.776478 0) (-0.0325097 -0.587848 0) (-0.00459733 0.044311 0) (0.0324081 0.17437 0) (0.0325884 0.260181 0) (0.0348887 0.195274 0) (0.0272391 -0.534708 0) (0.0201681 -0.74889 0) (0.00717416 -0.729038 0) (-0.00518154 -0.730161 0) (-0.0189873 -0.748789 0) (-0.0279697 -0.570611 0) (-0.0466919 0.00666074 0) (-0.00228967 0.161382 0) (0.0280245 0.252227 0) (0.0350749 0.204855 0) (0.0283857 -0.531029 0) (0.0204562 -0.721634 0) (0.00668815 -0.705281 0) (-0.00733139 -0.709413 0) (-0.0180427 -0.721872 0) (-0.0283571 -0.554013 0) (-0.0460696 0.0033032 0) (-0.0277554 0.050961 0) (0.00484255 0.219059 0) (0.0288678 0.201845 0) (0.0268414 -0.532647 0) (0.0135181 -0.695064 0) (0.000756978 -0.679738 0) (-0.00914852 -0.682134 0) (-0.018837 -0.696044 0) (-0.0301298 -0.551751 0) (-0.0201325 0.0216024 0) (0.0322432 0.0201091 0) (-0.0288839 0.190585 0) (0.00368358 0.151327 0) (0.0228357 -0.531395 0) (0.0112128 -0.668423 0) (0.00928683 -0.657206 0) (-0.00349491 -0.652501 0) (-0.0192052 -0.669897 0) (-0.0375772 -0.554042 0) (-0.0151462 -0.149998 0) (0.0717319 -0.0667266 0) (-0.0153655 0.18292 0) (0.0454529 0.0778588 0) (0.0666342 -0.522975 0) (0.037978 -0.650576 0) (0.0314035 -0.639244 0) (0.0172162 -0.64233 0) (0.00430559 -0.655293 0) (-0.0122045 -0.527514 0) (-0.00777829 -0.21427 0) (-0.00287141 -0.129038 0) (-0.0214839 0.163948 0) (0.00622549 -0.00244396 0) (0.0163562 -0.545133 0) (-0.00363258 -0.605717 0) (-0.0131262 -0.59368 0) (-0.0366201 -0.609277 0) (-0.0428502 -0.609417 0) (-0.0706693 -0.490742 0) (-0.014244 -0.229675 0) (-0.0321695 -0.141032 0) (0.000886766 0.162993 0) (0.0264674 -0.0129606 0) (-0.000372799 -0.547073 0) (-0.00553721 -0.577956 0) (-0.0263127 -0.581081 0) (-0.0454214 -0.575356 0) (-0.0513318 -0.583107 0) (-0.0814059 -0.533911 0) (-0.0257378 -0.278732 0) (-0.0291461 -0.151085 0) (0.0221281 0.156676 0) (0.034188 0.00574153 0) (0.0406499 -0.490017 0) (0.0326107 -0.546303 0) (0.00694292 -0.541772 0) (-0.00844117 -0.545245 0) (-0.0169068 -0.548887 0) (-0.0655551 -0.538303 0) (-0.0382521 -0.306513 0) (-0.0502147 -0.131194 0) (0.014855 0.138699 0) (-0.00333218 -0.0665289 0) (0.0473427 -0.504457 0) (0.0267515 -0.505291 0) (0.00408633 -0.511432 0) (-0.0171053 -0.504482 0) (-0.0313903 -0.503313 0) (-0.0547939 -0.483996 0) (-0.0568648 -0.303177 0) (-0.0657745 -0.119861 0) (0.0388245 0.141168 0) (0.075391 -0.0860166 0) (0.07574 -0.440294 0) (0.0473776 -0.463967 0) (0.0278411 -0.469911 0) (0.00691926 -0.470999 0) (-0.00814244 -0.468924 0) (-0.0435519 -0.458823 0) (-0.0483031 -0.288727 0) (-0.055159 -0.123004 0) (0.041933 0.111521 0) (0.0605059 -0.169547 0) (0.0679403 -0.393318 0) (0.0312682 -0.421599 0) (0.0118734 -0.434502 0) (-0.0112776 -0.433781 0) (-0.0374221 -0.425871 0) (-0.0621379 -0.408504 0) (-0.0724059 -0.292501 0) (-0.0623993 -0.140399 0) (0.01841 0.0673443 0) (0.079177 -0.218869 0) (0.0719758 -0.36169 0) (0.0361152 -0.37377 0) (0.0134661 -0.379284 0) (-0.0129377 -0.379577 0) (-0.0326238 -0.383821 0) (-0.0584951 -0.363891 0) (-0.0612917 -0.336739 0) (-0.00679581 -0.145577 0) (0.0266377 -0.0116068 0) (0.0798766 -0.265093 0) (0.0763823 -0.309095 0) (0.0577416 -0.329193 0) (0.0341512 -0.333197 0) (0.00791862 -0.334706 0) (-0.0138466 -0.325517 0) (-0.0553731 -0.311468 0) (-0.0661211 -0.292187 0) (-0.106291 -0.177651 0) (0.114618 -0.153814 0) (0.078467 -0.212518 0) (0.0696114 -0.256423 0) (0.0361524 -0.281436 0) (0.0151419 -0.287314 0) (-0.0152878 -0.284933 0) (-0.0371698 -0.278375 0) (-0.0656549 -0.262485 0) (-0.0690381 -0.233728 0) (-0.0880996 -0.229309 0) (0.0609881 -0.108487 0) (0.0506854 -0.18873 0) (0.0490704 -0.23146 0) (0.0231214 -0.240635 0) (0.00995921 -0.246468 0) (-0.0114443 -0.247441 0) (-0.0195632 -0.246957 0) (-0.039453 -0.23521 0) (-0.0502924 -0.198612 0) (-0.0509821 -0.149773 0) (-0.0468944 0.02911 0) (-0.0789457 0.0400183 0) (-0.11087 0.0573659 0) (-0.154754 0.0683271 0) (-0.196002 0.0675049 0) (-0.241058 0.0644279 0) (-0.285679 0.0421858 0) (-0.318878 0.0220626 0) (-0.334105 0.0147873 0) (-0.350418 0.0181138 0) (-0.371037 0.0226521 0) (-0.402322 0.0231358 0) (-0.427313 0.000949716 0) (-0.43557 -0.0223639 0) (-0.432671 -0.0334567 0) (-0.424386 -0.0366793 0) (-0.412451 -0.0289337 0) (-0.38913 -0.0162272 0) (-0.379166 -0.00811712 0) (-0.368866 -0.014419 0) (-0.347356 -0.0335777 0) (-0.322553 -0.0410285 0) (-0.293688 -0.040729 0) (-0.255898 -0.0378861 0) (-0.220546 -0.0391618 0) (-0.191823 -0.0354907 0) (-0.170636 -0.0257124 0) (-0.152129 -0.0309135 0) (-0.130678 -0.0379249 0) (-0.114272 -0.0211566 0) (-0.104292 -0.017242 0) (-0.0915082 -0.0172186 0) (-0.0711903 -0.0315087 0) (-0.0398051 -0.0429447 0) (-0.0177168 -0.0395942 0) (0.0163861 -0.026855 0) (0.0314544 0.0153801 0) (0.0200424 0.0208723 0) (0.00302267 -0.00128029 0) (0.00442708 -0.00248803 0) (-0.0608067 0.0755123 0) (-0.0862095 0.0748359 0) (-0.106376 0.0891586 0) (-0.135399 0.0916148 0) (-0.162842 0.102015 0) (-0.193697 0.104148 0) (-0.247962 0.0804997 0) (-0.323666 0.068043 0) (-0.346296 0.0516199 0) (-0.352237 0.0491201 0) (-0.357387 0.0627868 0) (-0.359943 0.0691512 0) (-0.363136 0.0678534 0) (-0.3556 0.0351216 0) (-0.341215 0.00422198 0) (-0.349699 -0.00968342 0) (-0.36202 -0.0170724 0) (-0.363038 -0.0230132 0) (-0.346227 -0.0319687 0) (-0.312717 -0.0457702 0) (-0.283098 -0.0547471 0) (-0.259243 -0.0523151 0) (-0.234579 -0.0788008 0) (-0.202807 -0.0841599 0) (-0.165525 -0.0821917 0) (-0.142212 -0.0544818 0) (-0.108146 -0.0474633 0) (-0.088046 -0.0399928 0) (-0.0820279 -0.0291368 0) (-0.0703084 -0.0275493 0) (-0.0623522 -0.0294112 0) (-0.0577546 -0.039229 0) (-0.0473043 -0.0631451 0) (-0.0391093 -0.0674507 0) (-0.0255979 -0.0712597 0) (-0.0135197 -0.0715826 0) (0.0101831 -0.0125416 0) (0.0205262 0.024468 0) (0.0172565 0.0245997 0) (0.0010431 0.0156156 0) (-0.0149661 0.130194 0) (-0.0460101 0.111858 0) (-0.0615143 0.126902 0) (-0.0780379 0.143514 0) (-0.0856097 0.152755 0) (-0.0985901 0.18038 0) (-0.123966 0.218451 0) (-0.185458 0.192561 0) (-0.259466 0.076849 0) (-0.256845 0.0316148 0) (-0.25155 0.025939 0) (-0.27206 0.0253911 0) (-0.298764 0.00366535 0) (-0.283732 -0.0570882 0) (-0.258153 -0.0559698 0) (-0.252105 -0.0229649 0) (-0.268033 -0.0211234 0) (-0.280945 -0.048302 0) (-0.264052 -0.0961165 0) (-0.246108 -0.119083 0) (-0.233588 -0.126903 0) (-0.204441 -0.135796 0) (-0.170807 -0.151776 0) (-0.145642 -0.155161 0) (-0.120907 -0.147993 0) (-0.0918893 -0.125999 0) (-0.0624944 -0.105598 0) (-0.0377901 -0.0916077 0) (-0.01998 -0.0531853 0) (0.000472159 -0.0464313 0) (0.00754043 -0.0428453 0) (0.016899 -0.034602 0) (0.0156525 -0.0494661 0) (0.00572382 -0.0724527 0) (0.00216591 -0.0757392 0) (-0.00854729 -0.0741258 0) (-0.0100929 -0.045402 0) (0.0160386 0.0144019 0) (0.0146576 0.0385122 0) (0.00785934 0.0314425 0) (0.00354923 0.172509 0) (-0.0164856 0.161776 0) (-0.0332754 0.153605 0) (-0.0453705 0.154786 0) (-0.0569568 0.167259 0) (-0.0665109 0.19181 0) (-0.0652383 0.226355 0) (-0.0483812 0.281187 0) (-0.08505 0.19926 0) (-0.119558 0.0717245 0) (-0.136884 0.0624338 0) (-0.151499 0.120915 0) (-0.159066 0.114855 0) (-0.176257 -0.0169001 0) (-0.192936 -0.0493663 0) (-0.197044 0.00793183 0) (-0.186194 0.0286797 0) (-0.180594 -0.00837574 0) (-0.169625 -0.0885486 0) (-0.163581 -0.121352 0) (-0.176425 -0.139537 0) (-0.182232 -0.179785 0) (-0.156542 -0.208385 0) (-0.142704 -0.221164 0) (-0.111247 -0.205378 0) (-0.0851553 -0.180086 0) (-0.0584244 -0.158735 0) (-0.0387839 -0.1328 0) (-0.0175983 -0.105574 0) (0.00346961 -0.079537 0) (0.00927344 -0.0582139 0) (0.0122328 -0.0428152 0) (0.0121513 -0.0374283 0) (0.00825927 -0.0574369 0) (0.00676681 -0.0597272 0) (0.00855933 -0.0597087 0) (-0.00274951 -0.0533768 0) (0.00688238 -0.020188 0) (0.0157411 0.0391041 0) (0.0127321 0.0534193 0) (0.00756668 0.211572 0) (-0.0057659 0.177851 0) (-0.0135745 0.178991 0) (-0.0224081 0.183915 0) (-0.0267718 0.188933 0) (-0.0303554 0.194539 0) (-0.0318589 0.201138 0) (-0.0121601 0.246062 0) (0.00400223 0.253255 0) (-0.00943782 0.148042 0) (-0.0138681 0.075428 0) (-0.025306 0.0540582 0) (0.0146839 0.0431036 0) (0.00145802 0.0480159 0) (-0.0211644 -0.00550017 0) (-0.0180191 -0.0754231 0) (-0.0310734 -0.0588679 0) (-0.0170803 -0.0510126 0) (0.000102909 -0.081043 0) (-0.00529196 -0.113662 0) (-0.0123842 -0.0786928 0) (-0.0381244 -0.111459 0) (-0.0423446 -0.204043 0) (-0.04416 -0.243954 0) (-0.0426382 -0.237262 0) (-0.033694 -0.209216 0) (-0.0258114 -0.180682 0) (-0.018836 -0.154124 0) (-0.00821178 -0.127504 0) (-0.000118174 -0.0930303 0) (0.00643946 -0.067538 0) (0.0136914 -0.0519801 0) (0.0201053 -0.0469121 0) (0.0185102 -0.0557074 0) (0.0159191 -0.0639464 0) (0.0163047 -0.0564021 0) (0.0159437 -0.0441456 0) (0.0111909 -0.0242443 0) (0.0166847 0.0333279 0) (0.0195561 0.0775199 0) (0.030664 0.241188 0) (0.00584223 0.204357 0) (-0.00229875 0.182959 0) (-0.00843882 0.183546 0) (-0.00777108 0.189695 0) (-0.00611489 0.195603 0) (0.000326041 0.196063 0) (0.0172873 0.200573 0) (0.0509915 0.207657 0) (0.0738136 0.136934 0) (0.0995524 0.0662069 0) (0.110496 0.0678437 0) (0.11743 0.0612214 0) (0.119043 0.0397483 0) (0.130617 0.00654587 0) (0.131284 -0.00441703 0) (0.116901 -0.00599988 0) (0.112111 -0.0364431 0) (0.101984 -0.0828269 0) (0.089737 -0.104979 0) (0.0715343 -0.101377 0) (0.057469 -0.1004 0) (0.0535377 -0.146706 0) (0.0523506 -0.220551 0) (0.0271214 -0.224739 0) (0.0133989 -0.203683 0) (0.0096104 -0.178253 0) (0.00528454 -0.161693 0) (0.00848586 -0.135261 0) (0.00810126 -0.101463 0) (0.0100933 -0.0745503 0) (0.0107715 -0.0588202 0) (0.0165384 -0.0504087 0) (0.0190946 -0.0501009 0) (0.0176745 -0.0609452 0) (0.0161682 -0.0583018 0) (0.0206778 -0.0470771 0) (0.020044 -0.0260749 0) (0.0201507 0.0259339 0) (0.021634 0.1106 0) (0.0344194 0.242592 0) (0.0339779 0.23897 0) (0.0177435 0.206343 0) (0.00703499 0.186228 0) (0.00639136 0.177902 0) (0.00760132 0.17203 0) (0.0113558 0.164753 0) (0.0192462 0.151147 0) (0.0389053 0.134141 0) (0.0545824 0.0810598 0) (0.0669794 0.022704 0) (0.0749094 0.0380512 0) (0.0898125 0.0375865 0) (0.113065 0.0186238 0) (0.133472 -0.00252693 0) (0.134704 -0.0210896 0) (0.127763 -0.0262696 0) (0.130184 -0.0412452 0) (0.12834 -0.0486694 0) (0.11989 -0.058392 0) (0.0976246 -0.0619172 0) (0.0930962 -0.08116 0) (0.104505 -0.149361 0) (0.0922159 -0.193924 0) (0.0730457 -0.193756 0) (0.0483544 -0.173809 0) (0.0359157 -0.157997 0) (0.0295524 -0.145601 0) (0.0247332 -0.128291 0) (0.0223243 -0.0955262 0) (0.0142911 -0.0689675 0) (0.0120368 -0.0589359 0) (0.0121599 -0.0597014 0) (0.017904 -0.0574683 0) (0.0234103 -0.0584314 0) (0.0223666 -0.0574812 0) (0.022284 -0.0478923 0) (0.0199039 -0.0223331 0) (0.0179228 0.0418105 0) (0.0102117 0.149917 0) (0.0344948 0.230116 0) (0.0526252 0.241021 0) (0.0582488 0.231778 0) (0.0502771 0.214645 0) (0.0374858 0.194626 0) (0.0318703 0.176105 0) (0.0313851 0.159062 0) (0.033003 0.135018 0) (0.039278 0.105221 0) (0.0419703 0.0678086 0) (0.0345301 0.0262217 0) (0.0258596 -0.0034113 0) (0.0348003 -0.0268207 0) (0.0442456 -0.036521 0) (0.0572364 -0.0294183 0) (0.0695893 -0.0172739 0) (0.0698985 -0.0170534 0) (0.0721398 -0.0409226 0) (0.0822358 -0.0641602 0) (0.0902323 -0.0700806 0) (0.0999475 -0.0764282 0) (0.116333 -0.100098 0) (0.120343 -0.145149 0) (0.111843 -0.167493 0) (0.0912249 -0.165426 0) (0.0573932 -0.145827 0) (0.0436302 -0.141239 0) (0.0399829 -0.137922 0) (0.0399723 -0.127223 0) (0.0416548 -0.0855503 0) (0.0331832 -0.0531848 0) (0.0250857 -0.0531302 0) (0.0226687 -0.0647668 0) (0.0258539 -0.0706133 0) (0.0309845 -0.0674633 0) (0.0341349 -0.0570316 0) (0.0293459 -0.0469869 0) (0.0251756 -0.0239524 0) (0.0176117 0.0495502 0) (0.00207925 0.166295 0) (0.0450866 0.190356 0) (0.0668004 0.208554 0) (0.0847731 0.212188 0) (0.0999573 0.216799 0) (0.104857 0.210836 0) (0.104857 0.197151 0) (0.0993232 0.181581 0) (0.0866435 0.160517 0) (0.084686 0.119002 0) (0.0815979 0.0782319 0) (0.0777697 0.0530544 0) (0.0777817 0.0318211 0) (0.0624931 0.000443363 0) (0.0543271 -0.0247894 0) (0.0555005 -0.0404118 0) (0.0624563 -0.0450172 0) (0.0813281 -0.0455793 0) (0.0958742 -0.0514486 0) (0.104265 -0.072629 0) (0.109254 -0.0829391 0) (0.110055 -0.0944937 0) (0.116315 -0.117046 0) (0.110438 -0.13813 0) (0.102914 -0.135135 0) (0.079607 -0.115875 0) (0.0576112 -0.112426 0) (0.0533584 -0.129342 0) (0.0532229 -0.136904 0) (0.0527939 -0.132018 0) (0.0583105 -0.0975284 0) (0.0557681 -0.0344474 0) (0.0536579 -0.0369426 0) (0.0540854 -0.0628148 0) (0.0475754 -0.0746251 0) (0.0388979 -0.0721768 0) (0.0384882 -0.0528636 0) (0.0293656 -0.0350134 0) (0.0197467 0.000799092 0) (0.0103434 0.0801933 0) (-0.00307992 0.174668 0) (0.0658653 0.159237 0) (0.0831641 0.168125 0) (0.0999335 0.170794 0) (0.114855 0.180492 0) (0.130777 0.190061 0) (0.140362 0.185881 0) (0.148569 0.180352 0) (0.150011 0.169193 0) (0.154537 0.137634 0) (0.148855 0.094277 0) (0.13795 0.0641652 0) (0.129943 0.0407838 0) (0.124786 0.0171943 0) (0.120346 -0.0115056 0) (0.118034 -0.0387159 0) (0.114772 -0.0603947 0) (0.116858 -0.0645762 0) (0.120906 -0.0678535 0) (0.122535 -0.078565 0) (0.119069 -0.0858491 0) (0.114028 -0.0978157 0) (0.104219 -0.113557 0) (0.0968752 -0.116109 0) (0.0946319 -0.108063 0) (0.0766566 -0.0910686 0) (0.0699158 -0.0968653 0) (0.0645158 -0.125808 0) (0.0583859 -0.131875 0) (0.0556787 -0.128004 0) (0.0549459 -0.102656 0) (0.0764478 -0.0494976 0) (0.106483 -0.0440037 0) (0.119564 -0.0443788 0) (0.111077 -0.0422594 0) (0.06748 -0.0437032 0) (0.0481071 -0.033764 0) (0.0353947 -0.0150765 0) (0.0283316 0.0140318 0) (0.0190366 0.0945584 0) (0.00318784 0.183111 0) (0.0810884 0.14228 0) (0.0896876 0.147459 0) (0.0979697 0.152449 0) (0.106035 0.153208 0) (0.119454 0.160791 0) (0.136346 0.168688 0) (0.150715 0.165141 0) (0.156448 0.15361 0) (0.16104 0.128032 0) (0.161041 0.0986575 0) (0.15322 0.0778128 0) (0.144046 0.0515421 0) (0.140776 0.0191397 0) (0.136757 -0.0123216 0) (0.133971 -0.0358103 0) (0.128689 -0.0535361 0) (0.123442 -0.0605829 0) (0.124465 -0.0666785 0) (0.117825 -0.0722624 0) (0.105905 -0.0674156 0) (0.0814851 -0.069483 0) (0.0776466 -0.0930704 0) (0.0805366 -0.108152 0) (0.0836885 -0.103486 0) (0.0830728 -0.0821461 0) (0.0846572 -0.0858049 0) (0.0784576 -0.113312 0) (0.068776 -0.121123 0) (0.0674769 -0.128937 0) (0.078251 -0.134627 0) (0.0997458 -0.130788 0) (0.117063 -0.109003 0) (0.132791 -0.0556873 0) (0.109447 0.0257479 0) (0.0463559 0.0241813 0) (0.0288456 -0.0135804 0) (0.0207483 -0.00859208 0) (0.0183634 0.0292595 0) (0.00844773 0.112723 0) (-0.00359126 0.201647 0) (0.0801967 0.138225 0) (0.0836755 0.142531 0) (0.089028 0.145062 0) (0.0949229 0.141151 0) (0.105776 0.133924 0) (0.119099 0.131627 0) (0.131837 0.137575 0) (0.141498 0.139203 0) (0.147441 0.130655 0) (0.146249 0.112803 0) (0.139218 0.0933308 0) (0.136986 0.0648637 0) (0.13759 0.0352358 0) (0.136332 0.000444155 0) (0.13555 -0.0233946 0) (0.132689 -0.03936 0) (0.121226 -0.052509 0) (0.108943 -0.0513895 0) (0.0812347 -0.0325575 0) (0.0562106 -0.0333263 0) (0.0521015 -0.0623235 0) (0.05498 -0.106294 0) (0.0639622 -0.122375 0) (0.0687696 -0.118593 0) (0.082362 -0.0917441 0) (0.0926415 -0.0870784 0) (0.0917507 -0.101526 0) (0.08753 -0.115905 0) (0.0927724 -0.152842 0) (0.106463 -0.163543 0) (0.115845 -0.150215 0) (0.106273 -0.116751 0) (0.0939999 -0.0291009 0) (0.0562293 0.0959576 0) (0.0255235 0.0801196 0) (0.0211167 0.0125604 0) (0.0156352 0.01076 0) (-0.00285405 0.0392087 0) (-0.0131135 0.138083 0) (-0.00648518 0.196581 0) (0.062679 0.134893 0) (0.0644302 0.133029 0) (0.0688414 0.128131 0) (0.0733178 0.121328 0) (0.0771489 0.117901 0) (0.0797902 0.121651 0) (0.0827824 0.125689 0) (0.0906132 0.122976 0) (0.0968253 0.118305 0) (0.0966137 0.10444 0) (0.0957903 0.0810305 0) (0.101894 0.0521665 0) (0.107992 0.0197077 0) (0.106898 -0.0111084 0) (0.0972982 -0.0285921 0) (0.0888863 -0.0337865 0) (0.084763 -0.0278752 0) (0.0654244 -0.000106687 0) (0.0441172 0.0115354 0) (0.0388143 -0.0156315 0) (0.0434307 -0.0741306 0) (0.0456693 -0.110669 0) (0.0442318 -0.129646 0) (0.0459856 -0.133807 0) (0.0537963 -0.123043 0) (0.0731619 -0.103723 0) (0.0800584 -0.104387 0) (0.0818493 -0.1197 0) (0.0900438 -0.163174 0) (0.0764423 -0.180362 0) (0.0728747 -0.145491 0) (0.0246929 -0.0324327 0) (-0.00162122 0.0721806 0) (-0.0038906 0.141273 0) (0.0104256 0.0867393 0) (-0.0093752 -0.00263228 0) (-0.0308097 0.0317872 0) (-0.0432694 0.0893466 0) (-0.0456535 0.129769 0) (-0.00496443 0.170151 0) (0.0178422 0.116052 0) (0.0311237 0.12638 0) (0.0393398 0.128762 0) (0.0393563 0.125719 0) (0.0375604 0.121482 0) (0.0420892 0.10807 0) (0.06246 0.103128 0) (0.0811367 0.110598 0) (0.0890962 0.120626 0) (0.0875978 0.111634 0) (0.0908349 0.0734115 0) (0.0973358 0.0408663 0) (0.0976991 0.0303706 0) (0.0886664 0.0216879 0) (0.0693458 0.00485269 0) (0.0501009 -0.0136702 0) (0.0349595 -0.00205081 0) (0.0263387 0.0140355 0) (0.029662 0.0146571 0) (0.0410905 -0.022828 0) (0.0440645 -0.0735473 0) (0.0354917 -0.101699 0) (0.0273258 -0.121646 0) (0.0228544 -0.134151 0) (0.0213061 -0.134533 0) (0.0224028 -0.116829 0) (0.0190166 -0.1074 0) (0.0160661 -0.122142 0) (-0.00170716 -0.142275 0) (-0.0432012 -0.129254 0) (-0.0490164 -0.0599893 0) (-0.0648091 -0.00761211 0) (-0.0897626 0.0381067 0) (-0.0875523 0.0911688 0) (-0.0979394 0.0884158 0) (-0.136833 0.0993629 0) (-0.149501 0.0997169 0) (-0.137041 0.0827227 0) (-0.0752111 0.078173 0) (-0.0361624 0.109722 0) (-0.0200216 0.0962313 0) (-0.0135991 0.0961555 0) (-0.00241783 0.112302 0) (0.00465835 0.121383 0) (0.0198992 0.113044 0) (0.0333272 0.0857712 0) (0.0478566 0.0692063 0) (0.0549899 0.0897442 0) (0.0724874 0.106947 0) (0.0938489 0.10491 0) (0.10743 0.0763893 0) (0.107526 0.0429952 0) (0.102169 0.0360942 0) (0.101499 0.035234 0) (0.106454 0.0278108 0) (0.109177 0.0228656 0) (0.0957519 0.0247418 0) (0.0781396 0.016879 0) (0.070173 -0.0136711 0) (0.0595124 -0.0444613 0) (0.0456201 -0.0723558 0) (0.0330642 -0.0935456 0) (0.0220526 -0.112012 0) (0.0123415 -0.124342 0) (0.0016487 -0.124296 0) (-0.00416563 -0.1028 0) (-0.0186528 -0.0841333 0) (-0.0338718 -0.0861144 0) (-0.091942 -0.0773211 0) (-0.122749 -0.100973 0) (-0.144981 -0.0496465 0) (-0.196462 0.0672225 0) (-0.222062 0.122098 0) (-0.229753 0.1416 0) (-0.253101 0.132733 0) (-0.252327 0.0971275 0) (-0.22089 0.0315186 0) (-0.166545 -0.043662 0) (-0.120707 -0.0661233 0) (-0.0336136 -0.0337498 0) (-0.0230964 0.104521 0) (-0.0210095 0.0995453 0) (-0.0194457 0.109335 0) (-0.0113748 0.100605 0) (0.0161865 0.067108 0) (0.0514093 0.0621018 0) (0.075109 0.0511299 0) (0.0885154 0.0634671 0) (0.102179 0.0512323 0) (0.113015 0.0469594 0) (0.126088 0.0510442 0) (0.136003 0.0464299 0) (0.139412 0.0390997 0) (0.141073 0.0241965 0) (0.145417 8.65379e-05 0) (0.14792 0.00624319 0) (0.146026 0.0427294 0) (0.144582 0.0511011 0) (0.143076 0.0465334 0) (0.127694 0.0319799 0) (0.0956359 -0.0171624 0) (0.0680628 -0.058438 0) (0.0421021 -0.0841741 0) (0.0207501 -0.100531 0) (0.00184937 -0.104539 0) (-0.0024017 -0.0881144 0) (-0.00992597 -0.0587981 0) (-0.0208706 -0.0335424 0) (-0.0556318 0.00651076 0) (-0.118518 -0.00496917 0) (-0.160671 0.023599 0) (-0.18869 0.110364 0) (-0.205085 0.143432 0) (-0.212206 0.155624 0) (-0.232695 0.13327 0) (-0.218994 0.0613702 0) (-0.175077 -0.038767 0) (-0.163569 -0.112744 0) (-0.108332 -0.183292 0) (-0.0571804 -0.199835 0) (-0.0245676 0.0706564 0) (0.00188076 0.0737319 0) (0.0235216 0.0870504 0) (0.0515131 0.0525452 0) (0.0946173 -0.00304851 0) (0.11909 -0.0118733 0) (0.145327 0.0108785 0) (0.190811 0.0434975 0) (0.221881 0.0681115 0) (0.229528 0.0631353 0) (0.222708 0.0446935 0) (0.203144 0.0312949 0) (0.178132 0.025835 0) (0.150975 0.0184114 0) (0.135731 0.00878296 0) (0.134825 0.0149842 0) (0.147796 0.0313045 0) (0.160206 0.0327621 0) (0.163416 0.0387433 0) (0.162715 0.0379437 0) (0.154485 0.0264512 0) (0.115309 0.00287682 0) (0.0762395 -0.0211657 0) (0.0470116 -0.0454185 0) (0.0149853 -0.0692795 0) (-0.00477557 -0.0684977 0) (-0.0225342 -0.0321199 0) (-0.0410247 0.0202619 0) (-0.0601275 0.0765028 0) (-0.0926805 0.0518771 0) (-0.103725 0.0844047 0) (-0.131927 0.135036 0) (-0.14482 0.147233 0) (-0.14957 0.149409 0) (-0.161303 0.10435 0) (-0.143893 0.0102011 0) (-0.133013 -0.0903842 0) (-0.127064 -0.174284 0) (-0.0832274 -0.300878 0) (-0.0384161 -0.369971 0) (0.0101885 0.0207428 0) (0.0221604 0.0223101 0) (0.0476557 0.0257033 0) (0.0840778 0.00422886 0) (0.128723 -0.0322285 0) (0.168489 -0.0613094 0) (0.209878 -0.0743945 0) (0.260032 -0.0757554 0) (0.315407 -0.0147613 0) (0.365693 0.0588156 0) (0.379033 0.11351 0) (0.362884 0.135108 0) (0.313113 0.137937 0) (0.26361 0.112661 0) (0.219068 0.0202456 0) (0.177382 -0.0115104 0) (0.154021 -0.00277884 0) (0.151516 0.0153777 0) (0.157868 0.0308851 0) (0.165557 0.0486344 0) (0.158436 0.0676501 0) (0.14663 0.0671071 0) (0.109583 0.0333062 0) (0.0635822 -0.00485557 0) (0.0291619 -0.0235046 0) (0.00445262 -0.0320277 0) (-0.00386388 -0.00940234 0) (-0.0114472 0.027508 0) (0.000558146 0.0931734 0) (-0.0142172 0.10071 0) (-0.0613628 0.10166 0) (-0.0649465 0.157805 0) (-0.0391687 0.171962 0) (-0.0354683 0.181887 0) (-0.032733 0.13442 0) (-0.0188546 0.0405787 0) (-0.0157954 -0.0641285 0) (-0.0170814 -0.167339 0) (-0.0208129 -0.308559 0) (-0.00493827 -0.412401 0) (0.0749726 0.0166541 0) (0.0684952 -0.00556776 0) (0.0814303 -0.0472082 0) (0.100609 -0.0869479 0) (0.145221 -0.14412 0) (0.201641 -0.187423 0) (0.256286 -0.186633 0) (0.301769 -0.154801 0) (0.339427 -0.11426 0) (0.379823 -0.0535491 0) (0.417152 0.0309084 0) (0.443361 0.117582 0) (0.450516 0.167204 0) (0.440543 0.188332 0) (0.423144 0.169322 0) (0.348696 0.13151 0) (0.269849 0.0727128 0) (0.218257 0.0352888 0) (0.186487 0.0235171 0) (0.176675 0.0290638 0) (0.173992 0.0556291 0) (0.175956 0.0950169 0) (0.159026 0.110576 0) (0.134283 0.0975937 0) (0.0933305 0.0403963 0) (0.0566793 -0.00565139 0) (0.0264413 -0.00500293 0) (0.0235884 0.0263074 0) (0.0140325 0.0716557 0) (0.0509916 0.147697 0) (0.0183314 0.167264 0) (-0.0164742 0.133796 0) (-0.011336 0.10752 0) (0.00129542 0.117036 0) (0.0372008 0.0774688 0) (0.0763525 0.0213449 0) (0.0705833 -0.0381094 0) (0.0572647 -0.132869 0) (0.0248737 -0.266791 0) (0.0272396 -0.395922 0) (0.220036 0.0357381 0) (0.213668 0.00992118 0) (0.219712 -0.0314725 0) (0.222008 -0.131199 0) (0.244042 -0.247293 0) (0.285582 -0.296877 0) (0.316935 -0.290436 0) (0.342642 -0.228867 0) (0.352223 -0.116395 0) (0.340144 -0.0512253 0) (0.347328 0.00999462 0) (0.377236 0.080158 0) (0.395087 0.150496 0) (0.393223 0.205013 0) (0.390504 0.202912 0) (0.383258 0.202754 0) (0.367427 0.197196 0) (0.333923 0.17661 0) (0.295313 0.108068 0) (0.252858 0.0650318 0) (0.233959 0.0670329 0) (0.224174 0.096159 0) (0.214008 0.120972 0) (0.208547 0.124503 0) (0.195966 0.115924 0) (0.150451 0.0937898 0) (0.0942919 0.0541144 0) (0.059923 0.0460935 0) (0.0508535 0.0585208 0) (0.0469777 0.112035 0) (0.0791107 0.200948 0) (0.0636951 0.192607 0) (0.0642777 0.13945 0) (0.0523689 0.0918732 0) (0.0615975 0.00318912 0) (0.0665144 -0.0334683 0) (0.0685051 -0.0378774 0) (0.0612369 -0.102656 0) (0.0344392 -0.2468 0) (0.0300613 -0.335004 0) (0.417104 0.0241548 0) (0.429925 0.0203307 0) (0.43455 -0.00906234 0) (0.426219 -0.0751324 0) (0.427004 -0.201697 0) (0.397933 -0.294096 0) (0.391355 -0.293871 0) (0.391523 -0.253457 0) (0.378726 -0.126455 0) (0.368001 -0.058718 0) (0.366275 -0.0270373 0) (0.354225 0.0398658 0) (0.326518 0.104922 0) (0.328855 0.16377 0) (0.351357 0.177162 0) (0.354083 0.194986 0) (0.349879 0.193231 0) (0.334317 0.18708 0) (0.319037 0.15309 0) (0.294716 0.125132 0) (0.269763 0.111628 0) (0.250246 0.126235 0) (0.236112 0.143812 0) (0.226533 0.146507 0) (0.214884 0.145292 0) (0.193463 0.153692 0) (0.166402 0.142817 0) (0.128201 0.105797 0) (0.0959387 0.0854915 0) (0.0867947 0.0944829 0) (0.0916474 0.149216 0) (0.125264 0.173739 0) (0.133564 0.160279 0) (0.132297 0.126733 0) (0.102394 0.0552432 0) (0.0543487 0.00140567 0) (0.0251279 -0.0240612 0) (0.0303204 -0.106112 0) (0.0209451 -0.231572 0) (0.00672659 -0.307463 0) (0.339596 -0.0564406 0) (0.374283 -0.0372666 0) (0.399742 -0.0555334 0) (0.418818 -0.106677 0) (0.448469 -0.220016 0) (0.41001 -0.275964 0) (0.385306 -0.265385 0) (0.361594 -0.195228 0) (0.320793 -0.066654 0) (0.304977 -0.0184855 0) (0.316237 0.047496 0) (0.320687 0.127666 0) (0.295413 0.169523 0) (0.287136 0.161866 0) (0.287001 0.155793 0) (0.288689 0.175291 0) (0.273191 0.213927 0) (0.265106 0.223318 0) (0.260877 0.203297 0) (0.253392 0.166116 0) (0.241465 0.150555 0) (0.234916 0.150452 0) (0.228643 0.160075 0) (0.224203 0.161398 0) (0.219248 0.163705 0) (0.209848 0.177241 0) (0.193832 0.184236 0) (0.179333 0.172778 0) (0.152997 0.136664 0) (0.135993 0.114293 0) (0.131167 0.116099 0) (0.139953 0.117779 0) (0.157078 0.131195 0) (0.152334 0.136582 0) (0.140056 0.129071 0) (0.0830661 0.085649 0) (0.0500433 0.014492 0) (0.0292826 -0.0907393 0) (0.00385564 -0.215215 0) (0.0124798 -0.284931 0) (0.316697 -0.0747407 0) (0.312258 -0.0782718 0) (0.313863 -0.101602 0) (0.322105 -0.192662 0) (0.304109 -0.199176 0) (0.211646 -0.171959 0) (0.180325 -0.117445 0) (0.113674 -0.108823 0) (0.115148 -0.0913732 0) (0.121745 -0.0550298 0) (0.113917 0.00372552 0) (0.123132 0.131558 0) (0.100387 0.19325 0) (0.103323 0.205182 0) (0.0973441 0.206009 0) (0.100266 0.214836 0) (0.116456 0.219069 0) (0.152916 0.197384 0) (0.184545 0.165838 0) (0.204442 0.144521 0) (0.212706 0.139459 0) (0.213277 0.1432 0) (0.211609 0.158876 0) (0.208238 0.166269 0) (0.201704 0.177113 0) (0.194224 0.194088 0) (0.189799 0.198818 0) (0.188455 0.193815 0) (0.182458 0.167491 0) (0.181385 0.132189 0) (0.180418 0.122124 0) (0.172598 0.117992 0) (0.174124 0.126914 0) (0.166358 0.158975 0) (0.149445 0.181673 0) (0.107382 0.16648 0) (0.0668967 0.0764238 0) (0.0255524 -0.0419809 0) (-0.000618544 -0.196427 0) (0.00717777 -0.275553 0) (0.271445 0.0179732 0) (0.283646 -0.0207766 0) (0.227427 -0.0862008 0) (0.198457 -0.0672691 0) (0.12973 -0.0397091 0) (0.0564463 -0.058776 0) (0.0432552 -0.0384071 0) (0.0045077 -0.0595765 0) (-0.0189187 -0.0799702 0) (-0.049825 0.0165433 0) (-0.0815486 0.0905629 0) (-0.0779819 0.143704 0) (-0.0631909 0.163937 0) (-0.0135369 0.185612 0) (0.0248723 0.163558 0) (0.0625801 0.140827 0) (0.098753 0.119634 0) (0.133866 0.111167 0) (0.157687 0.118076 0) (0.166238 0.12758 0) (0.163344 0.140014 0) (0.159812 0.156848 0) (0.159139 0.174608 0) (0.161102 0.18089 0) (0.167134 0.186306 0) (0.17639 0.196009 0) (0.186589 0.198811 0) (0.19785 0.189811 0) (0.219455 0.153491 0) (0.224808 0.128822 0) (0.223774 0.130157 0) (0.209905 0.137577 0) (0.18466 0.147547 0) (0.165032 0.194859 0) (0.129825 0.238258 0) (0.113087 0.222652 0) (0.0728146 0.172918 0) (0.0386885 0.0399376 0) (0.00319914 -0.165681 0) (0.00152103 -0.268606 0) (0.174256 -0.0181214 0) (0.0816302 0.012721 0) (-4.30504e-05 0.000761972 0) (0.0177336 -0.011405 0) (0.00471549 -0.0073559 0) (-0.00778319 -0.021923 0) (-0.00487065 -0.0447808 0) (0.00796837 -0.0454307 0) (-0.0289684 -0.0260378 0) (-0.0549511 0.0693917 0) (-0.0649471 0.073357 0) (-0.0489515 0.0946892 0) (-0.0271408 0.0763186 0) (0.00581783 0.0790791 0) (0.0370567 0.069923 0) (0.0588303 0.0693694 0) (0.0723213 0.0862038 0) (0.0746772 0.104572 0) (0.0784233 0.125044 0) (0.0822405 0.142696 0) (0.0888919 0.150551 0) (0.0996253 0.15828 0) (0.112764 0.15344 0) (0.131062 0.147109 0) (0.149449 0.150312 0) (0.166572 0.162683 0) (0.186791 0.158852 0) (0.216715 0.131606 0) (0.240168 0.121593 0) (0.241983 0.126484 0) (0.233308 0.14114 0) (0.199944 0.163878 0) (0.166377 0.192784 0) (0.139335 0.26459 0) (0.114666 0.28251 0) (0.0813846 0.267309 0) (0.0293112 0.206424 0) (0.0324055 0.0897772 0) (0.00621357 -0.138648 0) (-0.00490945 -0.267712 0) (-0.0149435 0.205582 0) (-0.0668421 0.197648 0) (-0.00415908 -0.0344709 0) (-0.0367797 -0.0374672 0) (-0.0168763 -0.00842627 0) (-0.0112308 -0.0374742 0) (-0.0103561 -0.0499141 0) (-0.0406082 -0.00506977 0) (-0.0670743 0.0291189 0) (-0.0629045 0.0575419 0) (-0.0408737 0.054549 0) (-0.0291338 0.051073 0) (-0.016938 0.0506224 0) (-0.0106438 0.0556024 0) (-0.00324959 0.0588581 0) (0.00521532 0.0642637 0) (0.0197817 0.090673 0) (0.0289098 0.101731 0) (0.0366629 0.103906 0) (0.0494865 0.108868 0) (0.0652585 0.111537 0) (0.0847527 0.115792 0) (0.101649 0.112507 0) (0.120398 0.116299 0) (0.135354 0.115852 0) (0.15987 0.116755 0) (0.185973 0.0990687 0) (0.203004 0.0901609 0) (0.208059 0.0991358 0) (0.197378 0.141005 0) (0.151377 0.207328 0) (0.110142 0.252287 0) (0.0894619 0.27134 0) (0.0815796 0.291807 0) (0.0566286 0.328624 0) (0.00283609 0.351916 0) (0.0155689 0.200555 0) (0.0147172 0.104142 0) (-0.00210993 -0.131353 0) (-0.011843 -0.279736 0) (-0.104526 0.162273 0) (-0.0454639 0.0467894 0) (-0.0391675 -0.00231445 0) (-0.0597494 0.00401204 0) (-0.0599762 -0.0261667 0) (-0.0649125 -0.02528 0) (-0.0824968 0.0186552 0) (-0.0893878 0.0260508 0) (-0.0816144 0.0272399 0) (-0.0678938 0.0232729 0) (-0.0507499 0.0316245 0) (-0.0359012 0.0397367 0) (-0.0229378 0.045506 0) (-0.00987433 0.0504918 0) (0.000142751 0.0408679 0) (0.00651562 0.0336348 0) (0.0127343 0.0520197 0) (0.030151 0.0645504 0) (0.0375947 0.0875001 0) (0.0415825 0.0850657 0) (0.053167 0.08173 0) (0.0690068 0.0855662 0) (0.0784889 0.0811026 0) (0.0986113 0.0762101 0) (0.115297 0.0611955 0) (0.136022 0.0676052 0) (0.142507 0.0743604 0) (0.128624 0.0930794 0) (0.0980659 0.173551 0) (0.0388348 0.271617 0) (0.0301019 0.260134 0) (0.0349892 0.260653 0) (0.0436505 0.276769 0) (0.0172277 0.333934 0) (-0.0213908 0.403656 0) (-0.0281217 0.343287 0) (0.00642288 0.172305 0) (0.0053228 0.126697 0) (0.0123534 -0.09716 0) (-0.00758199 -0.284509 0) (-0.147508 0.0368367 0) (-0.13508 0.00430879 0) (-0.130439 -0.00194737 0) (-0.119957 -0.0100559 0) (-0.119192 -0.0154037 0) (-0.110562 -0.00902219 0) (-0.0980484 0.00650404 0) (-0.0795651 0.0011473 0) (-0.067615 -0.002933 0) (-0.0579471 -0.00653907 0) (-0.0476234 0.00174763 0) (-0.0407985 0.00227958 0) (-0.0343613 0.00810193 0) (-0.0245479 0.0169064 0) (-0.014845 0.0279273 0) (-0.011325 0.0359665 0) (-0.003586 0.0463113 0) (0.00173029 0.0490966 0) (0.0200011 0.0819587 0) (0.0251531 0.0865347 0) (0.0126508 0.0765433 0) (0.0233388 0.0797204 0) (0.0215976 0.0691406 0) (0.0310935 0.0594866 0) (0.0254917 0.0367079 0) (0.0393462 0.0790847 0) (0.0236007 0.118918 0) (0.000281161 0.196181 0) (-0.0353031 0.25688 0) (-0.0441499 0.270207 0) (-0.0232839 0.206373 0) (-0.00671256 0.232383 0) (-0.0115837 0.307993 0) (-0.0296362 0.39536 0) (-0.0595182 0.428861 0) (-0.0350998 0.309296 0) (0.0169522 0.135574 0) (0.023826 0.11746 0) (0.0301087 -0.0721473 0) (0.0205864 -0.254291 0) (-0.166315 0.0214991 0) (-0.165732 0.00677871 0) (-0.157418 -0.00476425 0) (-0.14529 -0.0337668 0) (-0.134721 -0.0477014 0) (-0.12268 -0.0486981 0) (-0.104553 -0.0406389 0) (-0.0950825 -0.0325029 0) (-0.0926736 -0.0253172 0) (-0.0924966 -0.0127989 0) (-0.0877037 0.00551876 0) (-0.0832229 0.0135822 0) (-0.0775673 0.0148692 0) (-0.0698513 0.0166766 0) (-0.0590027 0.0214388 0) (-0.0476637 0.0224952 0) (-0.0333345 0.0303452 0) (-0.022293 0.024441 0) (-0.0111608 0.0592407 0) (-0.0091438 0.0882357 0) (-0.00956668 0.0681149 0) (0.0126184 0.0716048 0) (-0.00837888 0.0846626 0) (-0.0248687 0.0637914 0) (-0.0302788 0.0462604 0) (-0.0388497 0.096079 0) (-0.055459 0.143758 0) (-0.0489083 0.219149 0) (-0.0575836 0.25435 0) (-0.0316533 0.234277 0) (-0.0285167 0.184983 0) (-0.0283238 0.249155 0) (-0.0685433 0.349723 0) (-0.0701913 0.415322 0) (-0.0549145 0.417875 0) (-0.0216592 0.226638 0) (-0.00673376 0.0819195 0) (0.00494938 0.100351 0) (0.0263533 -0.0851639 0) (0.0225253 -0.204469 0) (-0.156255 0.0277716 0) (-0.16788 -0.0020392 0) (-0.169118 -0.0390423 0) (-0.159099 -0.0594511 0) (-0.150068 -0.0629605 0) (-0.1429 -0.0587688 0) (-0.135461 -0.0486038 0) (-0.134789 -0.0214917 0) (-0.13653 -0.00955014 0) (-0.137466 -0.00750639 0) (-0.131425 -0.00795682 0) (-0.109615 -0.0144551 0) (-0.0804431 -0.0194566 0) (-0.0562079 -0.0118366 0) (-0.0466852 -0.00598036 0) (-0.046477 -0.0063666 0) (-0.0318414 -0.00885382 0) (-0.0257122 0.0121086 0) (-0.00736464 0.0683752 0) (-0.0138523 0.0954676 0) (-0.0213266 0.0461593 0) (-0.0333589 0.0765928 0) (-0.0401363 0.119632 0) (-0.0452605 0.0789581 0) (-0.0676756 0.0685324 0) (-0.0857003 0.107319 0) (-0.0946368 0.128672 0) (-0.0710284 0.186486 0) (-0.0671643 0.228776 0) (-0.0581802 0.203235 0) (-0.0619051 0.202808 0) (-0.0881952 0.288389 0) (-0.0907078 0.362972 0) (-0.0923177 0.392172 0) (-0.0572802 0.339517 0) (-0.0344265 0.19946 0) (-0.029434 0.0619577 0) (-0.0193275 0.0509068 0) (0.0166197 -0.118454 0) (0.0148778 -0.176113 0) (-0.121234 0.0506864 0) (-0.115548 0.0263423 0) (-0.115387 -0.01472 0) (-0.109731 -0.0561988 0) (-0.123704 -0.0648448 0) (-0.134538 -0.0643776 0) (-0.136555 -0.0559376 0) (-0.133529 -0.0291825 0) (-0.130661 -0.0217128 0) (-0.129574 -0.0215396 0) (-0.121839 -0.0357307 0) (-0.0984424 -0.0696951 0) (-0.0670686 -0.0816734 0) (-0.0330535 -0.0516828 0) (0.00214171 -0.0046613 0) (0.0230727 0.0163797 0) (0.0385723 -0.0128556 0) (0.0404583 -0.0111812 0) (0.0500815 0.0332323 0) (0.0355839 0.11869 0) (0.00946156 0.0996703 0) (-0.0244077 0.0964833 0) (-0.0288522 0.125817 0) (-0.0287931 0.104821 0) (-0.0585737 0.119026 0) (-0.0740192 0.13533 0) (-0.090307 0.132544 0) (-0.0886382 0.189816 0) (-0.0844286 0.229871 0) (-0.0801831 0.21717 0) (-0.0942016 0.23174 0) (-0.0947068 0.297148 0) (-0.0893993 0.356369 0) (-0.0819443 0.367002 0) (-0.0313433 0.269627 0) (-0.0214729 0.203648 0) (0.000348864 0.0600637 0) (-0.021361 0.0140183 0) (0.0103554 -0.14297 0) (0.000158921 -0.157205 0) (-0.11415 0.0157526 0) (-0.0919733 -0.00206738 0) (-0.0797378 -0.0271134 0) (-0.0726641 -0.0369782 0) (-0.0679359 -0.0384761 0) (-0.0603351 -0.0360556 0) (-0.0894515 -0.0413836 0) (-0.099792 -0.0302939 0) (-0.100975 -0.0197564 0) (-0.101416 -0.0223972 0) (-0.104284 -0.0530166 0) (-0.0915461 -0.115737 0) (-0.0697376 -0.147924 0) (-0.0312152 -0.141929 0) (0.00282724 -0.110843 0) (0.0416277 -0.0727074 0) (0.0631703 -0.0314547 0) (0.0626174 -0.0144775 0) (0.0585251 0.0571347 0) (0.0489986 0.154673 0) (0.0196155 0.189871 0) (-0.00876367 0.14153 0) (-0.0634249 0.135333 0) (-0.0756904 0.139577 0) (-0.097118 0.152141 0) (-0.0977236 0.150951 0) (-0.106333 0.139653 0) (-0.110815 0.17539 0) (-0.100632 0.210623 0) (-0.0940437 0.215874 0) (-0.0987929 0.229886 0) (-0.0858575 0.289101 0) (-0.0751744 0.331536 0) (-0.0451517 0.310753 0) (-0.00757261 0.230895 0) (0.00937515 0.161906 0) (0.0228411 0.068838 0) (0.00967239 0.0350525 0) (0.0116654 -0.120321 0) (-0.00120397 -0.140314 0) (-0.142833 -0.0299507 0) (-0.114585 -0.0290974 0) (-0.0689198 -0.0501112 0) (-0.0438267 -0.0788675 0) (-0.0206024 -0.074884 0) (-0.00114905 -0.0353969 0) (-0.0344905 0.0152707 0) (-0.070371 -0.0184983 0) (-0.0604499 -0.031236 0) (-0.049951 -0.0318895 0) (-0.0416571 -0.0528888 0) (-0.0317583 -0.134662 0) (-0.00188826 -0.203004 0) (0.0140946 -0.19401 0) (0.0283383 -0.152939 0) (0.0389682 -0.103137 0) (0.04421 -0.040977 0) (0.0432969 -0.0066701 0) (0.0190043 0.0508982 0) (-0.0127083 0.144436 0) (-0.0336217 0.192778 0) (-0.0502471 0.209275 0) (-0.101694 0.217433 0) (-0.120842 0.176499 0) (-0.137691 0.158421 0) (-0.141569 0.152991 0) (-0.145676 0.156028 0) (-0.14626 0.187403 0) (-0.137061 0.214007 0) (-0.120763 0.21645 0) (-0.110922 0.222882 0) (-0.0905553 0.268779 0) (-0.0642077 0.291822 0) (-0.0265088 0.252364 0) (0.00435681 0.192207 0) (0.0142435 0.144567 0) (-0.0099703 0.0921451 0) (-0.0103092 0.00396974 0) (-0.0168065 -0.111265 0) (-0.00463196 -0.147038 0) (-0.158594 -0.140581 0) (-0.0969749 -0.157533 0) (-0.0572073 -0.150501 0) (-0.0294209 -0.150186 0) (0.00182322 -0.0957261 0) (0.00356379 -0.0633131 0) (0.0305777 0.0960455 0) (0.00275884 0.023382 0) (-0.00835408 -0.053249 0) (-0.00328318 -0.061577 0) (0.000967388 -0.0660108 0) (0.0165239 -0.145482 0) (0.0272368 -0.223456 0) (0.0325015 -0.211606 0) (0.0412396 -0.170234 0) (0.0352981 -0.126886 0) (0.0118808 -0.0732303 0) (-0.0617304 0.0268087 0) (-0.117812 0.160443 0) (-0.137715 0.255171 0) (-0.173835 0.276624 0) (-0.187631 0.280441 0) (-0.216095 0.246196 0) (-0.222959 0.21466 0) (-0.235351 0.199518 0) (-0.245426 0.186405 0) (-0.234651 0.170943 0) (-0.211701 0.167068 0) (-0.176782 0.172253 0) (-0.146192 0.179877 0) (-0.125009 0.189382 0) (-0.105902 0.203498 0) (-0.0755536 0.200063 0) (-0.0404973 0.163292 0) (-0.0208745 0.147114 0) (-0.00740036 0.147608 0) (-0.00724955 0.111346 0) (-0.0356865 0.0171493 0) (-0.028752 -0.134453 0) (-0.00800975 -0.19856 0) (-0.0881128 -0.174543 0) (-0.0512038 -0.208783 0) (-0.0604679 -0.177379 0) (-0.049744 -0.16654 0) (-0.0305245 -0.121699 0) (-0.0256708 -0.0761618 0) (-0.00253677 0.0466306 0) (0.0325673 0.0366354 0) (0.0152939 -0.0215308 0) (0.00710657 -0.0581885 0) (0.00327251 -0.0829937 0) (0.0238068 -0.177615 0) (0.0237107 -0.227904 0) (-0.000849789 -0.202745 0) (-0.0744729 -0.124445 0) (-0.196205 0.0236249 0) (-0.297084 0.172335 0) (-0.356315 0.215894 0) (-0.386098 0.252741 0) (-0.387245 0.279348 0) (-0.391145 0.283491 0) (-0.386765 0.281926 0) (-0.390409 0.260012 0) (-0.383149 0.237085 0) (-0.367081 0.192184 0) (-0.336976 0.142223 0) (-0.289416 0.101995 0) (-0.241197 0.0883034 0) (-0.194603 0.098367 0) (-0.155117 0.130856 0) (-0.117599 0.152345 0) (-0.0805293 0.164245 0) (-0.0484808 0.171557 0) (-0.0297875 0.150794 0) (-0.0241371 0.133565 0) (-0.0218869 0.138792 0) (-0.0233335 0.144303 0) (-0.0904575 0.0511375 0) (-0.00856492 -0.194105 0) (0.00365615 -0.204364 0) (0.0229561 -0.1078 0) (0.0390136 -0.221932 0) (0.0193626 -0.186135 0) (0.0223522 -0.160076 0) (0.00326987 -0.152798 0) (0.0104721 -0.0936081 0) (-0.0111164 -0.0220568 0) (0.0312131 0.0147981 0) (0.0110779 -0.00547799 0) (0.00396612 -0.0444578 0) (-0.0017247 -0.0878445 0) (0.0130512 -0.18249 0) (-0.0249849 -0.16391 0) (-0.10947 -0.0159881 0) (-0.306874 0.20791 0) (-0.415594 0.215046 0) (-0.443267 0.205323 0) (-0.458945 0.216752 0) (-0.467707 0.245889 0) (-0.464989 0.26451 0) (-0.465594 0.269557 0) (-0.464018 0.267083 0) (-0.462361 0.237708 0) (-0.447669 0.180686 0) (-0.40835 0.104073 0) (-0.346428 0.0278215 0) (-0.293666 -0.0102499 0) (-0.248882 -0.00793016 0) (-0.19447 0.00633721 0) (-0.139924 0.0285211 0) (-0.0973778 0.0626702 0) (-0.0710139 0.0819746 0) (-0.0454785 0.100421 0) (-0.022555 0.116581 0) (-0.0220878 0.143811 0) (-0.0411309 0.162879 0) (-0.0655119 0.213525 0) (-0.053614 0.0160204 0) (-0.00078359 -0.25899 0) (-0.0101147 -0.208655 0) (0.0755502 -0.168172 0) (0.0754328 -0.176456 0) (0.0556085 -0.175589 0) (0.0540391 -0.156945 0) (0.042481 -0.13143 0) (0.0230153 -0.0571153 0) (-0.0159139 -0.00238333 0) (-0.0120749 0.00919202 0) (-0.02115 0.0123337 0) (-0.0308603 -0.0325314 0) (-0.0276592 -0.110961 0) (-0.0426917 -0.126289 0) (-0.0845902 -0.037278 0) (-0.210234 0.250788 0) (-0.421359 0.344675 0) (-0.453185 0.241896 0) (-0.45722 0.222217 0) (-0.461444 0.225566 0) (-0.462102 0.247765 0) (-0.455962 0.264226 0) (-0.453889 0.267784 0) (-0.449204 0.261416 0) (-0.44479 0.21863 0) (-0.426947 0.124664 0) (-0.373132 0.00181273 0) (-0.329124 -0.0619217 0) (-0.29687 -0.0845764 0) (-0.255953 -0.0990815 0) (-0.214396 -0.107085 0) (-0.170866 -0.0908824 0) (-0.121105 0.00130499 0) (-0.10899 0.0715133 0) (-0.115235 0.0767477 0) (-0.111304 0.111979 0) (-0.09517 0.168673 0) (-0.115154 0.185811 0) (-0.101257 0.182523 0) (0.0143104 -0.121797 0) (0.00746346 -0.24364 0) (-0.0105485 -0.216636 0) (0.0877729 -0.136697 0) (0.0817331 -0.153989 0) (0.0667574 -0.151156 0) (0.0526517 -0.123462 0) (0.0144043 -0.0640549 0) (-0.0145463 0.0151223 0) (-0.0370161 0.038693 0) (-0.0537671 0.0291322 0) (-0.066059 0.0189025 0) (-0.0613199 -0.0358835 0) (-0.0692 -0.0944505 0) (-0.0845992 -0.0809321 0) (-0.12577 0.0380789 0) (-0.202026 0.641394 0) (-0.37057 0.556612 0) (-0.419337 0.257724 0) (-0.421238 0.230498 0) (-0.423794 0.230321 0) (-0.418012 0.244502 0) (-0.401303 0.259653 0) (-0.383224 0.257305 0) (-0.369776 0.238357 0) (-0.359441 0.185676 0) (-0.351485 0.0782408 0) (-0.330648 -0.0513907 0) (-0.315299 -0.103249 0) (-0.299598 -0.126463 0) (-0.287897 -0.138041 0) (-0.279013 -0.143322 0) (-0.266 -0.124605 0) (-0.250283 -0.00447039 0) (-0.220001 0.0738428 0) (-0.200244 0.082242 0) (-0.180098 0.108107 0) (-0.141027 0.156005 0) (-0.104847 0.151845 0) (-0.0477929 0.0655856 0) (0.0162008 -0.184851 0) (-0.00791439 -0.217468 0) (-0.00282771 -0.225655 0) (0.0696041 -0.118917 0) (0.0638572 -0.142973 0) (0.0502122 -0.127188 0) (0.0281979 -0.0725532 0) (-0.00474795 -0.01623 0) (-0.0218395 0.0465624 0) (-0.0533039 0.0704551 0) (-0.0780597 0.0577744 0) (-0.0993191 0.0427583 0) (-0.0971766 -0.0380355 0) (-0.106062 -0.0650078 0) (-0.146407 -0.0395897 0) (-0.168434 0.176903 0) (-0.169526 0.773515 0) (-0.172593 0.807992 0) (-0.25638 0.374896 0) (-0.31961 0.249461 0) (-0.335161 0.214715 0) (-0.330976 0.210955 0) (-0.304986 0.218979 0) (-0.258677 0.222994 0) (-0.233624 0.218421 0) (-0.226315 0.198377 0) (-0.233948 0.104859 0) (-0.224996 -0.033679 0) (-0.212101 -0.108143 0) (-0.20697 -0.137615 0) (-0.204663 -0.146386 0) (-0.212646 -0.146881 0) (-0.220973 -0.132943 0) (-0.218871 -0.0944503 0) (-0.182116 -0.0088379 0) (-0.165929 0.0530493 0) (-0.15621 0.0668629 0) (-0.115983 0.0286788 0) (-0.0687801 -0.00759076 0) (-0.017403 -0.0367716 0) (0.00131017 -0.194486 0) (-0.00899648 -0.215867 0) (0.00429926 -0.24137 0) (0.050402 -0.160137 0) (0.0501777 -0.134117 0) (0.03626 -0.0864751 0) (0.0233985 -0.0331392 0) (-0.0155041 0.0169403 0) (-0.0559003 0.0996731 0) (-0.0948286 0.136772 0) (-0.136193 0.109395 0) (-0.155966 0.0428098 0) (-0.158229 -0.0209225 0) (-0.192814 -0.0343892 0) (-0.237031 -0.0123111 0) (-0.229171 0.227135 0) (-0.153194 0.665888 0) (-0.103756 0.736212 0) (-0.0676511 0.540222 0) (-0.0905924 0.371432 0) (-0.141551 0.259735 0) (-0.182754 0.189515 0) (-0.195991 0.166316 0) (-0.202376 0.156853 0) (-0.184315 0.138028 0) (-0.158588 0.149652 0) (-0.113232 0.00688553 0) (-0.0768911 -0.0478728 0) (-0.079656 -0.0949965 0) (-0.0669143 -0.141464 0) (-0.0635557 -0.140973 0) (-0.0617791 -0.123522 0) (-0.071881 -0.0982463 0) (-0.0881572 -0.0812901 0) (-0.0942832 -0.0705738 0) (-0.0805546 -0.0237396 0) (-0.0523428 0.0205674 0) (-0.0475719 0.0137222 0) (-0.0574783 -0.0191175 0) (-0.0414758 -0.102774 0) (-0.00416884 -0.210837 0) (-0.00677063 -0.231646 0) (0.00675744 -0.241615 0) (-0.0294914 -0.174113 0) (-0.0137733 -0.13426 0) (-0.0147141 -0.0783519 0) (-0.0429015 0.0049259 0) (-0.108696 0.12089 0) (-0.157482 0.192386 0) (-0.179468 0.194239 0) (-0.200162 0.137037 0) (-0.207665 0.0585892 0) (-0.220539 0.0305325 0) (-0.259924 0.0284495 0) (-0.297567 0.0524065 0) (-0.324245 0.174665 0) (-0.235681 0.452833 0) (-0.133503 0.524419 0) (-0.0540607 0.480907 0) (-0.0183033 0.383723 0) (-0.0162515 0.330953 0) (-0.0393437 0.298662 0) (-0.0859109 0.257471 0) (-0.107276 0.151261 0) (-0.0726836 0.0429493 0) (-0.0302162 0.048027 0) (-0.0345506 0.020273 0) (-0.0371481 -0.0323009 0) (-0.0157421 -0.124394 0) (-0.0110732 -0.168169 0) (-0.0104041 -0.155544 0) (-0.0141519 -0.125236 0) (-0.0239351 -0.088778 0) (-0.0376332 -0.0478171 0) (-0.0582462 -0.0537319 0) (-0.0908405 -0.0271707 0) (-0.0882649 0.020358 0) (-0.0807892 0.0305637 0) (-0.0586305 -0.00640451 0) (-0.0138766 -0.150173 0) (0.00418332 -0.225282 0) (-7.67005e-06 -0.234959 0) (0.00601252 -0.237325 0) (-0.0893977 -0.200203 0) (-0.0907625 -0.138673 0) (-0.104215 -0.00740062 0) (-0.146425 0.155837 0) (-0.19185 0.221623 0) (-0.20395 0.24146 0) (-0.217567 0.227228 0) (-0.232604 0.146986 0) (-0.240292 0.0878324 0) (-0.253852 0.0745283 0) (-0.281017 0.0804725 0) (-0.304259 0.106269 0) (-0.319573 0.168012 0) (-0.295934 0.304478 0) (-0.20197 0.32412 0) (-0.126359 0.28744 0) (-0.0627228 0.26209 0) (-0.0132591 0.31646 0) (-0.0154443 0.33884 0) (-0.0148378 0.287761 0) (-0.0118788 0.186072 0) (-0.0308056 0.110054 0) (-0.0348935 0.0725384 0) (-0.0270213 0.0187605 0) (-0.00429281 -0.0819389 0) (0.0111615 -0.140691 0) (0.00362509 -0.17461 0) (-0.00141633 -0.164864 0) (-0.0153523 -0.119528 0) (-0.0612765 -0.0721097 0) (-0.110703 0.000803003 0) (-0.18413 0.0505953 0) (-0.190795 0.0472126 0) (-0.147017 -0.00328219 0) (-0.100963 -0.0355612 0) (-0.0485798 -0.12945 0) (-0.00796663 -0.207047 0) (0.000809368 -0.228952 0) (0.00148165 -0.234022 0) (0.00320923 -0.227574 0) (-0.136303 -0.178999 0) (-0.146964 -0.114978 0) (-0.14765 0.0497105 0) (-0.157241 0.191672 0) (-0.181646 0.24054 0) (-0.191885 0.256156 0) (-0.202847 0.245784 0) (-0.224562 0.172822 0) (-0.243225 0.112092 0) (-0.265119 0.09991 0) (-0.289464 0.109326 0) (-0.300586 0.127588 0) (-0.304942 0.164188 0) (-0.279115 0.218743 0) (-0.240405 0.241526 0) (-0.213806 0.228253 0) (-0.205375 0.21498 0) (-0.178065 0.266944 0) (-0.15037 0.292591 0) (-0.0974021 0.239775 0) (-0.0715675 0.150706 0) (-0.0665444 0.081942 0) (-0.0584649 0.0326173 0) (-0.0375585 -0.0430176 0) (-0.0241092 -0.111854 0) (-0.0354667 -0.138449 0) (-0.0672259 -0.138656 0) (-0.123974 -0.0924135 0) (-0.164164 0.0073865 0) (-0.209228 0.0944688 0) (-0.210686 0.115832 0) (-0.204855 0.0613165 0) (-0.146026 -0.092353 0) (-0.111123 -0.133296 0) (-0.0748575 -0.141452 0) (-0.0538628 -0.192611 0) (-0.0321073 -0.232918 0) (-0.014238 -0.239298 0) (-0.00257768 -0.234753 0) (0.00147595 -0.22525 0) (-0.155022 -0.156816 0) (-0.170269 -0.108823 0) (-0.161478 0.0288138 0) (-0.132584 0.1954 0) (-0.137143 0.252032 0) (-0.155536 0.267893 0) (-0.158645 0.260862 0) (-0.181915 0.218332 0) (-0.223359 0.163646 0) (-0.255083 0.145181 0) (-0.277678 0.141521 0) (-0.292648 0.137319 0) (-0.30068 0.149722 0) (-0.293547 0.176354 0) (-0.270385 0.199711 0) (-0.245069 0.204255 0) (-0.228947 0.197396 0) (-0.204536 0.215983 0) (-0.163045 0.206377 0) (-0.109493 0.154351 0) (-0.0763133 0.117495 0) (-0.0558155 0.0735979 0) (-0.0470417 0.0176141 0) (-0.0424571 -0.0624227 0) (-0.057327 -0.095232 0) (-0.085404 -0.0874893 0) (-0.1092 -0.0402363 0) (-0.141942 0.00684422 0) (-0.146789 0.0253917 0) (-0.132853 0.0385886 0) (-0.111466 0.0401609 0) (-0.0822856 -0.0288734 0) (-0.0570115 -0.121129 0) (-0.0566903 -0.144384 0) (-0.063963 -0.151517 0) (-0.0697283 -0.198886 0) (-0.0712276 -0.266109 0) (-0.0389496 -0.284461 0) (-0.012584 -0.257225 0) (-0.00148027 -0.231069 0) (-0.145501 -0.123642 0) (-0.170043 -0.0881148 0) (-0.165297 -0.00451072 0) (-0.123248 0.144723 0) (-0.0730216 0.253911 0) (-0.0515325 0.296816 0) (-0.0666163 0.319043 0) (-0.0964037 0.303084 0) (-0.149782 0.242569 0) (-0.198197 0.188224 0) (-0.220064 0.162281 0) (-0.242813 0.163315 0) (-0.256187 0.159231 0) (-0.266517 0.153088 0) (-0.258866 0.150908 0) (-0.246318 0.15218 0) (-0.218103 0.149984 0) (-0.183538 0.130213 0) (-0.129466 0.108545 0) (-0.0854284 0.0758744 0) (-0.0469387 0.0547489 0) (-0.0154592 0.051714 0) (0.00714578 0.0248379 0) (0.00580199 0.0145692 0) (-0.0647555 -0.0238194 0) (-0.118855 -0.0308822 0) (-0.132068 0.00194846 0) (-0.134279 -0.00505868 0) (-0.104141 -0.0197456 0) (-0.0626038 -0.0159615 0) (-0.0281411 -0.00849868 0) (0.00144419 -0.0275338 0) (0.00411714 -0.0913658 0) (0.00291082 -0.125136 0) (-0.0134807 -0.116213 0) (-0.0740985 -0.157401 0) (-0.062794 -0.314349 0) (-0.0518799 -0.348612 0) (-0.0191431 -0.313482 0) (-0.00502032 -0.258182 0) (-0.132527 -0.118226 0) (-0.125689 -0.0818046 0) (-0.126443 -0.0417325 0) (-0.106638 0.0232333 0) (-0.0454855 0.132304 0) (0.0114963 0.236547 0) (0.0651308 0.316601 0) (0.0862074 0.352562 0) (0.0601628 0.36331 0) (0.0163264 0.329181 0) (-0.0372474 0.269383 0) (-0.0849794 0.190253 0) (-0.0912691 0.15714 0) (-0.107502 0.195015 0) (-0.14751 0.187649 0) (-0.165453 0.105667 0) (-0.159747 0.0685455 0) (-0.13252 0.0559357 0) (-0.10895 0.018087 0) (-0.0604503 -0.0115606 0) (-0.0216783 -0.0281628 0) (0.0241805 -0.0246382 0) (0.0474349 -0.0194325 0) (0.0800475 0.0370357 0) (0.00962867 0.116482 0) (-0.115155 0.0228802 0) (-0.103254 -0.0285167 0) (-0.101789 -0.0471633 0) (-0.0809982 -0.0892104 0) (-0.0605734 -0.103882 0) (-0.0126939 -0.095975 0) (0.0202682 -0.0766036 0) (0.051533 -0.118642 0) (0.0544052 -0.116078 0) (0.0508713 -0.0504996 0) (-0.0247316 -0.0578704 0) (-0.0245892 -0.341937 0) (-0.0300492 -0.376126 0) (-0.0150586 -0.332923 0) (-0.0051272 -0.276993 0) (-0.125711 -0.154515 0) (-0.104002 -0.0841458 0) (-0.0842376 -0.0420187 0) (-0.0677815 -0.00785997 0) (-0.0369669 0.0309203 0) (0.0109725 0.0781916 0) (0.0842016 0.205063 0) (0.140891 0.294095 0) (0.203865 0.340511 0) (0.223743 0.363169 0) (0.208505 0.352738 0) (0.176947 0.318007 0) (0.131534 0.225754 0) (0.0934683 0.209445 0) (0.0901351 0.274629 0) (0.0487073 0.247499 0) (0.00938601 0.114131 0) (-0.0230291 0.0347665 0) (-0.0268406 -0.0106407 0) (-0.0310826 -0.0754639 0) (0.00470011 -0.117974 0) (0.0421139 -0.0792098 0) (0.0535552 -0.0376119 0) (0.0726022 0.0373106 0) (0.0856235 0.270713 0) (0.0329969 0.185339 0) (0.0215771 -0.0536743 0) (-0.0165149 -0.0486471 0) (0.0186075 -0.0851708 0) (0.0280551 -0.133669 0) (0.03676 -0.160362 0) (0.0636792 -0.159444 0) (0.0854715 -0.143057 0) (0.0781714 -0.114298 0) (0.0645694 -0.0159209 0) (-0.0339149 -0.0121523 0) (0.00957398 -0.341696 0) (-0.00391786 -0.369755 0) (-0.00857253 -0.33533 0) (-0.00110214 -0.28429 0) (-0.154626 -0.221331 0) (-0.115871 -0.163461 0) (-0.0719001 -0.0974496 0) (-0.0407348 -0.057994 0) (-0.00857226 -0.0189798 0) (0.0226597 0.0115849 0) (0.0683657 0.0650002 0) (0.126015 0.110169 0) (0.200791 0.208414 0) (0.240584 0.312453 0) (0.22994 0.352983 0) (0.214022 0.345213 0) (0.189978 0.300873 0) (0.152255 0.248447 0) (0.149736 0.271078 0) (0.147441 0.276128 0) (0.151362 0.205214 0) (0.128041 0.109731 0) (0.0687243 0.0561262 0) (0.0717295 -0.0602959 0) (0.064869 -0.163688 0) (0.0695774 -0.115844 0) (0.0758082 -0.0538629 0) (0.0697629 0.0143924 0) (0.0916976 0.235638 0) (0.123894 0.195856 0) (0.121063 0.0834578 0) (0.090292 -0.0344273 0) (0.0623967 -0.122951 0) (0.0747196 -0.143471 0) (0.075676 -0.179246 0) (0.0894639 -0.181193 0) (0.0884463 -0.157655 0) (0.0583459 -0.0836931 0) (0.0126022 0.118318 0) (0.0745426 0.0653885 0) (0.0518551 -0.294831 0) (0.0188 -0.342036 0) (-0.0171127 -0.319238 0) (-0.00417238 -0.293412 0) (-0.172265 -0.240335 0) (-0.160681 -0.216735 0) (-0.129321 -0.180987 0) (-0.0850198 -0.13245 0) (-0.0446674 -0.0903103 0) (-0.0065179 -0.0520853 0) (0.0258755 -0.0108354 0) (0.0763775 0.0397173 0) (0.0824999 0.136643 0) (0.168836 0.301062 0) (0.16539 0.372357 0) (0.167034 0.36413 0) (0.162662 0.31868 0) (0.143449 0.25904 0) (0.140766 0.269636 0) (0.144209 0.26195 0) (0.171385 0.193063 0) (0.171105 0.136712 0) (0.151564 0.0914102 0) (0.180454 -0.0387002 0) (0.140042 -0.117743 0) (0.101776 -0.100897 0) (0.077506 -0.0320209 0) (0.0736381 0.0222747 0) (0.0973372 0.118243 0) (0.139097 0.118234 0) (0.160763 0.0742339 0) (0.169049 0.00642422 0) (0.132254 -0.055621 0) (0.126044 -0.130864 0) (0.102446 -0.169261 0) (0.105348 -0.160081 0) (0.0429269 -0.066359 0) (-0.0188644 0.0641262 0) (-0.0326863 -0.00362608 0) (0.0458837 -0.111074 0) (0.0240026 -0.265361 0) (-0.0430772 -0.282837 0) (-0.0805663 -0.31193 0) (-0.0337984 -0.338019 0) (-0.177191 -0.242386 0) (-0.179558 -0.227324 0) (-0.180991 -0.208614 0) (-0.161272 -0.186969 0) (-0.14184 -0.156831 0) (-0.107569 -0.119518 0) (-0.0745545 -0.0715249 0) (-0.0570162 -0.00910248 0) (-0.0458229 0.102483 0) (0.0118826 0.275156 0) (0.0133722 0.353238 0) (0.0643396 0.348276 0) (0.0756815 0.308059 0) (0.0875054 0.267788 0) (0.108708 0.259035 0) (0.132319 0.211755 0) (0.171095 0.155062 0) (0.182868 0.123452 0) (0.174619 0.0942196 0) (0.179563 -0.0146247 0) (0.163799 -0.0504052 0) (0.141409 -0.0476123 0) (0.120754 -0.0156997 0) (0.111207 0.0226711 0) (0.121147 0.05596 0) (0.142666 0.0627757 0) (0.178634 0.0433066 0) (0.191161 0.0115995 0) (0.20233 -0.0319704 0) (0.194835 -0.111522 0) (0.167942 -0.126417 0) (0.155597 -0.104155 0) (0.128021 0.0309938 0) (0.0800445 0.0592296 0) (0.123232 -0.034772 0) (0.0623094 -0.104569 0) (0.0165451 -0.189774 0) (-0.0499729 -0.154416 0) (-0.0602074 -0.371841 0) (0.000438355 -0.520369 0) (-0.157006 -0.197356 0) (-0.183794 -0.212531 0) (-0.196645 -0.210764 0) (-0.203168 -0.193922 0) (-0.212098 -0.17149 0) (-0.208462 -0.14571 0) (-0.204022 -0.0936402 0) (-0.186936 -0.00574172 0) (-0.18348 0.0834585 0) (-0.137263 0.178234 0) (-0.102635 0.233706 0) (-0.0207438 0.26814 0) (0.0250233 0.225468 0) (0.0791872 0.241469 0) (0.0922485 0.226849 0) (0.118224 0.154406 0) (0.150275 0.108466 0) (0.177477 0.107152 0) (0.186642 0.0934877 0) (0.191009 0.000744214 0) (0.176156 -0.0357468 0) (0.159036 -0.034092 0) (0.13515 0.0013754 0) (0.125563 0.0319153 0) (0.130814 0.0376977 0) (0.136231 0.0252638 0) (0.157344 -0.0257715 0) (0.172848 -0.0372925 0) (0.197371 -0.0482417 0) (0.212957 -0.0854488 0) (0.213383 -0.0927046 0) (0.219459 -0.092741 0) (0.230411 -0.0298048 0) (0.244849 0.109187 0) (0.271334 0.0788223 0) (0.241643 0.0626139 0) (0.210925 0.0818179 0) (0.14242 -0.0445122 0) (0.0204701 -0.37604 0) (0.0118016 -0.529898 0) (-0.0482483 -0.105616 0) (-0.139771 -0.121028 0) (-0.181507 -0.171982 0) (-0.214666 -0.179872 0) (-0.234614 -0.157568 0) (-0.245234 -0.143109 0) (-0.250414 -0.117292 0) (-0.237905 -0.0413678 0) (-0.20329 0.0508991 0) (-0.163817 0.123004 0) (-0.130444 0.143484 0) (-0.0770628 0.167566 0) (-0.0237579 0.129447 0) (0.0292871 0.170817 0) (0.0849147 0.171993 0) (0.0984768 0.118702 0) (0.125502 0.0324914 0) (0.154818 0.0512894 0) (0.176248 0.0582139 0) (0.178291 0.0201572 0) (0.175515 0.0128051 0) (0.166811 0.0181482 0) (0.148101 0.0425505 0) (0.136645 0.0490126 0) (0.138473 0.0343114 0) (0.148449 0.0265516 0) (0.163726 -0.0174107 0) (0.193637 -0.0600063 0) (0.229925 -0.0977779 0) (0.261482 -0.108729 0) (0.261414 -0.104297 0) (0.253967 -0.103155 0) (0.238049 -0.0831653 0) (0.268006 0.00421935 0) (0.322306 0.0141432 0) (0.388272 -0.0323345 0) (0.442465 0.0712738 0) (0.421023 0.0886003 0) (0.209435 -0.007238 0) (0.02508 -0.322433 0) (-0.0406076 -0.100629 0) (-0.0295288 0.018312 0) (-0.0496466 -0.0595749 0) (-0.113173 -0.0847076 0) (-0.209452 -0.129626 0) (-0.248166 -0.12574 0) (-0.256691 -0.131017 0) (-0.260653 -0.0847104 0) (-0.237941 -0.0258789 0) (-0.20011 0.0324886 0) (-0.156782 0.0652737 0) (-0.107505 0.0577231 0) (-0.0686762 0.0267648 0) (-0.0242465 0.0571202 0) (0.0304756 0.0652997 0) (0.0703122 0.0902208 0) (0.0759826 -0.00828698 0) (0.0810752 0.00566014 0) (0.10419 0.0471564 0) (0.0969656 0.00581878 0) (0.100626 -0.00936497 0) (0.106187 0.00221871 0) (0.117497 0.0461607 0) (0.119568 0.0365074 0) (0.139705 0.0117708 0) (0.17072 -0.0287277 0) (0.226009 -0.10449 0) (0.27311 -0.161336 0) (0.313544 -0.170062 0) (0.348821 -0.133416 0) (0.329241 -0.0816919 0) (0.280771 -0.0628886 0) (0.263309 -0.0717457 0) (0.273999 -0.0836574 0) (0.326183 -0.100604 0) (0.384493 -0.0780463 0) (0.396065 -0.0133823 0) (0.402215 0.304726 0) (0.160514 0.432127 0) (0.0473489 -0.187174 0) (-0.0598745 -0.131984 0) (-0.0342027 -0.0671124 0) (-0.000499767 -0.0687294 0) (0.0265051 -0.0108343 0) (0.015024 0.0834017 0) (-0.0656748 -0.0109221 0) (-0.0916153 -0.0885153 0) (-0.121658 -0.0812721 0) (-0.151238 -0.034799 0) (-0.160451 -0.0173123 0) (-0.159185 -0.0119351 0) (-0.159915 -0.0260303 0) (-0.140753 -0.0404273 0) (-0.10086 -0.0151644 0) (-0.0722231 0.0344031 0) (-0.0394437 0.0523766 0) (-0.0282238 0.0149134 0) (-0.0200683 0.0119826 0) (0.00733235 0.0381584 0) (0.0388625 0.0124631 0) (0.0580058 0.00605088 0) (0.0878013 -0.00248496 0) (0.128076 0.0243113 0) (0.169531 0.013354 0) (0.221956 -0.0471082 0) (0.275627 -0.14213 0) (0.343428 -0.187382 0) (0.379918 -0.241374 0) (0.417907 -0.249203 0) (0.451226 -0.175936 0) (0.426875 -0.0195695 0) (0.323561 -0.0106041 0) (0.265729 -0.114908 0) (0.307201 -0.172301 0) (0.364504 -0.173217 0) (0.409804 -0.108359 0) (0.384269 -0.0102368 0) (0.266858 0.391756 0) (-0.132887 0.687394 0) (0.0498236 -0.197074 0) (-0.0737762 -0.133916 0) (-0.0467683 -0.116137 0) (-0.0294101 -0.10611 0) (-0.0411091 -0.0778337 0) (0.00164761 0.0487494 0) (0.027119 0.040799 0) (0.0239359 0.00840333 0) (0.000791009 -0.01872 0) (0.00268815 -0.00968972 0) (0.0208159 0.0428888 0) (0.00265068 0.0671136 0) (0.031745 0.0305197 0) (0.0148659 -0.0342849 0) (0.00425196 -0.075474 0) (-0.0187744 -0.0344793 0) (-0.0168305 -0.0075017 0) (-0.00136813 -0.0350682 0) (0.0291175 -0.0603118 0) (0.0442978 -0.059124 0) (0.0710141 -0.0826233 0) (0.107463 -0.0997362 0) (0.140449 -0.120082 0) (0.173649 -0.126333 0) (0.21971 -0.115686 0) (0.260645 -0.147621 0) (0.336203 -0.257441 0) (0.424011 -0.251373 0) (0.478268 -0.251156 0) (0.45165 -0.303756 0) (0.310707 -0.12785 0) (0.334673 0.206932 0) (0.365992 0.195065 0) (0.376327 -0.0238726 0) (0.36268 -0.196114 0) (0.326523 -0.189468 0) (0.251637 -0.0885236 0) (0.136267 0.206647 0) (-0.154401 0.882633 0) (-0.161578 0.795675 0) (0.0610823 -0.231711 0) (0.115983 -0.10437 0) (0.154549 -0.160334 0) (0.000258584 -0.0996591 0) (-0.101222 -0.067981 0) (-0.0576355 -0.0443645 0) (-0.0142374 -0.0452702 0) (-0.0106874 -0.0552657 0) (-0.0118401 -0.0521672 0) (-0.0146274 -0.0523753 0) (0.0155139 -0.0379745 0) (0.0209119 -0.026768 0) (0.0463714 -0.00717445 0) (0.0821299 -0.0114882 0) (0.0985708 0.0227702 0) (0.083994 0.053669 0) (0.0892113 0.025439 0) (0.115576 -0.0533969 0) (0.138268 -0.0544396 0) (0.16684 -0.0219801 0) (0.180353 -0.0607245 0) (0.154311 -0.121791 0) (0.152042 -0.125617 0) (0.178826 -0.126206 0) (0.21464 -0.143165 0) (0.212413 -0.210376 0) (0.178124 -0.464344 0) (0.0763622 -0.364317 0) (0.0628482 -0.192062 0) (0.0502317 -0.0630849 0) (0.00764865 0.0234963 0) (-0.0909335 -0.0132244 0) (0.0453142 -0.151222 0) (-0.0735057 -0.0820585 0) (0.0133041 -0.0429825 0) (-0.208329 0.0263441 0) (-0.349416 0.363658 0) (-0.412968 0.73002 0) (-0.456944 0.89206 0) (-0.0919079 0.0644528 0) (-0.000516225 -0.293706 0) (0.473209 -0.204029 0) (0.548602 0.102315 0) (0.322754 0.204864 0) (0.370357 0.0783431 0) (0.30379 -0.0942379 0) (0.20531 -0.0182602 0) (0.136956 -0.0011698 0) (0.00746633 0.0155997 0) (0.0145492 -0.0608042 0) (0.0414272 -0.0440059 0) (0.0692573 0.0473464 0) (0.0535518 -0.100392 0) (0.0321231 -0.129412 0) (0.0414851 -0.021527 0) (0.0748552 -0.0202612 0) (0.105604 -0.0690476 0) (0.149892 -0.117161 0) (0.222123 -0.161049 0) (0.242532 -0.122598 0) (0.141992 -0.0751764 0) (-0.218188 0.080195 0) (-0.161311 -0.0976351 0) (-0.171575 -0.198306 0) (-0.131333 -0.237438 0) (-0.0897614 -0.205742 0) (-0.115382 -0.220218 0) (-0.143758 -0.152199 0) (-0.193986 -0.139637 0) (-0.181464 -0.0607205 0) (-0.120578 0.112825 0) (-0.125843 0.150594 0) (-0.16445 0.0801778 0) (-0.212095 0.02411 0) (-0.219587 0.0114567 0) (-0.298632 0.200531 0) (-0.318999 0.431472 0) (-0.293541 0.676564 0) (-0.266568 0.781624 0) (0.00148507 -0.208069 0) (-0.00834905 -0.334698 0) (0.184934 -0.100889 0) (0.281055 0.00913808 0) (0.360792 0.191412 0) (0.391967 0.178853 0) (0.41515 0.155042 0) (0.396943 0.16815 0) (0.337272 0.212495 0) (0.243388 0.179918 0) (0.211679 -0.0138831 0) (0.234902 -0.175374 0) (0.266748 -0.116398 0) (0.348891 0.0229946 0) (0.340224 0.0450092 0) (0.228464 -0.0032524 0) (0.147163 -0.0270953 0) (0.116277 -0.100728 0) (0.0702194 -0.124058 0) (-0.0194247 -0.14077 0) (-0.168902 0.305415 0) (-0.243925 0.452368 0) (-0.31018 0.0247567 0) (-0.204354 -0.17043 0) (-0.181279 -0.265444 0) (-0.165839 -0.268073 0) (-0.163073 -0.187076 0) (-0.161317 -0.174261 0) (-0.186526 -0.137602 0) (-0.226669 -0.171858 0) (-0.247391 -0.185836 0) (-0.23786 -0.0855242 0) (-0.17457 0.0252003 0) (-0.174535 0.020032 0) (-0.195442 0.0618419 0) (-0.247853 0.10738 0) (-0.242275 0.267052 0) (-0.2474 0.363196 0) (-0.173496 0.381233 0) (0.0686543 0.254274 0) (0.097638 -0.209516 0) (0.0102251 -0.312412 0) (0.0270307 -0.260143 0) (0.0625499 -0.155688 0) (0.117538 -0.108169 0) (0.226189 -0.0447314 0) (0.308304 0.0175771 0) (0.334811 0.117424 0) (0.302065 0.207708 0) (0.295273 0.194374 0) (0.316661 0.126109 0) (0.265958 -0.174648 0) (0.202378 -0.195681 0) (0.206772 -0.00825898 0) (0.230356 0.116497 0) (0.230647 0.136873 0) (0.198722 0.0497548 0) (0.205068 -0.0209773 0) (0.225693 -0.0265614 0) (0.242975 0.0389839 0) (0.168298 0.252108 0) (0.0402061 0.56689 0) (0.0946102 0.0752736 0) (-0.0852449 -0.181477 0) (-0.13427 -0.265135 0) (-0.156519 -0.271473 0) (-0.173381 -0.194858 0) (-0.145661 -0.155752 0) (-0.12988 -0.0599637 0) (-0.132428 -0.0360922 0) (-0.157702 -0.0377779 0) (-0.182837 -0.00183743 0) (-0.195325 0.038349 0) (-0.183212 0.0485163 0) (-0.157379 0.123528 0) (-0.168561 0.117711 0) (-0.111433 0.22337 0) (-0.0280898 0.259398 0) (0.0486059 0.177538 0) (0.143861 0.106237 0) (0.119194 -0.0182277 0) (0.039877 -0.176236 0) (0.0324001 -0.284274 0) (0.0159219 -0.176873 0) (0.00729388 -0.187528 0) (0.0409086 -0.0999794 0) (0.110148 0.0763053 0) (0.137878 0.167138 0) (0.18843 0.199237 0) (0.227161 0.172964 0) (0.28722 0.0593973 0) (0.326187 -0.0624822 0) (0.305991 -0.0882924 0) (0.296329 -0.063298 0) (0.325391 0.0410581 0) (0.356957 0.104688 0) (0.356512 0.0852981 0) (0.294191 -0.0168797 0) (0.225751 -0.0410828 0) (0.174233 0.0915301 0) (0.131986 0.334466 0) (0.182302 0.531398 0) (0.208915 0.325769 0) (0.120937 0.178554 0) (-0.0302586 -0.102616 0) (-0.122552 -0.235356 0) (-0.156512 -0.24392 0) (-0.137827 -0.292697 0) (-0.0489037 -0.171619 0) (-0.0463897 -0.0924562 0) (-0.0118295 -0.122519 0) (0.0315234 -0.0880681 0) (0.0651285 -0.00520304 0) (0.076545 0.0525284 0) (0.0891468 0.0812337 0) (0.134817 0.0305385 0) (0.252559 0.030016 0) (0.309257 0.109248 0) (0.289408 0.168009 0) (0.197397 0.133567 0) (0.091692 0.0446609 0) (0.0730879 -0.083885 0) (0.0768135 -0.209963 0) (0.0550071 -0.122312 0) (0.0455501 -0.160859 0) (0.00281214 -0.192212 0) (0.0211456 -0.115578 0) (0.0904725 0.0110129 0) (0.153379 0.0450435 0) (0.209005 0.00488934 0) (0.281802 -0.0735447 0) (0.314424 -0.110993 0) (0.320691 -0.123432 0) (0.321824 -0.105745 0) (0.343179 -0.0429273 0) (0.363807 0.0820578 0) (0.347741 0.136812 0) (0.306637 0.121052 0) (0.200169 0.138251 0) (0.10273 0.239052 0) (0.0908348 0.308292 0) (0.152426 0.375299 0) (0.18967 0.313207 0) (0.222445 0.177363 0) (0.209998 0.12401 0) (0.17152 -0.0393818 0) (0.151939 -0.123174 0) (0.0898705 -0.273629 0) (-0.0260482 -0.284984 0) (0.00447244 -0.0644379 0) (-0.00865391 -0.191097 0) (-0.000877487 -0.109825 0) (0.0346424 -0.0454301 0) (-0.00487804 0.0750368 0) (-0.0196654 -0.0846675 0) (0.101852 -0.194332 0) (0.224578 -0.132817 0) (0.284549 0.0330854 0) (0.265999 0.277989 0) (0.0542663 0.447136 0) (0.0657848 0.111783 0) (0.00177384 0.0565111 0) (0.0785524 -0.218146 0) (0.0975165 -0.139303 0) (0.125104 -0.125544 0) (0.140337 -0.123442 0) (0.158583 -0.125558 0) (0.171876 -0.106814 0) (0.212921 -0.0817664 0) (0.272335 -0.0932713 0) (0.317056 -0.111404 0) (0.332627 -0.110192 0) (0.331368 -0.108462 0) (0.317823 -0.0856861 0) (0.292358 -0.0112511 0) (0.276382 0.11515 0) (0.250431 0.211516 0) (0.213676 0.258859 0) (0.115901 0.307234 0) (0.0594609 0.28986 0) (0.0783808 0.2384 0) (0.114934 0.258535 0) (0.161243 0.243027 0) (0.17197 0.170545 0) (0.191046 0.0399945 0) (0.189637 -0.0785721 0) (0.159477 -0.10117 0) (0.0782607 -0.02905 0) (-0.0619787 -0.0401601 0) (-0.0788038 -0.0825219 0) (-0.101488 -0.129947 0) (-0.116366 -0.15544 0) (-0.109207 -0.0245484 0) (-0.0495772 0.0894057 0) (0.0536492 -0.124376 0) (0.0463526 -0.32728 0) (-0.0127918 -0.20208 0) (-0.0124032 0.040784 0) (-0.0512497 0.579862 0) (-0.0095629 0.605217 0) (0.005579 0.162368 0) (-0.0160636 0.0300306 0) (0.00589156 -0.248815 0) (0.0527987 -0.207128 0) (0.09775 -0.219797 0) (0.137231 -0.185643 0) (0.177231 -0.137439 0) (0.196961 -0.127048 0) (0.22129 -0.133428 0) (0.247852 -0.167292 0) (0.266032 -0.169983 0) (0.272021 -0.15741 0) (0.266646 -0.125612 0) (0.246501 -0.0446845 0) (0.22353 0.0553031 0) (0.198376 0.152479 0) (0.154318 0.214659 0) (0.15203 0.316917 0) (0.0756659 0.398743 0) (0.0539651 0.33287 0) (0.0649785 0.195003 0) (0.0920938 0.20218 0) (0.135327 0.202863 0) (0.151835 0.122778 0) (0.151769 0.026707 0) (0.116211 0.0169473 0) (0.0245238 0.0642301 0) (-0.0253327 0.0926083 0) (-0.0807439 0.00701327 0) (-0.100305 -0.068529 0) (-0.134538 -0.105027 0) (-0.144124 -0.129885 0) (-0.129183 -0.127589 0) (-0.0764648 -0.146954 0) (-0.0651683 -0.181418 0) (-0.0914345 -0.195272 0) (-0.1165 -0.117384 0) (-0.119697 0.162049 0) (-0.0608016 0.508978 0) (0.0251998 0.481539 0) (-0.0118811 0.191191 0) (0.0102884 0.0211078 0) (-0.00644431 -0.309207 0) (0.0134293 -0.299322 0) (0.0569689 -0.322151 0) (0.0851861 -0.271694 0) (0.11585 -0.208747 0) (0.118022 -0.18654 0) (0.114596 -0.18114 0) (0.095359 -0.173354 0) (0.0750926 -0.150455 0) (0.0684034 -0.116318 0) (0.0511029 -0.0816018 0) (0.0476041 -0.0164816 0) (0.0342984 0.0886582 0) (0.0335704 0.195763 0) (0.0192275 0.305115 0) (0.0136762 0.431015 0) (-0.0136497 0.449889 0) (0.0242441 0.324822 0) (0.0377166 0.158746 0) (0.0664994 0.125742 0) (0.091517 0.145666 0) (0.101524 0.12401 0) (0.0788598 0.104321 0) (0.0396607 0.112613 0) (0.0183388 0.137005 0) (0.0190059 0.130385 0) (0.0160928 0.0895177 0) (0.0118185 0.0199935 0) (-0.00356626 -0.0586229 0) (0.0175117 -0.139272 0) (0.024236 -0.14363 0) (0.0531268 -0.150853 0) (0.0583496 -0.147433 0) (0.0556406 -0.151658 0) (0.0588705 -0.117944 0) (0.0341593 -0.0243671 0) (0.097264 0.150168 0) (0.16318 0.42182 0) (-0.0186874 0.240179 0) (0.0463147 0.0374288 0) (-0.0156303 -0.324445 0) (-0.0127168 -0.351732 0) (0.0143035 -0.364447 0) (0.00364922 -0.261864 0) (-0.0082757 -0.184718 0) (-0.0238996 -0.130249 0) (-0.043861 -0.0977272 0) (-0.0863073 -0.0977297 0) (-0.113102 -0.0969455 0) (-0.143547 -0.0829712 0) (-0.17094 -0.0407374 0) (-0.188744 0.0437044 0) (-0.185718 0.136942 0) (-0.171144 0.225023 0) (-0.142181 0.332762 0) (-0.118714 0.405611 0) (-0.0516168 0.402762 0) (0.0033109 0.242958 0) (0.0240538 0.104929 0) (0.0264006 0.0986359 0) (0.0291662 0.151452 0) (0.0320401 0.153549 0) (0.0255442 0.151131 0) (0.0121065 0.142984 0) (0.0115071 0.137084 0) (0.0189255 0.112699 0) (0.0450613 0.0517086 0) (0.0627079 -0.0150894 0) (0.0846026 -0.0921902 0) (0.0902932 -0.159552 0) (0.0939001 -0.188959 0) (0.105558 -0.209426 0) (0.136504 -0.21689 0) (0.164446 -0.191978 0) (0.176641 -0.101214 0) (0.179626 0.0629094 0) (0.137289 0.186873 0) (0.181657 0.476863 0) (0.0742503 0.381596 0) (0.0496182 0.0506124 0) (-0.0150669 -0.324405 0) (-0.025237 -0.357336 0) (-0.0570202 -0.334776 0) (-0.0625506 -0.206957 0) (-0.0719205 -0.151498 0) (-0.0819095 -0.0997676 0) (-0.100653 -0.0616974 0) (-0.13549 -0.059569 0) (-0.17142 -0.0440706 0) (-0.21272 -0.049717 0) (-0.239977 -0.0125303 0) (-0.244886 0.0381693 0) (-0.225607 0.0625847 0) (-0.198189 0.131946 0) (-0.162973 0.227986 0) (-0.116794 0.259475 0) (-0.0416762 0.236974 0) (-0.005904 0.16014 0) (0.00746711 0.136438 0) (-0.0249725 0.131364 0) (-0.0343903 0.14278 0) (-0.0252869 0.145194 0) (-0.0220916 0.146069 0) (-0.00252051 0.125118 0) (0.0273352 0.113108 0) (0.0622508 0.0487035 0) (0.105331 -0.00188764 0) (0.119376 -0.0459446 0) (0.150077 -0.104746 0) (0.154645 -0.151434 0) (0.154956 -0.185911 0) (0.162707 -0.224552 0) (0.177515 -0.237055 0) (0.181248 -0.206404 0) (0.161269 -0.105915 0) (0.200137 0.0986163 0) (0.11376 0.227639 0) (0.146808 0.548496 0) (0.0197943 0.542353 0) (0.0619742 0.186576 0) (-0.0205786 -0.288714 0) (-0.036834 -0.300707 0) (-0.0874533 -0.276275 0) (-0.082347 -0.209104 0) (-0.0865534 -0.150085 0) (-0.0774054 -0.0805637 0) (-0.0822286 -0.0178359 0) (-0.0992385 0.0010754 0) (-0.139233 0.0151266 0) (-0.17939 0.0155266 0) (-0.188508 0.0158752 0) (-0.188247 0.0204985 0) (-0.168109 0.0319723 0) (-0.151107 0.0827053 0) (-0.137379 0.147257 0) (-0.124833 0.171429 0) (-0.105995 0.157064 0) (-0.0954863 0.146984 0) (-0.0803315 0.158462 0) (-0.0790225 0.153105 0) (-0.0703128 0.151453 0) (-0.0516971 0.129617 0) (-0.0244028 0.119197 0) (0.0164231 0.053551 0) (0.0634408 0.0312193 0) (0.0981792 -0.0144965 0) (0.116984 -0.0440678 0) (0.137322 -0.0947834 0) (0.157897 -0.124811 0) (0.167598 -0.161889 0) (0.18284 -0.217816 0) (0.214655 -0.253649 0) (0.221608 -0.239385 0) (0.214181 -0.187085 0) (0.181835 -0.0866238 0) (0.158586 0.117896 0) (0.0338821 0.338035 0) (-0.0135109 0.67821 0) (-0.0944343 0.52873 0) (0.101355 0.241501 0) (-0.057793 -0.232571 0) (-0.0796954 -0.248757 0) (-0.086721 -0.258644 0) (-0.0824518 -0.21283 0) (-0.0837288 -0.159813 0) (-0.0573647 -0.107834 0) (-0.0340278 -0.011063 0) (-0.0191302 0.0405077 0) (-0.0330652 0.0799993 0) (-0.065042 0.0619395 0) (-0.107452 0.01362 0) (-0.119474 -0.0056671 0) (-0.131704 0.0112055 0) (-0.129857 0.0850002 0) (-0.110567 0.158839 0) (-0.108295 0.187176 0) (-0.105714 0.160977 0) (-0.112715 0.127654 0) (-0.109329 0.106689 0) (-0.0974775 0.086616 0) (-0.0753135 0.0854992 0) (-0.0404086 0.0463853 0) (-0.0115149 0.0376847 0) (0.0295913 -0.0325549 0) (0.0539543 -0.0497378 0) (0.0838421 -0.0575505 0) (0.101353 -0.0747302 0) (0.112133 -0.124885 0) (0.122003 -0.146761 0) (0.137384 -0.223785 0) (0.164843 -0.300152 0) (0.210535 -0.291436 0) (0.227773 -0.248866 0) (0.211147 -0.183578 0) (0.145827 -0.0326701 0) (0.0409638 0.248253 0) (-0.0943219 0.58998 0) (-0.107612 0.682617 0) (-0.110132 0.364305 0) (0.10254 0.228819 0) (-0.0779237 -0.201236 0) (-0.0866093 -0.243971 0) (-0.075986 -0.268008 0) (-0.0547762 -0.231469 0) (-0.0423061 -0.186767 0) (-0.0198819 -0.174758 0) (0.006732 -0.0865319 0) (0.0493832 -0.00030439 0) (0.0689009 0.0854905 0) (0.0769185 0.128502 0) (0.0443044 0.131556 0) (0.00279985 0.0962157 0) (-0.0487284 0.0515662 0) (-0.0595363 0.0388094 0) (-0.0452954 0.0858308 0) (-0.036284 0.20431 0) (-0.015437 0.183311 0) (6.13136e-08 0.161126 0) (0.0100082 0.127598 0) (0.00864662 0.0868448 0) (0.0118883 0.0513423 0) (0.0237106 0.00476158 0) (0.0369396 -0.0269443 0) (0.056484 -0.0670068 0) (0.0687537 -0.090294 0) (0.0854119 -0.0995822 0) (0.108308 -0.115269 0) (0.127966 -0.147362 0) (0.1472 -0.171484 0) (0.148273 -0.255335 0) (0.13262 -0.319451 0) (0.133486 -0.309946 0) (0.109677 -0.251769 0) (0.0287828 -0.0534482 0) (-0.0732558 0.286768 0) (-0.199737 0.563402 0) (-0.231868 0.648546 0) (-0.143562 0.567544 0) (-0.123711 0.275617 0) (0.0792743 0.204435 0) (-0.0716449 -0.180995 0) (-0.0678451 -0.261106 0) (-0.0499803 -0.295885 0) (-0.027633 -0.281752 0) (-0.00469677 -0.229107 0) (0.00653809 -0.205419 0) (0.0244789 -0.158302 0) (0.0569104 -0.0747969 0) (0.0975131 0.0298013 0) (0.135451 0.0894944 0) (0.160719 0.150485 0) (0.157173 0.153208 0) (0.140691 0.133359 0) (0.104307 0.124038 0) (0.0784859 0.094131 0) (0.0849194 0.114622 0) (0.119802 0.0944271 0) (0.162908 0.100497 0) (0.190184 0.114497 0) (0.202041 0.107478 0) (0.20368 0.0798016 0) (0.204111 0.0240913 0) (0.199953 -0.0240489 0) (0.187544 -0.0598016 0) (0.177565 -0.0764725 0) (0.167317 -0.104921 0) (0.154541 -0.122419 0) (0.151456 -0.141675 0) (0.137053 -0.15821 0) (0.0920516 -0.223798 0) (0.0460084 -0.255889 0) (-0.0151677 -0.218318 0) (-0.0878542 -0.07475 0) (-0.161243 0.198558 0) (-0.231311 0.468237 0) (-0.267356 0.570411 0) (-0.269872 0.587107 0) (-0.107209 0.340146 0) (-0.105684 0.135844 0) (0.0927713 0.13908 0) (-0.0489812 -0.175078 0) (-0.0350892 -0.294066 0) (-0.0113718 -0.337806 0) (-0.00590964 -0.298249 0) (-0.00623947 -0.2448 0) (-0.00429363 -0.215304 0) (-0.00303154 -0.185047 0) (0.0104972 -0.142145 0) (0.0585458 -0.0708227 0) (0.105451 0.000512861 0) (0.157287 0.0869005 0) (0.185861 0.124951 0) (0.197703 0.12704 0) (0.203459 0.130157 0) (0.208431 0.125557 0) (0.213267 0.108204 0) (0.224835 0.0606917 0) (0.236195 0.0426919 0) (0.250278 0.0557588 0) (0.268178 0.0696955 0) (0.272353 0.0619157 0) (0.275669 0.0293266 0) (0.267155 -0.00600856 0) (0.245378 -0.0296076 0) (0.223129 -0.0500994 0) (0.197373 -0.0675434 0) (0.163576 -0.0928962 0) (0.141045 -0.0965169 0) (0.0999124 -0.0858548 0) (0.0451476 -0.118612 0) (-0.0212301 -0.126389 0) (-0.0990737 -0.112124 0) (-0.183994 0.0157463 0) (-0.232178 0.291603 0) (-0.233602 0.470582 0) (-0.236833 0.533664 0) (-0.19301 0.486631 0) (-0.1083 0.177855 0) (-0.123919 -0.08785 0) (-0.0131095 0.0852479 0) (-0.0229997 -0.18093 0) (-0.00824636 -0.32711 0) (0.00569704 -0.360047 0) (0.00698798 -0.295138 0) (-0.00548837 -0.239992 0) (-0.0201515 -0.200233 0) (-0.0410367 -0.17466 0) (-0.0475694 -0.158981 0) (-0.0282703 -0.148097 0) (0.013558 -0.0847051 0) (0.0623053 -0.00490733 0) (0.118907 0.0857338 0) (0.149346 0.110479 0) (0.173974 0.107077 0) (0.199806 0.0931316 0) (0.223014 0.0779054 0) (0.240199 0.0507778 0) (0.239323 0.0386032 0) (0.238758 0.0538565 0) (0.24301 0.0693636 0) (0.24824 0.0637026 0) (0.255053 0.039142 0) (0.253817 0.0201983 0) (0.244821 0.0013545 0) (0.229242 -0.00605142 0) (0.202468 -0.00417313 0) (0.158716 -0.0252118 0) (0.112016 -0.0174061 0) (0.0477875 0.00486219 0) (-0.0245225 -0.0124187 0) (-0.100995 -0.00580802 0) (-0.174665 0.0264779 0) (-0.231598 0.141775 0) (-0.236267 0.320813 0) (-0.216977 0.420201 0) (-0.153485 0.441046 0) (-0.10051 0.394342 0) (-0.0606479 0.173679 0) (-0.0611551 -0.030208 0) (-0.0244058 -0.0944553 0) (-0.00971163 -0.194995 0) (-0.00430627 -0.339129 0) (-0.00919378 -0.364803 0) (-0.0204084 -0.273557 0) (-0.0499813 -0.20519 0) (-0.0592278 -0.163427 0) (-0.0606362 -0.147875 0) (-0.0664238 -0.151832 0) (-0.0737291 -0.16871 0) (-0.0723885 -0.127893 0) (-0.045878 -0.0732841 0) (-0.00490565 -0.00673405 0) (0.0391649 0.0308626 0) (0.073354 0.0426642 0) (0.10513 0.0446749 0) (0.132628 0.0425357 0) (0.148939 0.0339567 0) (0.162436 0.0375145 0) (0.173319 0.0427508 0) (0.189867 0.0400796 0) (0.206435 0.0326862 0) (0.211468 0.0205906 0) (0.207083 0.01303 0) (0.193074 0.0129434 0) (0.168161 0.0311322 0) (0.133944 0.0385625 0) (0.0723381 0.0499996 0) (0.00498953 0.109584 0) (-0.0492588 0.128409 0) (-0.113771 0.106864 0) (-0.180666 0.101974 0) (-0.213594 0.0960596 0) (-0.236297 0.165065 0) (-0.225534 0.279418 0) (-0.177051 0.313242 0) (-0.119776 0.302501 0) (-0.0689475 0.261448 0) (-0.0189826 0.136101 0) (0.0163395 -0.0622174 0) (0.0110185 -0.0995029 0) (-0.0134086 -0.206976 0) (-0.0283431 -0.319935 0) (-0.0915059 -0.295927 0) (-0.122101 -0.202053 0) (-0.132351 -0.177552 0) (-0.130238 -0.170817 0) (-0.118192 -0.165872 0) (-0.110177 -0.155075 0) (-0.109847 -0.151772 0) (-0.108846 -0.137318 0) (-0.0994297 -0.116571 0) (-0.0741537 -0.0677879 0) (-0.0313318 -0.0316008 0) (0.0095899 -0.0214858 0) (0.0470772 -0.0173362 0) (0.0776441 -0.0119825 0) (0.0995485 -0.00409803 0) (0.11603 0.00447983 0) (0.126631 0.00824399 0) (0.132307 0.0165308 0) (0.130795 0.0293943 0) (0.121421 0.038797 0) (0.100461 0.0488688 0) (0.0688587 0.0621615 0) (0.0328258 0.101056 0) (-0.00546931 0.14791 0) (-0.0524098 0.17679 0) (-0.087693 0.199981 0) (-0.112839 0.208217 0) (-0.147891 0.19273 0) (-0.180971 0.163661 0) (-0.192166 0.148481 0) (-0.200817 0.159526 0) (-0.180358 0.205574 0) (-0.139021 0.227723 0) (-0.0901748 0.217563 0) (-0.0401566 0.167684 0) (0.00636686 0.0629415 0) (0.0356309 -0.084989 0) (0.0177199 -0.05522 0) (-0.0559728 -0.196632 0) (-0.0986273 -0.229064 0) (-0.144337 -0.209129 0) (-0.149944 -0.187842 0) (-0.155359 -0.18697 0) (-0.157561 -0.175084 0) (-0.157382 -0.173771 0) (-0.150318 -0.172669 0) (-0.141937 -0.162958 0) (-0.135319 -0.153302 0) (-0.123468 -0.152857 0) (-0.104368 -0.142791 0) (-0.0769234 -0.131368 0) (-0.0472071 -0.110009 0) (-0.0204021 -0.0843563 0) (0.000330756 -0.0594539 0) (0.0133653 -0.0346961 0) (0.0200745 -0.011736 0) (0.0184266 0.00716498 0) (0.00928293 0.0278709 0) (-0.00583202 0.0497267 0) (-0.0256087 0.074884 0) (-0.0528344 0.108703 0) (-0.0830843 0.142175 0) (-0.104654 0.167687 0) (-0.117724 0.193125 0) (-0.13467 0.217721 0) (-0.147849 0.241914 0) (-0.155592 0.245759 0) (-0.170082 0.228301 0) (-0.177664 0.18531 0) (-0.178162 0.15909 0) (-0.173812 0.152286 0) (-0.149816 0.157998 0) (-0.110863 0.156494 0) (-0.0680345 0.138837 0) (-0.0249928 0.097494 0) (0.0232059 0.0131764 0) (0.0170495 -0.0703318 0) (-0.00387719 -0.0262285 0) (-0.0950397 -0.137554 0) (-0.124086 -0.181382 0) (-0.144998 -0.180405 0) (-0.159195 -0.174039 0) (-0.170799 -0.182123 0) (-0.170883 -0.181554 0) (-0.160762 -0.186989 0) (-0.155722 -0.190697 0) (-0.152533 -0.170578 0) (-0.15879 -0.158177 0) (-0.163121 -0.156413 0) (-0.1631 -0.157063 0) (-0.156966 -0.152922 0) (-0.150218 -0.133689 0) (-0.14078 -0.103641 0) (-0.133868 -0.0735274 0) (-0.131916 -0.0415409 0) (-0.135395 -0.00774785 0) (-0.14393 0.0283538 0) (-0.151799 0.0633356 0) (-0.156304 0.0936396 0) (-0.159474 0.118795 0) (-0.16214 0.140481 0) (-0.165733 0.160269 0) (-0.170875 0.179529 0) (-0.175131 0.206008 0) (-0.179547 0.235445 0) (-0.179246 0.249519 0) (-0.178326 0.249997 0) (-0.175718 0.230827 0) (-0.176753 0.189279 0) (-0.174051 0.153974 0) (-0.169525 0.136708 0) (-0.153125 0.115987 0) (-0.114149 0.0832856 0) (-0.0617343 0.0434874 0) (-0.00885131 0.0125406 0) (0.0215263 -0.016064 0) (0.00709667 -0.0421773 0) (-0.00433356 -0.0297392 0) (-0.0730686 -0.0793273 0) (-0.101247 -0.139343 0) (-0.132928 -0.141872 0) (-0.155488 -0.143528 0) (-0.174645 -0.162264 0) (-0.178821 -0.191439 0) (-0.178271 -0.19701 0) (-0.183584 -0.188054 0) (-0.194665 -0.148957 0) (-0.208039 -0.130654 0) (-0.224059 -0.132451 0) (-0.237546 -0.14311 0) (-0.247141 -0.143081 0) (-0.2554 -0.124334 0) (-0.261245 -0.0914393 0) (-0.267616 -0.0539011 0) (-0.274181 -0.0149092 0) (-0.280869 0.0206503 0) (-0.285798 0.0470968 0) (-0.283543 0.0659912 0) (-0.270503 0.0868919 0) (-0.251803 0.110427 0) (-0.234181 0.134281 0) (-0.219846 0.157753 0) (-0.209406 0.179108 0) (-0.201988 0.201284 0) (-0.194886 0.223901 0) (-0.189143 0.233468 0) (-0.182663 0.235029 0) (-0.177687 0.220526 0) (-0.179564 0.182605 0) (-0.175121 0.133524 0) (-0.156709 0.105429 0) (-0.122554 0.0613582 0) (-0.0752613 -0.00479723 0) (-0.0335871 -0.044992 0) (-0.00361128 -0.0528459 0) (0.0297806 -0.0104425 0) (0.0251042 -0.010701 0) (0.00203986 -0.0168847 0) (-0.0583759 -0.0265057 0) (-0.0795208 -0.0592719 0) (-0.125759 -0.0761922 0) (-0.174956 -0.101115 0) (-0.200281 -0.1481 0) (-0.205595 -0.185013 0) (-0.211174 -0.187285 0) (-0.226449 -0.160077 0) (-0.243573 -0.113973 0) (-0.249525 -0.103968 0) (-0.259968 -0.107913 0) (-0.275457 -0.124429 0) (-0.289086 -0.129123 0) (-0.303979 -0.113324 0) (-0.317014 -0.0825266 0) (-0.327149 -0.0522023 0) (-0.333271 -0.0230385 0) (-0.328547 0.0188774 0) (-0.324585 0.0399203 0) (-0.322115 0.0407715 0) (-0.308538 0.0358124 0) (-0.283289 0.0474409 0) (-0.256285 0.0797608 0) (-0.234929 0.118336 0) (-0.217745 0.154522 0) (-0.20128 0.186574 0) (-0.188216 0.211702 0) (-0.176469 0.223185 0) (-0.165464 0.2254 0) (-0.156186 0.215388 0) (-0.147086 0.176106 0) (-0.134616 0.104801 0) (-0.117847 0.041748 0) (-0.0844286 -0.0311503 0) (-0.0476656 -0.0877663 0) (-0.0252826 -0.10412 0) (-0.00529675 -0.108279 0) (0.016561 -0.0674594 0) (0.0230545 0.0155063 0) (0.00428444 0.00824726 0) (-0.0296914 -0.0210523 0) (-0.0352411 -0.0099015 0) (-0.047186 -0.0159577 0) (-0.0826935 0.0203992 0) (-0.180942 -0.0844414 0) (-0.218778 -0.15623 0) (-0.235825 -0.163973 0) (-0.253856 -0.128529 0) (-0.260359 -0.10128 0) (-0.262826 -0.0923693 0) (-0.268385 -0.0901922 0) (-0.281258 -0.093085 0) (-0.300287 -0.0974402 0) (-0.323039 -0.0900746 0) (-0.33865 -0.0656877 0) (-0.348871 -0.0321071 0) (-0.352642 -0.00914552 0) (-0.342908 0.00943618 0) (-0.318925 0.02806 0) (-0.290032 0.0286605 0) (-0.265777 0.0140153 0) (-0.252864 0.01631 0) (-0.240014 0.0399753 0) (-0.227808 0.0836724 0) (-0.217279 0.116843 0) (-0.200669 0.146565 0) (-0.182405 0.177458 0) (-0.160436 0.196525 0) (-0.134865 0.202907 0) (-0.111316 0.196015 0) (-0.0927529 0.158215 0) (-0.0690407 0.0899156 0) (-0.0398394 0.0226517 0) (-0.00269566 -0.0487458 0) (0.0330622 -0.111936 0) (0.0381534 -0.121445 0) (0.043875 -0.117335 0) (0.0350191 -0.0802546 0) (0.0281828 0.0263932 0) (0.00510487 0.0302609 0) (-0.0549685 -0.0177833 0) (-0.0472867 -0.00427538 0) (-0.0552684 0.00963457 0) (-0.0791993 0.102065 0) (-0.110021 0.0612772 0) (-0.177552 -0.0775943 0) (-0.230024 -0.11984 0) (-0.258108 -0.110969 0) (-0.261078 -0.102923 0) (-0.252749 -0.0910152 0) (-0.244116 -0.0751736 0) (-0.243017 -0.0639607 0) (-0.249433 -0.0508044 0) (-0.269291 -0.0331583 0) (-0.299487 -0.0253606 0) (-0.335587 -0.0331148 0) (-0.350613 -0.0383468 0) (-0.352695 -0.0398279 0) (-0.342881 -0.0410438 0) (-0.320198 -0.0401803 0) (-0.294457 -0.0291183 0) (-0.269078 -0.00444443 0) (-0.248988 0.027774 0) (-0.232529 0.0652655 0) (-0.215391 0.105339 0) (-0.197121 0.122882 0) (-0.175594 0.14626 0) (-0.155333 0.152288 0) (-0.122101 0.134904 0) (-0.0804785 0.134259 0) (-0.0498528 0.105097 0) (-0.0230255 0.0310394 0) (0.0141561 -0.067704 0) (0.0496752 -0.133221 0) (0.0632801 -0.139261 0) (0.0578325 -0.130963 0) (0.0491561 -0.101762 0) (0.000386287 -0.0306966 0) (0.0100782 0.0655469 0) (-0.000933596 0.0550435 0) (-0.0557736 -0.0375115 0) (-0.0399033 -0.0191418 0) (-0.0459609 0.066908 0) (-0.074862 0.121883 0) (-0.0932299 0.106809 0) (-0.12596 0.0359346 0) (-0.157172 -0.032171 0) (-0.166034 -0.0863779 0) (-0.164757 -0.108719 0) (-0.163052 -0.11358 0) (-0.156701 -0.109574 0) (-0.155152 -0.0856037 0) (-0.148532 -0.056014 0) (-0.144009 -0.0138135 0) (-0.144357 0.0260445 0) (-0.15585 0.0402365 0) (-0.184596 0.0298774 0) (-0.214862 -0.00616059 0) (-0.234782 -0.0445524 0) (-0.238383 -0.0646343 0) (-0.232356 -0.0702602 0) (-0.218996 -0.0606289 0) (-0.206572 -0.0189917 0) (-0.202255 0.0302552 0) (-0.188021 0.0508679 0) (-0.155992 0.0636087 0) (-0.120653 0.0828855 0) (-0.0871331 0.097313 0) (-0.0572835 0.0731421 0) (-0.026433 0.0520693 0) (0.00540522 0.0288776 0) (0.0319784 -0.026425 0) (0.0443412 -0.10086 0) (0.0535392 -0.157466 0) (0.0581596 -0.13137 0) (0.0441919 -0.0776546 0) (0.0057105 -0.0229278 0) (-0.0361988 0.00971727 0) (-0.0192914 0.0416257 0) (-0.0033308 0.0466024 0) (-0.0826647 -0.0542927 0) (-0.080812 -0.0403028 0) (-0.0689158 0.106657 0) (-0.0772742 0.142114 0) (-0.0819582 0.12625 0) (-0.092598 0.0577788 0) (-0.0957914 -0.027013 0) (-0.0772796 -0.0915345 0) (-0.0593458 -0.112106 0) (-0.043236 -0.11322 0) (-0.0252082 -0.104917 0) (-0.021716 -0.0772686 0) (-0.0209721 -0.0536511 0) (-0.0315928 -0.0324359 0) (-0.0377284 -0.00577175 0) (-0.0397646 0.0344331 0) (-0.0441372 0.0575024 0) (-0.0555194 0.0501058 0) (-0.0817316 0.0160228 0) (-0.114784 -0.0254849 0) (-0.137305 -0.0512269 0) (-0.145313 -0.0543594 0) (-0.146833 -0.0241025 0) (-0.136028 0.0229367 0) (-0.122071 0.0268446 0) (-0.101111 0.0285209 0) (-0.0741986 0.0261695 0) (-0.04144 0.0267356 0) (-0.00622465 0.0219585 0) (0.0241526 0.00984834 0) (0.0425565 0.00244764 0) (0.0478708 -0.026555 0) (0.0535421 -0.104031 0) (0.053482 -0.162495 0) (0.0463109 -0.131261 0) (0.045477 -0.0521961 0) (0.0289596 0.0175943 0) (0.00699483 0.0277737 0) (0.00193287 -0.00840607 0) (0.00626091 0.0289955 0) (-0.084431 -0.0567516 0) (-0.0893683 -0.0581437 0) (-0.0913123 0.100948 0) (-0.0851452 0.138967 0) (-0.0860926 0.126646 0) (-0.0841443 0.0616717 0) (-0.0639688 -0.0372435 0) (-0.0346117 -0.121192 0) (-0.0139524 -0.16025 0) (0.00139756 -0.163104 0) (0.0151896 -0.141274 0) (0.0237981 -0.101097 0) (0.0299418 -0.0535187 0) (0.0304247 0.00474105 0) (0.0376888 0.0272361 0) (0.0446178 0.0572699 0) (0.0376041 0.064571 0) (0.0255656 0.0645581 0) (0.00480334 0.0555828 0) (-0.0194891 0.0325493 0) (-0.0459075 0.00236465 0) (-0.0754059 -0.0269947 0) (-0.0905909 -0.0334533 0) (-0.0934907 -0.026812 0) (-0.0826672 -0.0171139 0) (-0.063698 -0.0178841 0) (-0.0425512 -0.0244263 0) (-0.0195406 -0.0283196 0) (0.00100182 -0.0275095 0) (0.0162693 -0.0280331 0) (0.0281334 -0.021516 0) (0.0379676 -0.0372525 0) (0.0509961 -0.126125 0) (0.0550991 -0.152975 0) (0.0495179 -0.125906 0) (0.0457434 -0.0365722 0) (0.0354737 0.0353651 0) (0.0318161 0.0516713 0) (0.0196845 0.0364561 0) (-0.00145137 0.049859 0) (-0.0536352 -0.00253212 0) (-0.0741212 -0.0247246 0) (-0.102906 0.101131 0) (-0.0969676 0.131495 0) (-0.0988596 0.120634 0) (-0.0818763 0.0202851 0) (-0.0317475 -0.129241 0) (-0.00107785 -0.180416 0) (0.0147757 -0.190675 0) (0.0202238 -0.176356 0) (0.0183493 -0.14592 0) (0.0139516 -0.100041 0) (0.010153 -0.058836 0) (0.0202929 -0.0368143 0) (0.0508086 -0.0347717 0) (0.0808534 0.012375 0) (0.120852 0.089233 0) (0.127938 0.107427 0) (0.118986 0.109764 0) (0.0883068 0.0804199 0) (0.0526953 0.044598 0) (0.0267127 0.0222235 0) (0.00852976 0.00574032 0) (-0.00296869 -0.00591182 0) (-0.00948597 -0.0178963 0) (-0.0117133 -0.0363152 0) (-0.00944169 -0.0541967 0) (-0.00219192 -0.0629464 0) (0.0117147 -0.056977 0) (0.025432 -0.0434922 0) (0.0369165 -0.0404923 0) (0.0449598 -0.0551376 0) (0.0503589 -0.138723 0) (0.0434889 -0.148644 0) (0.0207496 -0.105146 0) (-0.00241812 -0.0191126 0) (-0.00536522 0.0302359 0) (0.00186028 0.0544127 0) (-0.00791242 0.0623974 0) (-0.00475431 0.0570118 0) (-0.00975208 0.0853211 0) (-0.0375606 0.032872 0) (-0.0761813 0.103329 0) (-0.0731875 0.136539 0) (-0.0814674 0.110894 0) (-0.0460033 -0.0789366 0) (-0.00633694 -0.197377 0) (0.00812129 -0.20815 0) (0.0169285 -0.197443 0) (0.017344 -0.178516 0) (0.0145496 -0.136707 0) (0.013418 -0.0892657 0) (0.0153059 -0.0581731 0) (0.0191927 -0.0600685 0) (0.0284515 -0.0708419 0) (0.0428122 -0.0782702 0) (0.0832466 -0.0354173 0) (0.122265 0.0536239 0) (0.119233 0.124914 0) (0.107411 0.129499 0) (0.0918727 0.110221 0) (0.0725635 0.0592318 0) (0.0616296 0.0191581 0) (0.0538598 0.00197259 0) (0.0465359 -0.00561759 0) (0.042649 -0.0186828 0) (0.0413081 -0.0384275 0) (0.0376745 -0.0596141 0) (0.0333054 -0.0695964 0) (0.0352296 -0.0642012 0) (0.044616 -0.0577484 0) (0.0531087 -0.0666716 0) (0.0514097 -0.121096 0) (0.0241318 -0.0963786 0) (-0.0287324 -0.0239093 0) (-0.0498593 0.0184101 0) (-0.0539525 0.0402938 0) (-0.0441371 0.0510393 0) (-0.0244174 0.0466556 0) (-0.00494867 0.0404561 0) (0.0182019 0.102687 0) (0.0442324 0.0876268 0) (0.0193595 0.135406 0) (0.00191352 0.148329 0) (-0.0186261 0.0868791 0) (0.00673935 -0.131757 0) (-0.00641587 -0.205852 0) (-0.0226832 -0.199758 0) (-0.0392753 -0.188152 0) (-0.0410004 -0.174716 0) (-0.0343576 -0.139814 0) (-0.0161445 -0.105873 0) (0.00754194 -0.0855339 0) (0.0285567 -0.0758676 0) (0.0499396 -0.0830467 0) (0.0494052 -0.0887203 0) (0.0355077 -0.0456472 0) (0.0494459 0.0643219 0) (0.0587958 0.131586 0) (0.0705478 0.133847 0) (0.0741236 0.114791 0) (0.0779857 0.0730297 0) (0.0779633 0.0400983 0) (0.0728205 0.0190976 0) (0.0675475 0.00380117 0) (0.0657642 -0.0177955 0) (0.0665255 -0.039077 0) (0.0664613 -0.0482621 0) (0.0608077 -0.0540393 0) (0.0521894 -0.056796 0) (0.040964 -0.0566669 0) (0.0356019 -0.0652631 0) (0.00695587 -0.0805346 0) (-0.0256957 -0.017939 0) (-0.0562198 0.0195538 0) (-0.0658291 0.0293105 0) (-0.0677946 0.0187112 0) (-0.0476251 0.00815223 0) (-0.0279332 -0.00961873 0) (-0.00637821 0.00173512 0) (0.0186652 0.0196177 0) (0.0525478 0.0443115 0) (0.0828095 0.152673 0) (0.068379 0.19886 0) (0.0413793 0.128433 0) (0.0383992 -0.0992933 0) (-0.0353249 -0.171889 0) (-0.0537831 -0.177049 0) (-0.0596653 -0.184256 0) (-0.0590329 -0.181823 0) (-0.0502951 -0.164321 0) (-0.0384805 -0.143795 0) (-0.0207584 -0.126922 0) (-0.00942729 -0.112651 0) (-0.00924615 -0.0932883 0) (-0.0171432 -0.0624103 0) (-0.0274575 -0.0176019 0) (-0.0198848 0.0443706 0) (0.00132179 0.0880338 0) (0.0277427 0.101861 0) (0.0509887 0.0945476 0) (0.0648535 0.0637549 0) (0.0709658 0.0355049 0) (0.0733397 0.0172119 0) (0.0740078 0.0071863 0) (0.0738265 -0.0136644 0) (0.0763929 -0.0404549 0) (0.077792 -0.0485754 0) (0.0775092 -0.0466281 0) (0.0750509 -0.0402852 0) (0.0616289 -0.0255093 0) (0.0433731 -0.0164623 0) (0.0127383 -0.0203956 0) (-0.0126199 0.0179632 0) (-0.0307297 0.0487805 0) (-0.0467478 0.0438152 0) (-0.0434786 -0.000245311 0) (-0.0243182 -0.0269038 0) (-0.0110546 -0.0324431 0) (-0.00143677 -0.0173008 0) (0.041471 -0.0252523 0) (0.0595157 -0.0232535 0) (0.0896181 0.105081 0) (0.13152 0.188824 0) (0.138051 0.15943 0) (0.12312 0.0453796 0) (0.0503499 -0.053431 0) (0.00363352 -0.129947 0) (-0.0128927 -0.174485 0) (-0.0243921 -0.191617 0) (-0.0246111 -0.187596 0) (-0.0201919 -0.16562 0) (-0.0174546 -0.134153 0) (-0.0191194 -0.107367 0) (-0.028534 -0.0816733 0) (-0.040132 -0.0559409 0) (-0.0453045 -0.0250937 0) (-0.0370605 0.00916369 0) (-0.0192742 0.0342468 0) (0.00295198 0.0474797 0) (0.0245012 0.048491 0) (0.0409686 0.0352836 0) (0.0503669 0.0249155 0) (0.054102 0.0153325 0) (0.058866 0.00116859 0) (0.0693232 -0.0252593 0) (0.0803228 -0.0492277 0) (0.0856842 -0.0519261 0) (0.0874045 -0.0474375 0) (0.087758 -0.0334553 0) (0.0773879 -0.00102578 0) (0.0607277 0.0184428 0) (0.0404292 0.0162699 0) (0.0248761 0.0486589 0) (-0.00080125 0.0813529 0) (-0.0278059 0.0616921 0) (-0.0269672 -0.0154972 0) (-0.0188083 -0.0559065 0) (-0.00878543 -0.0489466 0) (-0.00270727 -0.0246243 0) (0.0881279 -0.0333839 0) (0.0868623 -0.0369342 0) (0.0857989 0.0256056 0) (0.125812 0.131265 0) (0.142075 0.128149 0) (0.153107 0.0871707 0) (0.147883 0.00870464 0) (0.123211 -0.0557079 0) (0.0979006 -0.110722 0) (0.0754314 -0.152187 0) (0.0542721 -0.164327 0) (0.0337821 -0.15201 0) (0.0187108 -0.121597 0) (0.00588953 -0.0864551 0) (-0.00892788 -0.0585917 0) (-0.0216231 -0.0381715 0) (-0.0291329 -0.0215066 0) (-0.0283458 -0.00570333 0) (-0.0184232 0.00571977 0) (-0.00244409 0.0149983 0) (0.0139924 0.0199664 0) (0.026585 0.016572 0) (0.0358249 0.0129227 0) (0.0441499 0.00142498 0) (0.0550149 -0.0231813 0) (0.0691875 -0.0519012 0) (0.0806932 -0.065311 0) (0.086753 -0.0635453 0) (0.0907572 -0.05137 0) (0.0878237 -0.0231285 0) (0.0784846 0.023298 0) (0.0678824 0.0497058 0) (0.0465365 0.0466389 0) (0.0370646 0.0858288 0) (0.0240248 0.129744 0) (0.0127347 0.0948682 0) (-0.00230781 -0.0219533 0) (-0.0142606 -0.0806296 0) (-0.00879252 -0.0551142 0) (-0.00666482 -0.0427993 0) (0.0346565 -0.0667205 0) (0.0474068 -0.0407779 0) (0.0537961 0.0236274 0) (0.0786759 0.0797302 0) (0.109703 0.0881197 0) (0.131905 0.0650075 0) (0.145048 0.0135409 0) (0.141843 -0.040545 0) (0.125364 -0.0899126 0) (0.106268 -0.121721 0) (0.0859563 -0.129044 0) (0.0659958 -0.113639 0) (0.0481786 -0.0952993 0) (0.0377373 -0.0666979 0) (0.0272701 -0.0377001 0) (0.0144255 -0.0191871 0) (0.00443673 -0.00950757 0) (6.20545e-05 -0.00910065 0) (0.00264425 -0.0110636 0) (0.011069 -0.0109237 0) (0.0216936 -0.00504007 0) (0.0322987 -0.00270818 0) (0.0418712 -0.00568505 0) (0.0508331 -0.0183248 0) (0.0623125 -0.0472358 0) (0.0726973 -0.0720529 0) (0.0803809 -0.0777754 0) (0.0844492 -0.0708979 0) (0.0854519 -0.0468908 0) (0.0785717 -0.00787868 0) (0.0736005 0.0328206 0) (0.0732808 0.0650015 0) (0.0657626 0.0708014 0) (0.0599633 0.0881685 0) (0.0652191 0.122011 0) (0.0742995 0.111268 0) (0.0660306 0.0613857 0) (0.0357348 -0.0418522 0) (0.00618537 -0.0431552 0) (0.00102003 -0.0489028 0) (-0.0141481 -0.111193 0) (-0.00328141 -0.0673967 0) (0.0144467 -0.0193847 0) (0.0389815 0.0166662 0) (0.0656071 0.031677 0) (0.0907278 0.0223284 0) (0.105316 -0.00234707 0) (0.110694 -0.0254539 0) (0.103423 -0.0602726 0) (0.0881037 -0.084214 0) (0.0712825 -0.0921891 0) (0.0606494 -0.0828709 0) (0.0515844 -0.0756652 0) (0.0464172 -0.0551939 0) (0.0419712 -0.0216975 0) (0.0352608 -0.000150262 0) (0.0285689 0.00489453 0) (0.0248786 -0.00139081 0) (0.0241919 -0.0157813 0) (0.0279636 -0.0217897 0) (0.0338755 -0.0197962 0) (0.0434346 -0.018101 0) (0.053966 -0.021092 0) (0.0649361 -0.0336877 0) (0.0763848 -0.0629014 0) (0.0818169 -0.0834228 0) (0.0838048 -0.0855461 0) (0.0851097 -0.0725277 0) (0.0796632 -0.0335482 0) (0.0698656 0.00373108 0) (0.065472 0.034668 0) (0.063536 0.0672254 0) (0.0579802 0.0843657 0) (0.0535441 0.0877127 0) (0.0579411 0.104111 0) (0.0635992 0.101243 0) (0.0598241 0.0747849 0) (0.0371291 0.0106893 0) (0.0167973 -0.0098514 0) (0.00537911 -0.028008 0) (-0.038781 -0.118858 0) (-0.04205 -0.0818559 0) (-0.0345418 -0.0467668 0) (-0.0209005 -0.0231505 0) (0.000596961 -0.00713145 0) (0.0210434 -0.0108956 0) (0.0336043 -0.0209737 0) (0.0391568 -0.0326498 0) (0.0370088 -0.05878 0) (0.0339142 -0.0699137 0) (0.0308933 -0.0823673 0) (0.0328171 -0.0776478 0) (0.0377142 -0.0699587 0) (0.0402095 -0.0500086 0) (0.0405987 -0.0153296 0) (0.03982 0.00654182 0) (0.0399693 0.00978591 0) (0.0408087 0.00416466 0) (0.0416269 -0.0124046 0) (0.0411676 -0.0255102 0) (0.0457515 -0.0341924 0) (0.0560275 -0.0386795 0) (0.069561 -0.0448377 0) (0.0853585 -0.0567178 0) (0.0933638 -0.0707304 0) (0.0918775 -0.082973 0) (0.0875258 -0.0841009 0) (0.0814137 -0.0657664 0) (0.0746157 -0.0195769 0) (0.0677239 0.0125526 0) (0.0624513 0.040584 0) (0.0579858 0.0745127 0) (0.0533467 0.0893659 0) (0.0498237 0.0882675 0) (0.047595 0.0971985 0) (0.0451167 0.104008 0) (0.0373108 0.0903518 0) (0.0222562 0.0357494 0) (0.0150151 0.00585685 0) (0.00217583 -0.00906945 0) (-0.0612448 -0.0956376 0) (-0.0668867 -0.0701527 0) (-0.0636991 -0.0508264 0) (-0.0549093 -0.0421872 0) (-0.0384676 -0.0405123 0) (-0.0192659 -0.0379391 0) (-0.00377158 -0.0343361 0) (0.00868839 -0.0398994 0) (0.0168877 -0.0600038 0) (0.019797 -0.0702573 0) (0.0199987 -0.0853146 0) (0.0195365 -0.0885452 0) (0.0212493 -0.0793944 0) (0.0235583 -0.052577 0) (0.0270897 -0.0204633 0) (0.0332313 6.43913e-05 0) (0.0389679 0.00188077 0) (0.0445588 -0.00466986 0) (0.0506125 -0.0163338 0) (0.0553486 -0.0303169 0) (0.0612781 -0.0475369 0) (0.0703088 -0.0617701 0) (0.081392 -0.070783 0) (0.0914318 -0.0730334 0) (0.0950046 -0.0753405 0) (0.0936561 -0.0748268 0) (0.0865201 -0.0699309 0) (0.0746201 -0.0481606 0) (0.0674763 -0.00853294 0) (0.0620374 0.0218957 0) (0.0562917 0.0521959 0) (0.0487567 0.0851616 0) (0.0452582 0.0923041 0) (0.042087 0.0915824 0) (0.0383778 0.105838 0) (0.0295553 0.125766 0) (0.0149647 0.116214 0) (0.0136549 0.0484786 0) (0.00479188 0.0260435 0) (0.00119367 0.00297168 0) (-0.0611784 -0.0868747 0) (-0.0630283 -0.072949 0) (-0.0569469 -0.0665128 0) (-0.0462385 -0.0689507 0) (-0.033627 -0.0762078 0) (-0.0218587 -0.070148 0) (-0.00953541 -0.0636864 0) (0.00311727 -0.0665454 0) (0.0119007 -0.0683396 0) (0.0126777 -0.0699773 0) (0.0104022 -0.0819902 0) (0.0101634 -0.0920175 0) (0.0111142 -0.085438 0) (0.0135031 -0.0621214 0) (0.017982 -0.0346122 0) (0.0252085 -0.0151128 0) (0.0344158 -0.0112921 0) (0.0434833 -0.0164348 0) (0.0524034 -0.0266904 0) (0.0606282 -0.0410853 0) (0.0684652 -0.0595047 0) (0.075564 -0.0757844 0) (0.0815066 -0.0833868 0) (0.0851791 -0.0826107 0) (0.0872723 -0.0761151 0) (0.0849243 -0.0667887 0) (0.0775312 -0.052194 0) (0.0673035 -0.0303717 0) (0.0570297 0.00150243 0) (0.0470474 0.0325772 0) (0.0375806 0.065872 0) (0.0271386 0.0983444 0) (0.0204687 0.0953289 0) (0.0102209 0.104734 0) (-0.00664293 0.132242 0) (-0.015879 0.150003 0) (-0.0011194 0.113496 0) (0.00387068 0.05718 0) (-0.00197248 0.0313177 0) (0.00166746 0.00545978 0) (-0.0531056 -0.096187 0) (-0.0451626 -0.0881313 0) (-0.0401835 -0.0848481 0) (-0.0302369 -0.0854975 0) (-0.0249715 -0.086865 0) (-0.0194563 -0.0819646 0) (-0.0138793 -0.0785973 0) (-0.0103437 -0.0789227 0) (-0.00839395 -0.0759696 0) (-0.0040926 -0.0745076 0) (-8.3175e-05 -0.0835393 0) (-0.00387603 -0.0877914 0) (-0.00967917 -0.0782593 0) (-0.0123056 -0.0595819 0) (-0.00788062 -0.0415391 0) (0.00256054 -0.0310211 0) (0.0161892 -0.0303688 0) (0.0299405 -0.0361189 0) (0.0429107 -0.0455906 0) (0.0545469 -0.0588044 0) (0.063561 -0.0740076 0) (0.0696086 -0.0859876 0) (0.0718689 -0.0879141 0) (0.0728846 -0.0848022 0) (0.0738451 -0.0738844 0) (0.0697571 -0.0559256 0) (0.0616114 -0.0362079 0) (0.0513959 -0.00718349 0) (0.039448 0.0280311 0) (0.0256315 0.0613748 0) (0.01015 0.0947186 0) (0.000393751 0.119513 0) (-0.0122329 0.117902 0) (-0.0313359 0.142595 0) (-0.0448415 0.15221 0) (-0.0484904 0.12683 0) (-0.0306266 0.0686872 0) (-0.0134827 0.0457022 0) (-0.00678257 0.0210962 0) (-0.000642579 0.000757843 0) (-0.0533817 -0.102929 0) (-0.0427664 -0.0941246 0) (-0.0397129 -0.0924642 0) (-0.0352145 -0.0936564 0) (-0.0340026 -0.0923265 0) (-0.0311515 -0.0883883 0) (-0.0274278 -0.0840166 0) (-0.0229713 -0.0815513 0) (-0.0193935 -0.0805951 0) (-0.0168432 -0.0794187 0) (-0.0181643 -0.0781779 0) (-0.0218959 -0.076485 0) (-0.0245873 -0.0700939 0) (-0.0230426 -0.0608496 0) (-0.0166697 -0.0573337 0) (-0.00479459 -0.0569447 0) (0.00802247 -0.0594241 0) (0.0209889 -0.0640175 0) (0.0332715 -0.0710253 0) (0.0436787 -0.0798339 0) (0.0511842 -0.0877186 0) (0.056475 -0.0917443 0) (0.0607282 -0.0911493 0) (0.0639612 -0.0854287 0) (0.06576 -0.0695334 0) (0.062196 -0.047191 0) (0.0542479 -0.0238056 0) (0.0436115 0.00766492 0) (0.031991 0.0440668 0) (0.0173042 0.0794934 0) (-0.000267212 0.113835 0) (-0.0118661 0.138431 0) (-0.0276803 0.145976 0) (-0.0368675 0.162725 0) (-0.0403251 0.157812 0) (-0.0360365 0.116005 0) (-0.016146 0.0396074 0) (-0.0115984 0.0292488 0) (-0.00438482 0.0149361 0) (0.000614189 -0.00265907 0) (-0.0401174 -0.0945296 0) (-0.0417597 -0.093237 0) (-0.0454982 -0.0966274 0) (-0.0416624 -0.0973786 0) (-0.0385182 -0.0954402 0) (-0.0342481 -0.0949415 0) (-0.0299498 -0.0933099 0) (-0.0258144 -0.0894699 0) (-0.0231472 -0.0839738 0) (-0.0214385 -0.0785306 0) (-0.0216677 -0.0758538 0) (-0.0217993 -0.0750416 0) (-0.0192698 -0.0757792 0) (-0.0133104 -0.0781867 0) (-0.00620914 -0.0783566 0) (0.00157722 -0.0785752 0) (0.00999517 -0.0803645 0) (0.0183509 -0.0840011 0) (0.0258683 -0.0886777 0) (0.0322259 -0.0929066 0) (0.0375256 -0.0977713 0) (0.0431057 -0.102078 0) (0.0488638 -0.101034 0) (0.053681 -0.0922509 0) (0.0578454 -0.0674533 0) (0.0531865 -0.0339453 0) (0.041765 -0.00117885 0) (0.0267445 0.0358497 0) (0.0127571 0.0758231 0) (4.41471e-05 0.114694 0) (-0.0144151 0.144556 0) (-0.0281924 0.161007 0) (-0.0361103 0.166057 0) (-0.0397165 0.16693 0) (-0.031482 0.15254 0) (-0.0198081 0.103246 0) (-0.0178572 0.0350898 0) (-0.0226515 0.0168495 0) (-0.00912366 -0.0056391 0) (-0.00133572 -0.0109701 0) (-0.0829851 -0.102131 0) (-0.061679 -0.0984803 0) (-0.0533571 -0.101403 0) (-0.0426829 -0.104982 0) (-0.0368971 -0.103383 0) (-0.0317165 -0.102042 0) (-0.0284297 -0.0982578 0) (-0.025425 -0.0933172 0) (-0.0219012 -0.0879157 0) (-0.0185004 -0.0830265 0) (-0.0145327 -0.0810312 0) (-0.00954773 -0.0823504 0) (-0.00534193 -0.0846686 0) (-0.00202002 -0.0853342 0) (0.00161054 -0.085504 0) (0.00580127 -0.0867209 0) (0.0101379 -0.0890829 0) (0.0138323 -0.092302 0) (0.0171851 -0.0956869 0) (0.0207428 -0.100504 0) (0.0243651 -0.106871 0) (0.0282762 -0.112278 0) (0.0330443 -0.112096 0) (0.0376011 -0.102403 0) (0.0463318 -0.0694868 0) (0.0454555 -0.0213193 0) (0.0347596 0.0206818 0) (0.0216443 0.0594549 0) (0.00324244 0.0944148 0) (-0.0154831 0.133596 0) (-0.0341379 0.167665 0) (-0.0416089 0.179947 0) (-0.0504446 0.173406 0) (-0.0469198 0.149326 0) (-0.0310259 0.120217 0) (-0.0142673 0.0824342 0) (-0.00912262 0.0413875 0) (-0.0028396 0.00989419 0) (0.00449972 -0.0199445 0) (0.00285659 -0.0150606 0) (-0.0661609 -0.114197 0) (-0.0445285 -0.117519 0) (-0.0453765 -0.119054 0) (-0.037603 -0.118294 0) (-0.0329793 -0.111369 0) (-0.0272482 -0.108267 0) (-0.0229319 -0.104754 0) (-0.0188598 -0.101018 0) (-0.0150614 -0.0970662 0) (-0.0107269 -0.0933884 0) (-0.0062167 -0.0906547 0) (-0.0031242 -0.0889904 0) (-0.000959838 -0.0887466 0) (0.000605797 -0.0892607 0) (0.00267795 -0.0900163 0) (0.00481443 -0.091571 0) (0.00641537 -0.0933559 0) (0.00799334 -0.0956623 0) (0.00972719 -0.0996143 0) (0.0113566 -0.104741 0) (0.0126 -0.110465 0) (0.0134679 -0.116425 0) (0.0156821 -0.119553 0) (0.0183054 -0.114343 0) (0.0297137 -0.0837332 0) (0.034019 -0.0144128 0) (0.0113305 0.0357467 0) (-0.00413723 0.0869098 0) (-0.0186076 0.135838 0) (-0.0305937 0.171352 0) (-0.0434823 0.189546 0) (-0.07223 0.195314 0) (-0.101842 0.17768 0) (-0.096784 0.14526 0) (-0.0680298 0.107812 0) (-0.0392243 0.0719808 0) (-0.0177571 0.0304484 0) (-0.0012433 -0.00390867 0) (0.0034596 -0.0147786 0) (0.000780771 0.00293902 0) (-0.137956 -0.172488 0) (-0.061054 -0.172359 0) (-0.0500922 -0.152314 0) (-0.0349755 -0.143905 0) (-0.024551 -0.137506 0) (-0.0163789 -0.126112 0) (-0.0111922 -0.116744 0) (-0.00781895 -0.109232 0) (-0.00554709 -0.103323 0) (-0.00381083 -0.0987074 0) (-0.00250903 -0.0946995 0) (-0.00132388 -0.0920954 0) (-0.000332748 -0.0911278 0) (0.000482248 -0.0913332 0) (0.00107892 -0.0925168 0) (0.00165103 -0.0935814 0) (0.00223896 -0.0953374 0) (0.00292573 -0.0981444 0) (0.00358658 -0.10162 0) (0.00399165 -0.105708 0) (0.00408856 -0.11054 0) (0.00374055 -0.116094 0) (0.00335706 -0.121412 0) (0.00390771 -0.122479 0) (0.00878766 -0.104227 0) (0.0162604 0.0243738 0) (-0.0111359 0.101018 0) (-0.0256811 0.111466 0) (-0.0255917 0.143153 0) (-0.0264536 0.175564 0) (-0.0167002 0.21919 0) (-0.0522374 0.334714 0) (-0.137899 0.314589 0) (-0.151083 0.0260654 0) (-0.0851521 -0.015888 0) (-0.0571142 -0.0258679 0) (-0.0312947 -0.0345749 0) (-0.0163795 -0.0341428 0) (-0.00907194 -0.0319284 0) (-0.00252769 -0.0137283 0) (0.0259821 -0.0816279 0) (0.0867939 -0.0930169 0) (0.141133 -0.0584265 0) (0.183325 -0.04509 0) (0.217919 -0.0268867 0) (0.24596 -0.0215071 0) (0.277903 -0.0171643 0) (0.319617 -0.0121521 0) (0.359817 0.010653 0) (0.38591 0.00344493 0) (0.411792 0.00796914 0) (0.425215 0.0224402 0) (0.419955 0.0327328 0) (0.392194 0.0481029 0) (0.350118 0.0552351 0) (0.31017 0.0432014 0) (0.285176 0.0407497 0) (0.252029 0.0667006 0) (0.195095 0.0742288 0) (0.150991 0.0400078 0) (0.119204 0.00492276 0) (0.0934915 -0.0104439 0) (0.0749447 -0.0139643 0) (0.0640811 -0.0101019 0) (0.0596365 -0.00453184 0) (0.0585415 -0.00103242 0) (0.0594543 -0.00299313 0) (0.0667586 -0.0113084 0) (0.0821799 -0.0206527 0) (0.104068 -0.0273859 0) (0.129438 -0.02443 0) (0.152527 -0.0107517 0) (0.161442 0.00551482 0) (0.157612 0.012928 0) (0.14543 0.00949684 0) (0.129938 0.0198168 0) (0.102986 0.0322051 0) (0.0778885 0.0162509 0) (0.0576088 -0.00981799 0) (0.0434251 -0.0137056 0) (0.00429981 -0.122341 0) (0.0366299 -0.163972 0) (0.0456846 -0.114504 0) (0.0884941 -0.0675716 0) (0.0959154 -0.0800978 0) (0.134288 -0.0870344 0) (0.173169 -0.119687 0) (0.222827 -0.14929 0) (0.2909 -0.111232 0) (0.358399 -0.0975152 0) (0.402933 -0.0800597 0) (0.453171 -0.0290576 0) (0.480584 0.0402216 0) (0.462592 0.0801576 0) (0.410021 0.0837403 0) (0.363289 0.0687866 0) (0.328999 0.0545127 0) (0.307749 0.0648751 0) (0.303756 0.0828303 0) (0.302001 0.0866344 0) (0.293596 0.0871313 0) (0.269109 0.0920913 0) (0.238657 0.0729647 0) (0.207539 0.0398153 0) (0.177154 0.0150572 0) (0.148954 0.00326975 0) (0.123757 -0.0109651 0) (0.112692 -0.0329587 0) (0.116594 -0.0538055 0) (0.128168 -0.0645496 0) (0.139985 -0.0629545 0) (0.15445 -0.0456782 0) (0.168242 -0.0136729 0) (0.178268 0.0192068 0) (0.177194 0.0373826 0) (0.162552 0.0467341 0) (0.155158 0.0480025 0) (0.154084 0.0567999 0) (0.137215 0.0755565 0) (0.103327 0.0633221 0) (0.00244332 -0.135031 0) (0.00438083 -0.170943 0) (-0.00315971 -0.116316 0) (0.0118125 -0.0852087 0) (0.0246679 -0.128245 0) (0.0614778 -0.165524 0) (0.0846473 -0.210545 0) (0.119877 -0.242772 0) (0.155718 -0.230386 0) (0.222646 -0.198626 0) (0.267564 -0.178358 0) (0.31998 -0.133331 0) (0.419582 0.00957601 0) (0.471367 0.161122 0) (0.460868 0.19637 0) (0.450667 0.1908 0) (0.424925 0.137626 0) (0.386742 0.11977 0) (0.356594 0.118856 0) (0.330467 0.108032 0) (0.308435 0.0919818 0) (0.300349 0.0823778 0) (0.301136 0.0804409 0) (0.300501 0.080051 0) (0.295204 0.0830767 0) (0.268364 0.097912 0) (0.227518 0.0809542 0) (0.180854 0.000256411 0) (0.166682 -0.0561406 0) (0.171211 -0.0766429 0) (0.175339 -0.0774187 0) (0.1833 -0.0672114 0) (0.187756 -0.0408799 0) (0.182641 0.00819748 0) (0.174308 0.0455455 0) (0.161569 0.0542991 0) (0.156558 0.0532841 0) (0.155412 0.0581122 0) (0.150169 0.0872339 0) (0.139836 0.0993042 0) (0.0126788 -0.143516 0) (-0.00930583 -0.151941 0) (-0.0140225 -0.128387 0) (-0.00720262 -0.128061 0) (0.0117555 -0.173109 0) (0.0268552 -0.209711 0) (0.0381924 -0.244879 0) (0.0461864 -0.280572 0) (0.0726447 -0.297147 0) (0.118432 -0.279951 0) (0.152892 -0.255214 0) (0.163885 -0.229764 0) (0.194072 -0.169387 0) (0.291009 -0.0118226 0) (0.368648 0.120982 0) (0.388955 0.151467 0) (0.3872 0.144872 0) (0.370512 0.15566 0) (0.332823 0.16865 0) (0.31027 0.157005 0) (0.299595 0.119637 0) (0.300455 0.0945534 0) (0.301006 0.0822788 0) (0.298146 0.0782921 0) (0.293238 0.0839392 0) (0.275655 0.121852 0) (0.255539 0.14054 0) (0.235962 0.0916169 0) (0.213712 -0.0323957 0) (0.204525 -0.0735613 0) (0.190172 -0.076808 0) (0.165291 -0.0527108 0) (0.145414 -0.0039179 0) (0.139273 0.0381659 0) (0.140992 0.0652951 0) (0.14486 0.0705592 0) (0.146858 0.0614282 0) (0.147575 0.064034 0) (0.142713 0.0920219 0) (0.137186 0.111358 0) (0.00835879 -0.138272 0) (0.00151298 -0.131362 0) (0.00136445 -0.128229 0) (-0.00129095 -0.13687 0) (0.0070669 -0.179872 0) (0.0071958 -0.213406 0) (0.0143577 -0.245851 0) (0.0110215 -0.292901 0) (0.0317883 -0.351803 0) (0.0665831 -0.321167 0) (0.095035 -0.271303 0) (0.0972878 -0.23587 0) (0.0908082 -0.185794 0) (0.120009 -0.0929733 0) (0.172912 0.0470276 0) (0.205738 0.133014 0) (0.235614 0.179083 0) (0.256799 0.211413 0) (0.268063 0.213041 0) (0.287996 0.174147 0) (0.306243 0.113517 0) (0.308676 0.0855742 0) (0.304657 0.0778008 0) (0.295686 0.0829597 0) (0.271182 0.114052 0) (0.237953 0.160804 0) (0.225168 0.163631 0) (0.22887 0.0918457 0) (0.229735 -0.0169706 0) (0.217627 -0.0366996 0) (0.196769 -0.0153488 0) (0.147194 0.0175686 0) (0.124209 0.0197346 0) (0.11752 0.0241936 0) (0.122054 0.0276686 0) (0.139638 0.0409931 0) (0.150126 0.0550201 0) (0.142711 0.0763166 0) (0.135845 0.103016 0) (0.136199 0.111815 0) (0.00428874 -0.152207 0) (0.0309783 -0.142281 0) (0.0375969 -0.10956 0) (0.0175234 -0.130052 0) (0.0124229 -0.181224 0) (0.00843355 -0.219658 0) (0.0144182 -0.250999 0) (0.00512212 -0.298029 0) (0.00619239 -0.407555 0) (0.0328019 -0.385739 0) (0.060452 -0.294661 0) (0.0665999 -0.231408 0) (0.0567204 -0.176024 0) (0.0523923 -0.107542 0) (0.0697044 -0.0397711 0) (0.107092 0.0175282 0) (0.150211 0.0625839 0) (0.1979 0.126694 0) (0.227169 0.131439 0) (0.256132 0.100647 0) (0.274227 0.0907709 0) (0.275182 0.0920594 0) (0.262423 0.103301 0) (0.234814 0.140284 0) (0.207845 0.180169 0) (0.198742 0.187433 0) (0.205617 0.165681 0) (0.22982 0.0613718 0) (0.223328 -0.00110669 0) (0.207274 -0.00865135 0) (0.184757 0.0256365 0) (0.167273 0.0602304 0) (0.16317 0.0537497 0) (0.158286 0.0377957 0) (0.152256 0.0276118 0) (0.149315 0.029093 0) (0.147449 0.0525162 0) (0.140951 0.0862839 0) (0.138423 0.102406 0) (0.1406 0.105738 0) (0.00855048 -0.192024 0) (0.0417798 -0.194187 0) (0.065184 -0.102884 0) (0.0551199 -0.0949841 0) (0.0406957 -0.158994 0) (0.0324964 -0.225458 0) (0.0404961 -0.248929 0) (0.0199615 -0.274959 0) (0.00638642 -0.421856 0) (0.0175061 -0.428916 0) (0.035596 -0.332593 0) (0.0559505 -0.234241 0) (0.057017 -0.167247 0) (0.05488 -0.113079 0) (0.0542431 -0.0652858 0) (0.0677905 -0.0212607 0) (0.08445 0.0278964 0) (0.102315 0.0744109 0) (0.121463 0.0849262 0) (0.141072 0.0762772 0) (0.154265 0.0854288 0) (0.167536 0.120116 0) (0.163699 0.15305 0) (0.157718 0.177463 0) (0.164176 0.184442 0) (0.179697 0.176545 0) (0.210242 0.114055 0) (0.226141 0.0498369 0) (0.218864 0.0293788 0) (0.194674 0.0374257 0) (0.16662 0.0590148 0) (0.161593 0.0623414 0) (0.16229 0.0505838 0) (0.162984 0.0366318 0) (0.16192 0.0373302 0) (0.157506 0.043194 0) (0.149372 0.0698143 0) (0.140255 0.0956491 0) (0.137665 0.0996602 0) (0.136558 0.0996133 0) (0.0225432 -0.237867 0) (0.0327261 -0.270641 0) (0.0727616 -0.133699 0) (0.0693555 -0.0816311 0) (0.0626156 -0.132698 0) (0.0661607 -0.226689 0) (0.074907 -0.237349 0) (0.0655329 -0.230046 0) (0.0427999 -0.405589 0) (0.0247521 -0.442054 0) (0.0383764 -0.38375 0) (0.059437 -0.2847 0) (0.0760692 -0.180373 0) (0.0834098 -0.113688 0) (0.0803733 -0.0691873 0) (0.0733168 -0.0329437 0) (0.073858 0.00944038 0) (0.0789316 0.0487713 0) (0.0896057 0.0595192 0) (0.0993605 0.0572731 0) (0.0994806 0.064444 0) (0.108712 0.0776504 0) (0.12623 0.117007 0) (0.143833 0.1495 0) (0.157769 0.144845 0) (0.177977 0.110471 0) (0.193328 0.0692124 0) (0.192956 0.0564267 0) (0.17404 0.0649991 0) (0.156338 0.0735305 0) (0.154664 0.0751666 0) (0.158555 0.0649829 0) (0.164754 0.0495124 0) (0.165162 0.0414536 0) (0.161287 0.0408735 0) (0.150512 0.0515671 0) (0.132659 0.0846806 0) (0.118949 0.106247 0) (0.111564 0.11077 0) (0.10665 0.10497 0) (0.0369655 -0.27905 0) (0.0141565 -0.319466 0) (0.0551498 -0.167213 0) (0.0628176 -0.0876949 0) (0.0618064 -0.133276 0) (0.07952 -0.254448 0) (0.0858866 -0.240793 0) (0.086742 -0.222456 0) (0.0896004 -0.335679 0) (0.0479458 -0.432487 0) (0.0487393 -0.396095 0) (0.0573926 -0.305991 0) (0.0703383 -0.214861 0) (0.0855365 -0.125238 0) (0.0950309 -0.0629684 0) (0.0935415 -0.0165282 0) (0.0854203 0.0179497 0) (0.0829583 0.0345157 0) (0.0855626 0.0428609 0) (0.0928419 0.045426 0) (0.0957358 0.0580356 0) (0.098888 0.0670553 0) (0.101275 0.0933276 0) (0.111607 0.108924 0) (0.129993 0.10536 0) (0.14129 0.0931602 0) (0.139595 0.088195 0) (0.121868 0.0903669 0) (0.112531 0.083703 0) (0.118727 0.0703469 0) (0.133138 0.0573243 0) (0.142268 0.0410596 0) (0.143355 0.0350167 0) (0.136248 0.0402305 0) (0.11354 0.0697369 0) (0.0870062 0.104289 0) (0.0683576 0.127275 0) (0.0595094 0.127283 0) (0.0624017 0.114204 0) (0.0664392 0.0971569 0) (0.031618 -0.323122 0) (-0.00643623 -0.326235 0) (0.0178423 -0.180305 0) (0.0379927 -0.113743 0) (0.0490186 -0.151504 0) (0.0819012 -0.283519 0) (0.0936639 -0.265007 0) (0.109401 -0.247138 0) (0.130896 -0.295834 0) (0.100452 -0.395067 0) (0.0818063 -0.38962 0) (0.0696647 -0.311644 0) (0.0698083 -0.227648 0) (0.072576 -0.149995 0) (0.0786724 -0.0789017 0) (0.0882445 -0.0145226 0) (0.0826007 0.02859 0) (0.0783496 0.043181 0) (0.0778693 0.0445997 0) (0.0767546 0.0452098 0) (0.076346 0.0522441 0) (0.0808638 0.0700584 0) (0.0820929 0.0849713 0) (0.0891161 0.0977562 0) (0.0968128 0.101612 0) (0.0981069 0.09937 0) (0.0861936 0.104778 0) (0.0793229 0.101655 0) (0.0897803 0.0721378 0) (0.09832 0.0375617 0) (0.101825 0.0316875 0) (0.0941369 0.0447768 0) (0.0712168 0.0772531 0) (0.0468317 0.102029 0) (0.0294732 0.121708 0) (0.0220929 0.130244 0) (0.0218349 0.129667 0) (0.0295798 0.118894 0) (0.0363239 0.102557 0) (0.0401369 0.0825335 0) (0.0024232 -0.320767 0) (-0.0416856 -0.292201 0) (-0.0300112 -0.208153 0) (0.00244478 -0.154374 0) (0.041019 -0.206489 0) (0.0894838 -0.31042 0) (0.101997 -0.293338 0) (0.127092 -0.274947 0) (0.143413 -0.297261 0) (0.13234 -0.354397 0) (0.103101 -0.350824 0) (0.0730911 -0.294309 0) (0.0584226 -0.220678 0) (0.0496776 -0.149161 0) (0.040862 -0.0888105 0) (0.0461892 -0.0195745 0) (0.0498398 0.0296613 0) (0.0530783 0.0430349 0) (0.0558819 0.0466048 0) (0.0564929 0.045389 0) (0.0561742 0.0485798 0) (0.0602823 0.0680512 0) (0.0643537 0.0746684 0) (0.0658392 0.0795075 0) (0.0689202 0.0947831 0) (0.0543307 0.122986 0) (0.0513737 0.118385 0) (0.0658237 0.0782704 0) (0.0715112 0.0451271 0) (0.0652663 0.052305 0) (0.0346882 0.0806381 0) (0.015377 0.09779 0) (0.00808847 0.107971 0) (0.00549935 0.117604 0) (0.00598331 0.122861 0) (0.0111009 0.125119 0) (0.0181122 0.115807 0) (0.0194982 0.107671 0) (0.0227915 0.0974884 0) (0.0126384 0.0979413 0) (-0.0532479 -0.237674 0) (-0.0525989 -0.27105 0) (-0.0590389 -0.221538 0) (-0.00662488 -0.240417 0) (0.0497188 -0.340813 0) (0.0765527 -0.365476 0) (0.0931806 -0.335847 0) (0.111009 -0.308513 0) (0.119436 -0.318295 0) (0.109672 -0.316295 0) (0.0740533 -0.290504 0) (0.0271168 -0.233963 0) (0.00339664 -0.178646 0) (-0.00595503 -0.114475 0) (-0.0189151 -0.0662362 0) (-0.0136163 -0.0198527 0) (-0.00594904 0.0117195 0) (0.00327401 0.0256655 0) (0.00876525 0.0373677 0) (0.0088398 0.0447159 0) (0.00310263 0.0490064 0) (0.00459725 0.0577277 0) (0.00556051 0.0746648 0) (0.00334846 0.0940433 0) (-0.00180183 0.124432 0) (0.0121157 0.117316 0) (0.0234969 0.0732714 0) (0.0284797 0.0736702 0) (0.0022156 0.0911934 0) (-0.0187125 0.0987667 0) (-0.0122695 0.100218 0) (-0.0106271 0.0993333 0) (-0.00393516 0.0994627 0) (0.00337958 0.108267 0) (0.0105147 0.107293 0) (0.0151998 0.106947 0) (0.0167341 0.105485 0) (0.0146315 0.110843 0) (0.00118537 0.114378 0) (0.00227102 0.104351 0) (-0.0420918 -0.167286 0) (-0.0302008 -0.26818 0) (-0.0368523 -0.287919 0) (0.0243429 -0.376205 0) (0.0525545 -0.386139 0) (0.0606976 -0.392622 0) (0.068247 -0.362809 0) (0.06696 -0.323197 0) (0.0480968 -0.301678 0) (0.0150215 -0.25567 0) (-0.0272299 -0.198093 0) (-0.0519148 -0.177384 0) (-0.0631823 -0.139622 0) (-0.0644275 -0.0952165 0) (-0.0755256 -0.0679877 0) (-0.0672717 -0.0337 0) (-0.0620938 0.00116565 0) (-0.059294 0.0193052 0) (-0.0557232 0.0393695 0) (-0.0518131 0.0503545 0) (-0.0513627 0.056621 0) (-0.0542363 0.0656542 0) (-0.0523136 0.0755115 0) (-0.0442938 0.0879311 0) (-0.0380813 0.0917231 0) (-0.0270292 0.0793147 0) (-0.0356785 0.0966442 0) (-0.0439008 0.114931 0) (-0.0504015 0.105084 0) (-0.0345307 0.0840829 0) (-0.0248972 0.0772673 0) (-0.0126023 0.079144 0) (-0.00690464 0.0750091 0) (0.00108421 0.0850109 0) (0.00559635 0.0929401 0) (0.00461962 0.111389 0) (-0.00479567 0.11782 0) (-0.00725729 0.129543 0) (-0.00945719 0.115814 0) (-0.00797687 0.102801 0) (0.011673 -0.143926 0) (-0.0058975 -0.249997 0) (-0.00153171 -0.325382 0) (0.0219702 -0.416393 0) (0.0366539 -0.399741 0) (0.0187418 -0.380686 0) (-0.0123767 -0.329257 0) (-0.0344337 -0.293442 0) (-0.0646566 -0.240405 0) (-0.0749492 -0.195569 0) (-0.076747 -0.180955 0) (-0.0857459 -0.174797 0) (-0.0898803 -0.13213 0) (-0.0859834 -0.0878363 0) (-0.0988452 -0.0660283 0) (-0.0978469 -0.0340948 0) (-0.0915622 -0.00238306 0) (-0.0899421 0.0154452 0) (-0.0843447 0.0319224 0) (-0.0781296 0.043722 0) (-0.0696967 0.0487534 0) (-0.0622989 0.056888 0) (-0.061552 0.0657301 0) (-0.0630664 0.0805972 0) (-0.065968 0.0944205 0) (-0.0734925 0.0951472 0) (-0.0731647 0.105571 0) (-0.0672869 0.106959 0) (-0.0515458 0.0756287 0) (-0.0442807 0.0573772 0) (-0.0371607 0.0576749 0) (-0.0338004 0.0653078 0) (-0.0334407 0.0734026 0) (-0.038644 0.0915891 0) (-0.0485302 0.111004 0) (-0.0505813 0.12695 0) (-0.0521634 0.126666 0) (-0.0486543 0.128718 0) (-0.0472465 0.114213 0) (-0.0474598 0.112555 0) (0.0288578 -0.158753 0) (-0.0262845 -0.221813 0) (-0.000491046 -0.389806 0) (0.0139733 -0.422517 0) (-0.0051952 -0.382293 0) (-0.0397059 -0.314094 0) (-0.0730221 -0.266089 0) (-0.0809716 -0.236746 0) (-0.0980261 -0.2191 0) (-0.0962626 -0.196949 0) (-0.0951972 -0.187303 0) (-0.0983939 -0.172617 0) (-0.105416 -0.132161 0) (-0.0978038 -0.0856812 0) (-0.106191 -0.0633782 0) (-0.108397 -0.0433946 0) (-0.104686 -0.0183312 0) (-0.10009 0.00306955 0) (-0.090505 0.0196638 0) (-0.0831634 0.0257148 0) (-0.077176 0.0293617 0) (-0.0785284 0.0437014 0) (-0.0802657 0.0712689 0) (-0.0841467 0.0945314 0) (-0.0852989 0.100171 0) (-0.0866695 0.0949248 0) (-0.0818546 0.0936713 0) (-0.065099 0.0748261 0) (-0.0608369 0.0587235 0) (-0.0581469 0.0567043 0) (-0.0632964 0.0618416 0) (-0.0662213 0.0764464 0) (-0.0751368 0.0946399 0) (-0.0838424 0.110124 0) (-0.0873889 0.119113 0) (-0.0866469 0.120534 0) (-0.0843248 0.115464 0) (-0.0802388 0.117539 0) (-0.0766755 0.104818 0) (-0.0760518 0.105032 0) (0.0286454 -0.175831 0) (0.00994342 -0.191795 0) (0.0128507 -0.395724 0) (0.00220551 -0.394196 0) (-0.0575495 -0.302449 0) (-0.084276 -0.254605 0) (-0.0954459 -0.247669 0) (-0.0956582 -0.230714 0) (-0.102329 -0.217541 0) (-0.104271 -0.196223 0) (-0.112167 -0.182258 0) (-0.123976 -0.16021 0) (-0.133943 -0.124345 0) (-0.129666 -0.0871101 0) (-0.12897 -0.054966 0) (-0.124227 -0.033568 0) (-0.120538 -0.0232778 0) (-0.111322 -0.0142455 0) (-0.102566 -0.0029183 0) (-0.0964628 0.0098976 0) (-0.0998473 0.0284898 0) (-0.102357 0.0612651 0) (-0.107583 0.0881144 0) (-0.107538 0.0961866 0) (-0.103037 0.0976338 0) (-0.0940696 0.0865159 0) (-0.0840085 0.0746054 0) (-0.0782239 0.0641264 0) (-0.0765442 0.0609967 0) (-0.0773159 0.0609221 0) (-0.078388 0.0659647 0) (-0.0779491 0.0824601 0) (-0.0808396 0.104849 0) (-0.0842646 0.114798 0) (-0.0856745 0.118037 0) (-0.0839916 0.11353 0) (-0.080938 0.109811 0) (-0.0776472 0.111537 0) (-0.076501 0.103331 0) (-0.077009 0.0977206 0) (0.0143253 -0.214277 0) (0.0208422 -0.186392 0) (0.0162326 -0.37103 0) (-0.0240261 -0.303332 0) (-0.0833231 -0.221166 0) (-0.0996377 -0.238032 0) (-0.0981477 -0.241963 0) (-0.097261 -0.226066 0) (-0.100043 -0.204319 0) (-0.109909 -0.179118 0) (-0.125237 -0.153225 0) (-0.140286 -0.136206 0) (-0.147208 -0.108937 0) (-0.1499 -0.0776352 0) (-0.14828 -0.0626539 0) (-0.140002 -0.0538262 0) (-0.131679 -0.0412665 0) (-0.122089 -0.0244112 0) (-0.122202 -0.00691563 0) (-0.127183 0.0219292 0) (-0.13405 0.0490276 0) (-0.134569 0.0615984 0) (-0.126015 0.0769759 0) (-0.117137 0.0833709 0) (-0.10536 0.0775185 0) (-0.0925021 0.0666795 0) (-0.0862195 0.0594987 0) (-0.0826531 0.0591046 0) (-0.081897 0.0594128 0) (-0.0822193 0.0601659 0) (-0.0857397 0.0639212 0) (-0.0841485 0.0820908 0) (-0.0807281 0.107346 0) (-0.0765589 0.114586 0) (-0.0710005 0.117207 0) (-0.0655282 0.111431 0) (-0.0618201 0.114053 0) (-0.0631734 0.117281 0) (-0.0659473 0.107989 0) (-0.0638154 0.0846171 0) (-0.00502932 -0.227622 0) (0.00609792 -0.18637 0) (-0.00790684 -0.327046 0) (-0.062859 -0.205498 0) (-0.0971188 -0.173635 0) (-0.106251 -0.237001 0) (-0.099969 -0.243753 0) (-0.0978188 -0.229305 0) (-0.0992308 -0.195595 0) (-0.110897 -0.157882 0) (-0.124377 -0.130394 0) (-0.136059 -0.121877 0) (-0.141369 -0.106629 0) (-0.139248 -0.0848704 0) (-0.135793 -0.0736869 0) (-0.136171 -0.0672398 0) (-0.134114 -0.0541864 0) (-0.128418 -0.0308346 0) (-0.128126 -0.00011123 0) (-0.130659 0.0257354 0) (-0.126594 0.0426848 0) (-0.124368 0.0563832 0) (-0.120836 0.0625076 0) (-0.110764 0.0661271 0) (-0.0942677 0.0562756 0) (-0.0852262 0.0522335 0) (-0.07768 0.0568125 0) (-0.0754781 0.0628302 0) (-0.0754357 0.0643476 0) (-0.0798846 0.0654557 0) (-0.0972082 0.0740228 0) (-0.109137 0.085669 0) (-0.106708 0.0979867 0) (-0.0942658 0.105983 0) (-0.0780198 0.111339 0) (-0.0629336 0.0940091 0) (-0.0412047 0.0945715 0) (-0.0155603 0.106972 0) (0.00339035 0.104997 0) (0.00939264 0.0920872 0) (-0.0217739 -0.218446 0) (0.0117365 -0.19945 0) (-0.0137492 -0.243806 0) (-0.0865878 -0.113291 0) (-0.115186 -0.149471 0) (-0.11856 -0.257717 0) (-0.1087 -0.265779 0) (-0.104851 -0.24191 0) (-0.116235 -0.190691 0) (-0.134898 -0.132845 0) (-0.149149 -0.11671 0) (-0.155521 -0.112664 0) (-0.154751 -0.105475 0) (-0.148889 -0.0880255 0) (-0.140138 -0.0737634 0) (-0.133382 -0.0651699 0) (-0.125604 -0.055889 0) (-0.120431 -0.0365335 0) (-0.117756 -0.00473562 0) (-0.114767 0.0182076 0) (-0.107095 0.0333804 0) (-0.104717 0.0475838 0) (-0.100038 0.048669 0) (-0.0839744 0.0352457 0) (-0.0735955 0.0248082 0) (-0.0663435 0.0271694 0) (-0.0611589 0.0387409 0) (-0.0583641 0.0554019 0) (-0.0581659 0.0656657 0) (-0.0534581 0.0858181 0) (-0.0605944 0.105212 0) (-0.0925173 0.100422 0) (-0.100578 0.0688718 0) (-0.0932126 0.0535375 0) (-0.0783667 0.0533569 0) (-0.0567776 0.0498864 0) (-0.0244893 0.0359579 0) (-0.000614583 0.0524778 0) (0.021831 0.0666165 0) (0.0393669 0.0955653 0) (-0.0110428 -0.212245 0) (0.00325306 -0.207939 0) (-0.0219001 -0.174963 0) (-0.0826281 -0.0350348 0) (-0.125697 -0.141177 0) (-0.129299 -0.257669 0) (-0.135952 -0.2599 0) (-0.156023 -0.217996 0) (-0.185456 -0.137092 0) (-0.220388 -0.0772358 0) (-0.254598 -0.0917199 0) (-0.261135 -0.116118 0) (-0.256471 -0.121729 0) (-0.239616 -0.116088 0) (-0.210491 -0.103306 0) (-0.179434 -0.0955477 0) (-0.149095 -0.0806694 0) (-0.117656 -0.048423 0) (-0.0984177 -0.0154081 0) (-0.0852366 0.00556869 0) (-0.0769354 0.0255065 0) (-0.074562 0.0357693 0) (-0.0636353 0.0332524 0) (-0.0540306 0.0215732 0) (-0.0466939 0.0268495 0) (-0.0481584 0.0409335 0) (-0.0384268 0.0376334 0) (-0.0317041 0.0641039 0) (-0.0251219 0.0712085 0) (-0.0183648 0.0810688 0) (-0.0093941 0.123607 0) (-0.00242017 0.160979 0) (-0.0100117 0.110856 0) (-0.013939 0.068415 0) (-0.0303909 0.0341643 0) (-0.0284808 -0.00932326 0) (-0.0312153 -0.0250975 0) (-0.0113303 0.0039691 0) (0.012781 0.0248908 0) (0.0362344 0.0794855 0) (0.00498181 -0.202791 0) (-0.0324306 -0.171481 0) (-0.0823328 -0.0775953 0) (-0.102121 0.0865292 0) (-0.121771 -0.109532 0) (-0.150775 -0.21032 0) (-0.196249 -0.201693 0) (-0.227832 -0.146679 0) (-0.239559 -0.066184 0) (-0.254822 0.0168081 0) (-0.313743 -0.0676624 0) (-0.318281 -0.118263 0) (-0.310407 -0.130812 0) (-0.284573 -0.135456 0) (-0.234395 -0.145749 0) (-0.182808 -0.154202 0) (-0.137009 -0.144202 0) (-0.0977763 -0.107961 0) (-0.0620469 -0.0585472 0) (-0.0391931 -0.00972698 0) (-0.0186385 0.0119785 0) (-0.0149929 0.0250271 0) (-0.0138119 0.0268002 0) (-0.0185234 0.00724519 0) (-0.0177658 -0.00482227 0) (-0.00273978 0.0171386 0) (0.003707 -0.00347744 0) (0.003952 0.0327785 0) (0.0323772 0.0350625 0) (0.0633026 0.0385782 0) (0.0779445 0.0714562 0) (0.104351 0.113488 0) (0.120514 0.110059 0) (0.126675 0.0984011 0) (0.117462 0.088989 0) (0.111201 0.0662016 0) (0.0931775 0.0161696 0) (0.0848866 -0.0181801 0) (0.0912803 -0.0134766 0) (0.0966589 0.0305645 0) (-0.0180844 -0.128739 0) (-0.084118 -0.0806942 0) (-0.132697 0.0038943 0) (-0.151424 0.0649749 0) (-0.162027 -0.0712663 0) (-0.199567 -0.143804 0) (-0.240124 -0.152087 0) (-0.259594 -0.137096 0) (-0.257231 -0.0811233 0) (-0.220743 0.0636121 0) (-0.217241 0.0377047 0) (-0.243931 -0.126611 0) (-0.256578 -0.193236 0) (-0.191442 -0.262117 0) (-0.129415 -0.30595 0) (-0.0868424 -0.297809 0) (-0.0493553 -0.253737 0) (-0.0255862 -0.195136 0) (-0.00210096 -0.138587 0) (0.0217393 -0.0623226 0) (0.0720558 -0.0268345 0) (0.0887783 0.0347957 0) (0.0863413 0.0445874 0) (0.0686982 0.0457635 0) (0.0425652 0.00520211 0) (0.0248888 0.00575109 0) (0.0178198 0.0207476 0) (0.0214136 -0.000771456 0) (0.0266869 -0.00926607 0) (0.0369346 -0.00801059 0) (0.049754 0.0337139 0) (0.078485 0.0753093 0) (0.108417 0.0766595 0) (0.135015 0.0671107 0) (0.149028 0.0621883 0) (0.146793 0.0574181 0) (0.141953 0.0272225 0) (0.135309 -0.0166804 0) (0.131136 -0.0133333 0) (0.130738 0.0139896 0) (-0.0124499 -0.0474687 0) (-0.0616727 -0.0190122 0) (-0.0924878 0.102044 0) (-0.13864 0.103251 0) (-0.177704 -0.0207952 0) (-0.206637 -0.0919364 0) (-0.229275 -0.106107 0) (-0.260653 -0.112237 0) (-0.270713 -0.109009 0) (-0.237703 -0.0313422 0) (-0.178185 -0.0118742 0) (-0.117339 -0.0984977 0) (-0.0471664 -0.252295 0) (-0.0255575 -0.317465 0) (-0.018921 -0.327502 0) (-0.0165265 -0.315745 0) (-0.0127574 -0.274732 0) (-0.00308689 -0.218129 0) (0.00750424 -0.177327 0) (0.0326524 -0.157699 0) (0.0693038 -0.137015 0) (0.11179 -0.0224077 0) (0.141025 0.0592925 0) (0.133004 0.0745548 0) (0.12637 0.0668415 0) (0.111517 0.0375978 0) (0.104247 0.0150708 0) (0.107796 0.0115498 0) (0.114031 0.0122095 0) (0.11718 0.00767061 0) (0.111391 0.00617149 0) (0.114337 0.0102996 0) (0.125632 0.00904308 0) (0.140156 0.0277188 0) (0.157411 0.0599231 0) (0.177115 0.0648339 0) (0.199379 0.0433839 0) (0.192499 0.00540673 0) (0.172282 0.00152899 0) (0.169137 -8.38623e-05 0) (-0.0135978 0.0149523 0) (-0.0584553 0.0278334 0) (-0.0464027 0.202659 0) (-0.117396 0.176006 0) (-0.170534 0.0080237 0) (-0.180825 -0.0673992 0) (-0.175519 -0.0801215 0) (-0.180969 -0.0699789 0) (-0.190246 -0.0981451 0) (-0.165371 -0.144726 0) (-0.103708 -0.213326 0) (-0.0323333 -0.285518 0) (-0.00836824 -0.311727 0) (0.000466962 -0.326221 0) (0.001175 -0.323921 0) (-0.00862775 -0.307991 0) (-0.0165512 -0.274583 0) (-0.0214652 -0.226885 0) (-0.0222278 -0.191374 0) (-0.0185743 -0.190174 0) (-0.0306218 -0.182698 0) (0.00437076 -0.0989713 0) (0.0602159 0.02403 0) (0.0905812 0.0670168 0) (0.106586 0.0647313 0) (0.117547 0.0500413 0) (0.145328 0.0232977 0) (0.175241 -0.00706529 0) (0.205668 -0.0243402 0) (0.241724 -0.0107126 0) (0.248823 0.0231483 0) (0.225209 0.0404983 0) (0.208095 0.0241697 0) (0.199132 0.00437955 0) (0.201983 0.00146602 0) (0.217953 0.00164918 0) (0.228096 0.0124335 0) (0.224538 0.0240103 0) (0.220682 0.0252691 0) (0.218045 0.00313115 0) (0.00440298 0.0709442 0) (-0.0557538 0.0479074 0) (-0.0289983 0.184164 0) (0.003374 0.309744 0) (-0.0607908 0.0956643 0) (-0.139072 -0.0803571 0) (-0.163571 -0.11814 0) (-0.157696 -0.0724023 0) (-0.112748 -0.132144 0) (-0.0739291 -0.170699 0) (-0.0489412 -0.26964 0) (-0.03525 -0.308121 0) (-0.0306493 -0.324809 0) (-0.0419242 -0.330834 0) (-0.0656037 -0.315702 0) (-0.0977632 -0.287676 0) (-0.13921 -0.257391 0) (-0.181887 -0.211131 0) (-0.196217 -0.160008 0) (-0.221214 -0.15353 0) (-0.226162 -0.171246 0) (-0.18125 -0.152155 0) (-0.12883 -0.0694607 0) (-0.0572318 -0.0152804 0) (-0.00305941 0.00924033 0) (0.0229987 -0.0170916 0) (0.0545445 -0.0853179 0) (0.113278 -0.119417 0) (0.151586 -0.109809 0) (0.171028 -0.0542744 0) (0.169247 0.0571459 0) (0.167503 0.0962837 0) (0.179489 0.073237 0) (0.202712 0.038474 0) (0.209065 0.0203216 0) (0.206823 0.0167161 0) (0.195408 0.0188925 0) (0.188068 0.0182335 0) (0.193512 0.0111575 0) (0.217173 -0.00592089 0) (0.02249 0.119744 0) (-0.0614232 0.0902055 0) (-0.0540476 0.141643 0) (-0.00356905 0.285527 0) (0.0501611 0.183441 0) (0.0159576 0.138119 0) (-0.11119 -0.0156032 0) (-0.199057 -0.169318 0) (-0.136383 -0.260476 0) (-0.0973877 -0.25781 0) (-0.0906446 -0.29561 0) (-0.117345 -0.30346 0) (-0.158777 -0.283583 0) (-0.22943 -0.25792 0) (-0.321954 -0.204933 0) (-0.428202 -0.112117 0) (-0.480066 -0.0791935 0) (-0.535252 -0.0809231 0) (-0.580436 -0.0938802 0) (-0.637792 -0.145996 0) (-0.661137 -0.180165 0) (-0.661901 -0.199099 0) (-0.624789 -0.178732 0) (-0.556492 -0.117641 0) (-0.482058 -0.104022 0) (-0.401137 -0.121899 0) (-0.311932 -0.16985 0) (-0.254816 -0.159474 0) (-0.187065 -0.10292 0) (-0.10918 -0.0431839 0) (-0.0302374 -0.0196173 0) (0.0510467 -0.0348146 0) (0.136578 -0.0548616 0) (0.168075 -0.0413377 0) (0.169617 0.00722183 0) (0.139881 0.0485488 0) (0.130227 0.0535787 0) (0.132374 0.0378055 0) (0.139974 -0.0194234 0) (0.137805 -0.0267642 0) (0.0320425 0.154833 0) (-0.0536913 0.152361 0) (-0.0802572 0.108607 0) (-0.028785 0.12912 0) (0.0024647 0.122058 0) (0.0223023 0.197809 0) (0.0122128 0.179686 0) (-0.0186908 0.0399428 0) (-0.0888542 -0.217383 0) (-0.130519 -0.238096 0) (-0.173019 -0.227356 0) (-0.257584 -0.174089 0) (-0.369576 -0.111354 0) (-0.533181 -0.0215503 0) (-0.584972 -0.0160155 0) (-0.615864 -0.0489415 0) (-0.627446 -0.037839 0) (-0.653713 -0.00926477 0) (-0.685388 -0.0232649 0) (-0.706877 -0.0710681 0) (-0.685695 -0.13927 0) (-0.643812 -0.217031 0) (-0.59874 -0.244482 0) (-0.555657 -0.256851 0) (-0.514682 -0.267203 0) (-0.463162 -0.283637 0) (-0.412405 -0.32988 0) (-0.363744 -0.318252 0) (-0.302847 -0.286913 0) (-0.246849 -0.276466 0) (-0.187724 -0.232253 0) (-0.13648 -0.164275 0) (-0.0782959 -0.0615149 0) (-0.046173 -0.0352216 0) (0.00316004 0.0384011 0) (0.0278339 0.0344736 0) (0.0480962 0.0114955 0) (0.0596991 0.0100356 0) (0.0549358 0.00817918 0) (0.0573855 0.00291952 0) (0.0305897 0.143722 0) (-0.0167253 0.249991 0) (-0.0922829 0.11674 0) (-0.0767554 0.0788633 0) (-0.0830526 0.0746861 0) (-0.0675369 0.152984 0) (-0.0711593 0.162568 0) (-0.073376 0.0344273 0) (-0.115303 -0.0865702 0) (-0.199268 -0.12504 0) (-0.312173 -0.0666602 0) (-0.432486 0.0586075 0) (-0.561192 0.179368 0) (-0.611682 0.13376 0) (-0.650266 0.0144851 0) (-0.676459 -0.0124882 0) (-0.693682 -0.0115487 0) (-0.698517 0.0188951 0) (-0.683177 -0.028431 0) (-0.656904 -0.113191 0) (-0.642585 -0.221682 0) (-0.625498 -0.294572 0) (-0.594333 -0.327143 0) (-0.556371 -0.340387 0) (-0.506711 -0.329584 0) (-0.450096 -0.314125 0) (-0.41378 -0.323759 0) (-0.387512 -0.329795 0) (-0.343676 -0.325797 0) (-0.295063 -0.326662 0) (-0.239398 -0.276713 0) (-0.184237 -0.233784 0) (-0.137572 -0.172445 0) (-0.108498 -0.1527 0) (-0.0925803 -0.0831173 0) (-0.0711822 -0.0140252 0) (-0.0767429 0.0204934 0) (-0.0779655 0.0263089 0) (-0.0733255 -0.0349611 0) (-0.0616831 -0.0570525 0) (-0.0185605 0.121194 0) (0.00795182 0.382927 0) (-0.0807459 0.196818 0) (-0.0928397 0.114077 0) (-0.154175 0.132137 0) (-0.195231 0.196465 0) (-0.19388 0.146396 0) (-0.211446 0.00274379 0) (-0.244147 -0.00508593 0) (-0.340615 0.0445898 0) (-0.433922 0.130811 0) (-0.55783 0.256207 0) (-0.59303 0.25396 0) (-0.630979 0.095798 0) (-0.644646 0.0245385 0) (-0.660005 -0.00319569 0) (-0.67673 -0.0199699 0) (-0.681066 -0.0413206 0) (-0.67565 -0.0804513 0) (-0.677307 -0.168195 0) (-0.678253 -0.260681 0) (-0.666203 -0.325372 0) (-0.646483 -0.378138 0) (-0.621553 -0.425746 0) (-0.587226 -0.437093 0) (-0.544304 -0.442597 0) (-0.479543 -0.429025 0) (-0.418183 -0.424392 0) (-0.358258 -0.44154 0) (-0.297617 -0.427212 0) (-0.244661 -0.374043 0) (-0.182924 -0.30519 0) (-0.137478 -0.192095 0) (-0.108156 -0.131405 0) (-0.0800878 -0.0631095 0) (-0.0869262 0.00624018 0) (-0.0887655 0.0238017 0) (-0.0970753 0.0151097 0) (-0.100141 -0.0378297 0) (-0.0978495 -0.0412652 0) (-0.0472127 0.178414 0) (-0.0182291 0.431488 0) (-0.0814088 0.262981 0) (-0.123184 0.211968 0) (-0.223918 0.273043 0) (-0.243302 0.272302 0) (-0.260336 0.140813 0) (-0.285926 0.100302 0) (-0.362182 0.124589 0) (-0.439382 0.186388 0) (-0.488006 0.300766 0) (-0.519208 0.417658 0) (-0.540259 0.365274 0) (-0.59404 0.173399 0) (-0.618975 0.0993852 0) (-0.647648 0.0761769 0) (-0.683837 0.0522599 0) (-0.706392 -0.001821 0) (-0.702165 -0.0851036 0) (-0.690296 -0.175587 0) (-0.675402 -0.258298 0) (-0.658887 -0.339027 0) (-0.629352 -0.425048 0) (-0.586997 -0.495587 0) (-0.551065 -0.521365 0) (-0.515131 -0.548554 0) (-0.470268 -0.559515 0) (-0.427517 -0.562226 0) (-0.378509 -0.573781 0) (-0.326065 -0.554516 0) (-0.266226 -0.497475 0) (-0.196585 -0.434737 0) (-0.119942 -0.316257 0) (-0.0673052 -0.239031 0) (-0.00543143 -0.1103 0) (0.0201104 0.00956567 0) (0.0196325 0.0503401 0) (0.00422699 0.0564907 0) (-0.0241435 8.46482e-05 0) (-0.0764083 -0.0213238 0) (-0.0636892 0.280435 0) (-0.0518604 0.448458 0) (-0.094971 0.345049 0) (-0.19327 0.362101 0) (-0.257717 0.39008 0) (-0.309286 0.28107 0) (-0.324599 0.207392 0) (-0.400929 0.214949 0) (-0.47519 0.269539 0) (-0.519978 0.282642 0) (-0.548885 0.335537 0) (-0.545809 0.385099 0) (-0.55512 0.336813 0) (-0.582274 0.194252 0) (-0.60447 0.111191 0) (-0.634428 0.0807932 0) (-0.661551 0.0412553 0) (-0.694509 -0.0388204 0) (-0.716107 -0.134856 0) (-0.693294 -0.236051 0) (-0.652614 -0.35032 0) (-0.606006 -0.444677 0) (-0.540262 -0.539191 0) (-0.480117 -0.596837 0) (-0.437017 -0.606458 0) (-0.409382 -0.615361 0) (-0.376725 -0.622817 0) (-0.35093 -0.633726 0) (-0.320207 -0.650177 0) (-0.284085 -0.661499 0) (-0.237664 -0.636762 0) (-0.189879 -0.577459 0) (-0.14293 -0.487862 0) (-0.0986442 -0.378964 0) (-0.0602141 -0.250432 0) (0.0123787 -0.0642889 0) (0.0593731 0.0512034 0) (0.0967736 0.0752166 0) (0.106864 0.12157 0) (0.0645675 0.166782 0) (-0.043587 0.354191 0) (-0.0612093 0.48739 0) (-0.0952382 0.434853 0) (-0.169548 0.517252 0) (-0.233985 0.494693 0) (-0.305803 0.337346 0) (-0.341845 0.287626 0) (-0.408673 0.299313 0) (-0.455848 0.308035 0) (-0.492566 0.300459 0) (-0.537912 0.345769 0) (-0.547584 0.38684 0) (-0.555014 0.376407 0) (-0.605795 0.232512 0) (-0.639564 0.164362 0) (-0.650331 0.164571 0) (-0.636534 0.167473 0) (-0.607691 0.0867161 0) (-0.575911 -0.0621886 0) (-0.537799 -0.233234 0) (-0.491568 -0.370581 0) (-0.481441 -0.502105 0) (-0.419856 -0.617301 0) (-0.381238 -0.65497 0) (-0.367087 -0.671054 0) (-0.348865 -0.667792 0) (-0.330035 -0.657115 0) (-0.321166 -0.662306 0) (-0.294942 -0.692823 0) (-0.257081 -0.706727 0) (-0.218813 -0.687891 0) (-0.188464 -0.624294 0) (-0.177894 -0.529646 0) (-0.165587 -0.412328 0) (-0.149395 -0.310479 0) (-0.102694 -0.205721 0) (-0.0465737 -0.133804 0) (0.0512975 0.00714453 0) (0.0960386 0.085932 0) (0.144225 0.175677 0) (-0.0229395 0.436279 0) (-0.0574389 0.538993 0) (-0.0937623 0.516974 0) (-0.129036 0.639986 0) (-0.159178 0.609431 0) (-0.236823 0.442341 0) (-0.267715 0.408365 0) (-0.310611 0.410951 0) (-0.356814 0.396698 0) (-0.407865 0.372389 0) (-0.467914 0.391728 0) (-0.487214 0.44945 0) (-0.476055 0.481209 0) (-0.480282 0.391758 0) (-0.502206 0.266004 0) (-0.524582 0.160361 0) (-0.473952 0.030074 0) (-0.402271 -0.0813025 0) (-0.373878 -0.159027 0) (-0.344062 -0.27971 0) (-0.315178 -0.422552 0) (-0.318735 -0.539627 0) (-0.287375 -0.599237 0) (-0.278013 -0.629355 0) (-0.289986 -0.661132 0) (-0.300552 -0.669937 0) (-0.314759 -0.6669 0) (-0.319747 -0.678576 0) (-0.303958 -0.74245 0) (-0.283921 -0.764511 0) (-0.252579 -0.739461 0) (-0.227093 -0.657029 0) (-0.222219 -0.532578 0) (-0.237387 -0.405857 0) (-0.231219 -0.314953 0) (-0.192081 -0.257696 0) (-0.124937 -0.236394 0) (-0.0460793 -0.197649 0) (0.0566641 -0.128002 0) (0.0621782 -0.0162658 0) (0.00698036 0.508132 0) (-0.0561839 0.593852 0) (-0.0917382 0.587519 0) (-0.108624 0.681025 0) (-0.102393 0.673616 0) (-0.162697 0.530558 0) (-0.173362 0.47189 0) (-0.181974 0.466102 0) (-0.183607 0.465238 0) (-0.191625 0.474551 0) (-0.175109 0.551685 0) (-0.249038 0.529584 0) (-0.276243 0.45211 0) (-0.303984 0.301397 0) (-0.299665 0.148397 0) (-0.290833 0.0294971 0) (-0.306397 -0.10356 0) (-0.290761 -0.192024 0) (-0.260616 -0.292779 0) (-0.297846 -0.394599 0) (-0.228195 -0.536862 0) (-0.233656 -0.608355 0) (-0.238673 -0.607448 0) (-0.243566 -0.588253 0) (-0.256998 -0.615913 0) (-0.270818 -0.631307 0) (-0.291483 -0.626979 0) (-0.31579 -0.653663 0) (-0.327015 -0.758661 0) (-0.314842 -0.785044 0) (-0.305218 -0.761609 0) (-0.297221 -0.660337 0) (-0.303535 -0.50091 0) (-0.309363 -0.393986 0) (-0.300291 -0.359914 0) (-0.274856 -0.351376 0) (-0.247637 -0.355112 0) (-0.214173 -0.346373 0) (-0.156022 -0.145332 0) (-0.0147475 0.06781 0) (0.0331692 0.53644 0) (-0.0478257 0.66625 0) (-0.105564 0.638081 0) (-0.118086 0.680986 0) (-0.109545 0.674141 0) (-0.130999 0.560266 0) (-0.135255 0.487405 0) (-0.137929 0.443766 0) (-0.122141 0.4057 0) (-0.11456 0.405537 0) (-0.00347008 0.537281 0) (0.0331666 0.571858 0) (0.062723 0.496374 0) (0.0889906 0.38979 0) (0.0870642 0.284945 0) (0.0699314 0.200655 0) (0.0792566 0.126262 0) (-0.0129551 0.00150918 0) (0.00580278 -0.191064 0) (-0.0965861 -0.336397 0) (-0.0793316 -0.444493 0) (-0.139313 -0.57414 0) (-0.190122 -0.590372 0) (-0.207095 -0.573823 0) (-0.251464 -0.573188 0) (-0.288684 -0.581227 0) (-0.339396 -0.559228 0) (-0.366472 -0.587483 0) (-0.381571 -0.763306 0) (-0.375104 -0.795446 0) (-0.373455 -0.76522 0) (-0.375339 -0.642612 0) (-0.370859 -0.468641 0) (-0.36742 -0.387937 0) (-0.365404 -0.363592 0) (-0.364509 -0.356981 0) (-0.365681 -0.354717 0) (-0.386646 -0.353587 0) (-0.416137 -0.262588 0) (-0.412956 -0.109237 0) (0.0231802 0.52035 0) (0.0400165 0.848642 0) (-0.110283 0.708882 0) (-0.106827 0.692832 0) (-0.116062 0.673319 0) (-0.12288 0.576616 0) (-0.133851 0.494572 0) (-0.145144 0.430884 0) (-0.128452 0.357542 0) (-0.139062 0.315028 0) (-0.0964878 0.341528 0) (0.0102339 0.425183 0) (0.0673441 0.404909 0) (0.129932 0.297525 0) (0.145881 0.240536 0) (0.099608 0.158525 0) (0.116511 0.00684718 0) (0.118122 -0.0407214 0) (0.105754 -0.119742 0) (0.0355772 -0.219939 0) (0.00166821 -0.318264 0) (-0.0612151 -0.44296 0) (-0.173385 -0.475186 0) (-0.191462 -0.464136 0) (-0.258279 -0.474162 0) (-0.295205 -0.494246 0) (-0.370259 -0.47624 0) (-0.409062 -0.574475 0) (-0.432116 -0.771005 0) (-0.444899 -0.796811 0) (-0.44497 -0.775138 0) (-0.435961 -0.660883 0) (-0.404414 -0.480885 0) (-0.387568 -0.399974 0) (-0.385264 -0.366487 0) (-0.384539 -0.347641 0) (-0.386074 -0.323354 0) (-0.394494 -0.277356 0) (-0.44504 -0.211055 0) (-0.464008 -0.198688 0) (0.00268637 0.433328 0) (0.107324 0.950821 0) (-0.0455408 0.87548 0) (-0.0736816 0.74186 0) (-0.105853 0.673499 0) (-0.104773 0.594088 0) (-0.124347 0.511499 0) (-0.138771 0.426843 0) (-0.148512 0.334975 0) (-0.144158 0.272941 0) (-0.125576 0.257615 0) (-0.0917283 0.244299 0) (-0.0333412 0.243314 0) (0.0218538 0.222904 0) (0.0497056 0.221222 0) (0.0866051 0.167509 0) (0.0973621 0.00482252 0) (0.0890244 -0.000195123 0) (0.0985065 -0.0351214 0) (0.0688885 -0.140903 0) (0.0141897 -0.257428 0) (-0.0460271 -0.266607 0) (-0.193958 -0.316958 0) (-0.201285 -0.385895 0) (-0.270896 -0.392553 0) (-0.314921 -0.387272 0) (-0.367026 -0.366445 0) (-0.415507 -0.507804 0) (-0.462567 -0.734057 0) (-0.483968 -0.783508 0) (-0.490453 -0.782811 0) (-0.486882 -0.700437 0) (-0.439476 -0.524826 0) (-0.401097 -0.418216 0) (-0.392308 -0.380812 0) (-0.391542 -0.357856 0) (-0.388504 -0.323917 0) (-0.372865 -0.26321 0) (-0.358903 -0.208126 0) (-0.354513 -0.200906 0) (0.028971 0.328178 0) (0.112015 0.889097 0) (0.183299 1.01017 0) (0.115931 0.895355 0) (-0.00678988 0.727978 0) (-0.0472346 0.627791 0) (-0.0855915 0.550837 0) (-0.105381 0.45414 0) (-0.135742 0.364421 0) (-0.155462 0.264849 0) (-0.110535 0.203966 0) (-0.0588326 0.182807 0) (-0.037533 0.159851 0) (0.0128971 0.13754 0) (0.051325 0.155934 0) (0.0948044 0.124832 0) (0.116011 0.0185216 0) (0.0800145 -0.0102648 0) (0.0833334 -0.0678822 0) (0.0417788 -0.0882143 0) (-0.0363808 -0.105389 0) (-0.151161 -0.0924699 0) (-0.223759 -0.240986 0) (-0.238395 -0.301839 0) (-0.291721 -0.325461 0) (-0.324094 -0.317075 0) (-0.35059 -0.288037 0) (-0.403703 -0.406768 0) (-0.487494 -0.681261 0) (-0.521258 -0.769624 0) (-0.530793 -0.785626 0) (-0.537266 -0.752479 0) (-0.506295 -0.619654 0) (-0.43118 -0.453458 0) (-0.400243 -0.395904 0) (-0.392464 -0.368717 0) (-0.388086 -0.348943 0) (-0.371222 -0.30819 0) (-0.338013 -0.232237 0) (-0.310768 -0.181453 0) (0.0589892 0.223482 0) (0.103672 0.520862 0) (0.280021 0.937189 0) (0.277936 1.04898 0) (0.181671 0.958755 0) (0.0428262 0.783898 0) (-0.0230245 0.670792 0) (-0.0883257 0.567627 0) (-0.118791 0.472958 0) (-0.130927 0.251635 0) (-0.107969 0.144092 0) (-0.032026 0.13089 0) (0.00648872 0.114424 0) (0.0181786 0.0756323 0) (0.0448487 0.0578853 0) (0.0844045 0.0157082 0) (0.0858008 0.0259941 0) (0.0886149 0.0598634 0) (0.0618678 0.0505869 0) (0.0546117 0.0323432 0) (-0.172846 0.0547998 0) (-0.307074 -0.0416791 0) (-0.278523 -0.223288 0) (-0.293081 -0.270671 0) (-0.305151 -0.288145 0) (-0.319849 -0.281101 0) (-0.324634 -0.242154 0) (-0.344806 -0.269757 0) (-0.463266 -0.539033 0) (-0.543612 -0.713998 0) (-0.575812 -0.762946 0) (-0.582705 -0.767347 0) (-0.580885 -0.716049 0) (-0.523135 -0.586782 0) (-0.433826 -0.450686 0) (-0.39418 -0.400471 0) (-0.376659 -0.376424 0) (-0.359973 -0.36035 0) (-0.32789 -0.330022 0) (-0.291048 -0.292312 0) (0.0592287 0.0849664 0) (0.0845986 0.275787 0) (0.23007 0.819054 0) (0.25997 1.12081 0) (0.174195 1.11009 0) (0.0699845 0.955873 0) (0.0212399 0.863717 0) (-0.0814042 0.706928 0) (-0.0896137 0.464005 0) (-0.0552621 0.191312 0) (-0.011889 0.00810007 0) (0.0254975 -0.00357817 0) (0.0941673 0.082041 0) (0.0927201 0.0756829 0) (0.0811672 0.0297772 0) (0.0715097 0.0214573 0) (0.0672445 0.0259991 0) (0.0841315 0.0272219 0) (0.104324 -0.0128951 0) (0.0448564 0.225597 0) (-0.186984 0.399527 0) (-0.360615 -0.00212996 0) (-0.323797 -0.222918 0) (-0.321329 -0.268751 0) (-0.315079 -0.281313 0) (-0.301222 -0.276939 0) (-0.285017 -0.232375 0) (-0.282743 -0.199243 0) (-0.337088 -0.283095 0) (-0.496221 -0.589037 0) (-0.5763 -0.707419 0) (-0.608014 -0.742205 0) (-0.611508 -0.74264 0) (-0.606438 -0.699319 0) (-0.542358 -0.605496 0) (-0.441443 -0.471644 0) (-0.386917 -0.412644 0) (-0.354633 -0.38737 0) (-0.324911 -0.368878 0) (-0.292743 -0.348418 0) (0.0219157 -0.0133903 0) (0.0311222 0.174561 0) (0.125205 0.865155 0) (0.107358 1.20738 0) (0.0764623 1.17998 0) (0.0452453 1.02704 0) (0.0350735 0.971741 0) (0.00423836 0.738476 0) (0.0515557 0.434885 0) (0.0960868 0.165397 0) (0.10645 -0.0434026 0) (0.102162 -0.0727166 0) (0.135493 0.0417357 0) (0.143729 0.0749808 0) (0.133434 0.0615086 0) (0.0995354 0.0609477 0) (0.0952776 0.0318832 0) (0.0905517 -0.0103692 0) (0.0746538 0.0958741 0) (-0.042146 0.644812 0) (-0.0646813 0.828531 0) (-0.265696 0.27084 0) (-0.286303 -0.205295 0) (-0.288472 -0.294518 0) (-0.281399 -0.311186 0) (-0.267838 -0.308994 0) (-0.241997 -0.265437 0) (-0.220457 -0.19503 0) (-0.217616 -0.169158 0) (-0.286647 -0.268091 0) (-0.459219 -0.565866 0) (-0.573835 -0.681606 0) (-0.619209 -0.72332 0) (-0.624688 -0.73262 0) (-0.61584 -0.714 0) (-0.571076 -0.660766 0) (-0.461446 -0.520365 0) (-0.386549 -0.4536 0) (-0.331957 -0.418984 0) (-0.287758 -0.392097 0) (-0.0223344 -0.00818314 0) (-0.0455144 0.118121 0) (-0.00997459 0.907374 0) (-0.00722585 1.20264 0) (0.000170961 1.1563 0) (0.0254047 1.02049 0) (0.039998 0.954659 0) (0.139924 0.67737 0) (0.213566 0.369827 0) (0.265818 0.125596 0) (0.241978 -0.0468467 0) (0.220454 -0.0591667 0) (0.183739 0.0659817 0) (0.163156 0.0948275 0) (0.133392 0.103718 0) (0.115597 0.0936652 0) (0.0918905 0.0502739 0) (0.0715233 0.0333584 0) (-0.0525873 0.325237 0) (-0.0532945 0.658166 0) (0.00395083 0.795339 0) (-0.0064786 0.516886 0) (-0.0732069 0.0132391 0) (-0.249864 -0.29706 0) (-0.234061 -0.343183 0) (-0.227345 -0.348203 0) (-0.210847 -0.313976 0) (-0.181978 -0.256779 0) (-0.148056 -0.181735 0) (-0.142163 -0.158916 0) (-0.179452 -0.222668 0) (-0.330034 -0.444626 0) (-0.50814 -0.630821 0) (-0.595574 -0.714443 0) (-0.617782 -0.738866 0) (-0.617308 -0.736999 0) (-0.579636 -0.728722 0) (-0.478042 -0.645964 0) (-0.366585 -0.534738 0) (-0.274882 -0.46693 0) (-0.0432697 0.0802808 0) (-0.110929 0.118797 0) (-0.0807074 0.849184 0) (-0.022021 1.13464 0) (-0.00391085 1.09195 0) (0.0537101 0.957222 0) (0.163647 0.815444 0) (0.337725 0.477874 0) (0.373524 0.254727 0) (0.399014 0.0915564 0) (0.346803 0.00485914 0) (0.303229 0.0248064 0) (0.205794 0.148457 0) (0.158853 0.157098 0) (0.117707 0.165191 0) (0.0905024 0.129377 0) (0.0769636 0.0904694 0) (0.0241079 0.2261 0) (-0.0326544 0.371037 0) (-0.0279327 0.499996 0) (0.0801203 0.545958 0) (0.125962 0.432996 0) (0.121458 0.214391 0) (-0.0172798 0.0121297 0) (-0.12534 -0.341212 0) (-0.15747 -0.383296 0) (-0.152859 -0.346386 0) (-0.148974 -0.316224 0) (-0.10344 -0.268545 0) (-0.0781484 -0.19592 0) (-0.0490905 -0.177267 0) (-0.0666546 -0.167899 0) (-0.133623 -0.264834 0) (-0.327523 -0.502304 0) (-0.484441 -0.663812 0) (-0.594583 -0.745313 0) (-0.603846 -0.790685 0) (-0.570643 -0.826744 0) (-0.500096 -0.821798 0) (-0.36745 -0.688301 0) (-0.0447202 0.208607 0) (-0.0990416 0.190318 0) (-0.0817527 0.591695 0) (0.0468088 1.00058 0) (0.0906481 0.948542 0) (0.284905 0.683701 0) (0.417974 0.496569 0) (0.47599 0.350901 0) (0.469569 0.212989 0) (0.446608 0.103628 0) (0.392968 0.0878704 0) (0.305371 0.225175 0) (0.225983 0.271938 0) (0.185595 0.242585 0) (0.141382 0.199136 0) (0.123552 0.151231 0) (0.113374 0.163509 0) (0.0568429 0.291541 0) (0.0415815 0.341216 0) (0.0821176 0.359066 0) (0.116367 0.407424 0) (0.153893 0.385806 0) (0.175736 0.284892 0) (0.130406 0.125881 0) (0.0787989 -0.0405893 0) (0.0200016 -0.314811 0) (-0.0407809 -0.370169 0) (-0.0570152 -0.339996 0) (-0.0631413 -0.335939 0) (-0.0406148 -0.286963 0) (-0.0110677 -0.244032 0) (0.0226732 -0.189065 0) (0.0298885 -0.167059 0) (0.00625156 -0.18272 0) (-0.0725571 -0.24995 0) (-0.306312 -0.500856 0) (-0.463742 -0.747726 0) (-0.569267 -0.843471 0) (-0.536904 -0.922184 0) (-0.474226 -0.973573 0) (-0.0205972 0.31485 0) (-0.0571121 0.295688 0) (-0.0599296 0.399279 0) (0.128616 0.615278 0) (0.285418 0.554539 0) (0.423823 0.474593 0) (0.466386 0.422034 0) (0.473801 0.35187 0) (0.437628 0.229975 0) (0.393708 0.193806 0) (0.277593 0.295391 0) (0.229332 0.332921 0) (0.21885 0.315058 0) (0.216329 0.295833 0) (0.186898 0.244788 0) (0.204079 0.191046 0) (0.216153 0.207425 0) (0.201948 0.323644 0) (0.174595 0.408855 0) (0.182264 0.407281 0) (0.192283 0.373664 0) (0.213915 0.325443 0) (0.241455 0.227466 0) (0.24385 0.0907634 0) (0.207329 -0.0844201 0) (0.201076 -0.16944 0) (0.149942 -0.221971 0) (0.14945 -0.278724 0) (0.0872745 -0.296763 0) (0.068801 -0.319972 0) (0.0628782 -0.291675 0) (0.0645067 -0.252917 0) (0.0779879 -0.216635 0) (0.0867994 -0.178953 0) (0.0794461 -0.167817 0) (0.0496389 -0.155864 0) (-0.0380575 -0.253503 0) (-0.30745 -0.672229 0) (-0.457905 -0.950901 0) (-0.470059 -1.04648 0) (0.0117828 0.350056 0) (-0.0231715 0.335496 0) (-0.00865453 0.327774 0) (0.0408136 0.365937 0) (0.155254 0.435068 0) (0.231248 0.426021 0) (0.247978 0.401263 0) (0.258596 0.391451 0) (0.253117 0.389382 0) (0.19159 0.390374 0) (0.179834 0.363255 0) (0.200324 0.326002 0) (0.21622 0.308285 0) (0.228314 0.292231 0) (0.23163 0.25477 0) (0.239984 0.217386 0) (0.269581 0.168725 0) (0.278749 0.210613 0) (0.33465 0.326268 0) (0.375093 0.367192 0) (0.41677 0.381047 0) (0.426957 0.363954 0) (0.457159 0.302548 0) (0.466325 0.222718 0) (0.44661 0.0741033 0) (0.386502 -0.135094 0) (0.314101 -0.232793 0) (0.271932 -0.218548 0) (0.275277 -0.208345 0) (0.278668 -0.24056 0) (0.231958 -0.252635 0) (0.178921 -0.198467 0) (0.135772 -0.202504 0) (0.105064 -0.196298 0) (0.10981 -0.184429 0) (0.104552 -0.154446 0) (0.0984211 -0.13957 0) (0.0839613 -0.15733 0) (-0.165616 -0.60515 0) (-0.374965 -1.03867 0) (0.0182885 0.345701 0) (-0.00355582 0.36252 0) (-0.010661 0.339216 0) (-0.0308968 0.358399 0) (-0.0300296 0.384031 0) (-0.0213262 0.37249 0) (0.00570907 0.3416 0) (0.027781 0.338292 0) (0.0628505 0.345324 0) (0.0964467 0.341896 0) (0.123077 0.305643 0) (0.154441 0.281258 0) (0.192077 0.275382 0) (0.218603 0.270129 0) (0.234551 0.239386 0) (0.242147 0.209596 0) (0.242709 0.207968 0) (0.239841 0.227894 0) (0.25241 0.21621 0) (0.322201 0.173983 0) (0.440014 0.233289 0) (0.495237 0.233131 0) (0.514788 0.205439 0) (0.503171 0.169179 0) (0.492599 0.118113 0) (0.487198 -0.00833201 0) (0.450068 -0.10178 0) (0.409807 -0.174314 0) (0.399787 -0.216868 0) (0.384616 -0.220645 0) (0.34629 -0.211914 0) (0.302856 -0.132717 0) (0.229482 -0.0841998 0) (0.182248 -0.136376 0) (0.131167 -0.179865 0) (0.12382 -0.180909 0) (0.13042 -0.166881 0) (0.141147 -0.129346 0) (0.124515 -0.0976165 0) (-0.171434 -0.582419 0) (0.0151152 0.324224 0) (0.0273557 0.37698 0) (0.0144145 0.371919 0) (-0.00601773 0.36993 0) (-0.0148233 0.381088 0) (-0.0122593 0.363624 0) (-0.0038047 0.318748 0) (0.00270642 0.302849 0) (0.030974 0.27269 0) (0.0528784 0.271264 0) (0.0869461 0.223272 0) (0.137267 0.18282 0) (0.186099 0.181475 0) (0.220115 0.214481 0) (0.26388 0.21449 0) (0.274202 0.200237 0) (0.282822 0.188128 0) (0.295497 0.201094 0) (0.311867 0.195583 0) (0.338612 0.158369 0) (0.355944 0.161095 0) (0.385657 0.17744 0) (0.422072 0.191058 0) (0.434987 0.183724 0) (0.442765 0.0331526 0) (0.474536 -0.117334 0) (0.47985 -0.102037 0) (0.477305 -0.13216 0) (0.451642 -0.150629 0) (0.403158 -0.143658 0) (0.361464 -0.120285 0) (0.316772 -0.0430513 0) (0.283187 0.00774679 0) (0.260705 -0.00408743 0) (0.212795 -0.0926028 0) (0.175601 -0.159681 0) (0.162324 -0.172622 0) (0.15189 -0.156276 0) (0.171547 -0.0693935 0) (0.104929 0.0364792 0) (0.01291 0.256209 0) (0.0535484 0.357013 0) (0.0649662 0.389051 0) (0.0624604 0.395802 0) (0.0502675 0.394594 0) (0.0500687 0.378162 0) (0.0367509 0.327958 0) (0.0393731 0.290343 0) (0.0513285 0.264263 0) (0.0699507 0.223947 0) (0.107819 0.146156 0) (0.14699 0.0945594 0) (0.189408 0.0691371 0) (0.236154 0.094957 0) (0.296621 0.131426 0) (0.337952 0.15877 0) (0.366506 0.150043 0) (0.381051 0.147887 0) (0.386723 0.143244 0) (0.396224 0.121551 0) (0.405225 0.116586 0) (0.418249 0.125799 0) (0.458015 0.156621 0) (0.493048 0.149384 0) (0.519033 0.108686 0) (0.515092 -0.0579553 0) (0.490908 -0.057644 0) (0.459847 -0.0707871 0) (0.429039 -0.0812249 0) (0.408248 -0.0701964 0) (0.37484 -0.0535638 0) (0.330499 -0.00716359 0) (0.302677 0.0307143 0) (0.298541 0.0265443 0) (0.270411 -0.0312931 0) (0.243144 -0.107132 0) (0.221093 -0.13762 0) (0.197512 -0.131665 0) (0.183745 -0.0920214 0) (0.199287 0.0259391 0) (0.0128582 0.196164 0) (0.0463957 0.289088 0) (0.0883121 0.364603 0) (0.0977733 0.382945 0) (0.103672 0.389126 0) (0.114289 0.379165 0) (0.10956 0.343335 0) (0.102853 0.275722 0) (0.106102 0.236081 0) (0.127595 0.180525 0) (0.149357 0.105861 0) (0.164468 0.048787 0) (0.181584 0.0176433 0) (0.200574 0.0159883 0) (0.234287 0.0277615 0) (0.300889 0.0715961 0) (0.354267 0.100939 0) (0.374502 0.128165 0) (0.392576 0.135547 0) (0.410376 0.115234 0) (0.433467 0.0823385 0) (0.436401 0.0860349 0) (0.444405 0.0867771 0) (0.465092 0.080134 0) (0.502722 0.0516457 0) (0.489877 0.0107657 0) (0.46069 -0.0427626 0) (0.438749 -0.0659017 0) (0.413139 -0.0632226 0) (0.385671 -0.041908 0) (0.348846 -0.00426174 0) (0.300964 0.0460497 0) (0.262961 0.0721131 0) (0.259864 0.066055 0) (0.259202 -0.00956962 0) (0.255048 -0.0757366 0) (0.234345 -0.105139 0) (0.204794 -0.100709 0) (0.149894 -0.0534965 0) (0.0801146 0.086824 0) (0.0108952 0.161836 0) (0.0190331 0.218165 0) (0.067563 0.324114 0) (0.0911888 0.366078 0) (0.109278 0.368877 0) (0.139694 0.354999 0) (0.146371 0.325517 0) (0.155576 0.274445 0) (0.166181 0.219074 0) (0.186171 0.150175 0) (0.195589 0.0870176 0) (0.200402 0.0414665 0) (0.203483 0.00973891 0) (0.209741 -0.0122918 0) (0.22249 -0.0195829 0) (0.234158 -0.00693506 0) (0.265889 0.038896 0) (0.292394 0.0665235 0) (0.329205 0.0616768 0) (0.369175 0.0391193 0) (0.388353 0.0539713 0) (0.395057 0.0695253 0) (0.399614 0.0565644 0) (0.406931 0.0331219 0) (0.402128 0.0353314 0) (0.389494 0.0324898 0) (0.360332 0.0213463 0) (0.317169 0.0182564 0) (0.289487 0.022925 0) (0.269737 0.0465266 0) (0.235349 0.0897636 0) (0.205849 0.123466 0) (0.201476 0.115361 0) (0.215877 0.0319688 0) (0.226649 -0.022943 0) (0.212217 -0.0441679 0) (0.161726 -0.0444789 0) (0.127417 0.00874961 0) (0.0202304 0.132329 0) (-0.283135 0.746426 0) (0.0121 0.147478 0) (0.00768547 0.196943 0) (0.0251382 0.256864 0) (0.0540292 0.303548 0) (0.0839607 0.315221 0) (0.118396 0.310832 0) (0.143331 0.296022 0) (0.167445 0.25141 0) (0.200573 0.185592 0) (0.232378 0.130033 0) (0.251532 0.0808878 0) (0.27084 0.0411153 0) (0.287355 0.00957075 0) (0.290924 -0.016812 0) (0.28605 -0.0262154 0) (0.278311 -0.0198343 0) (0.274682 0.00792522 0) (0.281896 0.0194465 0) (0.286923 0.0205564 0) (0.282971 0.0273187 0) (0.275477 0.0568727 0) (0.270612 0.0760269 0) (0.264932 0.0739981 0) (0.251032 0.0740925 0) (0.233095 0.0724023 0) (0.22491 0.0696338 0) (0.213876 0.059233 0) (0.198554 0.0361329 0) (0.185511 0.0418252 0) (0.127761 0.101688 0) (0.0763374 0.146271 0) (0.0720105 0.109818 0) (0.107814 0.0487091 0) (0.128276 0.0256273 0) (0.13512 -0.00920005 0) (0.138272 0.0116533 0) (0.172495 0.0292099 0) (0.0484 0.156874 0) (-0.349989 0.6824 0) (-0.384381 0.98917 0) (0.0183039 0.134096 0) (0.0183293 0.196199 0) (0.0348263 0.23663 0) (0.0614142 0.254992 0) (0.086579 0.263479 0) (0.119076 0.271394 0) (0.153268 0.259254 0) (0.195131 0.198715 0) (0.243374 0.113606 0) (0.27351 0.0721817 0) (0.299551 0.019383 0) (0.314804 -0.0194551 0) (0.313732 -0.0286036 0) (0.30276 -0.0247065 0) (0.271843 -0.00320872 0) (0.241521 0.0200434 0) (0.215556 0.0370287 0) (0.197304 0.0464195 0) (0.185766 0.0576763 0) (0.168593 0.067612 0) (0.158503 0.0782953 0) (0.156282 0.0850336 0) (0.157606 0.0830693 0) (0.167785 0.0826585 0) (0.168221 0.0965003 0) (0.150741 0.101983 0) (0.117204 0.0772594 0) (0.0654464 0.094257 0) (0.0743392 0.142104 0) (0.0655864 0.168283 0) (0.0683996 0.148027 0) (0.048123 0.0399978 0) (0.029987 -0.0111797 0) (0.0618537 -0.0128187 0) (0.11343 -0.0470674 0) (0.143774 -0.0930314 0) (0.00660402 0.149236 0) (-0.0745339 0.725241 0) (-0.270784 0.833952 0) (-0.273393 0.965643 0) (0.0192525 0.0568071 0) (0.0509776 0.173663 0) (0.0675454 0.196006 0) (0.0869327 0.208061 0) (0.103609 0.195947 0) (0.140224 0.191666 0) (0.179933 0.165988 0) (0.219372 0.100665 0) (0.241721 0.0419683 0) (0.243156 0.0190321 0) (0.228663 0.00881838 0) (0.191373 0.0212081 0) (0.155599 0.0523726 0) (0.119796 0.0743345 0) (0.0964414 0.0833688 0) (0.0824693 0.0802084 0) (0.0796861 0.0716268 0) (0.0867965 0.0703831 0) (0.0987631 0.0771005 0) (0.109138 0.0834341 0) (0.125835 0.0851099 0) (0.145984 0.08259 0) (0.171707 0.0639652 0) (0.2115 0.0548573 0) (0.194715 0.0921141 0) (0.129107 0.159258 0) (0.0789636 0.150762 0) (0.025268 0.107592 0) (0.0687522 0.126157 0) (0.0794279 0.151307 0) (0.0952763 0.146853 0) (0.193697 0.212495 0) (0.21499 0.0412055 0) (0.151707 -0.158619 0) (0.100097 -0.145927 0) (0.0599876 0.187974 0) (-0.0895364 0.42035 0) (-0.012896 0.782669 0) (-0.0503956 0.8727 0) (-0.100246 0.941172 0) (-0.00459526 -0.0073494 0) (0.0475353 0.103967 0) (0.0666624 0.139623 0) (0.0912672 0.158257 0) (0.108792 0.140597 0) (0.133985 0.119753 0) (0.153114 0.0958869 0) (0.158119 0.0793505 0) (0.139624 0.079891 0) (0.0972191 0.0905469 0) (0.0599264 0.0983414 0) (0.0362713 0.0994682 0) (0.0199475 0.0934818 0) (0.0156885 0.0836912 0) (0.0178423 0.0683692 0) (0.0360282 0.0551418 0) (0.066765 0.0458412 0) (0.0908629 0.0338929 0) (0.110444 0.0282752 0) (0.131794 0.0284298 0) (0.162246 0.029651 0) (0.198296 0.0126728 0) (0.23029 -0.0669402 0) (0.19895 -0.00753422 0) (0.210587 0.235785 0) (0.205373 0.309907 0) (0.139279 0.2447 0) (0.0205049 0.12343 0) (-0.0645693 0.0514785 0) (-0.0677449 0.0884715 0) (-0.116647 0.00196482 0) (-0.115252 0.0782507 0) (-0.0932052 0.00271774 0) (-0.100263 0.0360693 0) (-0.145821 0.148477 0) (-0.144259 0.243745 0) (-0.181196 0.35687 0) (-0.0410212 0.726859 0) (-0.0495735 0.839289 0) (0.044843 0.728304 0) (-0.00998547 -0.0205509 0) (0.0110791 0.0870942 0) (0.0171147 0.123832 0) (0.0392316 0.127266 0) (0.0582201 0.121853 0) (0.066333 0.112386 0) (0.0685187 0.117025 0) (0.0585094 0.134596 0) (0.0482941 0.139174 0) (0.0439141 0.13608 0) (0.0397025 0.122297 0) (0.0418502 0.106061 0) (0.0438755 0.0901575 0) (0.066281 0.0765133 0) (0.0793201 0.0426282 0) (0.149491 -0.0362966 0) (0.184968 -0.0582187 0) (0.243812 -0.0356369 0) (0.307919 -0.0134953 0) (0.315022 -0.0282197 0) (0.272976 -0.053805 0) (0.189953 -0.0287261 0) (0.103477 0.0910312 0) (0.0424981 0.102164 0) (0.0429761 0.255471 0) (0.0605267 0.420726 0) (0.0393068 0.387074 0) (0.026835 0.306287 0) (-0.0821469 0.224319 0) (-0.128882 0.193918 0) (-0.182814 0.134745 0) (-0.24958 0.0190585 0) (-0.279325 -0.018235 0) (-0.290781 -0.0136758 0) (-0.272851 0.0902805 0) (-0.237052 0.214139 0) (-0.199417 0.351073 0) (-0.0992145 0.602547 0) (-0.0493709 0.701841 0) (0.0874639 0.450695 0) (-0.0104564 -0.0058198 0) (0.000935037 0.0669251 0) (0.00565364 0.0948686 0) (0.0292714 0.101371 0) (0.0358105 0.115792 0) (0.0417581 0.116141 0) (0.0345874 0.12532 0) (0.0469113 0.138494 0) (0.0437443 0.135696 0) (0.0668574 0.132587 0) (0.132691 0.112836 0) (0.295608 0.111142 0) (0.352626 0.0578578 0) (0.38317 0.0170941 0) (0.375435 -0.00145715 0) (0.31944 -0.0393894 0) (0.314832 -0.189251 0) (0.356896 -0.206783 0) (0.436458 -0.1436 0) (0.484521 0.111767 0) (0.402628 0.183199 0) (0.204903 0.208818 0) (0.0835104 0.232961 0) (-0.0159147 0.14328 0) (-0.0541585 0.167666 0) (-0.0164801 0.318474 0) (0.015387 0.359955 0) (0.0597489 0.341725 0) (0.0772977 0.343021 0) (0.0354208 0.333668 0) (-0.00174399 0.296528 0) (-0.0556896 0.20988 0) (-0.13966 0.110841 0) (-0.23257 0.0184964 0) (-0.265507 0.00594762 0) (-0.265849 0.0592085 0) (-0.219137 0.200737 0) (-0.11557 0.358991 0) (-0.0434359 0.417362 0) (0.096504 0.217426 0) (-0.00891708 -0.00767393 0) (0.00609868 0.0533016 0) (0.0141977 0.0685673 0) (0.03049 0.0774506 0) (0.0482633 0.107167 0) (0.0694001 0.116231 0) (0.0551242 0.11429 0) (0.0629655 0.135548 0) (0.0278222 0.156056 0) (0.0834568 -0.139011 0) (0.180233 -0.228954 0) (0.224674 -0.201052 0) (0.305529 -0.129878 0) (0.377351 -0.0171846 0) (0.349616 0.069198 0) (0.316823 0.0706767 0) (0.241078 -0.179966 0) (0.209775 -0.230905 0) (0.235372 -0.148362 0) (0.287372 0.19069 0) (0.228587 0.379297 0) (0.110089 0.459954 0) (0.0588109 0.427971 0) (-0.0225859 0.273722 0) (-0.0757904 0.204798 0) (-0.0727669 0.238092 0) (-0.0298676 0.231212 0) (0.0362158 0.230744 0) (0.0897712 0.302554 0) (0.134574 0.328108 0) (0.139455 0.332017 0) (0.125936 0.310565 0) (0.0838398 0.270613 0) (0.013095 0.215613 0) (-0.0736346 0.145159 0) (-0.138459 0.0973174 0) (-0.160406 0.112081 0) (-0.114574 0.195075 0) (-0.0473811 0.235681 0) (0.0369835 0.106552 0) (-0.00645053 -0.00412523 0) (0.013428 0.0309195 0) (0.0271284 0.044233 0) (0.0373378 0.040988 0) (0.079784 0.0349297 0) (0.138304 0.1126 0) (-0.0925129 0.135252 0) (-0.150558 0.202981 0) (-0.0986411 -0.0921939 0) (0.0224959 -0.189408 0) (0.0633253 -0.181811 0) (0.111135 -0.174551 0) (0.0415911 -0.166868 0) (0.0972793 0.0202113 0) (0.118961 0.0955623 0) (0.163009 0.0727573 0) (0.227005 -0.0827872 0) (0.134667 -0.22722 0) (0.156933 -0.141956 0) (0.124631 0.128295 0) (0.0682823 0.454544 0) (0.0240942 0.549731 0) (0.00644349 0.513545 0) (-0.00996614 0.386084 0) (-0.0333593 0.288894 0) (-0.0471134 0.233503 0) (-0.0100816 0.160208 0) (0.0320682 0.12039 0) (0.066765 0.15712 0) (0.123107 0.2591 0) (0.149639 0.312755 0) (0.149814 0.31737 0) (0.139616 0.311408 0) (0.115942 0.296743 0) (0.0792816 0.265074 0) (0.0363054 0.219589 0) (-0.00204065 0.182432 0) (-0.0010453 0.163854 0) (0.0283932 0.145137 0) (0.0591153 0.0725259 0) (0.00319263 -0.0198283 0) (0.0252043 -0.00319035 0) (0.0316096 0.0125738 0) (0.0533314 -0.0287343 0) (0.0842234 -0.108505 0) (0.0211724 0.418336 0) (-0.151826 0.435796 0) (-0.182065 0.272874 0) (-0.115771 -0.172901 0) (-0.142374 -0.284037 0) (-0.106396 -0.284286 0) (-0.0661927 -0.114111 0) (-0.0547969 -0.108631 0) (-0.0421247 -0.0754113 0) (0.0160337 -0.068802 0) (0.0940309 -0.113099 0) (0.173331 -0.160451 0) (0.0987618 -0.158094 0) (0.0263114 -0.00852288 0) (-0.0386928 0.329052 0) (-0.0562058 0.523321 0) (-0.0487836 0.560044 0) (-0.0188729 0.503187 0) (-0.00702622 0.382203 0) (0.000145652 0.299296 0) (0.00592898 0.2139 0) (0.0331313 0.116575 0) (0.0480553 0.0920243 0) (0.0490255 0.116511 0) (0.0669003 0.177009 0) (0.108741 0.261607 0) (0.130171 0.30842 0) (0.129867 0.31821 0) (0.121332 0.314346 0) (0.10691 0.300852 0) (0.0886965 0.269569 0) (0.079405 0.208829 0) (0.0817138 0.173984 0) (0.0829478 0.151311 0) (0.0748552 0.120603 0) (0.021081 -0.0510463 0) (0.0385562 -0.0199756 0) (0.0345651 -0.0267024 0) (0.0575475 -0.0729991 0) (0.0494847 0.114667 0) (-0.0647472 0.65409 0) (-0.18654 0.604905 0) (-0.179054 0.218489 0) (-0.175593 -0.200947 0) (-0.18848 -0.306439 0) (-0.181675 -0.309491 0) (-0.187724 -0.20517 0) (-0.123825 -0.181564 0) (-0.108161 -0.156495 0) (-0.0773264 -0.159321 0) (-0.0758174 -0.169861 0) (-0.0819466 -0.117898 0) (-0.104543 -0.00604171 0) (-0.153043 0.163151 0) (-0.196525 0.363906 0) (-0.138541 0.478327 0) (-0.0919726 0.49953 0) (-0.0348 0.44879 0) (-0.00452922 0.354306 0) (0.0130474 0.281437 0) (0.0361938 0.172337 0) (0.0465087 0.0952081 0) (0.0406986 0.0954654 0) (0.0187658 0.129434 0) (0.00449932 0.175156 0) (0.0119771 0.227679 0) (0.0420919 0.287581 0) (0.0671096 0.321335 0) (0.077558 0.328689 0) (0.0775898 0.317629 0) (0.0723953 0.282077 0) (0.0797844 0.201206 0) (0.0925121 0.169753 0) (0.104114 0.162181 0) (0.083779 0.155011 0) (0.0310973 -0.13029 0) (0.0525991 -0.0449999 0) (0.0472349 -0.032015 0) (0.0684287 -0.0452312 0) (0.0882241 0.148561 0) (-0.0252471 0.749337 0) (-0.121171 0.723697 0) (-0.131964 0.218247 0) (-0.153123 -0.175664 0) (-0.160328 -0.295631 0) (-0.141869 -0.319411 0) (-0.172572 -0.255985 0) (-0.133061 -0.190535 0) (-0.139772 -0.155518 0) (-0.137076 -0.139362 0) (-0.179504 -0.128062 0) (-0.223073 -0.107795 0) (-0.235987 0.0178774 0) (-0.198958 0.179659 0) (-0.198808 0.288658 0) (-0.134999 0.356278 0) (-0.0980481 0.376261 0) (-0.0409447 0.349691 0) (-0.00934549 0.293358 0) (0.0116041 0.23401 0) (0.0196704 0.140053 0) (0.0090964 0.116445 0) (-0.0265961 0.151412 0) (-0.0504378 0.170655 0) (-0.0567393 0.184711 0) (-0.0570478 0.206172 0) (-0.0484534 0.24671 0) (-0.0352046 0.275253 0) (-0.00473756 0.279738 0) (0.0371327 0.289964 0) (0.0662066 0.251231 0) (0.097803 0.152393 0) (0.105134 0.140217 0) (0.109011 0.161866 0) (0.0993119 0.196594 0) (-0.00602101 -0.193913 0) (0.0442649 -0.0356541 0) (0.0419915 -0.0656923 0) (0.170172 -0.114646 0) (0.060073 0.290684 0) (-0.095852 0.864815 0) (-0.09028 0.768536 0) (-0.0930405 0.299613 0) (-0.106918 -0.124979 0) (-0.0952273 -0.297431 0) (-0.0963579 -0.332898 0) (-0.113652 -0.261057 0) (-0.0875131 -0.209428 0) (-0.0947206 -0.14466 0) (-0.118668 -0.0797758 0) (-0.140535 -0.0356109 0) (-0.196285 -0.019595 0) (-0.223334 -0.00594288 0) (-0.208928 0.111414 0) (-0.179432 0.189865 0) (-0.117404 0.241076 0) (-0.0728172 0.273851 0) (-0.0286578 0.265432 0) (-0.0100865 0.268034 0) (-0.0183209 0.227099 0) (-0.0314053 0.159361 0) (-0.050607 0.167457 0) (-0.0622973 0.17808 0) (-0.0565164 0.178713 0) (-0.0544773 0.179784 0) (-0.0474115 0.203016 0) (-0.0353582 0.225739 0) (-0.00308435 0.215901 0) (0.0304099 0.189213 0) (0.0459778 0.206288 0) (0.0632064 0.170433 0) (0.0811525 0.122902 0) (0.0832263 0.134062 0) (0.0663631 0.196356 0) (0.00990368 0.284639 0) (-0.0370408 -0.209493 0) (0.0293463 -0.0754852 0) (0.00176251 -0.271062 0) (-0.0680678 0.134933 0) (-0.17403 0.597057 0) (-0.19716 0.855283 0) (-0.11361 0.745078 0) (-0.118239 0.276333 0) (-0.116862 -0.142648 0) (-0.0727258 -0.307155 0) (-0.0824086 -0.327826 0) (-0.0751107 -0.30504 0) (-0.0692732 -0.222928 0) (-0.0669068 -0.13115 0) (-0.0743633 -0.0668056 0) (-0.0860485 -0.0413796 0) (-0.0882037 0.0224281 0) (-0.112118 0.0607298 0) (-0.124975 0.0892016 0) (-0.110498 0.108332 0) (-0.0717582 0.135138 0) (-0.0309079 0.202656 0) (-0.0131071 0.228731 0) (-0.00412793 0.262487 0) (-0.00475799 0.2504 0) (-0.0124238 0.183907 0) (-0.0334425 0.208955 0) (-0.0429459 0.172653 0) (-0.0299326 0.15921 0) (-0.0271481 0.164726 0) (-0.0233047 0.17563 0) (-0.00756276 0.171786 0) (0.00586164 0.167812 0) (0.014333 0.183706 0) (0.0253752 0.217802 0) (0.0286749 0.174387 0) (0.00349783 0.150257 0) (-0.0300784 0.208437 0) (-0.0562598 0.310731 0) (-0.0811561 0.368539 0) (-0.0531614 -0.172243 0) (-0.0182828 -0.190411 0) (-0.0406631 -0.231015 0) (-0.131683 0.309032 0) (-0.199284 0.640439 0) (-0.186504 0.797228 0) (-0.10987 0.672411 0) (-0.0921926 0.238631 0) (-0.0388718 -0.168706 0) (-0.0283931 -0.345132 0) (-0.0231073 -0.331902 0) (-0.0322401 -0.306204 0) (-0.0551844 -0.221145 0) (-0.0678408 -0.124983 0) (-0.078555 -0.0436447 0) (-0.0884775 -0.0146804 0) (-0.0986399 0.0207869 0) (-0.0846944 0.074356 0) (-0.0801586 0.0986033 0) (-0.0667545 0.0977869 0) (-0.0605781 0.117269 0) (-0.0532656 0.173619 0) (-0.0408404 0.217491 0) (-0.0329126 0.253597 0) (-0.0180986 0.247502 0) (-0.0321436 0.214615 0) (-0.0398344 0.21168 0) (-0.025809 0.149082 0) (-0.029622 0.152953 0) (-0.0361497 0.167242 0) (-0.0500892 0.183723 0) (-0.05675 0.183909 0) (-0.0704695 0.184123 0) (-0.078312 0.200833 0) (-0.0771867 0.213762 0) (-0.0841407 0.191618 0) (-0.105909 0.195996 0) (-0.119663 0.245534 0) (-0.122432 0.313794 0) (-0.117624 0.33879 0) (-0.0548223 -0.0944003 0) (-0.0562693 -0.146671 0) (-0.116642 0.0466449 0) (-0.140885 0.398021 0) (-0.165954 0.613903 0) (-0.12948 0.690042 0) (-0.0499365 0.546949 0) (0.000185826 0.189461 0) (0.016612 -0.183417 0) (0.0197719 -0.32826 0) (-0.00758498 -0.327754 0) (-0.0338145 -0.260078 0) (-0.0689911 -0.166381 0) (-0.0950784 -0.0810132 0) (-0.112527 -0.0335262 0) (-0.113872 0.0116282 0) (-0.105929 0.0234091 0) (-0.0867364 0.0444429 0) (-0.0664569 0.0705428 0) (-0.0573079 0.0805732 0) (-0.0581322 0.119696 0) (-0.0616046 0.165643 0) (-0.055233 0.211126 0) (-0.0486512 0.246242 0) (-0.0448772 0.253026 0) (-0.0532159 0.222269 0) (-0.0462347 0.196441 0) (-0.060253 0.171911 0) (-0.106407 0.203941 0) (-0.132475 0.213555 0) (-0.145708 0.199995 0) (-0.135365 0.187327 0) (-0.138414 0.182329 0) (-0.13908 0.184939 0) (-0.142436 0.194818 0) (-0.14718 0.207119 0) (-0.163281 0.231145 0) (-0.163289 0.248508 0) (-0.142719 0.262329 0) (-0.10562 0.248461 0) (-0.0727172 0.0878433 0) (-0.0715507 -0.140539 0) (-0.138988 0.0766307 0) (-0.0758423 0.393447 0) (-0.073874 0.541452 0) (-0.00600378 0.582345 0) (0.0333618 0.4584 0) (0.0761323 0.148582 0) (0.0626719 -0.170952 0) (0.00987267 -0.289266 0) (-0.052333 -0.26182 0) (-0.0875013 -0.182112 0) (-0.109204 -0.0936218 0) (-0.115267 -0.0268838 0) (-0.113905 -0.01365 0) (-0.101023 -0.00616011 0) (-0.0816974 -0.0149481 0) (-0.0712081 -0.00270798 0) (-0.058205 0.0388753 0) (-0.0657391 0.0846029 0) (-0.0748939 0.136261 0) (-0.0854602 0.180262 0) (-0.0913665 0.206148 0) (-0.0779354 0.221895 0) (-0.063357 0.233931 0) (-0.0655583 0.22915 0) (-0.0986023 0.230781 0) (-0.167653 0.265118 0) (-0.206404 0.25837 0) (-0.201557 0.195595 0) (-0.188068 0.17891 0) (-0.177089 0.177794 0) (-0.174574 0.186204 0) (-0.174161 0.210259 0) (-0.184302 0.234849 0) (-0.199252 0.241557 0) (-0.204074 0.240615 0) (-0.176966 0.227569 0) (-0.120634 0.2058 0) (-0.0477257 0.169332 0) (-0.0438236 0.166569 0) (0.0509111 -0.0461479 0) (-0.119855 -0.102032 0) (0.0203912 0.354485 0) (0.0314435 0.496493 0) (0.0984091 0.508995 0) (0.137536 0.424117 0) (0.176322 0.196838 0) (0.156895 -0.0694261 0) (0.0430841 -0.175416 0) (-0.0298653 -0.167349 0) (-0.0703229 -0.137301 0) (-0.0950469 -0.096798 0) (-0.0907708 -0.0679125 0) (-0.0921747 -0.0552816 0) (-0.0846389 -0.0385686 0) (-0.0764494 -0.0346099 0) (-0.0735649 -0.0179153 0) (-0.0749541 0.0503763 0) (-0.0922015 0.119182 0) (-0.105074 0.154088 0) (-0.100947 0.182676 0) (-0.0943376 0.195967 0) (-0.0895295 0.197044 0) (-0.0939795 0.241082 0) (-0.131661 0.28966 0) (-0.198473 0.352483 0) (-0.236146 0.344744 0) (-0.243777 0.252446 0) (-0.242329 0.191872 0) (-0.258172 0.17506 0) (-0.267912 0.175935 0) (-0.269199 0.191758 0) (-0.261151 0.232683 0) (-0.253764 0.244952 0) (-0.235056 0.238405 0) (-0.211551 0.216006 0) (-0.168509 0.144963 0) (-0.0988109 0.0194336 0) (-0.0383133 -0.0329028 0) (0.0018637 0.108984 0) (0.0842825 0.0767887 0) (0.0403568 0.0955837 0) (0.0174714 0.216005 0) (0.103158 0.347601 0) (0.169282 0.366252 0) (0.195467 0.318253 0) (0.221582 0.189412 0) (0.179801 0.0514285 0) (0.0661524 -0.020232 0) (-0.0160201 -0.0662124 0) (-0.0580265 -0.0694414 0) (-0.0851244 -0.0481367 0) (-0.0930105 -0.038301 0) (-0.106727 -0.0415503 0) (-0.111115 -0.0408275 0) (-0.110403 -0.0289907 0) (-0.107682 0.00224383 0) (-0.104416 0.0771996 0) (-0.111685 0.131529 0) (-0.111354 0.153542 0) (-0.101423 0.166196 0) (-0.0857192 0.182124 0) (-0.0905784 0.217426 0) (-0.121312 0.303008 0) (-0.173078 0.406286 0) (-0.207625 0.421218 0) (-0.23015 0.363566 0) (-0.232576 0.255274 0) (-0.237518 0.21601 0) (-0.265837 0.20449 0) (-0.301546 0.190618 0) (-0.304153 0.157316 0) (-0.285393 0.156572 0) (-0.251619 0.169877 0) (-0.222224 0.153299 0) (-0.19263 0.112492 0) (-0.146474 0.0149997 0) (-0.11186 -0.0763746 0) (-0.0911834 -0.0996433 0) (-0.00313677 0.000523818 0) (0.0848227 -0.0327368 0) (0.243975 -0.00553099 0) (0.258593 0.115133 0) (0.195024 0.289708 0) (0.189502 0.321276 0) (0.192978 0.301257 0) (0.204557 0.219796 0) (0.17036 0.159455 0) (0.105783 0.128467 0) (0.0190651 0.0425198 0) (-0.0412402 -0.0280614 0) (-0.0753541 -0.0480051 0) (-0.0886193 -0.0438056 0) (-0.0868468 -0.0277611 0) (-0.0859378 -0.0266884 0) (-0.0871977 -0.0324797 0) (-0.0908368 -0.0159752 0) (-0.0954807 0.0668297 0) (-0.110079 0.138999 0) (-0.117957 0.148765 0) (-0.114083 0.135311 0) (-0.0932354 0.16591 0) (-0.0859834 0.269804 0) (-0.120025 0.382885 0) (-0.146561 0.453371 0) (-0.15728 0.459175 0) (-0.183225 0.38232 0) (-0.187491 0.281967 0) (-0.190187 0.26431 0) (-0.215314 0.267235 0) (-0.232335 0.243487 0) (-0.228761 0.170348 0) (-0.223659 0.141282 0) (-0.204371 0.133516 0) (-0.172519 0.115393 0) (-0.141198 0.0800142 0) (-0.114407 0.00211354 0) (-0.102996 -0.0881806 0) (-0.0938616 -0.122475 0) (-0.00191008 -0.0790168 0) (-0.0623863 -0.404357 0) (-0.0120588 -0.044729 0) (-0.0578859 0.230507 0) (0.00346188 0.330446 0) (0.0921211 0.326965 0) (0.128706 0.296255 0) (0.153732 0.249083 0) (0.142888 0.226327 0) (0.120768 0.217016 0) (0.0943463 0.183496 0) (0.0546199 0.106384 0) (0.0245768 0.0434888 0) (-0.00357513 -0.00155652 0) (-0.0164625 -0.042232 0) (-0.0245702 -0.055488 0) (-0.0308513 -0.0294747 0) (-0.0361607 0.0139332 0) (-0.0470596 0.0766026 0) (-0.0633975 0.167643 0) (-0.0918178 0.162375 0) (-0.0996257 0.117939 0) (-0.0966984 0.133585 0) (-0.077667 0.276293 0) (-0.0724349 0.406606 0) (-0.0817427 0.464313 0) (-0.074657 0.472948 0) (-0.0819951 0.417177 0) (-0.101881 0.313161 0) (-0.118865 0.277189 0) (-0.123075 0.272406 0) (-0.117063 0.240169 0) (-0.113568 0.17709 0) (-0.116047 0.130464 0) (-0.113208 0.0975876 0) (-0.0985017 0.0640653 0) (-0.0778426 0.0255544 0) (-0.0552441 -0.02869 0) (-0.0440269 -0.0880977 0) (-0.0211365 -0.158243 0) (-0.0446097 0.0737675 0) (-0.214049 -0.0465724 0) (-0.240959 0.00270782 0) (-0.281805 0.109652 0) (-0.167157 0.0661035 0) (-0.0769295 0.215142 0) (0.00802517 0.20792 0) (0.059989 0.223723 0) (0.0855163 0.223154 0) (0.0987134 0.21904 0) (0.0982235 0.194365 0) (0.102743 0.125252 0) (0.112273 0.0547233 0) (0.113414 0.0177002 0) (0.106451 0.00700553 0) (0.094863 0.00956429 0) (0.0639121 0.0104308 0) (0.0290563 0.0293925 0) (0.00972608 0.0793379 0) (0.00752753 0.196206 0) (-0.00261829 0.254666 0) (-0.0541701 0.158952 0) (-0.0818345 0.133853 0) (-0.0789929 0.232414 0) (-0.0526706 0.389052 0) (-0.0306788 0.449697 0) (-0.00890745 0.465556 0) (0.00230198 0.438953 0) (-0.0083996 0.369328 0) (-0.0269212 0.309819 0) (-0.035898 0.257694 0) (-0.0400212 0.211557 0) (-0.0467009 0.170405 0) (-0.0543345 0.13196 0) (-0.05828 0.091395 0) (-0.0556107 0.0447533 0) (-0.0472357 -0.00949195 0) (-0.0349914 -0.0709438 0) (-0.0217953 -0.136095 0) (-0.00622835 -0.199255 0) (-0.0274907 0.286495 0) (-0.126551 0.0831131 0) (-0.163613 0.0627379 0) (-0.166803 -0.0265242 0) (-0.123696 -0.06458 0) (-0.057891 0.00879991 0) (0.00681376 0.0423411 0) (0.0619301 0.130238 0) (0.090439 0.195155 0) (0.099746 0.200571 0) (0.110613 0.176219 0) (0.144988 0.0966579 0) (0.172817 0.0314876 0) (0.187191 0.0108118 0) (0.188536 0.0114044 0) (0.189009 0.019778 0) (0.186334 0.0531972 0) (0.156224 0.101083 0) (0.115693 0.131717 0) (0.0874827 0.182692 0) (0.0908843 0.264832 0) (0.0723243 0.255148 0) (0.0227928 0.213508 0) (-0.0303221 0.213664 0) (-0.0228087 0.321739 0) (0.000108944 0.383237 0) (0.0242177 0.404293 0) (0.0457915 0.400246 0) (0.0527252 0.368537 0) (0.0498583 0.32311 0) (0.0419861 0.283005 0) (0.0316752 0.248525 0) (0.0214195 0.203694 0) (0.0115472 0.150347 0) (0.00313323 0.0966674 0) (-0.00315457 0.0412203 0) (-0.00559727 -0.0199933 0) (-0.00750045 -0.0840625 0) (-0.00375845 -0.155963 0) (-0.00171417 -0.224102 0) (0.0385661 0.304899 0) (0.0528387 0.187088 0) (0.0235897 0.160876 0) (-0.000274076 0.0327624 0) (0.00655426 -0.0827763 0) (-0.00373011 -0.0678941 0) (0.00175745 -0.00502532 0) (0.00367682 0.0739388 0) (0.0315957 0.147607 0) (0.0651749 0.149331 0) (0.0915343 0.108517 0) (0.12782 0.0127288 0) (0.159959 -0.0269615 0) (0.177219 -0.0199398 0) (0.186764 0.000347732 0) (0.193307 0.00998599 0) (0.207165 0.0484263 0) (0.220049 0.141507 0) (0.207139 0.195029 0) (0.182463 0.220524 0) (0.161901 0.255844 0) (0.159267 0.281039 0) (0.139296 0.294577 0) (0.104413 0.283994 0) (0.0649612 0.314359 0) (0.0717918 0.361137 0) (0.0768819 0.381949 0) (0.0870211 0.376458 0) (0.095248 0.35636 0) (0.0983906 0.316802 0) (0.0947447 0.277022 0) (0.0879659 0.238847 0) (0.0803181 0.205572 0) (0.0732792 0.171008 0) (0.066761 0.125953 0) (0.0591807 0.0693644 0) (0.0519063 0.00394667 0) (0.0438509 -0.0643401 0) (0.0366887 -0.142924 0) (0.0289951 -0.225789 0) (0.0293831 0.174634 0) (0.0904726 0.166066 0) (0.112539 0.138428 0) (0.108617 0.0544845 0) (0.0802826 -0.0555288 0) (0.0460004 -0.0146625 0) (0.0273078 0.0394323 0) (0.0263662 0.0659556 0) (0.0467182 0.0871302 0) (0.0733394 0.090765 0) (0.110692 0.0438846 0) (0.147735 -0.0265161 0) (0.158734 -0.037234 0) (0.163149 -0.0301402 0) (0.176808 -0.0176278 0) (0.189027 -0.0121897 0) (0.198009 0.0176717 0) (0.22251 0.110337 0) (0.24326 0.219732 0) (0.233948 0.270464 0) (0.215248 0.290011 0) (0.204115 0.307801 0) (0.195112 0.329995 0) (0.185617 0.33992 0) (0.169513 0.349581 0) (0.172461 0.355954 0) (0.185009 0.370605 0) (0.192795 0.377565 0) (0.193094 0.369995 0) (0.188754 0.349491 0) (0.178679 0.314655 0) (0.161339 0.272401 0) (0.142484 0.219378 0) (0.131126 0.168756 0) (0.117716 0.117776 0) (0.101563 0.065527 0) (0.0904969 0.00732157 0) (0.0819113 -0.0568339 0) (0.0686676 -0.130803 0) (0.0593693 -0.215455 0) (0.0120204 0.0444161 0) (0.0614575 0.0919863 0) (0.0924791 0.0884835 0) (0.115429 0.0655212 0) (0.113081 0.0316044 0) (0.0827279 0.0189618 0) (0.0720186 0.0305012 0) (0.0793828 0.0448722 0) (0.108448 0.0643089 0) (0.135447 0.0618381 0) (0.174651 -0.0255999 0) (0.195601 -0.0611695 0) (0.204999 -0.0639212 0) (0.211197 -0.0517616 0) (0.215052 -0.0349635 0) (0.215036 -0.0262511 0) (0.215788 -0.0100102 0) (0.224407 0.0475346 0) (0.251412 0.193115 0) (0.256947 0.284786 0) (0.237238 0.31651 0) (0.21374 0.332591 0) (0.200269 0.35008 0) (0.189596 0.356564 0) (0.189463 0.351251 0) (0.197656 0.349724 0) (0.213467 0.355854 0) (0.246581 0.355492 0) (0.275976 0.359178 0) (0.29807 0.356462 0) (0.304978 0.340982 0) (0.300033 0.321278 0) (0.285425 0.287621 0) (0.255008 0.242738 0) (0.217819 0.177698 0) (0.184713 0.104729 0) (0.15431 0.0355601 0) (0.126966 -0.0329298 0) (0.103483 -0.101032 0) (0.0796735 -0.187953 0) (0.00821643 0.0156214 0) (0.0467814 0.0125928 0) (0.0936349 0.0305402 0) (0.12748 0.0492425 0) (0.139411 0.0533066 0) (0.136808 0.0526204 0) (0.137836 0.0279035 0) (0.153842 -0.0117359 0) (0.172305 -0.0158662 0) (0.211168 -0.022266 0) (0.236893 -0.0555243 0) (0.237503 -0.0638148 0) (0.238493 -0.0619755 0) (0.24452 -0.0519734 0) (0.252115 -0.0283778 0) (0.248686 -0.014036 0) (0.242348 0.00212241 0) (0.239998 0.0378631 0) (0.249502 0.146182 0) (0.25684 0.303039 0) (0.227996 0.354055 0) (0.193297 0.365129 0) (0.168298 0.369881 0) (0.156243 0.355645 0) (0.164259 0.329235 0) (0.184374 0.313181 0) (0.220491 0.275191 0) (0.250605 0.269546 0) (0.299952 0.285232 0) (0.342198 0.302541 0) (0.365332 0.309244 0) (0.376967 0.306696 0) (0.377622 0.298988 0) (0.369311 0.285035 0) (0.34868 0.257884 0) (0.307962 0.207008 0) (0.258009 0.130339 0) (0.20943 0.0461139 0) (0.166608 -0.0374393 0) (0.119318 -0.129305 0) (0.00603132 -0.0443644 0) (0.0335096 -0.0731377 0) (0.0495917 -0.0602272 0) (0.0778736 -0.0194385 0) (0.106921 0.0130569 0) (0.128821 0.0200311 0) (0.142352 0.00348589 0) (0.137852 -0.0166043 0) (0.121961 -0.0270537 0) (0.115476 -0.0507187 0) (0.119621 -0.0617325 0) (0.131023 -0.0826383 0) (0.159916 -0.0986112 0) (0.184313 -0.0809963 0) (0.190685 -0.0477991 0) (0.188289 -0.0230733 0) (0.193184 -0.00449386 0) (0.20427 0.0301363 0) (0.216272 0.138988 0) (0.215849 0.307972 0) (0.196061 0.405322 0) (0.173108 0.428753 0) (0.154429 0.417968 0) (0.147538 0.351077 0) (0.157162 0.272114 0) (0.166457 0.253501 0) (0.202548 0.217529 0) (0.222248 0.19433 0) (0.254131 0.18512 0) (0.285148 0.220962 0) (0.339316 0.262963 0) (0.371216 0.285547 0) (0.382185 0.297115 0) (0.37999 0.296735 0) (0.37246 0.288078 0) (0.352003 0.265607 0) (0.312481 0.213555 0) (0.25417 0.134742 0) (0.206335 0.0553841 0) (0.146717 -0.0234074 0) (0.00135046 -0.0488742 0) (-0.0052692 -0.0773921 0) (-0.00911503 -0.0587326 0) (-0.00901432 -0.0443281 0) (0.000381272 -0.0267668 0) (0.0181989 -0.00456457 0) (0.0334006 0.00972179 0) (0.0484864 0.0160608 0) (0.0631622 0.00271825 0) (0.0821499 -0.0437944 0) (0.109923 -0.0952394 0) (0.114753 -0.114566 0) (0.110036 -0.118349 0) (0.112212 -0.0820991 0) (0.110608 -0.0291819 0) (0.106953 -0.0117294 0) (0.111528 -0.0111133 0) (0.126647 0.0219252 0) (0.149127 0.149863 0) (0.157267 0.328725 0) (0.163318 0.413117 0) (0.180627 0.436891 0) (0.183541 0.433125 0) (0.183507 0.376831 0) (0.182734 0.288646 0) (0.200059 0.223032 0) (0.216855 0.186639 0) (0.230389 0.1646 0) (0.244561 0.157922 0) (0.253204 0.16864 0) (0.274956 0.17684 0) (0.307261 0.211721 0) (0.347806 0.266875 0) (0.360548 0.299733 0) (0.356059 0.306198 0) (0.343596 0.30176 0) (0.314408 0.285513 0) (0.268443 0.232016 0) (0.219951 0.150438 0) (0.162361 0.0713941 0) (-0.00427325 -0.0351916 0) (-0.0248466 -0.047802 0) (-0.0389182 -0.0348644 0) (-0.0475922 -0.0283832 0) (-0.0505596 -0.0289965 0) (-0.0408288 -0.0377776 0) (-0.0212233 -0.0478193 0) (0.000492606 -0.0477962 0) (0.025518 -0.0863905 0) (0.0539683 -0.123454 0) (0.077736 -0.123567 0) (0.0882709 -0.107084 0) (0.0854237 -0.10153 0) (0.0734329 -0.0721174 0) (0.0668136 -0.0451372 0) (0.0703194 -0.035052 0) (0.0701738 -0.0470042 0) (0.0702528 -0.0145732 0) (0.0861687 0.135586 0) (0.11442 0.300826 0) (0.149958 0.386413 0) (0.181453 0.416452 0) (0.211392 0.412746 0) (0.236779 0.36731 0) (0.269276 0.286741 0) (0.284433 0.207357 0) (0.287069 0.176037 0) (0.282478 0.162028 0) (0.267866 0.161922 0) (0.257649 0.165261 0) (0.25878 0.164815 0) (0.263245 0.171516 0) (0.277608 0.203941 0) (0.303535 0.270877 0) (0.309609 0.321016 0) (0.299239 0.333828 0) (0.285719 0.326879 0) (0.253968 0.295432 0) (0.204365 0.231319 0) (0.148898 0.15883 0) (-0.00672887 -0.000274559 0) (-0.025283 -0.0195332 0) (-0.0415183 -0.0219562 0) (-0.0486922 -0.0220522 0) (-0.0516757 -0.0339565 0) (-0.0419401 -0.0639138 0) (-0.0253196 -0.0789752 0) (-0.00437825 -0.0825392 0) (0.0157057 -0.120431 0) (0.0323462 -0.147299 0) (0.0249348 -0.136662 0) (0.0227563 -0.119457 0) (0.0341049 -0.102498 0) (0.0487387 -0.0602818 0) (0.0548237 -0.0404007 0) (0.0578133 -0.0239786 0) (0.058191 -0.0188337 0) (0.0534807 -0.00225002 0) (0.0639372 0.0691893 0) (0.100236 0.201941 0) (0.144559 0.298464 0) (0.186353 0.343454 0) (0.231642 0.342281 0) (0.282918 0.286562 0) (0.317346 0.225533 0) (0.32262 0.192847 0) (0.314106 0.183171 0) (0.298514 0.18938 0) (0.278637 0.196005 0) (0.256554 0.180175 0) (0.241843 0.172978 0) (0.235878 0.179415 0) (0.235543 0.197291 0) (0.247418 0.240441 0) (0.261371 0.316944 0) (0.259667 0.3575 0) (0.234909 0.370165 0) (0.196854 0.35575 0) (0.162734 0.308604 0) (0.113429 0.246522 0) (-0.00104748 0.0171802 0) (-0.00854094 0.0068225 0) (-0.0215676 0.00304018 0) (-0.0302371 -0.0112586 0) (-0.0329781 -0.0421988 0) (-0.0252323 -0.0907412 0) (-0.0146066 -0.109908 0) (-0.00132994 -0.112897 0) (0.00738056 -0.130815 0) (-0.00922875 -0.128548 0) (-0.0257176 -0.114458 0) (-0.0257031 -0.123219 0) (-0.0186434 -0.130497 0) (-0.000850279 -0.0923637 0) (0.0133113 -0.0645761 0) (0.0262104 -0.0515494 0) (0.0401037 -0.0363689 0) (0.0504045 -0.013947 0) (0.0616084 0.0340663 0) (0.0936222 0.117605 0) (0.136108 0.190527 0) (0.184147 0.223585 0) (0.236101 0.214984 0) (0.279417 0.189396 0) (0.30451 0.187129 0) (0.304102 0.189319 0) (0.291476 0.197801 0) (0.266912 0.219333 0) (0.240239 0.234407 0) (0.201924 0.236326 0) (0.181452 0.198729 0) (0.182008 0.189427 0) (0.184101 0.19421 0) (0.193816 0.221682 0) (0.202259 0.30746 0) (0.196154 0.399353 0) (0.168205 0.425069 0) (0.145501 0.410312 0) (0.116897 0.372106 0) (0.0680476 0.316535 0) (0.00206482 0.0187357 0) (0.000921703 0.0169632 0) (-0.00194756 0.0156199 0) (-0.00545048 0.00145448 0) (-0.00825621 -0.0326899 0) (-0.00235513 -0.0953897 0) (0.000539617 -0.1167 0) (-0.002903 -0.115061 0) (-0.0171601 -0.110573 0) (-0.0337278 -0.100141 0) (-0.0421094 -0.107326 0) (-0.0475845 -0.13605 0) (-0.0452768 -0.1454 0) (-0.0361274 -0.114712 0) (-0.0258794 -0.0882347 0) (-0.0167723 -0.0805081 0) (-0.00127571 -0.068774 0) (0.0143435 -0.040939 0) (0.030776 0.00453459 0) (0.0599193 0.0633896 0) (0.0937971 0.108308 0) (0.137318 0.144844 0) (0.173516 0.164426 0) (0.186951 0.17878 0) (0.190012 0.202241 0) (0.176289 0.236113 0) (0.158246 0.259336 0) (0.135058 0.281195 0) (0.116118 0.285358 0) (0.113719 0.255599 0) (0.131676 0.184012 0) (0.143094 0.172902 0) (0.148416 0.17821 0) (0.155637 0.207995 0) (0.155795 0.306942 0) (0.141269 0.417884 0) (0.117413 0.455375 0) (0.0973893 0.448631 0) (0.0654752 0.427146 0) (0.0478776 0.341228 0) (0.00260185 0.0132539 0) (0.00601874 0.0144217 0) (0.00921679 0.0138379 0) (0.0097866 -0.00102419 0) (0.0151836 -0.0443624 0) (0.0312682 -0.109532 0) (0.0290214 -0.105768 0) (0.0112818 -0.0862397 0) (-0.0101281 -0.0761038 0) (-0.0273944 -0.0715746 0) (-0.0523881 -0.0823187 0) (-0.0678457 -0.131756 0) (-0.072268 -0.144301 0) (-0.0727115 -0.121453 0) (-0.0645533 -0.098772 0) (-0.0603302 -0.0961179 0) (-0.0568906 -0.0934042 0) (-0.0482704 -0.0695257 0) (-0.0337487 -0.0318715 0) (-0.0116965 0.00797443 0) (0.0175998 0.0463209 0) (0.0401583 0.113446 0) (0.0542892 0.151234 0) (0.0583611 0.185696 0) (0.0612755 0.210543 0) (0.0705422 0.238444 0) (0.0734733 0.282421 0) (0.0703655 0.290457 0) (0.087244 0.280961 0) (0.121192 0.218718 0) (0.140789 0.165532 0) (0.143956 0.159859 0) (0.140977 0.173714 0) (0.131616 0.224241 0) (0.105757 0.342888 0) (0.0678458 0.465539 0) (0.0458553 0.503113 0) (0.0293016 0.497512 0) (0.0139739 0.443369 0) (0.0393337 0.315367 0) (0.00288179 0.00314897 0) (0.00994793 0.00420071 0) (0.0177081 0.0064085 0) (0.0221658 -0.00735073 0) (0.0353009 -0.0654401 0) (0.037844 -0.111897 0) (0.0320694 -0.0876367 0) (0.0144912 -0.0536501 0) (-0.00403356 -0.0466386 0) (-0.0209537 -0.0372499 0) (-0.0277791 -0.0398179 0) (-0.0515989 -0.0991439 0) (-0.0729686 -0.127922 0) (-0.0846189 -0.123835 0) (-0.0890603 -0.0987937 0) (-0.0924601 -0.0927724 0) (-0.107294 -0.0920262 0) (-0.122698 -0.0686908 0) (-0.118971 -0.0443405 0) (-0.113015 -0.019876 0) (-0.102678 0.0195067 0) (-0.0652333 0.0873308 0) (-0.0300194 0.116382 0) (-0.00909097 0.144069 0) (0.0124663 0.175307 0) (0.0204521 0.231875 0) (0.0336674 0.269955 0) (0.0620608 0.257409 0) (0.108412 0.195928 0) (0.138411 0.156559 0) (0.143316 0.150052 0) (0.130957 0.162619 0) (0.103695 0.206003 0) (0.0532088 0.305166 0) (-0.00779805 0.449534 0) (-0.0329499 0.525357 0) (-0.0364723 0.534334 0) (-0.0358489 0.496824 0) (-0.00226798 0.421178 0) (0.0325471 0.268133 0) (0.00183627 -0.00850364 0) (0.00927052 -0.0114599 0) (0.0183926 -0.0106683 0) (0.0266671 -0.0258117 0) (0.0350151 -0.0812137 0) (0.0282635 -0.100746 0) (0.0121693 -0.063398 0) (-0.00459358 -0.0263194 0) (-0.0125667 -0.0178386 0) (-0.0218627 -0.0206594 0) (-0.0243677 -0.026869 0) (-0.0345304 -0.0550769 0) (-0.0543366 -0.0831421 0) (-0.0801242 -0.0940043 0) (-0.0992023 -0.0832525 0) (-0.108173 -0.0549977 0) (-0.136049 -0.0450916 0) (-0.167933 -0.0494797 0) (-0.18292 -0.0433527 0) (-0.189438 -0.0327677 0) (-0.18328 -0.0226119 0) (-0.155067 0.00881775 0) (-0.123127 0.0524184 0) (-0.0928273 0.116558 0) (-0.0670152 0.167566 0) (-0.0535424 0.193444 0) (-0.00288731 0.182397 0) (0.0386597 0.143894 0) (0.065648 0.137265 0) (0.0690748 0.157205 0) (0.0472971 0.186866 0) (0.0102183 0.232508 0) (-0.0360652 0.314846 0) (-0.0932702 0.422276 0) (-0.111038 0.492717 0) (-0.106004 0.515015 0) (-0.0852282 0.504099 0) (-0.0520025 0.447743 0) (0.00721955 0.314965 0) (0.0362396 0.255269 0) (-0.000644339 -0.0144481 0) (0.00550372 -0.0283996 0) (0.0122399 -0.0205131 0) (0.0140139 -0.0334056 0) (0.00490972 -0.0753461 0) (-0.0219202 -0.0623539 0) (-0.0334881 -0.0259998 0) (-0.0388456 -0.0130154 0) (-0.0399158 -0.0116298 0) (-0.0407023 -0.0176329 0) (-0.0385265 -0.0274542 0) (-0.0395799 -0.0404411 0) (-0.0476995 -0.0529531 0) (-0.0613755 -0.0551294 0) (-0.0791252 -0.0529506 0) (-0.0987518 -0.0264266 0) (-0.112932 0.00726866 0) (-0.13304 0.0104808 0) (-0.15963 -0.0178356 0) (-0.18527 -0.0269268 0) (-0.196274 -0.0270237 0) (-0.19578 -0.0349835 0) (-0.183017 -0.00851325 0) (-0.152931 0.0641747 0) (-0.127678 0.110386 0) (-0.0995412 0.122153 0) (-0.077456 0.113308 0) (-0.0677585 0.130237 0) (-0.0795867 0.158003 0) (-0.0975501 0.202401 0) (-0.115679 0.251289 0) (-0.136547 0.3106 0) (-0.151595 0.37631 0) (-0.152743 0.435777 0) (-0.139517 0.47094 0) (-0.109896 0.477104 0) (-0.0710871 0.434351 0) (-0.0222037 0.341003 0) (0.00215437 0.252814 0) (0.0144246 0.24194 0) (0.000514227 -0.0170335 0) (0.000520429 -0.0367515 0) (0.00122395 -0.0217725 0) (-0.000726871 -0.0218679 0) (-0.014106 -0.034005 0) (-0.0332562 -0.0344381 0) (-0.0450928 -0.0207323 0) (-0.0489802 -0.0138879 0) (-0.0529983 -0.0135375 0) (-0.0556951 -0.0190433 0) (-0.0574536 -0.028842 0) (-0.0609345 -0.0373798 0) (-0.0664514 -0.0384477 0) (-0.0733213 -0.0323313 0) (-0.0809719 -0.0223237 0) (-0.0880563 -0.00822949 0) (-0.0876223 0.0152051 0) (-0.0841526 0.0320778 0) (-0.0880734 0.0317404 0) (-0.102108 0.0268001 0) (-0.119409 0.00720761 0) (-0.14803 -0.0213859 0) (-0.171111 -0.0110722 0) (-0.168849 0.0239592 0) (-0.156122 0.0829448 0) (-0.151067 0.0977385 0) (-0.14735 0.105518 0) (-0.143753 0.146002 0) (-0.144497 0.185132 0) (-0.151509 0.217136 0) (-0.156235 0.266506 0) (-0.159379 0.320712 0) (-0.153172 0.369518 0) (-0.138993 0.408323 0) (-0.103489 0.409867 0) (-0.0600089 0.380423 0) (-0.0255814 0.358775 0) (-0.00403813 0.305885 0) (-0.00272961 0.2468 0) (-0.00460591 0.21845 0) (0.000980947 -0.0183421 0) (-0.00419146 -0.0317966 0) (-0.0040625 -0.0141813 0) (-0.00818966 -0.00242551 0) (-0.0243911 -0.0118325 0) (-0.0446311 -0.00265116 0) (-0.0574355 0.000476777 0) (-0.0642121 -0.00071861 0) (-0.071134 -0.00340362 0) (-0.0772068 -0.0109371 0) (-0.0828733 -0.0196309 0) (-0.0906187 -0.027901 0) (-0.0965031 -0.0306347 0) (-0.10088 -0.02753 0) (-0.102706 -0.0185827 0) (-0.102647 -0.00657167 0) (-0.0994651 0.00337034 0) (-0.0906248 0.0142664 0) (-0.0757213 0.020523 0) (-0.063064 0.0250089 0) (-0.0634492 0.0354986 0) (-0.0813051 0.0527291 0) (-0.114928 0.035255 0) (-0.132429 0.030107 0) (-0.151515 0.0806516 0) (-0.152135 0.0952121 0) (-0.152744 0.100965 0) (-0.146545 0.13591 0) (-0.143314 0.181748 0) (-0.14704 0.220339 0) (-0.145334 0.260986 0) (-0.137135 0.297234 0) (-0.111694 0.312648 0) (-0.07622 0.33244 0) (-0.0480096 0.340495 0) (-0.0293075 0.334043 0) (-0.0174365 0.335781 0) (-0.0126295 0.30177 0) (-0.0179688 0.251962 0) (-0.013925 0.21608 0) (-0.00788175 -0.00731427 0) (-0.0204879 -0.0224719 0) (-0.017306 -0.0189657 0) (-0.0128658 0.0139066 0) (-0.0291293 0.0219778 0) (-0.0506782 0.0249441 0) (-0.0612749 0.0139432 0) (-0.0691795 0.0112003 0) (-0.0798805 0.0103395 0) (-0.0877631 0.00238225 0) (-0.0969438 -0.00632055 0) (-0.10607 -0.0140705 0) (-0.113411 -0.0200233 0) (-0.118501 -0.0211276 0) (-0.121116 -0.0192357 0) (-0.120265 -0.0128156 0) (-0.116267 -0.00745248 0) (-0.109795 -0.00850583 0) (-0.104022 -0.0115189 0) (-0.097062 0.00437821 0) (-0.0936913 0.0502306 0) (-0.0964042 0.0725535 0) (-0.106674 0.0748915 0) (-0.121203 0.0776574 0) (-0.131875 0.094951 0) (-0.135289 0.0969999 0) (-0.137605 0.09875 0) (-0.136933 0.124687 0) (-0.133493 0.180801 0) (-0.131208 0.218475 0) (-0.12348 0.242968 0) (-0.107697 0.258616 0) (-0.0864593 0.262565 0) (-0.0653356 0.294097 0) (-0.0476535 0.320997 0) (-0.0337017 0.323157 0) (-0.0265311 0.324943 0) (-0.0172081 0.299799 0) (-0.0174376 0.252908 0) (-0.00171693 0.217855 0) (-0.0108808 0.0315646 0) (-0.0270997 -0.0145894 0) (-0.0270601 -0.0326577 0) (-0.0252175 0.0243247 0) (-0.0299394 0.0496617 0) (-0.0454555 0.0492288 0) (-0.0546994 0.0359199 0) (-0.0642976 0.0324334 0) (-0.0749598 0.0280067 0) (-0.0838839 0.0200245 0) (-0.0962768 0.0136113 0) (-0.110679 0.00267883 0) (-0.120934 -0.0096483 0) (-0.127697 -0.0125553 0) (-0.128655 -0.0151327 0) (-0.127014 -0.0161085 0) (-0.119955 -0.012737 0) (-0.116253 -0.0121191 0) (-0.117468 -0.0108761 0) (-0.122386 0.00486912 0) (-0.119864 0.0455588 0) (-0.114783 0.0716514 0) (-0.113732 0.0820765 0) (-0.116851 0.09181 0) (-0.120289 0.104955 0) (-0.12366 0.107892 0) (-0.133224 0.107405 0) (-0.141649 0.127263 0) (-0.140345 0.175513 0) (-0.133914 0.206749 0) (-0.119292 0.219412 0) (-0.101614 0.229163 0) (-0.0866493 0.238761 0) (-0.0715333 0.264449 0) (-0.0541916 0.292836 0) (-0.0389039 0.305367 0) (-0.0255638 0.308892 0) (-0.0101796 0.290252 0) (-0.00893219 0.242186 0) (0.00221776 0.213515 0) (0.0044729 0.0457205 0) (0.00771256 0.010855 0) (-0.00677669 -0.019554 0) (-0.0191212 0.0234379 0) (-0.0179471 0.065112 0) (-0.0292035 0.0716369 0) (-0.0401265 0.0507494 0) (-0.0420936 0.043048 0) (-0.0452825 0.0419756 0) (-0.0552513 0.041544 0) (-0.0698578 0.0343128 0) (-0.086335 0.028382 0) (-0.0989979 0.0101277 0) (-0.113316 -0.00542196 0) (-0.119049 -0.0233101 0) (-0.122929 -0.0280817 0) (-0.123206 -0.0284862 0) (-0.121466 -0.0195787 0) (-0.119104 -0.00350089 0) (-0.118923 0.0124819 0) (-0.116857 0.0390991 0) (-0.112015 0.0640349 0) (-0.110269 0.0811135 0) (-0.111574 0.0958075 0) (-0.114323 0.110276 0) (-0.118177 0.121028 0) (-0.125558 0.127805 0) (-0.133029 0.138355 0) (-0.131455 0.164934 0) (-0.119207 0.182235 0) (-0.103008 0.187433 0) (-0.0903838 0.199498 0) (-0.0781552 0.2144 0) (-0.0648941 0.23369 0) (-0.0484708 0.254415 0) (-0.0317582 0.268351 0) (-0.0157392 0.272596 0) (0.00301008 0.261177 0) (0.00465745 0.233078 0) (0.013505 0.21727 0) (0.00526168 0.0214447 0) (0.0104641 0.013151 0) (-0.00223041 0.0119728 0) (-0.0132343 0.0319477 0) (-0.00772717 0.0633673 0) (0.00110695 0.081545 0) (1.0654e-05 0.0679841 0) (-0.00443195 0.0510012 0) (-0.0041037 0.0455672 0) (-0.00083312 0.0628245 0) (-0.00846137 0.0700736 0) (-0.0195123 0.0542229 0) (-0.0226747 0.034696 0) (-0.0319666 0.0195098 0) (-0.0368381 0.00417132 0) (-0.0499487 -0.00682366 0) (-0.0616731 -0.00959503 0) (-0.0731393 -0.0206646 0) (-0.0858809 -0.0114821 0) (-0.0925572 0.007725 0) (-0.0958357 0.0337716 0) (-0.0945749 0.0603967 0) (-0.0932862 0.0819188 0) (-0.094183 0.0983804 0) (-0.0958332 0.112671 0) (-0.0974038 0.124362 0) (-0.0981861 0.133116 0) (-0.0989918 0.140074 0) (-0.0958982 0.150222 0) (-0.0860381 0.158389 0) (-0.0768007 0.16625 0) (-0.0682901 0.178992 0) (-0.0591478 0.194547 0) (-0.0492616 0.211453 0) (-0.0375878 0.228325 0) (-0.0241349 0.24071 0) (-0.0105156 0.245838 0) (0.0060249 0.242886 0) (0.0117199 0.227091 0) (0.0193678 0.214393 0) (0.000867871 0.0119094 0) (0.00308372 0.0210288 0) (0.000161061 0.025228 0) (-0.000772278 0.033535 0) (0.00576216 0.0464474 0) (0.017639 0.0619867 0) (0.0297379 0.0610585 0) (0.0364273 0.0492183 0) (0.0411641 0.0428215 0) (0.0430086 0.0507605 0) (0.0528519 0.0677862 0) (0.0568337 0.0594626 0) (0.0577592 0.0468439 0) (0.0522281 0.0303066 0) (0.0480132 0.0217172 0) (0.0384506 0.00963226 0) (0.0315141 0.0116714 0) (0.0250318 0.012575 0) (0.0034625 0.0313752 0) (-0.0211216 0.0341559 0) (-0.041995 0.0427411 0) (-0.0545752 0.05639 0) (-0.0594077 0.0775254 0) (-0.060223 0.0976225 0) (-0.0615746 0.112823 0) (-0.0623873 0.123786 0) (-0.0625187 0.131634 0) (-0.0620761 0.137227 0) (-0.0606679 0.142451 0) (-0.0574162 0.148228 0) (-0.0536635 0.155889 0) (-0.0493494 0.167409 0) (-0.0436162 0.181789 0) (-0.0370724 0.197577 0) (-0.0301446 0.212556 0) (-0.0222208 0.222323 0) (-0.012887 0.225535 0) (-0.0011302 0.224545 0) (0.00674669 0.219731 0) (0.010795 0.205593 0) (0.000183692 0.0106662 0) (0.00343288 0.0184141 0) (0.00736967 0.0204252 0) (0.0126786 0.0216678 0) (0.0185588 0.0260355 0) (0.0249628 0.0318104 0) (0.0320341 0.0326978 0) (0.0378893 0.0313472 0) (0.0453306 0.0263064 0) (0.0493015 0.0307449 0) (0.0560377 0.0443717 0) (0.0645891 0.0416754 0) (0.0721271 0.0365238 0) (0.0779598 0.0284 0) (0.084316 0.023682 0) (0.0830334 0.0242189 0) (0.0766072 0.0219641 0) (0.0692009 0.0288925 0) (0.0635225 0.0595171 0) (0.0536276 0.0821846 0) (0.0348663 0.0806802 0) (0.0113494 0.0891306 0) (-0.0139467 0.0923028 0) (-0.0302723 0.103224 0) (-0.0358516 0.116624 0) (-0.03737 0.125595 0) (-0.0378362 0.132403 0) (-0.0382832 0.137679 0) (-0.038667 0.142188 0) (-0.0387368 0.146916 0) (-0.0383476 0.15314 0) (-0.0371233 0.162293 0) (-0.034334 0.174598 0) (-0.0302052 0.189582 0) (-0.0252294 0.204882 0) (-0.0204637 0.212933 0) (-0.0139417 0.212663 0) (-0.00450289 0.206195 0) (0.0101034 0.203104 0) (0.0296943 0.193683 0) (-0.000142158 0.00608968 0) (0.00161448 0.00704778 0) (0.00387909 0.0069896 0) (0.00237147 0.0125167 0) (-0.00222978 0.0237154 0) (-0.00679723 0.036496 0) (-0.00611482 0.0400194 0) (0.00396261 0.0317996 0) (0.0144112 0.0279099 0) (0.0206075 0.0458249 0) (0.0320359 0.0357232 0) (0.0478841 0.0222079 0) (0.0615451 0.0236907 0) (0.0703002 0.0147025 0) (0.0727966 0.0186573 0) (0.0705757 0.0248735 0) (0.0690177 0.0285389 0) (0.0711579 0.0292698 0) (0.0758135 0.0445912 0) (0.0857741 0.0903799 0) (0.0735308 0.126792 0) (0.0432336 0.142075 0) (0.02297 0.147105 0) (0.00457875 0.136015 0) (-0.0105638 0.124999 0) (-0.0184815 0.127627 0) (-0.0236394 0.133346 0) (-0.0255823 0.139109 0) (-0.0266582 0.143556 0) (-0.0273547 0.147754 0) (-0.0277234 0.152856 0) (-0.0274408 0.159768 0) (-0.025767 0.169044 0) (-0.0223385 0.180957 0) (-0.0167434 0.193997 0) (-0.0103562 0.201738 0) (-0.00282559 0.198761 0) (0.00500605 0.186567 0) (0.0163962 0.168377 0) (0.0293969 0.15389 0) (-0.00105086 0.00923749 0) (-0.00618357 0.0129097 0) (-0.013515 0.0213556 0) (-0.0256366 0.036929 0) (-0.0380036 0.0492657 0) (-0.0514021 0.0439934 0) (-0.0549338 0.0107627 0) (-0.048672 -0.0122771 0) (-0.0384169 -0.0101541 0) (-0.0171107 -0.00728827 0) (0.00277604 0.000875134 0) (0.0120141 -0.0100972 0) (0.025905 0.00116293 0) (0.0356542 0.00547513 0) (0.0433756 0.0242196 0) (0.056078 0.0316407 0) (0.0657099 0.0282765 0) (0.067649 0.0279127 0) (0.0668294 0.0463067 0) (0.074774 0.0900179 0) (0.0834798 0.150912 0) (0.0822951 0.168691 0) (0.0753292 0.171858 0) (0.0512446 0.173036 0) (0.0275213 0.163148 0) (0.00620937 0.151366 0) (-0.0055933 0.145185 0) (-0.0119413 0.143731 0) (-0.0152916 0.145553 0) (-0.0172574 0.149063 0) (-0.0182319 0.153352 0) (-0.0181299 0.158521 0) (-0.0167869 0.165051 0) (-0.0137275 0.173161 0) (-0.00843783 0.181914 0) (-0.00137804 0.187092 0) (0.00501809 0.183917 0) (0.0113358 0.172479 0) (0.0108784 0.153743 0) (0.0205527 0.140476 0) (-0.000934154 0.0177175 0) (-0.00738884 0.0271629 0) (-0.0135268 0.0368985 0) (-0.0172875 0.0528559 0) (-0.0207688 0.0617521 0) (-0.0217922 0.0601493 0) (-0.0217198 0.0317689 0) (-0.0245073 -0.00331017 0) (-0.035276 -0.0108341 0) (-0.0388462 -0.0242202 0) (-0.0354354 -0.0188985 0) (-0.0192796 -0.0331863 0) (-0.00635788 -0.0179691 0) (0.00280997 -0.00962505 0) (0.0155017 -0.0200883 0) (0.0429545 -0.0215183 0) (0.0540474 0.0136392 0) (0.0560477 0.0159128 0) (0.0652082 0.0227917 0) (0.084351 0.0581392 0) (0.0992536 0.118514 0) (0.109136 0.164764 0) (0.0934418 0.222998 0) (0.0781479 0.220515 0) (0.0437596 0.195935 0) (0.0226779 0.180863 0) (0.0081886 0.167483 0) (-0.0018344 0.157892 0) (-0.00733989 0.153716 0) (-0.00978972 0.153067 0) (-0.0105224 0.1544 0) (-0.0104059 0.157191 0) (-0.00913256 0.160786 0) (-0.00669502 0.165337 0) (-0.00287369 0.170436 0) (0.00209355 0.174008 0) (0.0067384 0.17314 0) (0.00717502 0.169281 0) (0.0139855 0.15695 0) (-0.0141192 0.133043 0) (-0.00113631 0.0236555 0) (-0.00839388 0.0358483 0) (-0.0126892 0.0414862 0) (-0.0119364 0.0511553 0) (-0.00690428 0.0571011 0) (0.000794887 0.0523908 0) (0.00729861 0.0320831 0) (0.00889696 0.0106429 0) (-0.000200274 0.00267342 0) (-0.00678204 -0.00518659 0) (-0.00377172 -0.0308018 0) (-0.00619279 -0.0502894 0) (-0.0049132 -0.0356649 0) (0.00565256 -0.0299777 0) (0.0145558 -0.0422112 0) (0.0178299 -0.040819 0) (0.0323921 0.0184232 0) (0.0500022 0.0113428 0) (0.0775807 0.00740578 0) (0.0961169 0.0528883 0) (0.157837 0.117707 0) (0.187978 0.177555 0) (0.132044 0.250871 0) (0.0492456 0.276094 0) (0.010627 0.272089 0) (-0.00221259 0.229573 0) (-0.00979092 0.195624 0) (-0.0123193 0.172922 0) (-0.0117702 0.161119 0) (-0.0104133 0.155821 0) (-0.0083369 0.154567 0) (-0.00585409 0.15605 0) (-0.00316613 0.158966 0) (-0.00010716 0.162717 0) (0.00360387 0.166834 0) (0.00784795 0.170254 0) (0.0129591 0.171918 0) (0.0130583 0.172176 0) (0.0166478 0.172616 0) (0.0229713 0.130093 0) (-0.00184775 0.0376742 0) (-0.00734277 0.0490823 0) (-0.0104922 0.0465851 0) (-0.0104396 0.043415 0) (-0.00649958 0.0383423 0) (0.000149115 0.0291514 0) (0.00688158 0.0154549 0) (0.0109962 0.0127097 0) (0.00179863 0.0228757 0) (-0.000822845 -0.0150997 0) (0.00546078 -0.0321515 0) (0.00447095 -0.0423354 0) (0.00595469 -0.0461963 0) (0.0120195 -0.0498205 0) (0.0184244 -0.0562398 0) (0.0244806 -0.0601659 0) (0.0403368 -0.0561127 0) (0.0669167 -0.0660153 0) (0.0969526 -0.0843758 0) (0.127843 -0.120452 0) (0.198243 -0.12097 0) (0.280365 0.246332 0) (0.0606935 0.786665 0) (-0.14055 0.349891 0) (-0.074606 0.261134 0) (-0.0703778 0.183244 0) (-0.0486622 0.160092 0) (-0.0362969 0.146399 0) (-0.0247412 0.140807 0) (-0.0174811 0.139718 0) (-0.0112271 0.141072 0) (-0.00586926 0.143249 0) (-0.000724975 0.145848 0) (0.00458023 0.14854 0) (0.0103893 0.151091 0) (0.0168703 0.15328 0) (0.0235905 0.154905 0) (0.0350223 0.152792 0) (0.0271263 0.136076 0) (0.107016 -0.0122134 0) ) ; boundaryField { inlet { type fixedValue; value uniform (0 -0.1 0); } inletWall { type noSlip; } bottleWall { type noSlip; } atmosphere { type pressureInletOutletVelocity; value nonuniform List<vector> 80 ( (0 -0.172488 0) (0 -0.172359 0) (0 -0.152314 0) (0 -0.143905 0) (0 -0.137506 0) (0 -0.126112 0) (0 -0.116744 0) (0 -0.109232 0) (0 -0.103323 0) (0 -0.0987074 0) (0 -0.0946995 0) (0 -0.0920954 0) (0 -0.0911278 0) (0 -0.0913332 0) (0 -0.0925168 0) (0 -0.0935814 0) (0 -0.0953374 0) (0 -0.0981444 0) (0 -0.10162 0) (0 -0.105708 0) (0 -0.11054 0) (0 -0.116094 0) (0 -0.121412 0) (0 -0.122479 0) (0 -0.104227 0) (0.0162604 0.0243738 0) (-0.0111359 0.101018 0) (-0.0256811 0.111466 0) (-0.0255917 0.143153 0) (-0.0264536 0.175564 0) (-0.0167002 0.21919 0) (-0.0522374 0.334714 0) (-0.137899 0.314589 0) (-0.151083 0.0260654 0) (0 -0.015888 0) (0 -0.0258679 0) (0 -0.0345749 0) (0 -0.0341428 0) (0 -0.0319284 0) (0 -0.0137283 0) (-0.00184775 0.0376742 0) (-0.00734277 0.0490823 0) (-0.0104922 0.0465851 0) (-0.0104396 0.043415 0) (-0.00649958 0.0383423 0) (0.000149115 0.0291514 0) (0.00688158 0.0154549 0) (0.0109962 0.0127097 0) (0.00179863 0.0228757 0) (0 -0.0150997 0) (0 -0.0321515 0) (0 -0.0423354 0) (0 -0.0461963 0) (0 -0.0498205 0) (0 -0.0562398 0) (0 -0.0601659 0) (0 -0.0561127 0) (0 -0.0660153 0) (0 -0.0843758 0) (0 -0.120452 0) (0 -0.12097 0) (0.280365 0.246332 0) (0.0606935 0.786665 0) (-0.14055 0.349891 0) (-0.074606 0.261134 0) (-0.0703778 0.183244 0) (-0.0486622 0.160092 0) (-0.0362969 0.146399 0) (-0.0247412 0.140807 0) (-0.0174811 0.139718 0) (-0.0112271 0.141072 0) (-0.00586926 0.143249 0) (-0.000724975 0.145848 0) (0.00458023 0.14854 0) (0.0103893 0.151091 0) (0.0168703 0.15328 0) (0.0235905 0.154905 0) (0.0350223 0.152792 0) (0.0271263 0.136076 0) (0 -0.0122134 0) ) ; } frontAndBack { type empty; } } // ************************************************************************* //
7ad5c44984652e14f026587f3a39e30e8a320981
9c450658f821d12bbf0adab2d7c78c360e3451c3
/zhtopy/frmzhtopy.h
a992d371f892fec6393402289b7c029dd50dde2e
[]
no_license
LiZistudio/mujiangjuzi
eac7439108c33175be33b924510d74d679cedc92
a26801c259ca7ae2384fc14cc3af4cd0c39a312e
refs/heads/master
2023-07-31T09:08:27.828612
2021-09-08T13:44:43
2021-09-08T13:44:43
245,950,023
1
0
null
null
null
null
UTF-8
C++
false
false
378
h
frmzhtopy.h
#ifndef FRMZHTOPY_H #define FRMZHTOPY_H #include <QWidget> namespace Ui { class frmZhToPY; } class frmZhToPY : public QWidget { Q_OBJECT public: explicit frmZhToPY(QWidget *parent = 0); ~frmZhToPY(); private: Ui::frmZhToPY *ui; private slots: void on_btnPY_clicked(); void on_btnJP_clicked(); }; #endif // FRMZHTOPY_H
623f53d46fa200baa17087b5ea721058d031d3ea
3971c8414e9797e6bde5ad443624b3bd0f09431c
/mini_project/4.6_MiniProject.ino
c91b2c2e1ea49f6e90a824388916d5aabee6a4f1
[]
no_license
hojacky/SEED_Lab
76d6d1429a3557954562e4f6cd6a7ae054edde63
ab7dce430c0c5a30e61b9ba288af01a1c18aa2cb
refs/heads/master
2023-01-12T21:43:12.852271
2020-11-18T21:58:00
2020-11-18T21:58:00
299,388,668
0
0
null
null
null
null
UTF-8
C++
false
false
3,323
ino
4.6_MiniProject.ino
//TORY WILSON //EENG 350 - SEED - FE //ASSIGNMENT 2 - Localization //Name the pins for clarification #include <Encoder.h> #define PI 3.1415926535897932384626433832795 const int PIDReference = 7; const int PIDoutput = 8; const int oneA = 2; const int oneB = 5; const double r = .05; const double d = .1; const double N = 16.0; int aState1; int aState2; int bState1; int bState2; double dot_theta1 = 0; double vel1 = 0; double mvolt = 0; volatile int aVal = 0; volatile int bVal = 0; volatile double time1; volatile double totaltime1 = 0; volatile double oldtime1 = 0; volatile double t1 = 0; int D = 0; double xnew = 0; double xold = 0; double ynew = 0; double yold = 0; step_theta = 0; int realControllerOutput; //PID values int Kp = 5; int Kd = 2; int Ki = 0; int I = 0; int e_past = 0; int Ts = 0; int Tc = 0; void setup() { Serial.begin(9600); // pinMode(oneA, INPUT_PULLUP); //Initialize using the PULLUP RESISTOR // pinMode(oneB, INPUT_PULLUP); //Initialize using the PULLUP RESISTOR Encoder motorEncoder(oneA, oneB); attachInterrupt(digitalPinToInterrupt(oneA), interrupt1, CHANGE); //Initializes interrupt() } void loop(){ aState2 = digitalRead(oneA); //Read the states after entering the code for 1A bState2 = digitalRead(twoA); //Read the states after entering the code for 2A //PID control Ts = millis(); int r = digitalRead(PIDReference); int y = digitalRead(PIDOutput); int error = r - y; if(Ts > 0){ D = (error - e_past)/Ts; e_past = error; } else{ D = 0; } I = I + (Ts*error); realControllerOutput = (Kp*error) + (Ki*I) + (Kd*D); Ts = Ts - Tc; Tc = Ts; Serial.print("Current time"); Serial.println(Tc); position(); // prints out current state // Serial.print(tim); //rotary encoder A state // Serial.print("\t"); //carriage return // Serial.print(vel1); //rotary encoder A state // Serial.print("\t"); //carriage return // Serial.print(step_theta); //rotary encoder A state // Serial.print("\t"); //carriage return // Serial.println(); //carriage // delay(500); // Serial.print(xnew); //rotary encoder A state Serial.print("\t"); //carriage return Serial.print(ynew); //rotary encoder A state Serial.print("\t");//carriage return Serial.println(); //carriage } void interrupt1(){ aState2 = digitalRead(oneA); //Read the states after entering the code for 1A bState2 = digitalRead(oneB); //Read the states after entering the code for 2A if (aState2 == bState2){ //checks for clockwise or counter-clockwise actions aVal = aVal - 2; }else{ aVal = aVal + 2; } //time calculations time1 = millis(); totaltime1 = time1; if(oldtime1 == totaltime1){ t1 = 0.0; dot_theta1 = 0.0; step_theta = step_theta; }else{ t1 = (((double)totaltime1 - (double)oldtime1)/1000); dot_theta1 = ((4*PI)/(t1*N)); step_theta = 1/t1; } oldtime1 = totaltime1; //velocity calculations vel1 = r*dot_theta1; } void position(){ //time calculations xnew = xold + ((t1 * cos(phiold)*vel1)); ynew = yold + ((t1 * sin(phiold)*vel1)); xold = xnew; yold = ynew; }
ca40c93cc0c09dd2b5ef893f092940c5cf590a71
32eab583ec7fbc39bbd745cec53d957631eaef08
/GinkgoEngine/source/libMath/Vector.cpp
1203bd3f675700e1a475e14f1797503bc7e5143e
[]
no_license
ArionTT/MyEngineLearning
5d41ac4c72a1132864968cdaab80110700aebaf0
c917b0457d78af3c67775e4087daeadcc986d1d4
refs/heads/master
2020-07-18T16:26:43.837011
2019-11-28T15:50:07
2019-11-28T15:50:07
206,276,559
0
0
null
null
null
null
UTF-8
C++
false
false
8,028
cpp
Vector.cpp
#include"Vector.h" #include"Math.h" namespace External { Vector3::Vector3() { x = y = z = 0.0f; } Vector3::Vector3(float x, float y, float z) { this->x = x; this->y = y; this->z = z; } Vector3::Vector3(const Vector3& src) { x = src.x; y = src.y; z = src.z; } Vector3 Vector3::Normalize(const Vector3& vec) { float magnitude = Vector3::Magnitude(vec); return Vector3(vec.x / magnitude, vec.y / magnitude, vec.z / magnitude); } float Vector3::Magnitude(const Vector3 & _vec) { return sqrt(_vec.x*_vec.x + _vec.y*_vec.y + _vec.z*_vec.z); } Vector3 Vector3::Reflect(const Vector3 & _r, const Vector3 & _n) { return Vector3(); } Vector3 Vector3::Up() { return Vector3(0.0f, 1.0f, 0.0f); } Vector3 Vector3::Right() { return Vector3(0.0f, 0.0f, 1.0f); } Vector3 Vector3::Forward() { return Vector3(1.0f, 0.0f, 0.0f); } Vector3 Vector3::Zero() { return Vector3(0.0f, 0.0f, 0.0f); } Vector3 Vector3::One() { return Vector3(1.0f, 1.0f, 1.0f); } float Vector3::AngelDegree(Vector3& from, Vector3& to) { return 0.0f; } float Vector3::AngelRadian(Vector3& from, Vector3& to) { return 0.0f; } Vector3 Vector3::Cross(Vector3& src, Vector3& dist) { float x, y, z; x = src.y*dist.z - dist.y*src.z; y = src.z*dist.x - dist.z*src.x; z = src.x*dist.y - dist.x*src.y; return Vector3(x, y, z); } float Vector3::Dot(const Vector3& a,const Vector3& b) { return a.x*b.x + a.y*b.y + a.z*b.z; } void Vector3::normalize() { float magnitude = this->magnitude(); x /= magnitude; y /= magnitude; z /= magnitude; } float Vector3::magnitude() { return sqrt(x*x + y * y + z * z); } Vector3 Vector3::operator +(const Vector3& dist) { return Vector3(x + dist.x, y + dist.y, z + dist.z); } Vector3 Vector3::operator -(const Vector3& dist) { return Vector3(x - dist.x, y - dist.y, z - dist.z); } Vector3 Vector3::operator *(float k) { return Vector3(x*k, y*k, z*k); } Vector3 Vector3::operator *(const Vector3& dist) { return Vector3(x*dist.x, y*dist.y, z*dist.z); } Vector3 Vector3::operator /(float k) { return Vector3(x / k, y / k, z / k); } Vector3& Vector3::operator =(const Vector3& dist) { if (&dist == this) return *this; else { this->x = dist.x; this->y = dist.y; this->z = dist.z; return *this; } } Vector3 Vector3::operator *=(float k) { x *= k; y *= k; z *= k; return *this; } Vector3 Vector3::operator /=(float k) { x /= k; y /= k; z /= k; return *this; } Vector3 Vector3::operator +=(const Vector3& dist) { x += dist.x; y += dist.y; z += dist.z; return *this; } Vector3 Vector3::operator -=(const Vector3& dist) { x -= dist.x; y -= dist.y; z -= dist.z; return *this; } bool Vector3::operator ==(const Vector3& dist) { return !(*this != dist); } bool Vector3::operator !=(const Vector3& dist) { if (RobustCompareFloat(this->x, dist.x)) { if (RobustCompareFloat(this->y, dist.y)) { if (RobustCompareFloat(this->z, dist.z)) { return true; } } } return false; } Vector4::Vector4() { x = y = z = 0.0f; w = 1.0f; } Vector4::Vector4(float x, float y, float z, float w) { this->x = x; this->y = y; this->z = z; this->w = w; } Vector4::Vector4(const Vector4 & src) { this->x = src.x; this->y = src.y; this->z = src.z; this->w = src.w; } void Vector4::normalize() { float magnitude = this->magnitude(); x /= magnitude; y /= magnitude; z /= magnitude; } float Vector4::magnitude() { return sqrt(x*x + y * y + z * z); } Vector4 Vector4::operator+(const Vector4& dist) { return Vector4(x + dist.x, y + dist.y, z + dist.z, w); } Vector4 Vector4::operator-(const Vector4& dist) { return Vector4(x - dist.x, y - dist.y, z - dist.z, w); } Vector4 Vector4::operator*(float k) { return Vector4(x *k, y *k, z *k, w); } Vector4 Vector4::operator/(float k) { if (!k) return Vector4(POSITIVE_INFINITY, POSITIVE_INFINITY, POSITIVE_INFINITY, 0.0f); return Vector4(x / k, y / k, z / k, w); } Vector4 & Vector4::operator=(const Vector4 & dist) { if (&dist == this) return *this; else { this->x = dist.x; this->y = dist.y; this->z = dist.z; return *this; } } Vector4 Vector4::operator*=(float k) { x *= k; y *= k; z *= k; return *this; } Vector4 Vector4::operator/=(float k) { x /= k; y /= k; z /= k; return *this; } Vector4 Vector4::operator+=(const Vector4& dist) { x += dist.x; y += dist.y; z += dist.z; return *this; } Vector4 Vector4::operator-=(const Vector4& dist) { x -= dist.x; y -= dist.y; z -= dist.z; return *this; } bool Vector4::operator==(const Vector4& dist) { return !(*this != dist); } bool Vector4::operator!=(const Vector4& dist) { if (RobustCompareFloat(this->x, dist.x)) { if (RobustCompareFloat(this->y, dist.y)) { if (RobustCompareFloat(this->z, dist.z)) { if (RobustCompareFloat(this->w, dist.w)) { return true; } } } } return false; } Vector4 Vector4::Normalize(const Vector4& dist) { float magnitude = Vector4::Magnitude(dist); return Vector4(dist.x / magnitude, dist.y / magnitude, dist.z / magnitude); } float Vector4::Magnitude(const Vector4& _vec) { return sqrt(_vec.x*_vec.x + _vec.y*_vec.y + _vec.z*_vec.z); } Vector4 Vector4::Up() { return Vector4(0.0f, 1.0f, 0.0f); } Vector4 Vector4::Right() { return Vector4(0.0f, 0.0f, 1.0f); } Vector4 Vector4::Forward() { return Vector4(1.0f, 0.0f, 0.0f); } Vector4 Vector4::Zero() { return Vector4(0.0f, 0.0f, 0.0f); } Vector4 Vector4::One() { return Vector4(1.0f, 1.0f, 1.0f); } float Vector4::AngelDegree(Vector4& from, Vector4& to) { return 0.0f; } float Vector4::AngelRadian(Vector4& from, Vector4& to) { return 0.0f; } Vector4 Vector4::Mul(Vector4& a, Vector4& b) { return Vector4(); } float Vector4::Dot(Vector4& a, Vector4& b) { return 0.0f; } Vector2::Vector2() { x = y = 0.0f; } Vector2::Vector2(float x, float y) { this->x = x; this->y = y; } Vector2::Vector2(const Vector2 & vec) { x = vec.x; y = vec.y; } Vector2::~Vector2() { } Vector2 Vector2::Zero() { return Vector2(); } Vector2 Vector2::One() { return Vector2(1.0f, 1.0f); } Vector2 Vector2::Normalize(const Vector2 & _vec) { float magnitude = Vector2::Magnitude(_vec); return Vector2(_vec.x / magnitude, _vec.y / magnitude); } float Vector2::Magnitude(const Vector2& _vec) { return sqrt(_vec.x*_vec.x + _vec.y*_vec.y); } void Vector2::normalize() { float magnitude = this->magnitude(); this->x /= magnitude; this->y /= magnitude; } float Vector2::magnitude() { return sqrt(x * x + y * y); } Vector2 Vector2::operator+(const Vector2 & dist) { return Vector2(this->x + dist.x, this->y + dist.y); } Vector2 Vector2::operator-(const Vector2 & dist) { return Vector2(this->x - dist.x, this->y - dist.y); } Vector2 Vector2::operator*(float k) { return Vector2(this->x *k, this->y*k); } Vector2 Vector2::operator/(float k) { return Vector2(this->x / k, this->y / k); } Vector2 & Vector2::operator=(const Vector2 & dist) { if (&dist == this) return *this; else { this->x = dist.x; this->y = dist.y; return *this; } } Vector2 Vector2::operator*=(float k) { x *= k; y *= k; return *this; } Vector2 Vector2::operator/=(float k) { x /= k; y /= k; return *this; } Vector2 Vector2::operator+=(const Vector2 & dist) { x += dist.x; y += dist.y; return *this; } Vector2 Vector2::operator-=(const Vector2 & dist) { x -= dist.x; y -= dist.y; return *this; } bool Vector2::operator==(const Vector2 & dist) { return !(*this != dist); } bool Vector2::operator!=(const Vector2 & dist) { if (RobustCompareFloat(this->x, dist.x)) { if (RobustCompareFloat(this->y, dist.y)) { return true; } } return false; } }
f78f579b6f8ed5d4cebb6da09a8d5e41bfb1899f
9d179d7b923941d780f7bd5154c896d9b3d27c89
/main.h
5147c9166b8d539b62d0b2e78318d27966608961
[]
no_license
ItzProxy/CS210_a3
121167fd0e8bafc399b8d0565c3c50388fe3aefc
9fbb25ce826ce4d80340491773816aa6e7c1aa5f
refs/heads/master
2020-04-27T10:54:11.147022
2014-10-05T06:02:07
2014-10-05T06:02:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
979
h
main.h
#ifndef _MAIN_H_ #define _MAIN_H_ // A fake single line text editor program. #include <iostream> // Header file needed by system (). #include <cstdlib> // Some C-specific header files needed by getch (). // JUST USE THEM. #include <unistd.h> #include <termios.h> using namespace std; const int MAX_TEXT_LENGTH = 65; struct node{ char value; int position; node* next; node* previous; }; class list{ public: list(); //default contructor //setters void setCurrentPVal(char x){ p->value = x; } void setP(node* n){ p = n; }; void setLen(int len){ length = len; } //getters node* getHead(){ return head; } node* getP(){ return p; } int getLen(){ return length; } void insertTail(char x); void resetToHead(); void insert(char x); void reset(); char readP(); void iteratePrint(); void iterateLeft(); void iterateRight(); void deleteNode(); void backdelNode(); void findTail(); private: node* head; node* p; int length; }; #endif #include "main_cpp.cpp"
80c5e22b92a1044900ae93c09249a8fce05444e1
7e809c1e58a3a586d5ed063cd650ad13510a6458
/contests/obi-avançado III/2562.cpp
61fb0928ad494aa32ce09a748ad64b341854ffe9
[]
no_license
EduardoCardozo/competitive-programming
34532a6ff72249cf5a0b83181d4e6c10bf55fbbb
19550d7923feec46d9cc11db582639b33eb80e19
refs/heads/master
2021-07-05T21:32:15.838234
2019-02-19T23:15:01
2019-02-19T23:15:01
105,213,838
0
0
null
2018-10-01T02:42:51
2017-09-29T01:00:15
C++
UTF-8
C++
false
false
661
cpp
2562.cpp
#include <bits/stdc++.h> using namespace std; #define REP(i, a, b) for(int i= int(a); i <= int(b); i++) #define MAXN 100000 vector<int> adj[MAXN]; int v[MAXN]; int qtd; void dfs(int u) { for(auto i : adj[u]) { if(!v[i]) { v[i]=1; qtd++; dfs(i); } } } int main() { int n, m, a, b, e; while(scanf("%d %d", &n, &m) != EOF) { memset(v, 0, sizeof(v)); REP(i, 0, 1001) adj[i].clear(); qtd = 1; REP(i, 0, m-1) { scanf("%d %d", &a, &b); adj[a].push_back(b); adj[b].push_back(a); } scanf("%d", &e); v[e] = 1; qtd =1; dfs(e); printf("%d\n", qtd); } return 0; }
8165a7ec88892bc2ca11167032442456fa41b4ca
8fcb1c271da597ecc4aeb75855ff4b372b4bb05e
/POJ/MatrixMultiplication.cpp
f2bf147fa3dc7e4a2376b434f85862e621720636
[ "Apache-2.0" ]
permissive
MartinAparicioPons/Competitive-Programming
9c67c6e15a2ea0e2aa8d0ef79de6b4d1f16d3223
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
refs/heads/master
2020-12-15T21:33:39.504595
2016-10-08T20:40:10
2016-10-08T20:40:10
20,273,032
1
0
null
null
null
null
UTF-8
C++
false
false
1,892
cpp
MatrixMultiplication.cpp
#include <iostream> #include <cstdlib> #include <cstdio> using namespace std; #define DEB(x) cerr << "# " << (#x) << ": " << x << endl; typedef unsigned long long ull; typedef long long ll; typedef pair<int, int> ii; const int MAXN = 505, ITE = 50; int A[MAXN][MAXN], B[MAXN][MAXN], C[MAXN][MAXN], D[MAXN], BD[MAXN], CD[MAXN]; int main(){ int n, i, j, k; bool ok; while(scanf("%d", &n) != EOF){ for(i = 0; i < n; i++) for(j = 0; j < n; j++) scanf("%d", &A[i][j]); for(i = 0; i < n; i++) for(j = 0; j < n; j++) scanf("%d", &B[i][j]); for(i = 0; i < n; i++) for(j = 0; j < n; j++) scanf("%d", &C[i][j]); for(k = 0; k < ITE; k++){ for(i = 0; i < n; i++) D[i] = rand() % 200 - 100; for(i = 0; i < n; i++){ BD[i] = 0; for(j = 0; j < n; j++){ BD[i] += D[j]*B[i][j]; } } for(i = 0; i < n; i++){ CD[i] = 0; for(j = 0; j < n; j++){ CD[i] += D[j]*C[i][j]; } } for(i = 0; i < n; i++){ D[i] = 0; for(j = 0; j < n; j++){ D[i] += BD[j]*A[i][j]; } } ok = true; for(i = 0; i < n; i++){ if(D[i] != CD[i]) ok = false; } if(!ok) break; } printf("%s\n", (ok)?"YES":"NO"); } }
6a345b742288a42f312d9f8db92404b63f134468
7de52062ec797ce2f2e206672fbce6be4ff8341f
/2002.cpp
a04f82e31844d294f3a2f1a5be846abcfb677dbb
[]
no_license
joselynzhao/ALGORITHM_PROCTICE
2278bca3d194e88ef60522d438de18659e69ad03
a026c5e4046585d71d4068f694e24eded44eccef
refs/heads/master
2020-04-16T07:26:55.082322
2019-05-02T02:39:40
2019-05-02T02:39:40
165,387,245
2
0
null
null
null
null
UTF-8
C++
false
false
375
cpp
2002.cpp
#include <iostream> #define PI 3.1415927 using namespace std; int main(){ double num; while(cin>>num){ double out = 4* PI * num*num*num /3; printf("%.3lf\n", out); } return 0; } // #include <stdio.h> // #define PI 3.1415927 // #include <math.h> // int main() // { // double r; // while(scanf("%lf",&r)!=EOF) // { // printf("%.3lf\n",4*PI*r*r*r/3); // } // }
f6ce9744ac63e003c2b6263516292984930149a2
7eea67911190568ea0a16934218f405c7b8ff27e
/firmware/arduino/QTPyNoisyBoi/VoltageOut.h
910f95d2ce1a431d36427f1a2343d9dba2134ad7
[]
no_license
todbot/QTPyNoisyBoi
b2c71765748ba1ce7c430cc0e02b66bf9df991af
97a93daa324270059202f551dade46ed77ea941b
refs/heads/main
2023-07-27T02:13:08.451407
2021-09-07T04:17:04
2021-09-07T04:17:04
351,238,354
2
0
null
null
null
null
UTF-8
C++
false
false
525
h
VoltageOut.h
/** * * A very primitive port of wntrblm's Winterbloom_VoltageIO Python library: * https://github.com/wntrblm/Winterbloom_VoltageIO * */ #include <stdint.h> struct voltage_calibration { float voltage; uint16_t dac_val; }; class VoltageOut { public: VoltageOut(); VoltageOut(voltage_calibration cals[], int num_cals); uint16_t dac_for_voltage(float voltage); private: voltage_calibration* cals; int num_cals; uint16_t _calibrated_value_for_voltage(float voltage); };
9dd4f9cb3ac557f4ee88d2ba13bdad50b7f099fe
79dde96a7a6eb55330e9534dab992d2bb6159cde
/source/opengl/grid.h
557ca403db9b1f03ce2646d13cedb306a8c36cb0
[]
no_license
DennyLindberg/Hair-Generator
686a54701765b50ece94a0ca4159f0680ef9fca4
3fabe734a21f463c731cb8e4760faf6ccdf8fe28
refs/heads/master
2020-09-08T00:27:41.386718
2019-12-17T21:05:15
2019-12-17T21:05:15
220,956,429
1
0
null
null
null
null
UTF-8
C++
false
false
421
h
grid.h
#pragma once #include "mesh.h" #include "program.h" #include <memory> class GLGrid : public GLQuad { protected: GLProgram gridShaderProgram; std::shared_ptr<GLQuad> mesh; GLuint mvpUniform = 0; GLuint gridUniform = 0; GLuint sizeUniform = 0; GLuint opacityUniform = 0; public: float size = 1.0f; float gridSpacing = 0.5f; float opacity = 0.2f; GLGrid(); ~GLGrid() = default; void Draw(glm::mat4& mvp); };
6c009844ced269ead45ac31d96dac334075234fd
f7745ba1459d296243217f9d0ad4fd5d755b70bb
/Lab7/optionaltask2/compareASCIICode.hpp
04726c2a527fc27173745e6819198af467540e09
[]
no_license
ecwu/COMP1013_SP
e013abea7089d2cc9fa71ad21fe6436423dff552
3e1a57634f0dc16214f4de6c6a9770f0da7985ac
refs/heads/master
2021-03-19T13:59:27.117907
2018-01-09T08:16:25
2018-01-09T08:16:25
104,440,979
0
0
null
null
null
null
UTF-8
C++
false
false
76
hpp
compareASCIICode.hpp
int compareASCIICode(char char1, char char2); // put function prototype here
818314f3270bee5d469e36fffa062eb67afb4740
abcc3c0a7b8d0b1995aa18de61616adf62da3cde
/Recursion/potentiation.cpp
c7027ac3ba11d00f0dfa421fe3a7f9fc37c78d6d
[ "MIT" ]
permissive
Matheus1714/C-
4bca41bd9892faa83cbacaa1cf06af5e3584df1d
666f73e843abe3b87d686d1eb49a71889e9e9c3a
refs/heads/master
2023-01-28T07:45:37.927407
2022-12-20T00:32:09
2022-12-20T00:32:09
175,743,577
0
0
null
null
null
null
UTF-8
C++
false
false
311
cpp
potentiation.cpp
#include <iostream> using namespace std; int potentiation(float a,int n){ if(n==0) return 1; else return a*potentiation(a,n-1); } int main(){ float n; int p; cout<<"Enter a number and a potentiation"<<endl; cin>>n>>p; cout<<n<<"^("<<p<<"): "<<potentiation(n,p)<<endl; return 0; }
cddbfa6bc8561911741d7948176ac360bf6e7e72
4592ccb4777d706d1754d00ff6957cacc7fc5dd5
/src/HOSample.cc
eba052f51fb69c3105fa00f0eaf9dfb296670d03
[]
no_license
DryRun/PFGAnalysis
54b8e16439d1352359170dc3e3e745db5b9194dc
949fb215cb559585974f093dd3b4d96ef49a3817
refs/heads/master
2021-01-12T12:39:20.545687
2018-10-25T17:15:19
2018-10-25T17:15:19
69,891,469
0
0
null
null
null
null
UTF-8
C++
false
false
1,793
cc
HOSample.cc
#include "HCALPFG/PFGAnalysis/interface/HOSample.h" HOSample::HOSample(): HcalSample() {} HOSample::HOSample(Collection& c, unsigned short i, short j): HcalSample(c, i, j) {} float HOSample::allFC() {return m_collection -> GetData() -> HODigiAllFC -> at(m_raw_index)[m_timeslice];} float HOSample::energy() {return m_collection -> GetData() -> HODigiEnergy -> at(m_raw_index)[m_timeslice];} float HOSample::gain() {return m_collection -> GetData() -> HODigiGain -> at(m_raw_index)[m_timeslice];} float HOSample::fc() {return m_collection -> GetData() -> HODigiFC -> at(m_raw_index)[m_timeslice];} float HOSample::nomFC() {return m_collection -> GetData() -> HODigiNomFC -> at(m_raw_index)[m_timeslice];} float HOSample::pedFC() {return m_collection -> GetData() -> HODigiPedFC -> at(m_raw_index)[m_timeslice];} float HOSample::rcGain() {return m_collection -> GetData() -> HODigiRCGain -> at(m_raw_index)[m_timeslice];} int HOSample::adc() {return m_collection -> GetData() -> HODigiADC -> at(m_raw_index)[m_timeslice];} int HOSample::capid() {return m_collection -> GetData() -> HODigiCapID -> at(m_raw_index)[m_timeslice];} int HOSample::dv() {return m_collection -> GetData() -> HODigiDV -> at(m_raw_index)[m_timeslice];} int HOSample::er() {return m_collection -> GetData() -> HODigiER -> at(m_raw_index)[m_timeslice];} int HOSample::fiber() {return m_collection -> GetData() -> HODigiFiber -> at(m_raw_index)[m_timeslice];} int HOSample::fiberChan() {return m_collection -> GetData() -> HODigiFiberChan -> at(m_raw_index)[m_timeslice];} int HOSample::raw() {return m_collection -> GetData() -> HODigiRaw -> at(m_raw_index)[m_timeslice];}
8ec5c83d637a70e6d9ffc73c8246cda60718dcaf
04b1803adb6653ecb7cb827c4f4aa616afacf629
/media/audio/android/audio_record_input.cc
69fdb67cbb5af532355c294c20d3c582c10cda07
[ "BSD-3-Clause" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
C++
false
false
5,253
cc
audio_record_input.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 "media/audio/android/audio_record_input.h" #include "base/logging.h" #if defined(SERVICE_OFFLOADING) #include "jni/AudioOffloadingInput_jni.h" #else #include "jni/AudioRecordInput_jni.h" #endif #include "media/audio/android/audio_manager_android.h" #include "media/base/audio_bus.h" using base::android::JavaParamRef; namespace media { constexpr SampleFormat kSampleFormat = kSampleFormatS16; AudioRecordInputStream::AudioRecordInputStream( AudioManagerAndroid* audio_manager, const AudioParameters& params) : audio_manager_(audio_manager), callback_(NULL), direct_buffer_address_(NULL), audio_bus_(media::AudioBus::Create(params)), bytes_per_sample_(SampleFormatToBytesPerChannel(kSampleFormat)) { DVLOG(2) << __PRETTY_FUNCTION__; DCHECK(params.IsValid()); #if defined(SERVICE_OFFLOADING) j_audio_record_.Reset(Java_AudioOffloadingInput_createAudioRecordInput( #else j_audio_record_.Reset(Java_AudioRecordInput_createAudioRecordInput( #endif base::android::AttachCurrentThread(), reinterpret_cast<intptr_t>(this), params.sample_rate(), params.channels(), bytes_per_sample_ * 8, params.GetBytesPerBuffer(kSampleFormat), params.effects() & AudioParameters::ECHO_CANCELLER)); } AudioRecordInputStream::~AudioRecordInputStream() { DVLOG(2) << __PRETTY_FUNCTION__; DCHECK(thread_checker_.CalledOnValidThread()); } void AudioRecordInputStream::CacheDirectBufferAddress( JNIEnv* env, const JavaParamRef<jobject>& obj, const JavaParamRef<jobject>& byte_buffer) { DCHECK(thread_checker_.CalledOnValidThread()); direct_buffer_address_ = static_cast<uint8_t*>(env->GetDirectBufferAddress(byte_buffer)); } void AudioRecordInputStream::OnData(JNIEnv* env, const JavaParamRef<jobject>& obj, jint size, jint hardware_delay_ms) { DCHECK(direct_buffer_address_); DCHECK_EQ(size, audio_bus_->frames() * audio_bus_->channels() * bytes_per_sample_); // Passing zero as the volume parameter indicates there is no access to a // hardware volume slider. audio_bus_->FromInterleaved(direct_buffer_address_, audio_bus_->frames(), bytes_per_sample_); callback_->OnData(audio_bus_.get(), base::TimeTicks::Now() - base::TimeDelta::FromMilliseconds(hardware_delay_ms), 0.0); } bool AudioRecordInputStream::Open() { DVLOG(2) << __PRETTY_FUNCTION__; DCHECK(thread_checker_.CalledOnValidThread()); #if defined(SERVICE_OFFLOADING) return Java_AudioOffloadingInput_open(base::android::AttachCurrentThread(), #else return Java_AudioRecordInput_open(base::android::AttachCurrentThread(), #endif j_audio_record_); } void AudioRecordInputStream::Start(AudioInputCallback* callback) { DVLOG(2) << __PRETTY_FUNCTION__; DCHECK(thread_checker_.CalledOnValidThread()); DCHECK(callback); if (callback_) { // Start() was already called. DCHECK_EQ(callback_, callback); return; } // The Java thread has not yet started, so we are free to set |callback_|. callback_ = callback; #if defined(SERVICE_OFFLOADING) Java_AudioOffloadingInput_start(base::android::AttachCurrentThread(), #else Java_AudioRecordInput_start(base::android::AttachCurrentThread(), #endif j_audio_record_); } void AudioRecordInputStream::Stop() { DVLOG(2) << __PRETTY_FUNCTION__; DCHECK(thread_checker_.CalledOnValidThread()); if (!callback_) { // Start() was never called, or Stop() was already called. return; } #if defined(SERVICE_OFFLOADING) Java_AudioOffloadingInput_stop(base::android::AttachCurrentThread(), #else Java_AudioRecordInput_stop(base::android::AttachCurrentThread(), #endif j_audio_record_); // The Java thread must have been stopped at this point, so we are free to // clear |callback_|. callback_ = NULL; } void AudioRecordInputStream::Close() { DVLOG(2) << __PRETTY_FUNCTION__; DCHECK(thread_checker_.CalledOnValidThread()); Stop(); DCHECK(!callback_); #if defined(SERVICE_OFFLOADING) Java_AudioOffloadingInput_close(base::android::AttachCurrentThread(), #else Java_AudioRecordInput_close(base::android::AttachCurrentThread(), #endif j_audio_record_); audio_manager_->ReleaseInputStream(this); } double AudioRecordInputStream::GetMaxVolume() { return 0.0; } void AudioRecordInputStream::SetVolume(double volume) { } double AudioRecordInputStream::GetVolume() { return 0.0; } bool AudioRecordInputStream::SetAutomaticGainControl(bool enabled) { return false; } bool AudioRecordInputStream::GetAutomaticGainControl() { return false; } bool AudioRecordInputStream::IsMuted() { return false; } void AudioRecordInputStream::SetOutputDeviceForAec( const std::string& output_device_id) { // Do nothing. This is handled at a different layer on Android. } } // namespace media
e69f30c220eb07a7edf7f9b4fc76d8c01654bd5a
8456dc3838735ce03530c267ef0c5c446ed9e459
/SaberTest/SaberTest/Solution 02.cpp
be22270efd652924d7f7f66bb54cbdf588b11f96
[]
no_license
GArGuTZ/SaberProgrammersTest
9545fa93d4d143106060012e6b7328a50a9b8b16
99171cf4ddf7687119b1c483554433a51dfbdfcf
refs/heads/master
2023-01-06T00:48:27.257672
2020-10-14T18:29:24
2020-10-14T18:29:24
298,200,204
0
0
null
2020-10-14T18:29:25
2020-09-24T07:22:35
C++
UTF-8
C++
false
false
764
cpp
Solution 02.cpp
#include "Solution 02.h" void RemoveDups(char* _str) { int inputLength = strlen(_str); if (inputLength < 2) // Primitive case { return; } // Count length of new str char currentSymbol = _str[0]; int newLength = 2; for (int i = 1; i < inputLength; ++i) { if (_str[i] != currentSymbol) { currentSymbol = _str[i]; ++newLength; } } char* newStr = new char[newLength]; newStr[newLength - 1] = '\0'; // Delete duplicates currentSymbol = _str[0]; newStr[0] = _str[0]; int j = 1; // Counter for new str for (int i = 1; i < inputLength; ++i) { if (_str[i] != currentSymbol) { currentSymbol = _str[i]; newStr[j] = _str[i]; ++j; } } // Copy result strcpy_s(_str, inputLength + 1, newStr); delete[] newStr; return; }
aab2afe6ee33ea8328437418c786d86c496565ec
2f324b141341d6bff8b70786c6c3584afe18cfab
/tests/test_basic_json.cpp
0cd78b5b601ddb1ee1e07049bf7c435c149c647c
[ "MIT" ]
permissive
JepsonWong/configor
c80c216137698f0e2feb780fb275ab86cbe78445
6dd41f5eda238d1352075cc2de4586ec5a7924e0
refs/heads/master
2023-08-12T20:29:14.300395
2021-10-09T13:41:35
2021-10-09T13:41:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,896
cpp
test_basic_json.cpp
// Copyright (c) 2019 Nomango #include "common.h" class BasicJsonTest { protected: BasicJsonTest() { j = { { "pi", 3.141 }, { "happy", true }, { "name", "Nomango" }, { "chinese", "中文测试" }, { "nothing", nullptr }, { "list", { 1, 0, 2 } }, { "object", { { "currency", "USD" }, { "money", 42.99 }, } }, { "single_object", { { "number", 123 }, } } }; } json j; }; TEST_CASE_METHOD(BasicJsonTest, "test_type") { const auto& j = this->j; CHECK(j.is_object()); CHECK(j["pi"].is_float()); CHECK(j["happy"].is_bool()); CHECK(j["name"].is_string()); CHECK(j["nothing"].is_null()); CHECK(j["list"].is_array()); CHECK(j["object"].is_object()); CHECK(j["object"]["currency"].is_string()); CHECK(j["object"]["money"].is_float()); CHECK(j["single_object"]["number"].is_number()); CHECK_THROWS_AS(j["missing"].is_null(), std::out_of_range); CHECK(this->j["missing"].is_null()); } TEST_CASE_METHOD(BasicJsonTest, "test_get") { CHECK(j["pi"].get<double>() == Approx(3.141)); CHECK(j["happy"].get<bool>()); CHECK(j["name"].get<std::string>() == "Nomango"); CHECK(j["list"][0].get<int64_t>() == 1); CHECK(j["list"][1].get<int64_t>() == 0); CHECK(j["list"][2].get<int64_t>() == 2); CHECK(j["single_object"]["number"].get<int64_t>() == 123); } TEST_CASE_METHOD(BasicJsonTest, "test_try_get") { double d = 0; CHECK(j["pi"].try_get(d)); CHECK(d == Approx(3.141)); int i = 1; CHECK_FALSE(j["pi"].try_get(i)); CHECK(i == 1); } TEST_CASE_METHOD(BasicJsonTest, "test_numeric_type") { #define TEST_NUMERIC_GET_VALUE(j, NUMERIC_TYPE, EXPECT_VALUE) \ { \ CHECK(j.get<NUMERIC_TYPE>() == static_cast<NUMERIC_TYPE>(EXPECT_VALUE)); \ } #define TEST_INTEGER_COMPATIBLE(INT_TYPE) \ { \ auto i = INT_TYPE(123); \ json j = i; \ CHECK(j.is_integer()); \ CHECK_FALSE(j.is_float()); \ CHECK(j.is_number()); \ TEST_NUMERIC_GET_VALUE(j, int8_t, i); \ TEST_NUMERIC_GET_VALUE(j, int16_t, i); \ TEST_NUMERIC_GET_VALUE(j, int32_t, i); \ TEST_NUMERIC_GET_VALUE(j, int64_t, i); \ TEST_NUMERIC_GET_VALUE(j, uint8_t, i); \ TEST_NUMERIC_GET_VALUE(j, uint16_t, i); \ TEST_NUMERIC_GET_VALUE(j, uint32_t, i); \ TEST_NUMERIC_GET_VALUE(j, uint64_t, i); \ CHECK_THROWS_AS(j.get<double>(), configor_type_error); \ } #define TEST_FLOAT_COMPATIBLE(FLOAT_TYPE) \ { \ auto i = FLOAT_TYPE(123.0); \ json j = i; \ CHECK_FALSE(j.is_integer()); \ CHECK(j.is_float()); \ CHECK(j.is_number()); \ TEST_NUMERIC_GET_VALUE(j, float, i); \ TEST_NUMERIC_GET_VALUE(j, double, i); \ CHECK_THROWS_AS(j.get<int64_t>(), configor_type_error); \ } TEST_INTEGER_COMPATIBLE(int8_t); TEST_INTEGER_COMPATIBLE(int16_t); TEST_INTEGER_COMPATIBLE(int32_t); TEST_FLOAT_COMPATIBLE(float); TEST_FLOAT_COMPATIBLE(double); // int to float { json j = 0; CHECK(j.as_float() == Approx(0)); j = 1; CHECK(j.as_float() == Approx(1.0)); } // float to int { json j = 0.0; CHECK(j.as_integer() == static_cast<int64_t>(0.0)); j = 1.0; CHECK(j.as_integer() == static_cast<int64_t>(1.0)); j = 1.49; CHECK(j.as_integer() == static_cast<int64_t>(1.49)); j = 1.51; CHECK(j.as_integer() == static_cast<int64_t>(1.51)); } } TEST_CASE_METHOD(BasicJsonTest, "test_equal") { CHECK(j["pi"] == 3.141); CHECK(j["pi"] > 3); CHECK(j["pi"] < 4); CHECK(j["happy"] == true); CHECK(j["name"] == "Nomango"); CHECK(j["list"][0] == 1); CHECK(j["list"][0] == 1u); CHECK(j["list"][0] == 1l); CHECK(j["list"][0] == int64_t(1)); CHECK(j["list"][1] == 0); CHECK(j["list"][2] == 2); CHECK(j["list"][0] > 0); CHECK(j["list"][0] < 2); CHECK(j["single_object"]["number"] == 123); CHECK(json(1.0) == 1); CHECK(json(1) == 1.0); CHECK(json(1.0) == 1.0f); CHECK(json(1.0f) == 1.0); } TEST_CASE_METHOD(BasicJsonTest, "test_explicit_convert") { CHECK(j["pi"] == 3.141); CHECK(j["happy"] == true); CHECK(j["name"] == "Nomango"); CHECK(j["list"][0].get<int64_t>() == 1); CHECK(j["list"][0].get<int64_t>() == 1u); CHECK(j["list"][0].get<int64_t>() == 1l); CHECK(j["list"][0].get<int64_t>() == int64_t(1)); } TEST_CASE_METHOD(BasicJsonTest, "test_assign") { j["happy"] = false; CHECK_FALSE(j["happy"].get<bool>()); j["list"][0] = -1; CHECK(j["list"][0].get<int64_t>() == -1); j["new_item"] = "string"; CHECK(j["new_item"].get<std::string>() == "string"); } TEST_CASE("test_basic_json") { SECTION("test_object") { CHECK_NOTHROW(json::object({ { "user", { { "id", 1 }, { "name", "Nomango" } } } })); // not an object CHECK_THROWS_AS(json::object({ { "1", 1 }, { "" } }), configor_type_error); CHECK_THROWS_AS(json::object({ { 1, "" } }), configor_type_error); json j = json::object({ { "user", { { "id", 1 }, { "name", "Nomango" } } } }); json j2 = j; CHECK(j == j2); CHECK_THROWS_AS(j[0], configor_invalid_key); CHECK_THROWS_AS(const_cast<const json&>(j)[0], configor_invalid_key); CHECK_THROWS_AS(const_cast<const json&>(j)["missing"], std::out_of_range); } SECTION("test_array") { CHECK_NOTHROW(json::array({ 1, 2, 3 })); json j; CHECK_NOTHROW(j = json::array({ { "user", { { "id", 1 }, { "name", "Nomango" } } } })); CHECK(j.is_array()); CHECK(j.size() == 1); CHECK(j[0].is_array()); CHECK_THROWS_AS(j["test"], configor_invalid_key); CHECK_THROWS_AS(const_cast<const json&>(j)["test"], configor_invalid_key); CHECK_THROWS_AS(const_cast<const json&>(j)[1], std::out_of_range); } SECTION("test_method_size") { json j; // string j = "string"; CHECK(j.size() == 1); // integer j = 100; CHECK(j.size() == 1); // floating j = 100.0; CHECK(j.size() == 1); // boolean j = true; CHECK(j.size() == 1); // null j = nullptr; CHECK(j.size() == 0); // array j = json::array({ 1, 2, 3 }); CHECK(j.size() == 3); // object j = json::object({ { "1", 1 }, { "2", 2 } }); CHECK(j.size() == 2); } SECTION("test_type") { using Catch::Matchers::Equals; json j; // string j = "string"; CHECK(j.type() == config_value_type::string); CHECK_THAT(j.type_name(), Equals("string")); // integer j = 100; CHECK(j.type() == config_value_type::number_integer); CHECK_THAT(j.type_name(), Equals("integer")); // floating j = 100.0; CHECK(j.type() == config_value_type::number_float); CHECK_THAT(j.type_name(), Equals("float")); // boolean j = true; CHECK(j.type() == config_value_type::boolean); CHECK_THAT(j.type_name(), Equals("boolean")); // null j = nullptr; CHECK(j.type() == config_value_type::null); CHECK_THAT(j.type_name(), Equals("null")); // array j = json::array({ 1, 2, 3 }); CHECK(j.type() == config_value_type::array); CHECK_THAT(j.type_name(), Equals("array")); // object j = json::object({ { "1", 1 }, { "2", 2 } }); CHECK(j.type() == config_value_type::object); CHECK_THAT(j.type_name(), Equals("object")); } SECTION("test_method_clear") { json j; // string j = "string"; CHECK_NOTHROW(j.clear()); CHECK(j.get<std::string>() == ""); // integer j = 100; CHECK_NOTHROW(j.clear()); CHECK(j.get<int64_t>() == 0); // floating j = 100.0; CHECK_NOTHROW(j.clear()); CHECK(j.get<double>() == 0); // boolean j = true; CHECK_NOTHROW(j.clear()); CHECK_FALSE(j.get<bool>()); // null j = nullptr; CHECK_NOTHROW(j.clear()); CHECK(j.is_null()); // array j = json::array({ 1, 2, 3 }); CHECK_NOTHROW(j.clear()); CHECK(j.size() == 0); // object j = json::object({ { "1", 1 }, { "2", 2 } }); CHECK_NOTHROW(j.clear()); CHECK(j.size() == 0); } SECTION("test_int64") { // issue 12 int64_t max64 = std::numeric_limits<int64_t>::max(); json j = max64; CHECK(j.get<int64_t>() == max64); } SECTION("test_json_value") { json j; CHECK_NOTHROW(j = config_value_type::null); CHECK(j.type() == config_value_type::null); CHECK_NOTHROW(j = config_value_type::boolean); CHECK(j.type() == config_value_type::boolean); CHECK_FALSE(j.get<bool>()); CHECK_NOTHROW(j = config_value_type::number_integer); CHECK(j.type() == config_value_type::number_integer); CHECK(j.get<json::integer_type>() == 0); CHECK_NOTHROW(j = config_value_type::number_float); CHECK(j.type() == config_value_type::number_float); CHECK(j.get<json::float_type>() == 0.0); CHECK_NOTHROW(j = config_value_type::string); CHECK(j.type() == config_value_type::string); CHECK(j.get<json::string_type>() == std::string{}); CHECK_NOTHROW(j = config_value_type::array); CHECK(j.type() == config_value_type::array); CHECK(j.get<json::array_type>() == json::array_type{}); CHECK_NOTHROW(j = config_value_type::object); CHECK(j.type() == config_value_type::object); CHECK(j.get<json::object_type>() == json::object_type{}); } }
476aa335f73168fdbab17cc5908f77b483eefe06
e9ec861cb8c0abf91e0f244a355ffdb85425b7b2
/src/cpp/rtps/transport/shared_mem/RobustLock.hpp
71b4524f439a2a48ffb33a042e639b380d3be9cc
[ "Apache-2.0" ]
permissive
advancenOO/Fast-DDS
87b061a2ffba7dd31043306bb6204f3478224e12
2611582c6f81158034e82a849e26a401562d3fd8
refs/heads/master
2023-01-27T21:47:30.863806
2020-12-07T12:46:07
2020-12-07T12:46:57
313,307,414
0
0
Apache-2.0
2020-11-17T14:19:03
2020-11-16T13:14:38
C++
UTF-8
C++
false
false
2,336
hpp
RobustLock.hpp
// Copyright 2020 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 _FASTDDS_ROBUST_LOCK_H_ #define _FASTDDS_ROBUST_LOCK_H_ #include <boostconfig.hpp> #include <boost/interprocess/detail/shared_dir_helpers.hpp> namespace eprosima { namespace fastdds { namespace rtps { /** * This class implement helpers used in RobustSharedLock & RobustExclusiveLock */ class RobustLock { public: #if !defined(BOOST_INTERPROCESS_POSIX_SHARED_MEMORY_OBJECTS) static std::string get_file_path( const std::string& file_name) { std::string shmfile; boost::interprocess::ipcdetail::shared_filepath(file_name.c_str(), shmfile); return shmfile; } #else static std::string get_file_path( const std::string& filename) { // Default value from: glibc-2.29/sysdeps/unix/sysv/linux/shm-directory.c static const char defaultdir[] = "/dev/shm/"; std::string filepath; #if defined(BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY) const bool add_leading_slash = false; #elif defined(BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY) const bool add_leading_slash = !boost::interprocess::shared_memory_object_detail::use_filesystem_based_posix(); #else const bool add_leading_slash = true; #endif if (add_leading_slash) { boost::interprocess::ipcdetail::add_leading_slash(filename.c_str(), filepath); } else { boost::interprocess::ipcdetail::shared_filepath(filename.c_str(), filepath); } return defaultdir + filepath; } #endif }; } // namespace rtps } // namespace fastdds } // namespace eprosima #endif // _FASTDDS_ROBUST_LOCK_H_
32c0f89e12b58ce3dbb953b44c48efdfe52aa4cf
a2c5dcd0493fbfc69c8823597896195e53361071
/classes/xml/xul/label.cpp
7e3f5faddcf524299aeae4b428a7bcb6825223bb
[ "Artistic-1.0", "Artistic-2.0" ]
permissive
enzo1982/smooth
673fed6eb977ce6e10c9ea3ffe54126561bc041e
3b8dd663dcd794b7eb6944a309d21b9bef114a58
refs/heads/master
2023-07-09T20:02:56.901359
2023-07-02T19:57:13
2023-07-02T20:03:31
100,875,066
26
13
Artistic-2.0
2023-01-29T23:56:56
2017-08-20T16:44:58
C
UTF-8
C++
false
false
913
cpp
label.cpp
/* The smooth Class Library * Copyright (C) 1998-2009 Robert Kausch <robert.kausch@gmx.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of "The Artistic License, Version 2.0". * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ #include <smooth/xml/xul/label.h> #include <smooth/xml/node.h> #include <smooth/gui/widgets/basic/text.h> S::XML::XUL::Label::Label(Node *node) : Widget(node) { text = NIL; if (node != NIL) { text = new GUI::Text(GetXMLAttributeValue(node, "value"), GUI::Point(0, 0)); } } S::XML::XUL::Label::~Label() { if (text != NIL) Object::DeleteObject(text); } S::GUI::Widget *S::XML::XUL::Label::GetWidget() const { return text; }
3f0fc33ea0d672f05bb1cabcaddf509aad48a043
dc92fbe3854bc79e60382ba090912bca63c0337b
/find-k-closest-elements/find-k-closest-elements.cpp
cd1773bd40c0e3eb23464fbc3a341659db5d0f60
[]
no_license
Nikhilsharmaiiita/LeetcodeCracker
c613783348a46fec4850e88473d2fccd433a872a
1b4b4454888746a1dd71a8ab48e866a12989c105
refs/heads/main
2023-08-13T15:31:33.765099
2021-10-11T13:54:44
2021-10-11T13:54:44
380,446,710
0
0
null
null
null
null
UTF-8
C++
false
false
453
cpp
find-k-closest-elements.cpp
class Solution { public: vector<int> findClosestElements(vector<int>& arr, int k, int x) { int n=arr.size(); arr.push_back(50000); int lo=0,hi=n-k,mid; while(lo<hi) { mid=lo+(hi-lo)/2; if(x-arr[mid]<=arr[mid+k]-x) hi=mid; else lo=mid+1; } vector<int> res(arr.begin()+lo,arr.begin()+lo+k); return res; } };
c7ca5dc9febf01c4164f5f8eefaf2bfdd2afb470
8e198bf88726045fc0bd341155ef8fd3056f2383
/transfer.cpp
75ec504552b566115fc48fe0638e9071859005d1
[]
no_license
lx200916/QChat_Public
9842cd767570af09c12416e978a03d67d1d77792
07636f15f1defeec54ba3c4016f034c571a932e7
refs/heads/master
2023-05-01T13:43:15.595536
2021-05-28T11:36:10
2021-05-28T11:36:10
198,995,087
2
1
null
null
null
null
UTF-8
C++
false
false
3,689
cpp
transfer.cpp
#include "transfer.h" #include "ui_transfer.h" #include <iostream> #include <QDataStream> #include <QFile> #include <QHostAddress> #include <QTcpServer> #include <QTcpSocket> #include<QMessageBox> const int DATA_STREAM_VERSION = QDataStream::Qt_5_13; transfer::transfer(QHostAddress ta,QString Filename,QWidget *parent) : QMainWindow(parent), ui(new Ui::transfer) { ui->setupUi(this); tcpip=ta; ui->setupUi(this); /* 进度条调零 */ ui->recvProg->setValue(0); /* 启用监听按钮 */ fileBytes = gotBytes = nameSize = 0; file = Q_NULLPTR; ui->label->setText(Filename); receiver = Q_NULLPTR; server = new QTcpServer(this); /* 连接请求 -> 接受连接 */ connect(server, SIGNAL(newConnection()), this, SLOT(accept_connect())); server->listen(QHostAddress::Any, 9999); qDebug()<<"listen"; } transfer::~transfer() { delete ui; delete server; } void transfer::accept_connect() { receiver = server->nextPendingConnection(); /* 有数据到 -> 接受数据 */ connect(receiver, SIGNAL(readyRead()), this, SLOT(recevie_file())); /* socket出错 -> 出错处理 */ connect(receiver, SIGNAL(error(QAbstractSocket::SocketError)), this, SLOT(show_error(QAbstractSocket::SocketError))); gotBytes = 0; server->close(); } void transfer::recevie_file() { QDataStream in(receiver); in.setVersion(DATA_STREAM_VERSION); /* 首部未接收/未接收完 */ if(gotBytes <= 2 * sizeof(qint64)) { if(!nameSize) // 前两个长度字段未接收 { if(receiver->bytesAvailable() >= 2 * sizeof(qint64)) { in >> fileBytes >> nameSize; gotBytes += 2 * sizeof(qint64); ui->recvProg->setMaximum(fileBytes); ui->recvProg->setValue(gotBytes); } else // 数据不足,等下次 return; } else if(receiver->bytesAvailable() >= nameSize) { in >> fileName; gotBytes += nameSize; ui->recvProg->setValue(gotBytes); qDebug() << "--- File Name: "<< fileName << endl; } else // 数据不足文件名长度,等下次 return; } if(!fileName.isEmpty() && file == Q_NULLPTR) { file = new QFile(fileName); if(!file->open(QFile::WriteOnly)) // 打开失败 { qDebug() << "*** File Open Failed ***" << endl; delete file; file = Q_NULLPTR; return; } } if(file == Q_NULLPTR) // 文件未打开,不能进行后续操作 return; if(gotBytes < fileBytes) // 文件未接收完 { gotBytes += receiver->bytesAvailable(); ui->recvProg->setValue(gotBytes); file->write(receiver->readAll()); } if(gotBytes == fileBytes) // 文件接收完 { receiver->close(); // 关socket file->close(); // 关文件 delete file; QMessageBox::information(this,"Complete!","Transfer Done!","Ok"); } } void transfer::show_error(QAbstractSocket::SocketError) { std::cerr << "*** Socket Error ***" << std::endl; qDebug() << receiver->errorString(); receiver->close(); // 关cocket receiver = Q_NULLPTR; file = Q_NULLPTR; fileName.clear(); // 清空文件名 fileBytes = gotBytes = nameSize = 0; ui->recvProg->reset(); // 进度条归零 }
db84ece7c3c1eafeb501af6d0d97c67834220cfa
2b28a6b67641db45a0b031711f07989f6a2288fb
/src/core/windowService.hpp
dc0e7ef3bfbd4e517aea23df6786aa179d7ffadf
[]
no_license
ianw3214/Oasis
a874fece5dd49704c647d8619f5b2d910a248cf6
2094c43f26c23fb53451ab3d78700e7587ebb028
refs/heads/master
2022-05-16T08:06:53.382715
2022-04-20T05:21:08
2022-04-20T05:21:08
113,233,136
0
1
null
null
null
null
UTF-8
C++
false
false
550
hpp
windowService.hpp
#pragma once #include <SDL2/SDL.h> #include <GL/glew.h> #include <SDL2/SDL_opengl.h> namespace Oasis { class Application; class WindowService { public: static void Init(Application * application); static int WindowWidth(); static int WindowHeight(); static SDL_Window* GetWindow(); static SDL_GLContext GetContext(); static float GetDeltaF(); static void SetWindowDimensions(int width, int height); private: static Application * s_application; }; }
c051b8e83380f383b232ed8fd8dd1d2038f8f69e
1bc9797c7f34ebdb4c91de1778292b84ba677813
/compiler/ast.h
ff220c29d54d65b2cb6602222f02060d032bf9f6
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
synecdoche/basil
8efade7d95b64f67e0d74cb5b25954411224bce0
575b4590d45144f80d74ddc0bfc133cad4b7c04d
refs/heads/master
2023-09-04T04:07:40.508207
2021-11-07T19:16:01
2021-11-07T19:16:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,314
h
ast.h
/* * Copyright (c) 2021, the Basil authors * All rights reserved. * * This source code is licensed under the 3-Clause BSD License, the full text * of which can be found in the LICENSE file in the root directory * of this project. */ #ifndef BASIL_AST_H #define BASIL_AST_H #include "util/either.h" #include "type.h" #include "source.h" #include "env.h" #include "ssa.h" namespace basil { struct Function; // Unique kinds for each distinct type of AST node. enum ASTKind { AST_DEF, AST_FUNCTION, AST_FUNCTION_STUB, AST_CALL, AST_OVERLOAD, AST_IF, AST_IF_ELSE, AST_WHILE, AST_DO, AST_INT, AST_FLOAT, AST_DOUBLE, AST_SYMBOL, AST_STRING, AST_CHAR, AST_VOID, AST_TYPE, AST_BOOL, AST_VAR, AST_UNKNOWN, AST_ADD, AST_SUB, AST_MUL, AST_DIV, AST_REM, AST_AND, AST_OR, AST_XOR, AST_NOT, AST_HEAD, AST_TAIL, AST_CONS, AST_LESS, AST_LESS_EQUAL, AST_GREATER, AST_GREATER_EQUAL, AST_EQUAL, AST_NOT_EQUAL, AST_ASSIGN, AST_COERCE }; // Mangles a function or variable name based on its type. Symbol mangle(Symbol name, Type type); // Base class of all AST nodes. AST nodes are statically typed, // and represent code intended to be compiled and executed at runtime, // instead of evaluated wholly by the compiler. struct AST { Source::Pos pos; Type t, cached_type; ASTKind k; // Whether or not this AST node's type has been resolved already. bool resolved = false; // Constructs an AST node from the provided env, kind, and type. // The type an AST is constructed with should represent the type of // this particular AST node, not the value it ultimately produces - // that is to say, its type without any children. For leaf nodes that // wouldn't have any children regardless, this is simply the type of // the value the node represents. For branch nodes, this is usually // a function type expressing the type of the operation it performs. AST(Source::Pos pos, ASTKind kind, Type type); virtual ~AST(); virtual void format(stream& io) const = 0; virtual rc<AST> clone() const = 0; // The pointers begin() and end() return behave like iterators. Typical // implementations point these to an internal array of child pointers, // at the beginning and just past the end respectively. virtual const rc<AST>* begin() const = 0; virtual const rc<AST>* end() const = 0; // Returns the number of children this AST node has. u32 children() const; // Returns the type of the sub-AST rooted at this node. // This function will recursively type (and typecheck) any children of this // node, then check their types against this node's desired parameters. If // this check passes, this function will return the return type of this node's // operation. If an error occurs, this function will report an error and // return the error type. virtual Type type(rc<Env> env); // Writes SSA instructions to the active basic block in the provided function. // Returns the resulting IR value - either a terminal value like a variable or // constant, or the result variable of the generated instruction. virtual IRParam gen_ssa(rc<Env> env, rc<IRFunction> func) = 0; // Serializes this AST node and its children to the provided byte buffer. virtual void serialize(rc<Env> env, bytebuf& buf); // Deserializes an AST node and its children from the provided byte buffer. static rc<AST> deserialize(bytebuf& buf); // Returns the kind of AST node this is. ASTKind kind() const; }; // AST node constructors. rc<AST> ast_def(Source::Pos pos, Symbol name, rc<AST> init); rc<AST> ast_func_stub(Source::Pos pos, Type type, Symbol name, bool do_mangle); rc<AST> ast_func(Source::Pos pos, Type type, rc<Env> fn_env, optional<Symbol> name, const vector<Symbol>& args, rc<AST> body); rc<AST> ast_call(Source::Pos pos, rc<AST> func, const vector<rc<AST>>& args); rc<AST> ast_overload(Source::Pos pos, Type type, const map<Type, either<Builtin, rc<InstTable>>>& cases); // Constants rc<AST> ast_int(Source::Pos pos, Type type, i64 value); rc<AST> ast_float(Source::Pos pos, Type type, float value); rc<AST> ast_double(Source::Pos pos, Type type, double value); rc<AST> ast_symbol(Source::Pos pos, Type type, Symbol value); rc<AST> ast_string(Source::Pos pos, Type type, const ustring& value); rc<AST> ast_char(Source::Pos pos, Type type, rune value); rc<AST> ast_void(Source::Pos pos); rc<AST> ast_type(Source::Pos pos, Type type, Type value); rc<AST> ast_bool(Source::Pos pos, Type type, bool value); rc<AST> ast_var(Source::Pos pos, rc<Env> env, Symbol name); rc<AST> ast_unknown(Source::Pos pos, Type type); // Arithmetic rc<AST> ast_add(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_sub(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_mul(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_div(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_rem(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); // Logic rc<AST> ast_and(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_or(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_xor(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_not(Source::Pos pos, Type type, rc<AST> operand); // Comparisons rc<AST> ast_less(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_less_equal(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_greater(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_greater_equal(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_equal(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); rc<AST> ast_not_equal(Source::Pos pos, Type type, rc<AST> left, rc<AST> right); // Control rc<AST> ast_if(Source::Pos pos, rc<AST> cond, rc<AST> ifTrue); rc<AST> ast_if_else(Source::Pos pos, rc<AST> cond, rc<AST> ifTrue, rc<AST> ifFalse); rc<AST> ast_while(Source::Pos pos, rc<AST> cond, rc<AST> body); rc<AST> ast_do(Source::Pos pos, const vector<rc<AST>>& exprs); template<typename... Args> rc<AST> ast_do(Source::Pos pos, const Args&... args) { return ast_do(pos, vector_of<rc<AST>>(args...)); } // Lists rc<AST> ast_head(Source::Pos pos, Type type, rc<AST> operand); rc<AST> ast_tail(Source::Pos pos, Type type, rc<AST> operand); rc<AST> ast_cons(Source::Pos pos, Type type, rc<AST> head, rc<AST> tail); rc<AST> ast_coerce(Source::Pos pos, rc<AST> value, Type dest); // Mutation rc<AST> ast_assign(Source::Pos pos, Type type, rc<AST> dest, rc<AST> src); // Utility Functions rc<AST> resolve_overloads(rc<Env> env, rc<AST> root); rc<IRFunction> get_ssa_function(rc<AST> function); } void write(stream& io, const rc<basil::AST>& param); #endif
b62281623842afce05320d91edfe20b00482c405
787caee96dc37f654205314acd3144824a27e1a1
/code/src/Installer/ISSection.cpp
46972427b4252e76558a4afd45aa2a64f9a9a42b
[]
no_license
zleesz/light-installer
483d1126f780983d5e784421302eb459d1adb76a
2b89b321afc517ce9bd242e0582b6eca5a6d9e92
refs/heads/master
2020-04-06T06:21:17.609122
2012-12-01T07:11:33
2012-12-01T07:11:33
32,120,002
0
0
null
null
null
null
GB18030
C++
false
false
1,049
cpp
ISSection.cpp
#include "StdAfx.h" #include "ISSection.h" CISSection::CISSection(void) { m_pClassFactory = GET_SINGLETON(CISOPClassFactory); } CISSection::~CISSection(void) { m_pClassFactory = NULL; std::vector<CISOPBase*>::iterator it = m_vecOP.begin(); for(; it != m_vecOP.end(); it++) { delete *it; } m_vecOP.clear(); } void CISSection::SetName(const std::wstring& wstrName) { LOGENTER(); if(m_wstrName.empty()) { m_wstrName = wstrName; } else { assert(false && "section name 重复设置!"); } } const std::wstring& CISSection::GetName() const { return m_wstrName; } void CISSection::AddOperation(const std::wstring& wstrLine) { LOGENTER(); if(m_wstrName.length() <= 0) { assert(false && "AddOperation 之前要先调 SetName!"); return; } CISOPBase* pISOPBase = m_pClassFactory->CreateISOP(m_wstrName); if(NULL != pISOPBase) { OpErrorCode errorCode = pISOPBase->SetLine(wstrLine); LOGDEBUG(_T("errorCode=%08X"), errorCode); m_vecOP.push_back(pISOPBase); } }
65afc43670c4972e962d2bf5a7cc28a9fec7dfb8
89f91ac3de03a78a7158bfa87b0d4d84a3c47109
/621.cpp
4dc53166027b203522daaa88feb03ee69e708e2b
[]
no_license
xyuanlu/Cultivation
65a8b098f407443aa35b2fe6d5d77419a1ab0e73
9a2dadc56ec17d5af1c780e9224936f1afa86786
refs/heads/master
2021-07-06T08:07:11.071012
2020-11-08T23:55:46
2020-11-08T23:55:46
201,869,574
0
0
null
null
null
null
UTF-8
C++
false
false
2,864
cpp
621.cpp
/* * 621. Task Scheduler * * Given a char array representing tasks CPU need to do. It contains capital letters A to * Z where different letters represent different tasks. Tasks could be done without original order. * Each task could be done in one interval. For each interval, CPU could finish one task or just be idle. * * However, there is a non-negative cooling interval n that means between two same tasks, there must be at least n intervals that CPU are doing different tasks or just be idle. * * You need to return the least number of intervals the CPU will take to finish all the given tasks. * */ class Solution { public: int leastInterval(vector<char>& tasks, int n) { vector<int> m(26, 0); for(char c:tasks) { m[c-'A'] ++; } // sort from largest to min sort(m.begin(), m.end(), greater<int>()); // At most need (MaxNum-1)*n slot (the char space is not included) int initslot = (m[0]-1) *n; for(int i=1; i<26; ++i) { int slot; if (m[i] == m[0]) { slot = max(0, initslot - (m[i]-1)); } else { slot = max(0, initslot - m[i]); } initslot = slot; } int res = initslot + tasks.size(); return res; } }; class Solution { public: class taskCount{ public: char t; int count; bool operator< (const taskCount& other) const { return count < other.count; } }; // We can not pre allocate all the same task at once. // For A~E 3 times, and F 2 times, we should do abcdeabcdefancdef not abcedabcedabccedf***f int leastInterval(vector<char>& tasks, int n) { unordered_map<char, int> m; for(char c:tasks) { m[c]++; } priority_queue<taskCount> q, qq; for(auto& it:m) { taskCount t{it.first, it.second}; q.push(t); } vector<char> memo; for(int i=0; i<=n; ++i) { if (!q.empty()) { taskCount t = q.top(); q.pop(); memo.push_back(t.t); t.count--; if(t.count>0) { qq.push(t); } } else { memo.push_back('*'); } if(i==n) { while(!qq.empty()) { q.push(qq.top()); qq.pop(); } if(!q.empty()) { i=-1; } } } //for(auto i:memo) {cout<<i<<" ";} int i=memo.size()-1; for(; i>=0; --i) { if(memo[i]!='*') break; } return i+1; } };
733edb7d564c42b7d25601b36e202b956e14f910
200cc322c9e14819f5c494c03ee66bc4770f1942
/计蒜客/蓝桥杯训练营2018/蒜头君破案.cpp
a92e0262952f079e86f5e3cc8792d2ed19cfead6
[]
no_license
DeftHaHa/ACM
405965d8da104edae69f46545c301848c88df382
462de76d49c1ca10cb834ed03df2ae7ea046359e
refs/heads/master
2020-04-27T20:12:59.513127
2019-03-09T04:51:54
2019-03-09T04:51:54
174,649,510
1
0
null
null
null
null
UTF-8
C++
false
false
500
cpp
蒜头君破案.cpp
#include<iostream> #include<cstring> #include<set> using namespace std; struct PEO{ int a,b,c; }; struct cmp{ bool operator () (PEO a,PEO b) const{ if(a.a!=b.a) return a.a<b.a; if(a.b!=b.b) return a.b<b.b; return a.c<b.c; } }; set<PEO,cmp> S; int main() { int n,m; int a,b,c; scanf("%d%d",&m,&n); while(m--){ scanf("%d%d%d",&a,&b,&c); S.insert(PEO{a,b,c}); } while(n--){ scanf("%d%d%d",&a,&b,&c); if(S.count(PEO{a,b,c})) printf("yes\n"); else printf("no\n"); } return 0; }
d66f93946fd5289a6ae3c5aa240736930029d3de
01186c631ffe6a1f5ce6c2f31028cac3245555ca
/utils/CORRAUtils.cpp
662b892318f02e6eccf8b673c327f865b0e76f40
[]
no_license
buivancuong/parallel-routing
9bd819de3cbbd4756c9a8b4a66c610d6584df8b3
544b6db85a82f3013625be652b2a1268c4fe9d1a
refs/heads/master
2020-08-20T00:29:32.253213
2020-06-29T15:46:45
2020-06-29T15:46:45
215,968,105
0
0
null
null
null
null
UTF-8
C++
false
false
3,263
cpp
CORRAUtils.cpp
// // Created by cuongbv on 20/12/2019. // #include <cstdlib> #include "CORRAUtils.h" int CORRAUtils::getNodeHorizontal(int nodeID, int xTopoSize) { return nodeID % xTopoSize; } int CORRAUtils::getNodeVertical(int nodeID, int xTopoSize) { return (int) (nodeID / xTopoSize); } int CORRAUtils::getNodeBlock(int nodeID, int xBlockSize, int yBlockSize, int xTopoSize) { int xBlock = (int) (CORRAUtils::getNodeHorizontal(nodeID, xTopoSize) / xBlockSize); int yBlock = (int) (CORRAUtils::getNodeVertical(nodeID, xTopoSize) / yBlockSize); return yBlock * (int)(xTopoSize / xBlockSize) + xBlock; } int CORRAUtils::getCenterVertex(int blockId, int xBlockSize, int yBlockSize, int xTopoSize, int yTopoSize) { int blockHorizontal = CORRAUtils::getBlockHorizontal(blockId, xBlockSize, xTopoSize); int blockVertical = CORRAUtils::getBlockVertical(blockId, yBlockSize, yTopoSize); int minHorizontal = xBlockSize * blockHorizontal + (int)(xBlockSize / 2) - 1; // -1 because of counting from 0 int minVertical = yBlockSize * blockVertical + (int)(yBlockSize / 2) - 1; return minVertical * xTopoSize + minHorizontal; } int CORRAUtils::getBlockHorizontal(int blockId, int xBlockSize, int xTopoSize) { int numXBlock = (int)(xTopoSize / xBlockSize); return blockId % numXBlock; } int CORRAUtils::getBlockVertical(int blockID, int xBlockSize, int xTopoSize) { int numXBlock = (int)(xTopoSize / xBlockSize); return (int)(blockID / numXBlock); } int CORRAUtils::getMaxHopinBlock(int nodeID, int xBlockSize, int yBlockSize, int xTopoSize) { int itsBlockID = CORRAUtils::getNodeBlock(nodeID, xBlockSize, yBlockSize, xTopoSize); int blockHorizontal = CORRAUtils::getBlockHorizontal(itsBlockID, xBlockSize, xTopoSize); int blockVertical = CORRAUtils::getBlockVertical(itsBlockID, xBlockSize, xTopoSize); int minHorizontal = xBlockSize * blockHorizontal; int maxHorizontal = minHorizontal + xBlockSize - 1; int minVertical = yBlockSize * blockVertical; int maxVertical = minVertical + yBlockSize - 1; int maxXHop, maxYHop; int vertexHorizontal = CORRAUtils::getNodeHorizontal(nodeID, xTopoSize); int vertexVertical = CORRAUtils::getNodeVertical(nodeID, xTopoSize); if (abs(vertexHorizontal - maxHorizontal) > abs(vertexHorizontal - minHorizontal)) { maxXHop = abs(vertexHorizontal - maxHorizontal); } else { maxXHop = abs(vertexHorizontal - minHorizontal); } if (abs(vertexVertical - maxVertical) > abs(vertexVertical - minVertical)) { maxYHop = abs(vertexVertical - maxVertical); } else { maxYHop = abs(vertexVertical - minVertical); } return (maxXHop + maxYHop); } int CORRAUtils::getGridHop(int sourceID, int destID, int xTopoSize) { int sourceRow = (int) (sourceID / xTopoSize); int destRow = (int)(destID / xTopoSize); int sourceCol = sourceID % xTopoSize; int destCol = destID % xTopoSize; return abs(sourceRow - destRow) + abs(sourceCol - destCol); } int CORRAUtils::getTotalBlocks(int xBlockSize, int yBlockSize, int xTopoSize, int yTopoSize) { return (int)(xTopoSize / xBlockSize) * (int)(yTopoSize / yBlockSize); } CORRAUtils::~CORRAUtils() = default; CORRAUtils::CORRAUtils() = default;
372f8d4bbda9471c4e9c1b7429d064717c687421
d272482192a7f57979b57cf1cad8478dbd772eb3
/Classes/GameInputs.h
ffa31eb411a1acbfc377558fcb33e00ca67bbbda
[ "MIT" ]
permissive
wangyanxing/JumpProject
4e03d600010a209466b53d00dc5d02599bc73634
07ea399dcf10e92186921dee37257a419f0ca62c
refs/heads/master
2021-01-14T08:41:00.698586
2016-02-23T04:50:58
2016-02-23T04:50:58
25,420,226
0
0
null
null
null
null
UTF-8
C++
false
false
1,163
h
GameInputs.h
// // InputManager.h // jumpproj // // Created by Yanxing Wang on 1/18/16. // // #ifndef GameInputs_h #define GameInputs_h #include "Prerequisites.h" #include "Singleton.h" class GameInputs { public: DECL_SIMPLE_SINGLETON(GameInputs); typedef cocos2d::EventKeyboard::KeyCode KeyCode; typedef std::function<void(KeyCode)> KeyboardFunc; typedef std::unordered_map<KeyCode, KeyboardFunc, EnumClassHash> KeyboardEvents; void keyPressed(KeyCode key, cocos2d::Event *event); void keyReleased(KeyCode key, cocos2d::Event *event); bool isPressing(KeyCode key) const { return mPressingKeys.count(key); } bool isPressingMouse() const { return mPressingMouse; } void setPressingMouse(bool val) { mPressingMouse = val; } void setLastMousePosition(const cocos2d::Vec2 &mousePos); void addKeyboardEvent(KeyCode key, KeyboardFunc callback); void removeKeyboardEvent(KeyCode key); MouseEvent convertMouseEvent(cocos2d::EventMouse *event); private: std::set<KeyCode> mPressingKeys; KeyboardEvents mKeyboardEvents; cocos2d::Vec2 mLastMousePosition; bool mPressingMouse{false}; }; #endif /* GameInputs_h */
8dfcf65b16b34a81bb95a70e9b010592a9ba6aac
0684af1ffed99250b0fcbc7ab32ef8678e224844
/src/LockCamera.h
7f6534c7b1df91a08e3c44aa95d49eeaaaa7792c
[]
no_license
pwadhawan/LockCode
08720f1cbd25d29cc16cc4f94f2b065ed40ef657
b0227dd045e29cf2002c3111af100f9dc6d58ee3
refs/heads/master
2021-01-22T05:50:42.123669
2015-01-05T18:14:36
2015-01-05T18:14:36
28,823,364
0
0
null
null
null
null
UTF-8
C++
false
false
468
h
LockCamera.h
/* * LockCamera.h * */ #ifndef CAMERA_H_ #define CAMERA_H_ #include "SimpleGPIO.h" #include <stdlib.h> class LockCamera { private: public: LockCamera(); //Initialize the LockCamera in BBB void capture();//Capture the image using the camera in BB void switchon(); //Switching LockCamera ON void switchoff();//Switching LockCamera OFF virtual ~LockCamera(); // unexport the gpios }; #endif /* CAMERA_H_ */
ac953b766f3fd4900457179aa6d56ad063a63e75
eba5ff0a3568dc9265bdc3929a8dd2e77e0f5560
/Plugins/NetDMFReader/vtkNetDmfReader.cxx
7510f4465d16474515228c2c980c3f000dec0eb9
[ "LicenseRef-scancode-paraview-1.2" ]
permissive
kmorel/ParaView
4b53b2279bb34a01290dcfee9d2ff8e42e9e6945
006cf719b9e07b0ee2c56f66fdf744bad4d18259
refs/heads/master
2021-01-17T16:25:02.519331
2010-08-04T22:10:14
2010-08-04T22:10:14
685,857
1
0
null
null
null
null
UTF-8
C++
false
false
22,854
cxx
vtkNetDmfReader.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkNetDmfReader.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission. * Modified source versions must be plainly marked as such, and must not be misrepresented as being the original software. 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 AUTHORS 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. =========================================================================*/ #include "vtkNetDmfReader.h" #include "vtkCharArray.h" #include "vtkDataObject.h" #include "vtkDataSetAttributes.h" #include "vtkFloatArray.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkIntArray.h" #include "vtkMath.h" #include "vtkMutableDirectedGraph.h" #include "vtkObjectFactory.h" #include "vtkPLYReader.h" #include "vtkSmartPointer.h" #include "vtkStreamingDemandDrivenPipeline.h" #include "vtkStringArray.h" #include "vtkVariantArray.h" #include "vtkXMLParser.h" #include "XdmfArray.h" #include "XdmfAttribute.h" #include "XdmfDOM.h" #include "XdmfDataDesc.h" #include "XdmfDataItem.h" #include "XdmfGrid.h" #include "XdmfTopology.h" #include "XdmfGeometry.h" #include "XdmfTime.h" #include "XdmfSet.h" #include <sys/stat.h> #include <vtkstd/set> #include <vtkstd/map> #include <vtkstd/string> #include <vtksys/ios/sstream> #include <vtkstd/vector> #include <vtksys/SystemTools.hxx> #include <assert.h> #include <functional> #include <algorithm> #include "NetDMFAddressItem.h" #include "NetDMFConversation.h" #include "NetDMFEvent.h" #include "NetDMFNode.h" #include "NetDMFResult.h" #include "NetDMFScenario.h" #include "NetDMFRoot.h" #include "NetDMFMovement.h" #define VTK_CREATE(type,name) \ vtkSmartPointer<type> name = vtkSmartPointer<type>::New() #ifdef MIN # undef MIN #endif #define MIN(A,B) ((A) < (B)) ? (A) : (B) #ifdef MAX # undef MAX #endif #define MAX(A,B) ((A) > (B)) ? (A) : (B) //---------------------------------------------------------------------------- vtkStandardNewMacro(vtkNetDmfReader); //============================================================================ class vtkNetDmfReaderInternal { public: vtkNetDmfReaderInternal() { this->DOM = 0; this->TimeRange[0] = 0.; this->TimeRange[1] = 0.; this->NameProperties = 0; this->TypeProperties = 0; this->ClassProperties = 0; this->NodeIdProperties = 0; this->DirectionProperties = 0; } ~vtkNetDmfReaderInternal() { if ( this->DOM ) { delete this->DOM; } } vtkNetDmfReaderGrid* GetGrid(const char* gridName); vtkNetDmfReaderGrid* GetGrid(int idx); vtkNetDmfReaderGrid *AddGrid( vtkNetDmfReaderGrid *parent, const char *gridName); void DeleteChildren(vtkNetDmfReaderGrid* parent); // Temporary method to update the list of arrays provided by the grid. int UpdateArrays(vtkNetDmfReaderGrid *grid); int RequestGridInformation(vtkNetDmfReaderGrid *grid, vtkInformation *destInfo); int FindParallelism(vtkNetDmfReaderGrid *grid = 0){return 0;} int RequestGridData(/*const char* currentGridName,*/ vtkNetDmfReaderGrid *grid, vtkDataObject *output, int timeIndex, int isSubBlock, double progressS, double progressE); void UpdateTimeRange(NetDMFEvent* event); // Should probably part of the NetDMF library (class methods ?) void GetEventTimeRange(NetDMFEvent* event, double timeRange[2]); double GetMovementEndTime(NetDMFMovement* movement, double startTime); void GetMovementTimeRange(NetDMFMovement* movement, double timeRange[2]); vtkstd::map<vtkStdString, int> ElementCount; // vtkNetDmfReaderGrid *ParallelLevel; vtkstd::vector<vtkNetDmfReaderGrid*> ParallelLevels; NetDMFDOM* DOM; vtkNetDmfReader* Reader; vtkStringArray* NameProperties; vtkStringArray* TypeProperties; vtkStringArray* ClassProperties; vtkIntArray* NodeIdProperties; vtkFloatArray* DirectionProperties; double TimeRange[2]; unsigned int UpdatePiece; unsigned int UpdateNumPieces; }; //============================================================================ void vtkNetDmfReaderInternal::UpdateTimeRange(NetDMFEvent* event) { double timeRange[2]; this->GetEventTimeRange(event, timeRange); if (this->TimeRange[0] == 0.0) { this->TimeRange[0] = timeRange[0]; } else if (timeRange[0] != 0.0) { this->TimeRange[0] = MIN(this->TimeRange[0], timeRange[0]); } if (this->TimeRange[1] == 0.0) { this->TimeRange[1] = timeRange[1]; } else if (timeRange[1] != 0.0) { this->TimeRange[1] = MAX(this->TimeRange[1], timeRange[1]); } } //============================================================================ void vtkNetDmfReaderInternal::GetEventTimeRange(NetDMFEvent* event, double timeRange[2]) { timeRange[0] = 0.; timeRange[1] = 0.; timeRange[0] = event->GetStartTime(); if (event->GetEndTime() != 0.) { timeRange[1] =event->GetEndTime(); } else { int numberOfMovements = event->GetNumberOfMovements(); for (int i = 0; i < numberOfMovements; ++i) { double movementEndTime = this->GetMovementEndTime(event->GetMovement(i), timeRange[0]); timeRange[1] = MAX(timeRange[1], movementEndTime); } // TODO: get the starttime/endtime from conversation/traffic } } //============================================================================== double vtkNetDmfReaderInternal::GetMovementEndTime(NetDMFMovement* movement, double startTime) { // TODO: Support more than Path movement type XdmfDataItem* pathData = (movement->GetMovementType() == NETDMF_MOVEMENT_TYPE_PATH)? movement->GetPathData(): 0; // warning we need to call UPDATE() here. Would be nice if we don't // have to. if (!pathData) { return startTime; } pathData->Update(); double endTime = startTime + movement->GetMovementInterval() * pathData->GetDataDesc()->GetDimension(0); return endTime; } //============================================================================ void vtkNetDmfReaderInternal::GetMovementTimeRange(NetDMFMovement* movement, double timeRange[2]) { timeRange[0] = 0.; timeRange[1] = 0.; XdmfXmlNode movementNode = movement->GetElement(); // Get Parent Event // TODO: cache all the NetDMFElement for a faster access, XdmfXmlNode eventNode = this->DOM->GetParentNode(movementNode); NetDMFEvent e; while (timeRange[0] == 0. && eventNode && XDMF_WORD_CMP(e.GetElementName(), this->DOM->GetName(eventNode))) { NetDMFEvent* event = new NetDMFEvent; event->SetDOM(this->DOM); event->SetElement(eventNode); event->UpdateInformation(); timeRange[0] = event->GetStartTime(); eventNode = this->DOM->GetParentNode(eventNode); delete event; } timeRange[1] = this->GetMovementEndTime(movement, timeRange[0]); } //============================================================================ class vtkNetDmfReaderTester : public vtkXMLParser { public: vtkTypeMacro(vtkNetDmfReaderTester, vtkXMLParser); static vtkNetDmfReaderTester* New(); int TestReadFile() { this->Valid = 0; if(!this->FileName) { return 0; } ifstream inFile(this->FileName); if(!inFile) { return 0; } this->SetStream(&inFile); this->Done = 0; this->Parse(); if(this->Done && this->Valid ) { return 1; } return 0; } void StartElement(const char* name, const char**) { this->Done = 1; vtkstd::string nameString(name); if (nameString == "Xdenf" || nameString == "NetDMF" || nameString == "Xmn") { this->Valid = 1; } } protected: vtkNetDmfReaderTester() { this->Valid = 0; this->Done = 0; } private: void ReportStrayAttribute(const char*, const char*, const char*) {} void ReportMissingAttribute(const char*, const char*) {} void ReportBadAttribute(const char*, const char*, const char*) {} void ReportUnknownElement(const char*) {} void ReportXmlParseError() {} int ParsingComplete() { return this->Done; } int Valid; int Done; vtkNetDmfReaderTester(const vtkNetDmfReaderTester&); // Not implemented void operator=(const vtkNetDmfReaderTester&); // Not implemented }; vtkStandardNewMacro(vtkNetDmfReaderTester); //============================================================================ vtkNetDmfReader::vtkNetDmfReader() { this->Internal = new vtkNetDmfReaderInternal; this->Internal->Reader = this; this->SetNumberOfInputPorts(0); this->SetNumberOfOutputPorts(1); this->CurrentTimeStep = 0; } //---------------------------------------------------------------------------- vtkNetDmfReader::~vtkNetDmfReader() { delete this->Internal; H5garbage_collect(); } //---------------------------------------------------------------------------- void vtkNetDmfReader::SetFileName(const vtkStdString& fileName) { this->FileName = fileName; this->Modified(); } //---------------------------------------------------------------------------- const char* vtkNetDmfReader::GetFileName()const { return this->FileName.c_str(); } //---------------------------------------------------------------------------- int vtkNetDmfReader::CanReadFile(const char* fname) { vtkNetDmfReaderTester* tester = vtkNetDmfReaderTester::New(); tester->SetFileName(fname); int res = tester->TestReadFile(); tester->Delete(); return res; } //---------------------------------------------------------------------------- void vtkNetDmfReader::PrintSelf(ostream& os, vtkIndent indent) { this->Superclass::PrintSelf(os,indent); } //---------------------------------------------------------------------------- bool vtkNetDmfReader::ParseXML() { // * Ensure that the required objects have been instantiated. if (!this->Internal->DOM) { this->Internal->DOM = new NetDMFDOM(); } // * Check if the XML needs to be re-read. bool modified = false; // Parse the file... // First make sure the file exists. This prevents an empty file // from being created on older compilers. if (this->FileName.empty() || !vtksys::SystemTools::FileExists(this->FileName)) { vtkErrorMacro("Can't read file: \"" << this->FileName.c_str() << "\""); return false; } modified = this->FileName != this->Internal->DOM->GetInputFileName() || vtksys::SystemTools::ModifiedTime(this->FileName) > this->FileParseTime; if (modified) { //Tell the parser what the working directory is. vtkstd::string directory = vtksys::SystemTools::GetFilenamePath(this->FileName) + "/"; if (directory == "/") { directory = vtksys::SystemTools::GetCurrentWorkingDirectory() + "/"; } // directory = vtksys::SystemTools::ConvertToOutputPath(directory.c_str()); this->Internal->DOM->SetWorkingDirectory(directory.c_str()); this->Internal->DOM->SetInputFileName(this->FileName); this->Internal->DOM->Parse(this->FileName); this->FileParseTime = vtksys::SystemTools::ModifiedTime(this->FileName); this->ParseTime.Modified(); } return true; } //----------------------------------------------------------------------------- int vtkNetDmfReader::RequestInformation( vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) { vtkDebugMacro("RequestInformation"); if (!this->ParseXML()) { return 0; } for (XdmfXmlNode eventNode = this->Internal->DOM->FindNextRecursiveElement("Event"); eventNode; eventNode = this->Internal->DOM->FindNextRecursiveElement("Event", eventNode)) { NetDMFEvent* event = new NetDMFEvent(); event->SetDOM(this->Internal->DOM); event->SetElement(eventNode); event->UpdateInformation(); this->Internal->UpdateTimeRange(event); } vtkInformation *outInfo = outputVector->GetInformationObject(0); //say we can produce as many pieces are are desired outInfo->Set( vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(),-1); outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), this->Internal->TimeRange, 2); return 1; } //---------------------------------------------------------------------------- int vtkNetDmfReader::RequestData( vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *outputVector) { // The file has been read in the RequestDataObject method. // Here we create the graph based on the parsed XML. this->ParseXML(); vtkInformation *outInfo = outputVector->GetInformationObject(0); vtkDataObject *outStructure = outInfo->Get(vtkDataObject::DATA_OBJECT()); if (!outStructure) { vtkErrorMacro( << "No Output VTK structure"); return VTK_ERROR; } this->Internal->UpdatePiece = 0; this->Internal->UpdateNumPieces = 1; if (outInfo->Has( vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER())) { this->Internal->UpdatePiece = outInfo->Get( vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER()); } if (outInfo->Has( vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES())) { this->Internal->UpdateNumPieces = outInfo->Get( vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES()); } vtkDebugMacro( << "UpdatePiece " << this->Internal->UpdatePiece << " : UpdateNumPieces " << this->Internal->UpdateNumPieces ); vtkMutableDirectedGraph* output = vtkMutableDirectedGraph::New(); // Vertex Attribute Data Set vtkStringArray* names = vtkStringArray::New(); names->SetName("Name"); output->GetVertexData()->SetPedigreeIds(names); names->Delete(); this->Internal->NameProperties = names; vtkStringArray* types = vtkStringArray::New(); types->SetName("Type"); output->GetVertexData()->AddArray(types); types->Delete(); this->Internal->TypeProperties = types; vtkStringArray* classes = vtkStringArray::New(); classes->SetName("Class"); output->GetVertexData()->AddArray(classes); classes->Delete(); this->Internal->ClassProperties = classes; // Vertex Attribute Data Set vtkIntArray* nodeIds = vtkIntArray::New(); nodeIds->SetName("Id"); output->GetVertexData()->AddArray(nodeIds); nodeIds->Delete(); this->Internal->NodeIdProperties = nodeIds; vtkFloatArray* directions = vtkFloatArray::New(); directions->SetName("Direction"); directions->SetNumberOfComponents(3); output->GetVertexData()->AddArray(directions); directions->Delete(); this->Internal->DirectionProperties = directions; vtkPoints* points = vtkPoints::New(); output->SetPoints(points); points->Delete(); // Edge Attribute Data Set vtkStringArray* conversationType = vtkStringArray::New(); conversationType->SetName("ConversationType"); output->GetEdgeData()->AddArray(conversationType); conversationType->Delete(); // Get the requested time step. We only supprt requests of a single time // step in this reader right now this->CurrentTimeStep = 0.; if (outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS())) { double *requestedTimeSteps = outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); int numReqTimeSteps = outInfo->Length(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); this->CurrentTimeStep = (requestedTimeSteps && numReqTimeSteps)? requestedTimeSteps[0] : 0; } this->Internal->ElementCount.clear(); for (XdmfXmlNode nodeNode = this->Internal->DOM->FindRecursiveElement("Node"); nodeNode; nodeNode = this->Internal->DOM->FindNextRecursiveElement("Node", nodeNode)) { NetDMFNode* node = new NetDMFNode(); node->SetDOM(this->Internal->DOM); node->SetElement(nodeNode); node->UpdateInformation(); // make sure the name is not already added vtkStdString nodeName = this->GetElementName(node); vtkIdType elementVertexId = output->FindVertex(nodeName); if (elementVertexId == -1) { vtksys_ios::stringstream nodeId; nodeId << node->GetNodeId(); vtkStdString nodeType(nodeId.str()); this->Internal->NameProperties->InsertNextValue(nodeName); // name this->Internal->TypeProperties->InsertNextValue(nodeType); // type this->Internal->ClassProperties->InsertNextValue(node->GetClassName()); // class this->Internal->NodeIdProperties->InsertNextValue(node->GetNodeId()); // nodeId this->Internal->DirectionProperties->InsertNextTuple3(0., 0., 0.); // directions points->InsertNextPoint(0., 0., 0.); elementVertexId = output->AddVertex(); } delete node; } for (XdmfXmlNode movementNode = this->Internal->DOM->FindRecursiveElement("Movement"); movementNode; movementNode = this->Internal->DOM->FindNextRecursiveElement("Movement", movementNode)) { NetDMFMovement* movement = new NetDMFMovement(); movement->SetDOM(this->Internal->DOM); movement->SetElement(movementNode); movement->UpdateInformation(); // a movement node can be a nodeId ( == "1" ) or an element description // ( == "/NetDMF/Scenario/Node[@Name='foo']" ) vtkIdType nodeVertexId = this->Internal->NodeIdProperties->LookupValue(movement->GetNodeId()); if (nodeVertexId == -1) { NetDMFNode* node = new NetDMFNode; node->SetDOM(this->Internal->DOM); node->SetElement(this->Internal->DOM->FindElementByPath(movement->GetNodeId())); node->UpdateInformation(); nodeVertexId = this->Internal->NodeIdProperties->LookupValue(node->GetNodeId()); } // TODO: support more than NETDMF_MOVEMENT_TYPE_PATH if (movement->GetMovementType() == NETDMF_MOVEMENT_TYPE_PATH) { XdmfDataItem* pathData = movement->GetPathData(); pathData->Update(); XdmfArray* dataArray = pathData->GetArray(); int numberOfTuples = pathData->GetDataDesc()->GetDimension(0); int numberOfComponents = pathData->GetDataDesc()->GetDimension(1); double timeRange[2]; this->Internal->GetMovementTimeRange(movement, timeRange); double index = static_cast<double>(numberOfTuples) * ((this->CurrentTimeStep - timeRange[0]) / (timeRange[1] - timeRange[0])); index = MAX(index, 0.); index = MIN(index, numberOfTuples-1); // TODO: interpolate the position between floor(index) and ceil(index) int offset[3] = {0, 1, 2}; double position[3]; position[0] = dataArray->GetValueAsFloat32( static_cast<int>(index) * numberOfComponents + offset[0]); position[1] = dataArray->GetValueAsFloat32( static_cast<int>(index) * numberOfComponents + offset[1]); position[2] = dataArray->GetValueAsFloat32( static_cast<int>(index) * numberOfComponents + offset[2]); if (nodeVertexId != -1) { points->SetPoint(nodeVertexId, position); } double direction[3]; if (index < numberOfTuples-2) { direction[0] = dataArray->GetValueAsFloat32( static_cast<int>(index+1) * numberOfComponents + offset[0]) - position[0]; direction[1] = dataArray->GetValueAsFloat32( static_cast<int>(index+1) * numberOfComponents + offset[1]) - position[1]; direction[2] = dataArray->GetValueAsFloat32( static_cast<int>(index+1) * numberOfComponents + offset[2]) - position[2]; } else { direction[0] = position[0] - dataArray->GetValueAsFloat32( static_cast<int>(index-1) * numberOfComponents + offset[0]); direction[1] = position[1] - dataArray->GetValueAsFloat32( static_cast<int>(index-1) * numberOfComponents + offset[1]); direction[2] = position[2] - dataArray->GetValueAsFloat32( static_cast<int>(index-1) * numberOfComponents + offset[2]); } if (nodeVertexId != -1) { vtkMath::Normalize(direction); /* From v5.py (doesn't work) double degX = -4.5; double degY = -vtkMath::DegreesFromRadians(asin(direction[2]))- 2.2; double degZ = vtkMath::DegreesFromRadians(acos(direction[1])); if (direction[0] < 0) { degZ = -degZ; } directions->SetTuple3(nodeVertexId, degX, degY, degZ); */ // Rotations are in the order: RotateZ, RotateX and RotateY. directions->SetTuple3(nodeVertexId, 0., 0., vtkMath::DegreesFromRadians(atan2(direction[1],direction[0]))); } } delete movement; } //long int endtime = this->GetMTime(); vtkDirectedGraph::SafeDownCast(outStructure)->ShallowCopy(output); output->Delete(); return 1; } vtkStdString vtkNetDmfReader::GetElementName(NetDMFElement* element) { int index = this->Internal->ElementCount[element->GetClassName()]++; if (element->GetName()) { return element->GetName(); } vtksys_ios::stringstream uid; uid << element->GetElementName() << index; return uid.str(); }
f90f031b056c0d12d7e8ef3faddfee95aa7cd294
4c36e77d197eabc320431eeffe92a2e5f35c8959
/include/objetsReclangulaire.h
81faecee1b8009e66e05159a8b5166b0a54fdc78
[]
no_license
SAGNA01/JeuCasse_brique
dc1bae1ced9b1931b4e4dab3baa2787936d461d9
c60e842c11050237ac6fdd7ab4d7110145ee72f4
refs/heads/main
2023-02-15T19:33:38.654447
2021-01-08T09:34:51
2021-01-08T09:34:51
318,849,981
0
0
null
null
null
null
UTF-8
C++
false
false
735
h
objetsReclangulaire.h
#ifndef OBJETSRECLANGULAIRE_H #define OBJETSRECLANGULAIRE_H class objetsReclangulaire { public: objetsReclangulaire(int positionX, int positionY, int largeur, int hauteur); ~objetsReclangulaire() = default; virtual int getPositionX() const; virtual int getPositionY() const; virtual int getLargeur() const; virtual int getHauteur() const; virtual void setPositionX(int position_x); virtual void setPositionY(int position_y); virtual void setLargeur(int largeur); virtual void setHauteur(int hauteur); protected: int d_positionX; int d_positionY; int d_largeur; int d_hauteur; }; #endif // OBJETSRECLANGULAIRE_H
6acb26a281795bd8f26ba081bb545162a399ccbf
c5ed1456d2cefba942c47fef1a07aabc566ca6e2
/include/GameManager.h
4045736b6ede7479cf3c6222e1cf67f0907ec680
[]
no_license
ymunwes/heroGame
c583820c86d9c3eebab97765ccf78c9c1f11a713
427b11bcf5785215f565a8590362f54ffa8e8b9e
refs/heads/master
2022-09-02T15:22:15.203437
2020-05-26T15:13:59
2020-05-26T15:13:59
267,010,772
0
0
null
null
null
null
UTF-8
C++
false
false
791
h
GameManager.h
#ifndef _GAMEMANAGER_H_ #define _GAMEMANAGER_H_ #include <stdio.h> #include <string> #include "ActionFigure.h" #include "Monster.h" #include "Hero.h" #include <unistd.h> //#include <curses.h> #include <ctime> using namespace std; class GameManager { private: bool gameOver; ActionFigure *hero, *orc, *dragon; int dragonHitCounter, orcHitCounter; std::clock_t start; double duration; public: GameManager() { gameOver = false; hero = new Hero(); orc = new Monster("Orc",7,1,1300); dragon = new Monster("Dragon",20,3,2600); dragonHitCounter = 1; orcHitCounter = 1; } ~GameManager() { delete hero; delete orc; delete dragon; } void Setup(); void Input(); void Logic(int); void Run(); void PrintStatus(); }; #endif
f2cc5b9d27fb9f3a4fa917b301fe2b6cb90b90b3
8ee792a5a620f718469bcfe7efe6b57f9c16ab7a
/actionlib/speccommandgenerator.cpp
a7f7d4fcf85521d392d0ac8aaed13dacf27f36da
[]
no_license
hvennekate/data_element
2d61690d3cc1f4914ef0c2455d922ab302797801
156c3fecf1f468fc1a96856980ce130dbc2ca4d3
refs/heads/master
2021-05-16T02:52:00.571109
2018-01-09T19:11:32
2018-01-09T19:11:32
27,096,320
0
0
null
null
null
null
UTF-8
C++
false
false
3,160
cpp
speccommandgenerator.cpp
#include "speccommandgenerator.h" #include "specaddfoldercommand.h" #include "specdeletecommand.h" #include "specmovecommand.h" #include "specmulticommand.h" #include "specexchangedatacommand.h" #include "specresizesvgcommand.h" #include "specaddconnectionscommand.h" #include "specdeleteconnectionscommand.h" #include "speceditdescriptorcommand.h" #include "specmetarangecommand.h" #include "specplotlabelcommand.h" #include "specexchangefitcurvecommand.h" #include "spectogglefitstylecommand.h" #include "specstylecommand.h" #include "specdeletedescriptorcommand.h" #include "specrenamedescriptorcommand.h" #include "specexchangefiltercommand.h" #include "specmultilinecommand.h" specCommandGenerator::specCommandGenerator(specUndoCommand* p) : parent(p) { } specUndoCommand* specCommandGenerator::commandById(int id) const { switch(id) { case specStreamable::toggleFitStyleCommand: return new specToggleFitStyleCommand(parent) ; case specStreamable::exchangeFitCommand: return new specExchangeFitCurveCommand(parent) ; case specStreamable::deleteCommandId : return new specDeleteCommand(parent) ; case specStreamable::newFolderCommandId : return new specAddFolderCommand(parent) ; case specStreamable::moveItemsCommandId : return new specMoveCommand(parent) ; case specStreamable::exchangeFilterCommandId : return new specExchangeFilterCommand(parent) ; case specStreamable::movePlotCommandId : return new specExchangeFilterCommand(parent, true) ; case specStreamable::multiCommandId : return new specMultiCommand(parent) ; case specStreamable::exchangeDataCommandId: return new specExchangeDataCommand(parent) ; case specStreamable::resizeSVGCommandId : return new specResizeSVGcommand(parent) ; case specStreamable::newConnectionsCommandId : return new specAddConnectionsCommand(parent) ; case specStreamable::deleteConnectionsCommandId : return new specDeleteConnectionsCommand(parent) ; case specStreamable::editDescriptorCommandId : return new specEditDescriptorCommand(parent) ; case specStreamable::penColorCommandId: case specStreamable::lineWidthCommandId: case specStreamable::symbolStyleCommandId: case specStreamable::symbolPenColorCommandId: case specStreamable::symbolSizeCommandId: case specStreamable::symbolBrushColorCommandId: case specStreamable::penStyleCommandId: return generateStyleCommand(id, parent) ; case specStreamable::metaRangeCommand : return new specMetaRangeCommand(parent) ; case specStreamable::plotTitleCommandId: case specStreamable::plotYLabelCommandId: case specStreamable::plotXLabelCommandId: return generatePlotLabelCommand(id, parent) ; case specStreamable::deleteDescriptorCommandId: case specStreamable::legacyDeleteDescriptorCommandId: return new specDeleteDescriptorCommand(parent) ; case specStreamable::renameDescriptorCommandId: return new specRenameDescriptorCommand(parent) ; case specStreamable::multilineCommandId: return new specMultiLineCommand(parent) ; case specStreamable::descriptorFlagsCommand: return new specDescriptorFlagsCommand(parent) ; default: return 0 ; } }
bebfb8ec60636a71e08ce5f20ea7a354d687759d
2f10f807d3307b83293a521da600c02623cdda82
/deps/boost/win/debug/include/boost/spirit/include/karma_symbols.hpp
1579c327f799e07b6e7cf8e0bc3e3a956b54faad
[]
no_license
xpierrohk/dpt-rp1-cpp
2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e
643d053983fce3e6b099e2d3c9ab8387d0ea5a75
refs/heads/master
2021-05-23T08:19:48.823198
2019-07-26T17:35:28
2019-07-26T17:35:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
128
hpp
karma_symbols.hpp
version https://git-lfs.github.com/spec/v1 oid sha256:0011504c03be8cc59b96a70242c0a1f7c4e2b8b86e4062bb86341363861685dc size 629
35760f7b9ae192f3ed1c17675b15ab5e3f7aa49d
4fc5ea796f7a695498250913453fab1f2b7e8baa
/src/widgets/tablewidget.cpp
d7f2f0b653810b5adf88abc6fe9843b4f3e97574
[]
no_license
apavelm/qsqldesigner
ed5522a99b499fe8082dc917f23a2fd08bdeae0a
90ceff97249456d826901ac772ef3e9983fe8dcb
refs/heads/master
2016-09-06T18:27:08.716947
2010-12-21T13:11:59
2010-12-21T13:11:59
32,121,169
0
0
null
null
null
null
UTF-8
C++
false
false
18,681
cpp
tablewidget.cpp
/*************************************************************************** * Copyright (C) 2010 by Pavel Andreev * * Mail: apavelm on gmail point com (apavelm@gmail.com) * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 3 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, you can read it * * here <http://www.gnu.org/licenses/>, or write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ #include "tablewidget.h" #include "../settingsmanager.h" TableWidget::TableWidget(QGraphicsScene *scene, QGraphicsItem *parent, TableModel * model) : QGraphicsObject(parent), m_model(model) { setFlags(QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges | QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsFocusable); scene->clearSelection(); scene->addItem(this); setSelected(true); } QRectF TableWidget::boundingRect() const { QSizeF minSize = recalcMinimumSize(); const qreal PenWidth = SM->penWidth(); return QRectF(-PenWidth/2, -PenWidth/2, minSize.width() + PenWidth, minSize.height() + PenWidth); } void TableWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { painter->save(); const qreal PenWidth = SM->penWidth(); // declare tools QRectF innerBoundingRect = boundingRect().adjusted(PenWidth,0,-PenWidth,0); QPen penGray(QColor(127, 128, 127)); penGray.setStyle(Qt::SolidLine); QPen penBlack(penGray); penBlack.setStyle(Qt::SolidLine); penBlack.setColor(Qt::black); QPen penBlackDouble(penBlack); penBlackDouble.setWidthF(penBlack.widthF() * 2.0); QLinearGradient gradForward(0, 0, boundingRect().width() - PenWidth, 0); gradForward.setColorAt(0, SM->tableColorStart()); gradForward.setColorAt(1, SM->tableColorStop()); QLinearGradient gradBackward(0, 0, boundingRect().width() - PenWidth, 0); gradBackward.setColorAt(0, SM->tableColorStop()); gradBackward.setColorAt(1, SM->tableColorStart()); QBrush brushBackGround(gradForward); QBrush brushBackward(gradBackward); QFont fontNormal(SM->mainFont()); QFont smallFont(SM->smallFont()); QFont fontUnderline(fontNormal); fontUnderline.setUnderline(true); QFont fontBold(fontNormal); fontBold.setBold(true); QFontMetrics metrics(fontNormal); QFontMetrics smallMetrics(smallFont); const qreal fLineHeight = metrics.lineSpacing(); const qreal fSmallLineHeight = smallMetrics.lineSpacing(); const qreal fLineOffset = fLineHeight / 5; const qreal fColumnPrefixWidth = 1.05 * metrics.boundingRect("*PFK").width(); qreal fCurrentYPos = 0; // yellow block painter->setPen(penGray); painter->setBrush(brushBackGround); painter->drawRect(boundingRect()); // name block painter->setPen(penBlack); painter->setFont(fontBold); painter->drawText(QRect(0, fCurrentYPos, innerBoundingRect.width(), fLineHeight), Qt::AlignVCenter | Qt::AlignHCenter | Qt::TextSingleLine | Qt::TextDontClip, name()); fCurrentYPos += fLineHeight + fLineOffset; // set fCurrentYPos to new value painter->setPen(penBlackDouble); painter->drawLine(innerBoundingRect.left(), fCurrentYPos, innerBoundingRect.width(), fCurrentYPos); fCurrentYPos += fLineOffset + penBlackDouble.widthF(); // set fCurrentYPos to new value // columns if (m_model->columns().count() > 0) { // draw backward gradient fCurrentYPos += fLineOffset; painter->setBrush(brushBackward); painter->setPen(penGray); QRect columnTitleRect(innerBoundingRect.left(), fCurrentYPos, innerBoundingRect.width(), fSmallLineHeight + 2 * PenWidth); painter->drawRect(columnTitleRect); // printing "column" painter->setFont(smallFont); painter->drawText(columnTitleRect, Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip ," " + tr("columns")); fCurrentYPos += fSmallLineHeight + 2 * PenWidth + fLineOffset; // set fCurrentYPos to new value painter->setPen(QPen(SM->columnFontColor())); foreach (const SharedColumnModel& c, m_model->columns()) // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! { painter->setFont(fontNormal); painter->drawText(QRect(innerBoundingRect.left() + PenWidth, fCurrentYPos, fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter, c->getUMLColumnPrefix()); if (c->isConstraintType(Constraint::CT_Unique)) { painter->setFont(fontUnderline); } painter->drawText(QRect(innerBoundingRect.left() + fColumnPrefixWidth, fCurrentYPos, innerBoundingRect.width() - fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip, c->getUMLColumnDescription()); fCurrentYPos += fLineHeight; // set fCurrentYPos to new value } int constraintTypeCounters[Constraint::CT_Last]; qFill(&constraintTypeCounters[0], &constraintTypeCounters[Constraint::CT_Last], 0 ); constraintTypeCounters[Constraint::CT_PrimaryKey] = m_model->columns().getAmountForType(Constraint::CT_PrimaryKey); constraintTypeCounters[Constraint::CT_Unique] = m_model->columns().getAmountForType(Constraint::CT_Unique); constraintTypeCounters[Constraint::CT_ForeignKey] = m_model->columns().getAmountForType(Constraint::CT_ForeignKey); constraintTypeCounters[Constraint::CT_Default] = m_model->columns().getAmountForType(Constraint::CT_Default); constraintTypeCounters[Constraint::CT_NotNull] = m_model->columns().getAmountForType(Constraint::CT_NotNull); constraintTypeCounters[Constraint::CT_Check] = m_model->columns().getAmountForType(Constraint::CT_Check); bool bHasConstraints = false; for (int i = 0; i < Constraint::CT_Last; i++) { if (constraintTypeCounters[i] > 0) { bHasConstraints = true; break; } } if (bHasConstraints) { fCurrentYPos += fLineOffset; painter->setPen(penBlackDouble); painter->drawLine(innerBoundingRect.left(), fCurrentYPos, innerBoundingRect.width(), fCurrentYPos); fCurrentYPos += fLineOffset + penBlackDouble.widthF(); // set fCurrentYPos to new value } // Foreign keys section if (constraintTypeCounters[Constraint::CT_ForeignKey] > 0) { // draw backward gradient fCurrentYPos += fLineOffset; painter->setBrush(brushBackward); painter->setPen(penGray); QRect columnTitleRect(innerBoundingRect.left(), fCurrentYPos, innerBoundingRect.width(), fSmallLineHeight + 2 * PenWidth); painter->drawRect(columnTitleRect); // printing "FK" painter->setFont(smallFont); painter->drawText(columnTitleRect, Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip , " " + tr("FK")); fCurrentYPos += fSmallLineHeight + 2 * PenWidth + fLineOffset; // set fCurrentYPos to new value QList<PColumnModel> lstForeignKeys; m_model->columns().getColumnsForConstraintType(Constraint::CT_ForeignKey, lstForeignKeys); foreach (const PColumnModel c, lstForeignKeys) { PConstraint cn = c->constraints().constraint(Constraint::CT_ForeignKey); if (cn->type() != Constraint::CT_Unknown) { painter->setFont(fontNormal); painter->setPen(penBlack); painter->drawText(QRect(innerBoundingRect.left() + PenWidth, fCurrentYPos, fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter, "+"); painter->drawText(QRect(innerBoundingRect.left() + fColumnPrefixWidth, fCurrentYPos, innerBoundingRect.width() - fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip, cn->getUMLConstraintString()); fCurrentYPos += fLineHeight; // set fCurrentYPos to new value } } } // Primary keys section if (constraintTypeCounters[Constraint::CT_PrimaryKey] > 0) { // draw backward gradient fCurrentYPos += fLineOffset; painter->setBrush(brushBackward); painter->setPen(penGray); QRect columnTitleRect(innerBoundingRect.left(), fCurrentYPos, innerBoundingRect.width(), fSmallLineHeight + 2 * PenWidth); painter->drawRect(columnTitleRect); // printing "PK" painter->setFont(smallFont); painter->drawText(columnTitleRect, Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip ," " + tr("PK")); fCurrentYPos += fSmallLineHeight + 2 * PenWidth + fLineOffset; // set fCurrentYPos to new value QList<PColumnModel> lstPrimaryKeys; m_model->columns().getColumnsForConstraintType(Constraint::CT_PrimaryKey, lstPrimaryKeys); QString sConstraintUMLString; foreach (const PColumnModel c, lstPrimaryKeys) { PConstraint cn = c->constraints().constraint(Constraint::CT_PrimaryKey); if (!cn->name().isEmpty()) { sConstraintUMLString = cn->getUMLConstraintString(); } } painter->setFont(fontNormal); painter->setPen(penBlack); painter->drawText(QRect(innerBoundingRect.left() + PenWidth, fCurrentYPos, fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter, "+"); painter->drawText(QRect(innerBoundingRect.left() + fColumnPrefixWidth, fCurrentYPos, innerBoundingRect.width() - fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip, sConstraintUMLString); fCurrentYPos += fLineHeight; // set fCurrentYPos to new value } // Unique section if (constraintTypeCounters[Constraint::CT_Unique] > 0) { // draw backward gradient fCurrentYPos += fLineOffset; painter->setBrush(brushBackward); painter->setPen(penGray); QRect columnTitleRect(innerBoundingRect.left(), fCurrentYPos, innerBoundingRect.width(), fSmallLineHeight + 2 * PenWidth); painter->drawRect(columnTitleRect); // printing "unique" painter->setFont(smallFont); painter->drawText(columnTitleRect, Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip ," " + tr("unique")); fCurrentYPos += fSmallLineHeight + 2 * PenWidth + fLineOffset; // set fCurrentYPos to new value QList<PColumnModel> lstUnique; m_model->columns().getColumnsForConstraintType(Constraint::CT_Unique, lstUnique); foreach (const PColumnModel c, lstUnique) { PConstraint cn = c->constraints().constraint(Constraint::CT_Unique); if (cn->type() != Constraint::CT_Unknown) { QString sConstraintName = cn->getUMLConstraintString(); painter->setFont(fontNormal); painter->setPen(penBlack); painter->drawText(QRect(innerBoundingRect.left() + PenWidth, fCurrentYPos, fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter, "+"); painter->drawText(QRect(innerBoundingRect.left() + fColumnPrefixWidth, fCurrentYPos, innerBoundingRect.width() - fColumnPrefixWidth, fLineHeight), Qt::AlignVCenter | Qt::TextSingleLine | Qt::TextDontClip, sConstraintName); fCurrentYPos += fLineHeight; // set fCurrentYPos to new value } } } } // selection outline if (isSelected()) paintSelectionOutline(painter); painter->restore(); } void TableWidget::paintSelectionOutline(QPainter *painter) { QPen pen(painter->pen()); pen.setStyle(Qt::DashLine); pen.setColor(Qt::black); pen.setWidth(SM->penWidth()); painter->setPen(pen); painter->setBrush(Qt::NoBrush); painter->drawPath(shape()); } QPainterPath TableWidget::shape() const { QPainterPath path; const qreal PenWidth = SM->penWidth(); path.addRect(boundingRect().adjusted(PenWidth/2, PenWidth/2, -PenWidth/2, -PenWidth/2)); return path; } QSizeF TableWidget::recalcMinimumSize() const { qreal m_minWidth = 50.0; qreal m_minHeight = 20.0; // calculate table name width QFont fontNormal(SM->mainFont()); QFont fontBold(fontNormal); fontBold.setBold(true); QFont smallFont(SM->smallFont()); QFontMetrics metrics(fontNormal); QFontMetrics boldMetrics(fontBold); QFontMetrics smallMetrics(smallFont); const qreal fLineHeight = metrics.lineSpacing(); const qreal fSmallLineHeight = smallMetrics.lineSpacing(); const qreal fLineOffset = fLineHeight / 5; const qreal fColumnPrefixWidth = 1.05 * metrics.boundingRect("*PFK").width(); const qreal PenWidth = SM->penWidth(); m_minWidth = qMax(boldMetrics.boundingRect(name()).width() + (1 + PenWidth) * 4, m_minWidth); m_minHeight = qMax(fLineHeight + (1 + PenWidth) * 4, m_minHeight); const int nColumnAmount = m_model->columns().count(); int constraintTypeCounters[Constraint::CT_Last]; qFill(&constraintTypeCounters[0], &constraintTypeCounters[Constraint::CT_Last], 0 ); if (nColumnAmount > 0) { constraintTypeCounters[Constraint::CT_PrimaryKey] = m_model->columns().getAmountForType(Constraint::CT_PrimaryKey); constraintTypeCounters[Constraint::CT_Unique] = m_model->columns().getAmountForType(Constraint::CT_Unique); constraintTypeCounters[Constraint::CT_ForeignKey] = m_model->columns().getAmountForType(Constraint::CT_ForeignKey); constraintTypeCounters[Constraint::CT_Default] = m_model->columns().getAmountForType(Constraint::CT_Default); constraintTypeCounters[Constraint::CT_NotNull] = m_model->columns().getAmountForType(Constraint::CT_NotNull); constraintTypeCounters[Constraint::CT_Check] = m_model->columns().getAmountForType(Constraint::CT_Check); bool bHasConstraints = false; for (int i = 0; i < Constraint::CT_Last; i++) { if (constraintTypeCounters[i] > 0) { bHasConstraints = true; break; } } // calculate height m_minHeight += fSmallLineHeight + fLineOffset * 2; // for separator line m_minHeight += nColumnAmount * fLineHeight; // height per columns * amount of columns if (bHasConstraints) m_minHeight += fSmallLineHeight + fLineOffset * 2; // for separator line, if there are any constraints if (constraintTypeCounters[Constraint::CT_ForeignKey] > 0) { m_minHeight += fSmallLineHeight + 2 * PenWidth + fLineOffset; m_minHeight += (qreal)constraintTypeCounters[Constraint::CT_ForeignKey] * fLineHeight; } if (constraintTypeCounters[Constraint::CT_PrimaryKey] > 0) { m_minHeight += fSmallLineHeight + 2 * PenWidth + fLineOffset; m_minHeight += /* (qreal)constraintTypeCounters[Constraint::CT_PrimaryKey] * */ fLineHeight; // because PK is always ONE (might be not simple, but one) } if (constraintTypeCounters[Constraint::CT_Unique] > 0) { m_minHeight += fSmallLineHeight + 2 * PenWidth + fLineOffset; m_minHeight += (qreal)constraintTypeCounters[Constraint::CT_Unique] * fLineHeight; } // calculate width m_minWidth = qMax(longestStringWidth(metrics) + 2 * fColumnPrefixWidth, m_minWidth); } return QSizeF(m_minWidth, m_minHeight); } QVariant TableWidget::itemChange(GraphicsItemChange change, const QVariant &value) { if (change == QGraphicsItem::ItemPositionChange) { //foreach (Arrow *arrow, arrows) { //arrow->updatePosition(); //} } return QGraphicsItem::itemChange(change, value); } void TableWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) { scene()->clearSelection(); setSelected(true); //myContextMenu->exec(event->screenPos()); } void TableWidget::keyPressEvent(QKeyEvent *event) { switch (event->key()) { case Qt::Key_Delete: { // delete widget emit deleteWidget(m_model->name()); break; } case Qt::Key_F2: { // edit widget emit editWidget(m_model->name()); break; } default: break; } } void TableWidget::setModel(PTableModel model) { hide(); m_model = model; recalcMinimumSize(); // TODO: optimisation remove this line from here or from boundingRect() function update(boundingRect()); show(); } qreal TableWidget::longestStringWidth(const QFontMetrics& metrics) const { qreal maxWidth = 0; foreach (const SharedColumnModel& column, m_model->columns()) { maxWidth = qMax(maxWidth, (qreal)metrics.boundingRect(column->getUMLColumnDescription()).width()); foreach (const SharedConstraint& cn, column->constraints()) { if ((cn->type() != Constraint::CT_Unknown) && (!cn->name().isEmpty())) { maxWidth = qMax(maxWidth, (qreal)metrics.boundingRect(cn->getUMLConstraintString()).width()); } } } return maxWidth; }
51a3f50cba556953db93b7bdc25b5c32f7e15bad
1143c5692229f098fe5b0641015df40ed41021f1
/irtree-canonization/grammar/nterms_classes/TypeIdentifier.cpp
ca7baa0be69de3e6ee1310985da1c35e32f5b9c6
[]
no_license
artyomnurgaliev/CompilersCourse
97347adf13a96369d62fd797a2e0c173bdf62ecc
0116ca3db5156b725079b5a59587ea51cb661e84
refs/heads/master
2021-02-08T06:54:49.673805
2020-05-24T08:10:20
2020-05-24T08:10:20
244,121,326
0
0
null
2020-03-01T09:30:53
2020-03-01T09:30:52
null
UTF-8
C++
false
false
285
cpp
TypeIdentifier.cpp
#include "TypeIdentifier.h" #include <utility> TypeIdentifier::TypeIdentifier(std::string identifier) : identifier_(std::move(identifier)) {} std::string TypeIdentifier::GetIdentifier() { return identifier_; } void TypeIdentifier::Accept(Visitor *visitor) {visitor->Visit(this);}
6151e32a468f20c95cf9dd4da54ee3b8b3e78a4f
03f579c344e6f2987df91cab88795242e713b7fc
/Moving Stones Until Consecutive.cpp
7a99f0720df01f256e617eb447e10e6de969806d
[]
no_license
wwqqqqq/LeetCode-Solution
8610dc1c97ec7b43f0ab13f634c9a69afd22e597
63305d9cb0068d51f354e7aa8e381ca2320702bb
refs/heads/master
2021-06-04T18:00:04.923506
2021-01-11T23:49:51
2021-01-11T23:49:51
126,013,705
0
0
null
null
null
null
UTF-8
C++
false
false
702
cpp
Moving Stones Until Consecutive.cpp
class Solution { public: vector<int> numMovesStones(int a, int b, int c) { // adjust order if(a > b) { int temp = a; a = b; b = temp; } if(b > c) { int temp = b; b = c; c = temp; } if(a > b) { int temp = a; a = b; b = temp; } vector<int> result = {0,0}; // if consecutive if(c == b + 1 && b == a + 1) return result; result[1] = c - a - 2; if(b == a + 1 || b == a + 2 || c == b + 1 || c == b + 2) result[0] = 1; else result[0] = 2; return result; } };
bc8ee804b157380fc6a698cf5ec69fe0d6b9dce2
552c39141dab7cbc0c34245000291a46cdb41495
/lte_enb/src/tenb_commonplatform/software/libs/common/mib-common/ValidatorSONSelectedPCIAndRootSeqIndex.cpp
038eaed1e1574167e3673a4442c9fe1d924823a4
[]
no_license
cmjeong/rashmi_oai_epc
a0d6c19d12b292e4da5d34b409c63e3dec28bd20
6ec1784eb786ab6faa4f7c4f1c76cc23438c5b90
refs/heads/master
2021-04-06T01:48:10.060300
2017-08-10T02:04:34
2017-08-10T02:04:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,307
cpp
ValidatorSONSelectedPCIAndRootSeqIndex.cpp
/////////////////////////////////////////////////////////////////////////////// // // ValidatorSONSelectedPCIAndRootSeqIndex.cpp // // See header file for documentation. // // Copyright Radisys Limited // /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // System Includes /////////////////////////////////////////////////////////////////////////////// #include <sstream> #include <system/Trace.h> /////////////////////////////////////////////////////////////////////////////// // Local Includes /////////////////////////////////////////////////////////////////////////////// #include "ValidatorSONSelectedPCIAndRootSeqIndex.h" using namespace std; /////////////////////////////////////////////////////////////////////////////// // Class Functions /////////////////////////////////////////////////////////////////////////////// bool ValidatorSONSelectedPCIAndRootSeqIndex::ValidateU32(u32 value, u32 min, u32 max, ValidationFailureDescriptor& failureDescriptor) { ENTER(); bool isValid = false; if( value == 65535) { isValid = true; } else { isValid = ValidatorU32::ValidateU32(value, min, max, failureDescriptor); } RETURN(isValid); }
dfa9f0f5b3c3ba9ea117e1c775a056cebee85db6
51fea2df55902444f62a0b5b55b1acb88d7f6110
/test.cpp
4d35925f33d0994abb40c427e4d80dd9fcc7ff49
[]
no_license
NickLavoie1/cs32lab05a
40e272289939ec94d6747e5499120271a3cc5138
5a76921d6d496f6de56e60e7d9901b859280d616
refs/heads/master
2020-04-05T19:56:29.257516
2018-11-19T01:17:56
2018-11-19T01:17:56
157,157,545
0
0
null
null
null
null
UTF-8
C++
false
false
892
cpp
test.cpp
#include <iostream> #include "tddFuncs.h" #include "WordCount.h" #include <vector> #include <fstream> using namespace std; int main() { string a = "sentence"; string b = "is"; string c = "a"; string d = "sentence"; vector<string> v; v.push_back(a); v.push_back(b); v.push_back(c); v.push_back(d); WordCount test; int x = 0; // for(int i=0;i<v.size();i++) // { // test.incrWordCount(v[i]); // } //WordCount test; //test.incrWordCount(a); //int two = test.incrWordCount("is"); //int three = test.incrWordCount("a"); //int four = test.incrWordCount("sentence"); test.addAllWords("Sentence is a a a sentence."); cout << test.getNumUniqueWords() << endl; cout << "Alphabetically:" << endl; test.dumpWordsSortedByWord(std::cout); cout << "By Occurance:" << endl; test.dumpWordsSortedByOccurence(std::cout); cout << endl; return 0; }
f7f10dbe51e2ed1f6d3783e8eda1ff9a08f05662
42e506f2ab241f4fa1f659bfda60a7bf65e63990
/src/server.cpp
a71404fde752f839f9a62b8c7b46e857ab1ff683
[]
no_license
tonyupup/reactor-demo
e063100fc7f7c18c559f668a83e2a9c020999c57
45629beb9d692b3f080fee9ca5e60138d22e51da
refs/heads/master
2023-02-26T05:18:57.843824
2020-12-01T02:28:13
2020-12-01T02:28:13
280,885,898
0
0
null
null
null
null
UTF-8
C++
false
false
2,111
cpp
server.cpp
#include "server.h" #include <sys/socket.h> #include <netdb.h> #include <string.h> #include "rkernel.h" #include "client.h" #include "networking.h" ServerHandle::ServerHandle() { this->Clients = make_shared<vector<shared_ptr<Client>>>(1024); this->kernel = make_shared<Rkernel>(1024); addrinfo hints, *servinfo, *p; char _port[6]; int s = -1, rv; for (int i = 1920; i < 65535; i++) { snprintf(_port, 6, "%d", i); memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_INET6; hints.ai_socktype = SOCK_STREAM; hints.ai_flags = AI_PASSIVE; // this->fd = socket(, SOCK_STREAM, 0); if ((rv = getaddrinfo(nullptr, _port, &hints, &servinfo)) != 0) { cout << "getaddinfo error" << endl; // throw "getaddinfo error"; continue; } break; } for (p = servinfo; p != NULL; p = p->ai_next) { if ((s = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) == -1) continue; if (NetworkHelper::anetListen(s, p->ai_addr, p->ai_addrlen, 511) == -1) { s = -1; continue; } fd = s; break; } if (s == -1) { cout << "Build socket failed." << endl; throw; } NetworkHelper::setNoblock(this->fd, true); freeaddrinfo(servinfo); this->kernel->createEvent(this->fd, R_READABLE, bind(&ServerHandle::Accept, this, placeholders::_1)); } void ServerHandle::Stop() { close(fd); kernel->stop(); }; bool ServerHandle::Start() { if (this->kernel != nullptr) this->kernel->mainLoop(); return false; } void ServerHandle::Accept(int fd) { Client c(kernel); if (-1 == (c = NetworkHelper::anetTcpAccept(fd, (char *)c.remoteIp.ip, 64, &c.remoteIp.port))) { cout << "Accept error" << endl; return; } cout << c << endl; NetworkHelper::setNoblock(c, true); Clients->at(c) = make_shared<Client>(c); kernel->createEvent(c, R_READABLE, bind(&Client::firstRead, Clients->at(c), placeholders::_1)); }
6485488e5bbd856d9a2d5db87de47ef537cae18a
b428e7824f3cd40f7a752d9b83068462001248b3
/C++/Lecture Algorithms and Data Structures/string algortihms/string_match/nea_simulation.cpp
125ceaea5813d45938beeda7a09ccfb9a98d633e
[]
no_license
RobinTTY/LearningCollection
4a3a07fe4e99d9e10708e007b6be7ff62064a4e9
0daf33f61bc1433a0293dabdda5fbf2ff092060c
refs/heads/master
2023-08-16T19:18:58.772937
2023-08-09T22:40:03
2023-08-09T22:40:03
177,464,709
0
1
null
2021-08-09T17:52:28
2019-03-24T20:20:42
Python
UTF-8
C++
false
false
1,849
cpp
nea_simulation.cpp
/* Datei nea_simulation.cpp Autoren: J. Koch, M. Dausmann Aufgabe: Das Programm zeigt die Simulation eines endlichen Automaten (NEA) zur Ueberpruefung, ob ein vorgelegter Text zu der Sprache des Regulaeren Ausdrucks des NEA gehoert. Es gibt noch eine Methode mit Trace-Ausgabe. Bezug: Kapitel Stringalgorithmen */ #include "nea_simulation.hpp" #include <iostream> #include <iomanip> void NEASimulation::setTrace(bool trace) { this->trace = trace; } void printDeque(deque<State> & dq) { for (auto it = dq.begin(); it != dq.end(); it++) cout << setw(3) << *it; cout << endl; } void printInfo(State state, int pos, deque<State> & dq) { cout << "Z = " << setw(3) << state << " POS = " << pos; cout << " DEQUE = "; printDeque(dq); } //<-nea_match-- int NEASimulation::neaMatching(const string & s) { State state, n1, n2; deque<State> dq; unsigned int pos = 0; state = NEATable::START; // start at init state dq.push_back(NEATable::SCAN); // init deque do { if (trace) printInfo(state, pos, dq); //trace output if (state == NEATable::SCAN) { //special mark reached pos++; dq.push_back(NEATable::SCAN); //start w/ next char } else if (nea.charAt(state) == NEATable::C_EPS) { //C_EPS => consider next state(s) from table n1 = nea.next1(state); n2 = nea.next2(state); dq.push_front(n1); if (n1 != n2) { dq.push_front(n2); } } else { //lookahead to next character if (pos < s.length() && nea.charAt(state) == s[pos]) dq.push_back(nea.next1(state)); //character matching } if ((pos > s.length()) || dq.empty()) break; // move to next state state = dq.front(); dq.pop_front(); // only final acceptance state transitions to init state } while (state != NEATable::START); return (state == NEATable::START) ? (pos - 1) : (-1); } //--nea_match->
8f4299480d159371da6325595b2301739967af72
2519555cbaf7fd302b81d380f9ec850cc308bc6b
/DDSView/Blob.h
bccf422c2864d624dc217ef46e6fb66b4948f3ca
[ "MIT" ]
permissive
SirKane/DDSView
7aca301a87094ec476deb8ad4695cc572dced480
3e48aa33e4ad170f1e954de2edfa0b5dfbe735f9
refs/heads/master
2020-03-28T09:16:22.357899
2018-09-09T17:42:12
2018-09-09T17:42:12
148,025,405
1
0
null
null
null
null
UTF-8
C++
false
false
879
h
Blob.h
#ifndef BLOB_H #define BLOB_H #include <stdint.h> class CBlob{ protected: void* m_pData = nullptr; size_t m_Size = 0; size_t m_Capacity = 0; public: inline CBlob(){ } ~CBlob(); CBlob(const CBlob &) = delete; CBlob(CBlob&&rhs) : m_pData(rhs.m_pData), m_Size(rhs.m_Size), m_Capacity(rhs.m_Capacity){ } CBlob &operator=(const CBlob&) = delete; CBlob &operator=(CBlob&&rhs); bool Resize(size_t size); inline void* GetPointer(){ return m_pData; } inline const void* GetPointer() const{ return m_pData; } inline size_t Size() const{ return m_Size; } }; bool LoadFileToBlob(const char* pFileName, CBlob &blob); bool LoadFileToBlob(const wchar_t* pFileName, CBlob &blob); bool WriteBlobToFile(const char* pFileName, const CBlob &blob); bool WriteBlobToFile(const wchar_t* pFileName, const CBlob &blob); #endif //!BLOB_H
4d3662b0e8495826d67811dfe0ce6d70e37506a8
6e13da744ae9c809ff35e2a123d0c8650d3b3989
/src/eckit/io/SeekableHandle.h
1a45f9a75a830c8fe6e91e9446057cbdd4387d14
[ "BSD-2-Clause", "Apache-2.0" ]
permissive
ecmwf/eckit
1e6026fa1791e7c4aaa51109afed010c4a5b1ed3
de68dd7b5e8d4d06005b6856a648cceb5cf43827
refs/heads/develop
2023-08-16T16:48:14.426020
2023-08-03T06:48:36
2023-08-03T06:48:36
122,974,453
20
29
Apache-2.0
2023-09-01T10:01:43
2018-02-26T13:33:38
C++
UTF-8
C++
false
false
1,885
h
SeekableHandle.h
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergovernmental organisation nor * does it submit to any jurisdiction. */ // File io/SeekableHandle.h // Baudouin Raoult - ECMWF May 2020 #ifndef eckit_filesystem_SeekableHandle_h #define eckit_filesystem_SeekableHandle_h #include <memory> #include "eckit/io/HandleHolder.h" #include "eckit/io/PeekHandle.h" //----------------------------------------------------------------------------- namespace eckit { //----------------------------------------------------------------------------- class SeekableHandle : public DataHandle { public: SeekableHandle(PeekHandle*); SeekableHandle(PeekHandle&); /// Destructor ~SeekableHandle() override; // -- Operators // -- Methods // -- Overridden methods // From DataHandle Length openForRead() override; long read(void*, long) override; void close() override; void rewind() override; void print(std::ostream&) const override; void skip(const Length&) override; Offset seek(const Offset&) override; bool canSeek() const override; Length estimate() override; Offset position() override; // Jump to the end of the buffered position, and start again. void clear(); private: // members bool owned_; PeekHandle* handle_; Offset seekableStart_; Offset position_; std::string title() const override; void collectMetrics(const std::string& what) const override; // Tag for metrics collection }; //----------------------------------------------------------------------------- } // namespace eckit #endif
41c99bee709988d8ca7faed03c1c0e71fd417bf8
4b2ee596584c2418eeec7cfb62b9b88aa43b32d2
/source/gui/FindDlg.cpp
d5d2c9823bbb7d3c3d01e61258948b0813acc668
[]
no_license
weilin0078/DP
a24f35a4ff07c6c5485dee5a376950a323c934f3
733db4bcc3a5d526da79e5700bbf4b2a3c675f26
refs/heads/master
2021-11-24T09:59:14.883864
2016-07-21T11:19:49
2016-07-21T11:19:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,055
cpp
FindDlg.cpp
#include "stdafx.h" #include "FindDlg.h" LRESULT CFindDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/) { CenterWindow(GetParent()); SetIcon(LoadIcon(_Module.GetResourceInstance(), MAKEINTRESOURCE(IDR_MAINFRAME))); m_edit.Attach(GetDlgItem(IDC_EDIT_FIND)); m_edit.SetLimitText(255); m_wholeWordCheckBox.Attach(GetDlgItem(IDC_CHK_MATCH_WHOLE)); m_bMatchWholeWordOnly = FALSE; return 1; } LRESULT CFindDlg::OnFind(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { TCHAR szText[256]; m_edit.GetWindowText(szText, lengthof(szText)); m_strSearchString = szText; m_bMatchWholeWordOnly = (m_wholeWordCheckBox.GetCheck() == 1); EndDialog(wID); return 0; } LRESULT CFindDlg::OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) { EndDialog(wID); return 0; } CString& CFindDlg::GetSearchString() { return m_strSearchString; } BOOL CFindDlg::GetMatchWholeWordOnly() { return m_bMatchWholeWordOnly; }
1f096a1a402c2eb8381bc3873ec0cb85e8adbdd6
6417d6791494f898cb526c5b9d6f0ee263369e42
/src/lib/internal/include/fb_glsl_program.h
d9ff45b73a489ad9fdf3cf634cca507399e61fc8
[]
no_license
mateun/fbe2
ee3633d53cec485e94729dcda844cccc28029d69
24ec8b5fc0361570190bbf47e283896d28a818ee
refs/heads/master
2021-01-11T23:19:15.729504
2017-01-10T19:50:26
2017-01-10T19:50:26
78,566,487
0
0
null
null
null
null
UTF-8
C++
false
false
1,550
h
fb_glsl_program.h
#ifndef GLSLPROGRAM_H #define GLSLPROGRAM_H #include "fb_export_spec.h" #include <SDL.h> #include "fb_export_spec.h" #include <SDL.h> #include <glew.h> #include <glm/glm.hpp> #include <string> #ifdef __APPLE__ #include <OpenGL/gl3.h> #endif using std::string; using glm::vec3; using glm::vec4; using glm::mat4; using glm::mat3; namespace GLSLShader { enum GLSLShaderType { VERTEX, FRAGMENT, GEOMETRY, TESS_CONTROL, TESS_EVALUATION }; }; #ifdef _WIN32 class FB_ENGINE_API GLSLProgram #else class GLSLProgram #endif { private: int handle; bool linked; string logString; int getUniformLocation(const char * name); bool fileExists(const string & fileName); public: GLSLProgram(); bool compileShaderFromFile(const char * fileName, GLSLShader::GLSLShaderType type); bool compileShaderFromString(const string & source, GLSLShader::GLSLShaderType type); bool link(); void use(); string log(); int getHandle(); bool isLinked(); void bindAttribLocation(GLuint location, const char * name); void setUniform(const char *name, float x, float y, float z); void setUniform(const char *name, const vec3 & v); void setUniform(const char *name, const vec4 & v); void setUniform(const char *name, const mat4 & m); void setUniform(const char *name, const mat3 & m); void setUniform(const char *name, float val); void setUniform(const char *name, int val); void setUniform(const char *name, bool val); void printActiveUniforms(); void printActiveAttribs(); }; #endif // GLSLPROGRAM_H
c1ac7fae94a81342245a66843e56c8009f2e7058
b8ff97758bb19ff034c817541dbde39fedcbdd25
/LupinAdventure/Classes/Entity/EObject.cpp
4dc7fd04eb0ddda70707afd828bc86ed9c74622f
[]
no_license
dannylam2502/Portfolio-code-snippet
172e36e136ac77f138db48b6313616ab6df8d1ae
70aa667891043579d2f531b3f9ea8310dc8ff684
refs/heads/master
2020-05-05T09:23:23.170852
2019-07-10T16:17:54
2019-07-10T16:17:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,945
cpp
EObject.cpp
#include "EObject.h" #include "Config.h" #include <exception> bool EObject::init() { if (!Node::init()) { return false; } m_CommandQueue.clear(); m_Components.clear(); m_StateManager = nullptr; m_IsActive = true; scheduleUpdate(); return true; } void EObject::update(float delta) { if (!m_IsActive) { return; } int command = popCommand(); while (command != 0) { commandProcess(command); command = popCommand(); } } void EObject::pushCommand(int command) { m_CommandQueue.push_back(command); } int EObject::popCommand() { if (m_CommandQueue.size() == 0) { return 0; } int result = m_CommandQueue.front(); m_CommandQueue.erase(m_CommandQueue.begin()); return result; } void EObject::addChild(CBase * child) { this->Node::addChild((Node*)child); m_Components.push_back(child); addPropertiesSetableComponent(child); } void EObject::addChild(Node * child) { this->Node::addChild(child); } void EObject::addChild(CState *child) { this->Node::addChild((Node*)child); m_Components.push_back(child); m_StateManager = child; addPropertiesSetableComponent(child); for (pair<int, State*> componentPair : child->getStateMap()) for (CBase* component : componentPair.second->getComponentBoard()) { addPropertiesSetableComponent(component); } } void EObject::setProperty(int componentTypeFlag, int parameterTypeFlag, UParam parameter) { CBase* targetComponent = nullptr; if (componentTypeFlag == TAG::COMPONENT::NONE) { switch (parameterTypeFlag) { case UPARAM_TYPE_COMMAND_PAIR: m_AutoCommandByCommandMap.push_back(std::pair<int, int>(*parameter.uCommandPair)); break; case UPARAM_TYPE_ACTION_PAIR: m_AutoActionByCommandMap.push_back(std::pair<int, Action*>(*parameter.uActionPair)); parameter.uActionPair->second->retain(); break; } } for (CBase* component : m_PropertiesSetableComponents) if (component->getTag() == componentTypeFlag) { targetComponent = component; break; } if (targetComponent != nullptr) { targetComponent->setProperty(parameterTypeFlag, parameter); } } void EObject::setFlip(Vec2 newState) { setScale(GET_SIGN(newState.x), GET_SIGN(newState.y)); } void EObject::setLinkedObject(EObject* object) { for (EObject* obj : m_RelatedObjects) { if (object == obj) { return; } } m_RelatedObjects.push_back(object); if (isStringEqual(object->getName().c_str(), NAME::PLATFORM_LADDER) || isStringEqual(object->getName().c_str(), NAME::PLATFORM_ROPE)) { pushCommand(COMMAND::ENTITY::CLIMB_READY); } } vector<EObject*> EObject::getLinkedObjects() { return m_RelatedObjects; } void EObject::removeLinkedObject(EObject* object) { FOR(m_RelatedObjects.size()) if (m_RelatedObjects.at(i) == object) { m_RelatedObjects.erase(m_RelatedObjects.begin() + i); return; } } void EObject::setBodyPosition(float posX, float posY) { b2Body* body = (b2Body*)getUserData(); if (body != nullptr) { body->SetTransform(b2Vec2(posX / BOX2D_RATIO, posY / BOX2D_RATIO), body->GetAngle()); } this->setPosition(posX, posY); } void EObject::removeAllLinkedObject() { if (!m_RelatedObjects.empty()) { m_RelatedObjects.clear(); } } EObject::~EObject() { for (pair<int, Action*> actionPair : m_AutoActionByCommandMap) { actionPair.second->release(); } m_AutoActionByCommandMap.clear(); m_AutoCommandByCommandMap.clear(); } void EObject::changeBodyShape(float posX, float posY, float height, float width) { b2Body* body = (b2Body*)getUserData(); if (body == nullptr) return; setBodyPosition(posX, posY); b2PolygonShape shape; b2FixtureDef bodyMaterial; // Box2D get 1/2 of width and height to set the object bounding box. shape.SetAsBox(width / BOX2D_RATIO / 2, height / BOX2D_RATIO / 2); auto fixture = body->GetFixtureList(); bodyMaterial.shape = &shape; bodyMaterial.density = fixture->GetDensity(); bodyMaterial.friction = fixture->GetFriction(); bodyMaterial.restitution = fixture->GetRestitution(); bodyMaterial.filter = fixture->GetFilterData(); bodyMaterial.isSensor = fixture->IsSensor(); body->DestroyFixture(body->GetFixtureList()); body->CreateFixture(&bodyMaterial); setContentSize(Size(width, height)); } void EObject::setActive(bool isActive) { auto body = (b2Body*)getUserData(); m_IsActive = isActive; if (isActive) { if (body != nullptr) body->SetActive(true); pushCommand(COMMAND::COMPONENT::ANIMATION::VISIBLE); } else { if (body != nullptr) body->SetActive(false); pushCommand(COMMAND::COMPONENT::ANIMATION::INVISIBLE); } } void EObject::setActiveSlow(bool isActive, float countDown) { int command = (isActive ? COMMAND::ENTITY::ACTIVATE : COMMAND::ENTITY::DEACTIVATE); auto waitAction = DelayTime::create(countDown); auto activeAction = CallFunc::create(std::bind(&EObject::commandProcess, this, command)); runAction(Sequence::create(waitAction, activeAction, nullptr)); } void EObject::addPropertiesSetableComponent(CBase* component) { for (CBase* com : m_PropertiesSetableComponents) { if (component == com) { return; } } m_PropertiesSetableComponents.push_back(component); } void EObject::pushPrioritiedCommand(int command) { m_CommandQueue.insert(m_CommandQueue.begin(), command); } void EObject::commandProcess(int command) { for (pair<int, int> commandPair : m_AutoCommandByCommandMap) { if (commandPair.first == command) pushCommand({ commandPair.second }); } for (pair<int, Action*> actionPair : m_AutoActionByCommandMap) { if (actionPair.first == command) runAction(actionPair.second->clone()); } switch (command) { case COMMAND::ENTITY::ACTIVATE: setActive(true); break; case COMMAND::ENTITY::DEACTIVATE: setActive(false); default: for (CBase* component : m_Components) component->commandProcess(command, 0.0f); break; } } vector<CBase*> EObject::getComponent() { return this->m_Components; } void EObject::clearAllCommand() { m_CommandQueue.clear(); }
b41f9fd64c3acb8643d5a6deea31fe95c6d12c5b
6e22d7679ebeb092232de6052ced81c7d8ab97a6
/hp-socket-3.1.2/Common/Src/CriticalSection.h
744e2244aeeb94ff2e4e9da8e55df5ae7949636a
[ "Apache-2.0" ]
permissive
chengguixing/iArt
e3de63161bd91a18522612d6320453431824061d
c2d60e36f2f2a6a04b2188f20e7264cfc5d05dc4
refs/heads/master
2021-01-02T09:27:11.010862
2014-06-28T12:34:56
2014-06-28T12:34:56
22,207,953
4
5
null
null
null
null
GB18030
C++
false
false
3,595
h
CriticalSection.h
/* * Copyright: JessMA Open Source (ldcsaa@gmail.com) * * Version : 2.3.2 * Author : Bruce Liang * Website : http://www.jessma.org * Project : https://github.com/ldcsaa * Blog : http://www.cnblogs.com/ldcsaa * WeiBo : http://weibo.com/u/1402935851 * QQ Group : 75375912 * * 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. */ /**************************************************************************** * * * CriticalSection.h * * * * Create by : * * Kingfisher 2003-10-15 * * * * Description: * * 封装Win32临界量对象和互斥量内核对象 * ****************************************************************************/ #pragma once class CCriSec { public: CCriSec() {::InitializeCriticalSection(&m_crisec);} ~CCriSec() {::DeleteCriticalSection(&m_crisec);} void Lock() {::EnterCriticalSection(&m_crisec);} void Unlock() {::LeaveCriticalSection(&m_crisec);} private: CCriSec(const CCriSec& cs); CCriSec operator = (const CCriSec& cs); private: CRITICAL_SECTION m_crisec; }; class CCriSec2 { public: CCriSec2(BOOL bInitialize = TRUE) { if(bInitialize) { m_pcrisec = new CRITICAL_SECTION; ::InitializeCriticalSection(m_pcrisec); } else m_pcrisec = nullptr; } ~CCriSec2() {Reset();} void Attach(CRITICAL_SECTION* pcrisec) { Reset(); m_pcrisec = pcrisec; } CRITICAL_SECTION* Detach() { CRITICAL_SECTION* pcrisec = m_pcrisec; m_pcrisec = nullptr; return pcrisec; } void Lock() {::EnterCriticalSection(m_pcrisec);} void Unlock() {::LeaveCriticalSection(m_pcrisec);} private: CCriSec2(const CCriSec2& cs); CCriSec2 operator = (const CCriSec2& cs); void Reset() { if(m_pcrisec) { ::DeleteCriticalSection(m_pcrisec); delete m_pcrisec; m_pcrisec = nullptr; } } private: CRITICAL_SECTION* m_pcrisec; }; class CMTX { public: CMTX(BOOL bInitialOwner = FALSE, LPCTSTR pszName = nullptr, LPSECURITY_ATTRIBUTES pSecurity = nullptr) { m_hMutex = ::CreateMutex(pSecurity, bInitialOwner, pszName); ASSERT(IsValid()); } ~CMTX() { if(IsValid()) ::CloseHandle(m_hMutex); } BOOL Open(DWORD dwAccess, BOOL bInheritHandle, LPCTSTR pszName) { if(IsValid()) VERIFY(::CloseHandle(m_hMutex)); m_hMutex = ::OpenMutex(dwAccess, bInheritHandle, pszName); return(IsValid()); } void Lock(DWORD dwMilliseconds = INFINITE) {::WaitForSingleObject(m_hMutex, dwMilliseconds);} void Unlock() {::ReleaseMutex(m_hMutex);} HANDLE& GetHandle () {return m_hMutex;} operator HANDLE () {return m_hMutex;} BOOL IsValid () {return m_hMutex != nullptr;} private: CMTX(const CMTX& mtx); CMTX operator = (const CMTX& mtx); private: HANDLE m_hMutex; }; template<class CLockObj> class CLocalLock { public: CLocalLock(CLockObj& obj) : m_lock(obj) {m_lock.Lock();} ~CLocalLock() {m_lock.Unlock();} private: CLockObj& m_lock; }; typedef CLocalLock<CCriSec> CCriSecLock; typedef CLocalLock<CCriSec2> CCriSecLock2; typedef CLocalLock<CMTX> CMutexLock;
ae1988ffde79af5eef3f16bcdab9affd00a871fb
6565182c28637e21087007f09d480a70b387382e
/code/40.组合总和-ii.cpp
fab8bbb9f45dd3e0d8d33f965a87f682a95191d6
[]
no_license
liu-jianhao/leetcode
08c070f0f140b2dd56cffbbaf25868364addfe53
7cbbe0585778517c88aa6ac1d2f2f8478cc931e5
refs/heads/master
2021-07-17T05:54:58.228956
2020-08-17T07:03:52
2020-08-17T07:03:52
188,854,718
1
1
null
null
null
null
UTF-8
C++
false
false
1,065
cpp
40.组合总和-ii.cpp
/* * @lc app=leetcode.cn id=40 lang=cpp * * [40] 组合总和 II */ // 这道题最大的难点就是怎么去重 class Solution { public: vector<vector<int>> combinationSum2(vector<int>& candidates, int target) { vector<vector<int>> res; if(candidates.empty()) return res; sort(candidates.begin(), candidates.end()); vector<int> subRes; rec(res, subRes, candidates, target, 0); return res; } void rec(vector<vector<int>>& res, vector<int>& subRes, vector<int>& candidates, int target, int index) { if(target < 0) return; if(target == 0) { res.push_back(subRes); return; } for(int i = index; i < candidates.size(); ++i) { // 去重 if(index != i && candidates[i] == candidates[i-1]) continue; subRes.push_back(candidates[i]); rec(res, subRes, candidates, target-candidates[i], i+1); subRes.pop_back(); } } };