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

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

?? timetable.cpp

?? gpstk1.5的有關(guān)內(nèi)容 對(duì)于剛剛接觸gps有一定的幫助 很有用的啊
?? CPP
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
#pragma ident "$Id: Timetable.cpp 286 2006-11-08 02:21:51Z ocibu $"//============================================================================////  This file is part of GPSTk, the GPS Toolkit.////  The GPSTk is free software; you can redistribute it and/or modify//  it under the terms of the GNU Lesser General Public License as published//  by the Free Software Foundation; either version 2.1 of the License, or//  any later version.////  The GPSTk 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 Lesser General Public License for more details.////  You should have received a copy of the GNU Lesser General Public//  License along with GPSTk; if not, write to the Free Software Foundation,//  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA//  //  Copyright 2004, The University of Texas at Austin////============================================================================//============================================================================////This software developed by Applied Research Laboratories at the University of//Texas at Austin, under contract to an agency or agencies within the U.S. //Department of Defense. The U.S. Government retains all rights to use,//duplicate, distribute, disclose, or release this software. ////Pursuant to DoD Directive 523024 //// DISTRIBUTION STATEMENT A: This software has been approved for public //                           release, distribution is unlimited.////=============================================================================/** * @file Timetable.cpp * Compute reference satellites time table for program DDBase. *///------------------------------------------------------------------------------------// TD Timetable.cpp  handle week rollover in TimeTable() and ReadTimeTable()// TD Timetable.cpp  check logic// TD Timetable.cpp  check output messages// TD Timetable.cpp  add several limits as input parameters// TD Timetable.cpp  4. edit TTab, removing segments that do not create gaps//------------------------------------------------------------------------------------// includes// system// GPSTk// Geomatics#include "DDid.hpp"#include "index.hpp"// DDBase#include "DDBase.hpp"//------------------------------------------------------------------------------------double RotatedAntennaElevation(double elevation, double azimuth); // ElevationMask.cpp//------------------------------------------------------------------------------------using namespace std;using namespace gpstk;//------------------------------------------------------------------------------------// Segment structure used in deducing time table// functions implemented in Timetable.cppclass TTSegment {public:   std::string site1,site2;   gpstk::GSatID sat;   int start,end;    // starting and ending counts   int first,last;   // counts to actually use in timetable   int length;       // length (in data points)   double minelev;   // minimum elevation in this segment   double maxelev;   // maximum elevation in this segment   TTSegment(void) : start(-1),length(0),minelev(0.0),maxelev(0.0) {}   double metric(void) const   { return (double(length)/100.0 + 100.0*(minelev+maxelev)/90.0); }   //bool operator<(const TTSegment& right) const   //{ return (metric() < right.metric()); }   //bool operator>(const TTSegment& right) const   //{ return (metric() > right.metric()); }   void findElev(void);   friend ostream& operator<<(ostream& s, const TTSegment& t);   friend bool increasingMetricSort(const TTSegment& left, const TTSegment& right);   friend bool decreasingMetricSort(const TTSegment& left, const TTSegment& right);   friend bool startSort(const TTSegment& left, const TTSegment& right);};//------------------------------------------------------------------------------------// local datalist<TTSegment> TimeTable;    // satellite time tablemap<SDid,SDData> SDmap;       // map of SD data - not full single differences//------------------------------------------------------------------------------------// prototypes -- this module onlyint ReadTimeTable(void);int ComputeBaselineTimeTable(const string& bl);int TTComputeSingleDifferences(const string& bl, const double ElevLimit);int TimeTableAlgorithm(list<TTSegment>& TTS, list<TTSegment>& TTab);bool startSort(const TTSegment& left, const TTSegment& right);bool increasingMetricSort(const TTSegment& left, const TTSegment& right);bool decreasingMetricSort(const TTSegment& left, const TTSegment& right);//------------------------------------------------------------------------------------// Find the entry in the timetable which applies to the baseline given in sdid and// the time tt. Set the satellite in sdid to the reference satellite, and set the// time tt to the time (in the future) when the reference will change again.// return 0 on success, 1 on failure.int QueryTimeTable(SDid& sdid, DayTime& tt){try {      // loop over the timetable, looking for a match : baseline and time   list<TTSegment>::iterator ttit;   for(ttit=TimeTable.begin(); ttit != TimeTable.end(); ttit++) {      if(((ttit->site1 == sdid.site1 && ttit->site2 == sdid.site2) ||          (ttit->site1 == sdid.site2 && ttit->site2 == sdid.site1)   ) &&         FirstEpoch+CI.DataInterval*ttit->first <= tt                  &&         FirstEpoch+CI.DataInterval*ttit->last  >= tt)      {                                                  // success         sdid.sat = ttit->sat;         tt = FirstEpoch+CI.DataInterval*ttit->last;         return 0;      }   }   return 1;      // failure}catch(Exception& e) { GPSTK_RETHROW(e); }catch(exception& e) { Exception E("std except: "+string(e.what())); GPSTK_THROW(E); }catch(...) { Exception e("Unknown exception"); GPSTK_THROW(e); }}    //------------------------------------------------------------------------------------// Find the start and stop counts in the timetable which applies to the given baselineint QueryTimeTable(string baseline, int& beg, int& end){try {   string site1=StringUtils::word(baseline,0,'-');   string site2=StringUtils::word(baseline,1,'-');   beg = end = -1;      // loop over the timetable, looking for a match in baseline   list<TTSegment>::iterator ttit;   for(ttit=TimeTable.begin(); ttit != TimeTable.end(); ttit++) {      if((ttit->site1 == site1 && ttit->site2 == site2) ||         (ttit->site1 == site2 && ttit->site2 == site1)   )      {                                                  // success         if(beg == -1 || ttit->first < beg) beg = ttit->first;         if(end == -1 || ttit->last  > end) end = ttit->last;      }   }   return 0;}catch(Exception& e) { GPSTK_RETHROW(e); }catch(exception& e) { Exception E("std except: "+string(e.what())); GPSTK_THROW(E); }catch(...) { Exception e("Unknown exception"); GPSTK_THROW(e); }}//------------------------------------------------------------------------------------int Timetable(void){try {   if(CI.Verbose) oflog << "BEGIN Timetable()" << endl;   int ib,iret;   list<TTSegment>::iterator ttit;   if(CI.TimeTableFile.size() > 0) {      iret = ReadTimeTable();   }   else if(CI.RefSat.id != -1) {         // user says use this sat only      // loop over baselines      for(ib=0; ib<Baselines.size(); ib++) {         TTSegment ts;         ts.site1 = StringUtils::word(Baselines[ib],0,'-');         ts.site2 = StringUtils::word(Baselines[ib],1,'-');         ts.sat = CI.RefSat;         ts.start = ts.first = 0;         ts.end = ts.last = maxCount;         ts.minelev = ts.maxelev = 0.0;         ts.length = ts.end - ts.start + 1;         TimeTable.push_back(ts);         iret = 0;      }   }   else {      // loop over baselines      for(ib=0; ib<Baselines.size(); ib++) {         iret = ComputeBaselineTimeTable(Baselines[ib]);         if(iret) break;      }  // end loop over baselines   }   if(iret == 0) {      // write out timetable to log      // REF site site sat week use_first use_last data_start data_end      DayTime tt;      GSatID sat;      oflog << "Here is the time table (" << TimeTable.size() << ")" << endl;      if(CI.Screen)         cout << "Time table (" << TimeTable.size() << "):" << endl;      oflog << "# " << Title << endl;      oflog << "# REF site site sat week use_first use_last data_start data_end\n";      if(CI.Screen)         cout << "# REF site site sat week use_first use_last data_start data_end\n";      for(ttit=TimeTable.begin(); ttit != TimeTable.end(); ttit++) {         oflog << "REF " << ttit->site1 << " " << ttit->site2 << " " << ttit->sat;         if(CI.Screen)            cout << "REF " << ttit->site1 << " " << ttit->site2 << " " << ttit->sat;         tt = FirstEpoch + CI.DataInterval * ttit->first;         oflog << tt.printf(" %4F %10.3g");        // TD week rollover!         if(CI.Screen)            cout << tt.printf(" %4F %10.3g");        // TD week rollover!         tt = FirstEpoch + CI.DataInterval * ttit->last;         oflog << tt.printf(" %10.3g");         if(CI.Screen)            cout << tt.printf(" %10.3g");         tt = FirstEpoch + CI.DataInterval * ttit->start;         oflog << tt.printf(" %10.3g");         if(CI.Screen)            cout << tt.printf(" %10.3g");         tt = FirstEpoch + CI.DataInterval * ttit->end;         oflog << tt.printf(" %10.3g");         if(CI.Screen)            cout << tt.printf(" %10.3g");         // TD? ttit->minelev, ttit->maxelev, ttit->length, ttit->metric()         oflog << " " << fixed << setw(4) << setprecision(1) << ttit->minelev;         if(CI.Screen)            cout << " " << fixed << setw(4) << setprecision(1) << ttit->minelev;         oflog << " " << fixed << setw(4) << setprecision(1) << ttit->maxelev;         if(CI.Screen)            cout << " " << fixed << setw(4) << setprecision(1) << ttit->maxelev;         // write the number of counts for this ref         oflog << " " << setw(5) << ttit->length;         if(CI.Screen)            cout << " " << setw(5) << ttit->length;         oflog << endl;         if(CI.Screen)            cout << endl;         // for next time         sat = ttit->sat;      }      oflog << "End of time table." << endl;      if(CI.Screen)         cout << "End of time table." << endl;   }   return iret;   return 0;}catch(Exception& e) { GPSTK_RETHROW(e); }catch(exception& e) { Exception E("std except: "+string(e.what())); GPSTK_THROW(E); }catch(...) { Exception e("Unknown exception"); GPSTK_THROW(e); }}   // end Timetable()//------------------------------------------------------------------------------------// Input the time table from a fileint ReadTimeTable(void){try {   int week;   double sow;   string line;   DayTime tt;   // open an input file for all timetables   if(CI.Debug) oflog << "Try to open time table file " << CI.TimeTableFile << endl;   ifstream ttifs(CI.TimeTableFile.c_str());

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩亚洲欧美成人一区| 一卡二卡三卡日韩欧美| 亚洲成人激情自拍| 91视视频在线观看入口直接观看www| 91精品国产91久久久久久一区二区| 国产精品乱人伦| 韩国v欧美v亚洲v日本v| 日韩欧美视频在线| 蜜臀久久久久久久| 欧美成人a∨高清免费观看| 日韩国产欧美在线播放| 欧美一区二区免费观在线| 亚洲国产综合人成综合网站| 色94色欧美sute亚洲线路二 | 国产一区二区三区在线观看免费视频| 欧美日韩视频在线一区二区| 亚洲一区二区综合| 欧美日本在线视频| 国产在线视频一区二区| 国产日本欧美一区二区| 成人三级伦理片| 亚洲一区在线观看免费观看电影高清 | 欧美精品1区2区3区| 亚洲v日本v欧美v久久精品| 欧美一区二区日韩| 粉嫩av一区二区三区在线播放| 国产精品久久久久久久岛一牛影视| 色呦呦国产精品| 黄色日韩网站视频| 一区二区欧美在线观看| 日韩一区二区三| 99精品视频在线观看| 日韩制服丝袜av| 亚洲视频一二三| 久久精品亚洲国产奇米99| 欧美亚洲综合久久| 成人h精品动漫一区二区三区| 依依成人精品视频| 欧美国产精品一区| 欧美tickling挠脚心丨vk| 精品国产91亚洲一区二区三区婷婷| 欧美一区二区精品| 午夜a成v人精品| 亚洲欧美综合色| 精品日韩一区二区| 宅男在线国产精品| 欧美亚洲愉拍一区二区| 不卡视频一二三| 岛国精品一区二区| 国产成人在线视频网址| 男人的j进女人的j一区| 亚洲美女淫视频| 亚洲欧洲日韩在线| 国产精品第一页第二页第三页| 亚洲精品在线观| 久久午夜电影网| 久久久久久久久久美女| 久久综合久久综合久久| 精品福利一二区| 国产午夜一区二区三区| 国产喷白浆一区二区三区| 国产日本亚洲高清| 一区二区三区欧美久久| 香蕉久久夜色精品国产使用方法| 午夜精品在线视频一区| 男女性色大片免费观看一区二区 | 一区二区三区四区中文字幕| 亚洲少妇屁股交4| 亚欧色一区w666天堂| 久久精品二区亚洲w码| 亚洲一区二区成人在线观看| 亚洲第一搞黄网站| 久久se这里有精品| 不卡欧美aaaaa| 欧美精品一二三| 久久精品亚洲乱码伦伦中文| 最新成人av在线| 久久综合综合久久综合| 99精品视频一区二区三区| 欧美三级电影在线观看| 欧美国产日韩一二三区| 亚洲成a人在线观看| 成人午夜看片网址| 欧美日本在线视频| 亚洲视频 欧洲视频| 九九精品一区二区| 欧美无人高清视频在线观看| 精品成人在线观看| 调教+趴+乳夹+国产+精品| 成人激情黄色小说| 26uuu精品一区二区在线观看| 一区二区三区日本| 91亚洲资源网| 国产精品系列在线| 国产福利一区二区三区视频在线| 欧美精品乱码久久久久久按摩| 中文字幕中文字幕一区| 国产高清一区日本| 国产午夜亚洲精品午夜鲁丝片| 日韩va亚洲va欧美va久久| 欧美日韩精品一区二区| 亚洲国产va精品久久久不卡综合| 成人福利电影精品一区二区在线观看| 日韩欧美电影一二三| 蜜桃视频一区二区| 精品国产91亚洲一区二区三区婷婷 | 99天天综合性| 一区二区在线观看视频在线观看| 成人白浆超碰人人人人| 国产精品久久久久aaaa| 99精品欧美一区| 亚洲一区二区三区在线看| 欧美日韩免费一区二区三区视频| 亚洲国产日韩在线一区模特 | 这里是久久伊人| 国产美女久久久久| 一区免费观看视频| 久久免费的精品国产v∧| 韩国欧美一区二区| 国产精品久久久久影视| 欧美影院午夜播放| 国产在线一区二区| 五月激情丁香一区二区三区| 中文字幕一区二区三区四区| 日韩av中文字幕一区二区三区| 欧美日韩视频在线第一区 | **欧美大码日韩| 欧美猛男男办公室激情| 国产乱码精品一区二区三| 亚洲欧洲日韩在线| 久久综合成人精品亚洲另类欧美 | 亚洲欧美日韩久久精品| 欧美成人a∨高清免费观看| 色婷婷av一区二区三区大白胸 | 国产精品一区二区免费不卡| 亚洲欧洲精品天堂一级| 日韩欧美卡一卡二| 欧美精品粉嫩高潮一区二区| 99re这里只有精品首页| 黄色成人免费在线| 蓝色福利精品导航| 天堂av在线一区| 亚洲在线视频免费观看| 亚洲欧美国产三级| 1000部国产精品成人观看| 中文一区二区在线观看| 久久久久青草大香线综合精品| 日韩一级片网址| 51精品国自产在线| 欧美一区二区三区四区高清| 欧美三级日韩在线| 欧美视频中文字幕| 欧美日韩电影一区| 欧美人狂配大交3d怪物一区| 欧美另类一区二区三区| 91精品国产综合久久婷婷香蕉| 欧美福利视频导航| 欧美日韩国产精品自在自线| 欧美电影在线免费观看| 欧美一区二区视频在线观看2020| 9191精品国产综合久久久久久| 欧美精品精品一区| 国产欧美日韩另类一区| 国产精品欧美经典| 午夜亚洲福利老司机| 久久国产综合精品| 成人精品一区二区三区四区| 99久久777色| 精品国偷自产国产一区| 国产精品久久久久永久免费观看 | 欧美一激情一区二区三区| 久久无码av三级| 亚洲美女视频在线观看| 蜜桃精品在线观看| 91视频.com| 2021久久国产精品不只是精品| 国产精品日韩成人| 精品一区二区三区的国产在线播放| 国产99久久久国产精品潘金 | 精品国产制服丝袜高跟| 亚洲精品国产无天堂网2021| 久久99久久久欧美国产| 欧美性一区二区| 亚洲欧美色综合| 国产精品18久久久久久vr| 欧美日韩一区二区三区视频| 日本久久电影网| 国产精品家庭影院| 国产成人精品网址| 国产日韩在线不卡| 激情五月播播久久久精品| 欧美精品1区2区3区| 亚洲天堂精品在线观看| 99在线精品视频| 国产精品久久久久一区| 国产91精品露脸国语对白| 欧美一二三在线| 韩国毛片一区二区三区| 精品国产一区二区三区av性色 | 欧美色男人天堂|