(R Igraph)使用affilliation从邻接矩阵创建子图((R Igraph) Using affilliation to create subgraph from adjacency matrix)
我需要通过附属数据选择邻接矩阵创建子图。 如何匹配邻接和联盟矩阵?
采用以下邻接矩阵:
A B C D E F G A 0 1 0 1 0 1 0 B 1 0 1 1 0 1 0 C 0 1 0 0 0 0 0 D 1 1 0 0 1 1 0 E 0 0 0 1 0 1 0 F 1 1 0 1 1 0 1 G 0 0 0 0 0 1 0
以及从属关系矩阵:
P R Q A 1 1 0 B 1 0 1 C 1 1 0 D 0 1 0 E 1 0 1 F 0 0 1 G 1 1 0
如何仅使用隶属矩阵中与P对应的节点从邻接矩阵创建子图?
I need to create a subgraph from an adjacency matrix selecting by affiliation data. How do I match an adjacency and an affiliation matrix?
Take the following adjacency matrix:
A B C D E F G A 0 1 0 1 0 1 0 B 1 0 1 1 0 1 0 C 0 1 0 0 0 0 0 D 1 1 0 0 1 1 0 E 0 0 0 1 0 1 0 F 1 1 0 1 1 0 1 G 0 0 0 0 0 1 0
And the following affiliation matrix:
P R Q A 1 1 0 B 1 0 1 C 1 1 0 D 0 1 0 E 1 0 1 F 0 0 1 G 1 1 0
How do I create a subgraph from the adjacency matrix only with the nodes corresponding to P in the affiliation matrix?
原文:https://stackoverflow.com/questions/44079959
最满意答案
您可以在没有Sql Server的情况下安装Bussiness Intelligence Studio。 您必须运行sqlrun_tools.msi文件
Sql Server 2005 CD / DVD的Tools \ setup文件夹,然后选择客户端组件 - > Business Intelligence Development Studio。
继续完成其余的安装,您将在“开始” - >“程序” - >“Microsoft SQL Server 2005” - >“SQL Server商业智能开发工作室”下找到一个图标。
请看这个链接 。
you can install Bussiness Intelligence Studio without Sql Server. You must run sqlrun_tools.msi file available in
Tools\setup folder of your Sql Server 2005 CD/DVD and then choose client components -> Business Intelligence Development Studio.
Continue through the rest of the installation and you will find a icon under Start -> Programs -> Microsoft SQL Server 2005 -> SQL Server Business Intelligence Development Studio.
please see this link too.
相关问答
更多-
SQL Server Compact是否从Visual Studio 2013停产?(Is SQL Server Compact discontinued from Visual Studio 2013?)[2023-02-02]
是的,SQL Server Compact已被弃用(请参阅此Connect项目的注释 )。 您应该使用SQL Server Express或SQL LocalDB。 一些帖子: http://blogs.msdn.com/b/sqlexpress/archive/2011/07/12/introducing-localdb-a-better-sql-express.aspx http://blogs.msdn.com/b/jerrynixon/archive/2012/02/26/sql-express-v ... -
您需要BIDS(商业智能开发工作室),如果它的SQL Server 2008R2和之前(2005-2008R2)和SSDT更高版本。 SSMS非常方便但不是必需的。 有关如何安装(以及在何处查找SSDT)的优秀文章,请参阅: 在Visual Studio 2012/2013中使用SSIS BIDS You need BIDS (Business Intelligence Development Studio) if its SQL Server 2008R2 and before (2005-2008R2) ...
-
SSDT与SQL Server本身分开更新。 过去,SSDT BI也是一个单独的项目。 集成这两个工具集正在进行中。 最新的SSDT版本是2015年11月的预览,它支持用于SQL Server 2016预览的SSIS,SSAS,SSRS,但仅支持SSAS,以前版本的SSRS。 SSDT实际上并不需要SQL Server,只需要Visual Studio,并且无论您安装的是哪个版本的SQL Server(如果有),都将安装。 I found the solution in another forum. Thi ...
-
如果您在本地计算机上运行Visual Studio,则防火墙和启用TCP / IP没有任何问题。 尝试这四种解决方案可以解决您的问题: SQL Server Express LocalDB附加组件,从此链接获取它。 确保您的SQL服务正在运行 。 使用SQL Server身份验证。 确保在“添加连接”窗口的“服务器名称”中键入.\sqlexpress 。 您应该使用反斜杠\作为分隔符,而不是正斜杠。 If you are running Visual Studio on your local machine ...
-
Visual Studio 2012没有可用的SSDT(Sql server数据工具)。我们必须使用Visual Studio 2010(只有具有报告服务模板的Shell就足够了)才能使用Reporting Service Projects和Sql Server 2012。 我刚刚意识到现在可以使用VST的SSDT。 它将在VS 2012中安装商业智能模板。 VS2012 BI模板 There is no SSDT(Sql server data tools) available for Visual St ...
-
您可以在没有Sql Server的情况下安装Bussiness Intelligence Studio。 您必须运行sqlrun_tools.msi文件 Sql Server 2005 CD / DVD的Tools \ setup文件夹,然后选择客户端组件 - > Business Intelligence Development Studio。 继续完成其余的安装,您将在“开始” - >“程序” - >“Microsoft SQL Server 2005” - >“SQL Server商业智能开发工作室” ...
-
SQL Server是一个单独的产品,您需要在安装Visual Studio 2015 Professional / Enterprise之前或之后安装它。 从Visual Studio 2015 Professional和Enterprise获得的是支持使用SQL Server而不是实际产品的工具。 SQL Server is a separate product and you need to install it before or after you install Visual Studio 20 ...
-
对于数据相关的工作,我总是使用MS SQL Server,如果你想学习SQL Server,那么你也应该在SQL Server上练习,因为在某处我读到VS工作室不支持“脚本AS”类的东西。 对于视图创建的特定查询,在SQL Server中创建用于VIEW的GUI,您可以在其中选择要在VIEW中使用的所需表和函数。 For Data related work i always used MS SQL Server and if you want to study SQL Server then you sho ...
-
您已连接到SQL Server的不同实例。 Visual Studio连接到LocalDB实例,而SQL Server Management Studio连接到SQL Server Express实例。 要解决此问题,只需在SQL Server Management Studio工具的登录步骤中选择本地实例。 You are connected to different instances of SQL Server. Visual Studio is connected to a LocalDB inst ...
-
您需要从http://msdn.microsoft.com/en-us/data/hh297027下载最新版本的SSDT(或单击错误消息中的“获取最新版本”链接)。 SSDT使用名为DacFx的共享组件,当您在计算机上安装SQL Server 2012时,会安装较新版本的DacFx。 更新SSDT将确保一切兼容。 注意:确保您具有稳定的Internet连接,否则您可能无法从Web安装和/或.iso文件下载进行安装。 You need to download the latest version of SSD ...