j*****y 发帖数: 1071 | 1 用 adjecency-list 或者 adjecency-matrix 产生 input. 其他的也没什么不一样的地
方吧? |
|
j*****y 发帖数: 1071 | 2 用 adjecency-list 或者 adjecency-matrix 产生 input. 其他的也没什么不一样的地
方吧? |
|
b******y 发帖数: 660 | 3 ch222, I see what you mean...
normal adjacency matrix cannot find whether u,v have a path in O(1) time; it
can, if and only if the length of the path is 1 (i.e., adjecent). |
|
f********e 发帖数: 166 | 4 void preorder(Node *r)
{
if(!r) return;
cout<
preorder(r->left);
preorder(r->right);
}
void dfs(Node *r)
{
if(!r) return;
visit(r);
r.visited = true;
foreach(Node n in r.adjecent){
if(n.visited==false)
dfs(n);
}
}
如果按照先左子树,后右子树DFS的话,我觉得是的 |
|
f****n 发帖数: 202 | 5 Hello, Dear all:
http://www.facebook.com/event.php?eid=157297227629508
It is a right time to plan for the thanksgiving activity now. I am
organizing a cruise trip to East Caribbean. Here is the trip details. Also
through the agent I used the price is even better for Trip on Nov.20to Nov.
27. The total price is around $550 now.(Not including flight ticket or shore
excursion). After adding flight and shore excursion, the total is roughly $
1300 the most.So far,I have two people firmly in and I n... 阅读全帖 |
|
f****n 发帖数: 202 | 6 【 以下文字转载自 NewJersey 讨论区 】
发信人: finfin (vacation), 信区: NewJersey
标 题: Thanksgiving East Caribbean Cruise trip!
关键字: cruise Thanksgiving
发信站: BBS 未名空间站 (Sun Oct 10 13:08:07 2010, 美东)
Hello, Dear all:
http://www.facebook.com/event.php?eid=157297227629508
It is a right time to plan for the thanksgiving activity now. I am
organizing a cruise trip to East Caribbean. Here is the trip details. Also
through the agent I used the price is even better for Trip on Nov.20to Nov.
27. The total price is aroun... 阅读全帖 |
|
f****n 发帖数: 202 | 7 【 以下文字转载自 NewJersey 讨论区 】
发信人: finfin (vacation), 信区: NewJersey
标 题: Thanksgiving East Caribbean Cruise trip!
关键字: cruise Thanksgiving
发信站: BBS 未名空间站 (Sun Oct 10 13:08:07 2010, 美东)
Hello, Dear all:
http://www.facebook.com/event.php?eid=157297227629508
It is a right time to plan for the thanksgiving activity now. I am
organizing a cruise trip to East Caribbean. Here is the trip details. Also
through the agent I used the price is even better for Trip on Nov.20to Nov.
27. The total price is aroun... 阅读全帖 |
|
r********k 发帖数: 258 | 8 check tax bill, which city has the highest supplemental tax on property.
Since it is the same school district as Cupertino, it should have the same
school district add-on tax on property. All in Santa Clara county, so county
tax on property is the same. Ony city addon to check.
it is interesting that, one neighborhood, two houses adjecent, one has HOA
fee of $200 per month to maintain a swimming pool with right to use the
swimming pool, one is built later and not in HOA, so no fee/no swimming po... 阅读全帖 |
|
f****n 发帖数: 202 | 9 【 以下文字转载自 NewJersey 讨论区 】
发信人: finfin (vacation), 信区: NewJersey
标 题: Thanksgiving East Caribbean Cruise trip!
关键字: cruise Thanksgiving
发信站: BBS 未名空间站 (Sun Oct 10 13:08:07 2010, 美东)
Hello, Dear all:
http://www.facebook.com/event.php?eid=157297227629508
It is a right time to plan for the thanksgiving activity now. I am
organizing a cruise trip to East Caribbean. Here is the trip details. Also
through the agent I used the price is even better for Trip on Nov.20to Nov.
27. The total price is aroun... 阅读全帖 |
|
l******0 发帖数: 73 | 10 I want to cruise in winter.But my F-1 visa is expired.
I checked the adjacent island list, Belize, Guatemala are not there. Does that mean that I can't go there?
Thanks! |
|
f*****g 发帖数: 15860 | 11 【发帖前请阅读】本版FAQ、出入境法规及版规
mean |
|
l******0 发帖数: 73 | 12 非常感谢,出了波多黎各呢,很多cruise的线路中包含一些adjacent island list上面没
有的地方,比如Belize city,F-1过期能回来吗? |
|
|
Y******u 发帖数: 1912 | 14 问一下大家key rate duration的standard是shock par curve还是shock zero curve?
bloomberg做法是shock par curve,但这样在重新bootstrap zero curve和
interpolate的时候会有可能降低adjecent spot rates,如果正好有cashflow在那里,
就可能得出negative key rate duration,有点counter-intuitive
我们之前的做法是直接shock zero curve,比如key rate tenor 1,2,5,10 years, 要
shock 2 year的时候把1-5 years中间的spot rate全部shock,shock size根据每个点
到2 year的距离,这样的结果是guarantee positive,sum也等于duration
不知道业界标准是怎么做? |
|
Y******u 发帖数: 1912 | 15 问一下大家key rate duration的standard是shock par curve还是shock zero curve?
bloomberg做法是shock par curve,但这样在重新bootstrap zero curve和
interpolate的时候会有可能降低adjecent spot rates,如果正好有cashflow在那里,
就可能得出negative key rate duration,有点counter-intuitive
我们之前的做法是直接shock zero curve,比如key rate tenor 1,2,5,10 years, 要
shock 2 year的时候把1-5 years中间的spot rate全部shock,shock size根据每个点
到2 year的距离,这样的结果是guarantee positive,sum也等于duration
不知道业界标准是怎么做? |
|