Definition in file NBRequest.cpp.
#include <config.h>
#include <string>
#include <vector>
#include <set>
#include <algorithm>
#include <bitset>
#include <sstream>
#include <map>
#include <cassert>
#include <utils/common/MsgHandler.h>
#include <utils/common/ToString.h>
#include "NBEdge.h"
#include "NBJunctionLogicCont.h"
#include "NBContHelper.h"
#include "NBTrafficLightLogic.h"
#include "NBTrafficLightLogicCont.h"
#include "NBNode.h"
#include "NBRequest.h"
#include <utils/options/OptionsCont.h>
Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &os, const NBRequest &r) |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const NBRequest & | r | |||
| ) |
Definition at line 587 of file NBRequest.cpp.
References NBRequest::myForbids, NBRequest::myIncoming, and NBRequest::myOutgoing.
00587 { 00588 size_t variations = r.myIncoming->size() * r.myOutgoing->size(); 00589 for (size_t i=0; i<variations; i++) { 00590 os << i << ' '; 00591 for (size_t j=0; j<variations; j++) { 00592 if (r.myForbids[i][j]) 00593 os << '1'; 00594 else 00595 os << '0'; 00596 } 00597 os << std::endl; 00598 } 00599 os << std::endl; 00600 return os; 00601 }
1.5.6