一、EasyUI$的window('open')在IE8下兼容性问题 今天在公司使用EasyUI的$('#win').window('open');方法打开一个window窗体时发现EaysUI的脚本在IE8下执行时出现不兼容的情况HTML代码如下: 1 批量导入用户 2 3 6 ...
分类:
Web程序 时间:
2014-07-02 10:38:14
阅读次数:
334
X-UA-Compatible是针对ie8新加的一个设置,对于ie8之外的浏览器是不识别的,这个区别与content="IE=7"在无论页面是否包含指令,都像是使用了 Windows Internet Explorer 7的标准模式。而content="IE=EmulateIE7"模式遵循指令。对于...
分类:
其他好文 时间:
2014-07-02 00:04:41
阅读次数:
254
就是欧拉判定,判定之后就可以使用DFS求欧拉回路了。图论内容。
这里使用邻接矩阵会快很多速度。
这类题目都是十分困难的,光是定义的记录的数组变量就会是一大堆。
#include
#include
#include
#include
using namespace std;
struct Edge
{
int ed, des;
Edge(int e = 0, int d ...
分类:
其他好文 时间:
2014-06-26 13:16:05
阅读次数:
250
http://blog.csdn.net/a3070173/archive/2008/12/08/3479477.aspx完成的部分:1.流体本身的绘制和更新未解决的部分:1.由于采用经过抖动的屏幕坐标进行折射图纹理采样,在设置了GL_CLAMP_TO_EDGE之后仍然会导致边沿采样走样,仔细对比了...
分类:
其他好文 时间:
2014-06-25 13:47:46
阅读次数:
179
在正式编写最小生成树的算法之前,还需要做一些准备工作。具体的工作就是建立一些基础对象。
边
首先需要建立边的对象。现在的边要增加权重信息,一条边需要记录两个端点以及这条边的权重,因此边类的轮廓如下:
public class Edge implements Comparable {
public Edge(int v, int w, double we...
分类:
其他好文 时间:
2014-06-22 20:45:50
阅读次数:
147
并查集。 1 #include 2 #include 3 #include 4 5 #define MAXN 10005 6 #define INF 0xffffff 7 8 typedef struct { 9 int c, s, e;10 } edge_st;11 12 ed...
分类:
其他好文 时间:
2014-06-21 17:29:36
阅读次数:
178
With network virtualization, the software switches (such as Open vSwitch) on the servers act like the edge switches. So, to gain insights into the net...
分类:
Web程序 时间:
2014-06-21 15:34:13
阅读次数:
324
As virtualization shifts the network edge from top of rack switches to software virtual switches running on the hypervisors; visibility in the virtual...
分类:
Web程序 时间:
2014-06-21 15:21:57
阅读次数:
414
As virtualization shifts the network edge from top of rack switches to software virtual switches running on the hypervisors; visibility in the virtual...
分类:
Web程序 时间:
2014-06-18 11:17:18
阅读次数:
626
题目:
链接:点击打开链接
题意:
输入n个点,要求选m个点满足连接m个点的m-1条边权值和sum与点的权值和ans最小,即sum/ans最小,并输出所选的m个点,如果有多种情况就选第一个点最小的,如果第一个点也相同就选第二个点最小的........
求一个图中的一颗子树,使得Sum(edge weight)/Sum(point weight)最小~
数据...
分类:
其他好文 时间:
2014-06-14 07:05:34
阅读次数:
350