CINXE.COM
查看“︁二元关系”︁的源代码 - 维基百科,自由的百科全书
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-not-available" lang="zh" dir="ltr"> <head> <meta charset="UTF-8"> <title>查看“︁二元关系”︁的源代码 - 维基百科,自由的百科全书</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )zhwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat": "zh","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"f05f9657-f0d1-4d78-8abf-43abe4fc9b3b","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"二元关系","wgTitle":"二元关系","wgCurRevisionId":82759182,"wgRevisionId":0,"wgArticleId":35331,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["带电邮地址的页面"],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh","wgPageContentModel":"wikitext","wgRelevantPageName":"二元关系","wgRelevantArticleId":35331,"wgUserVariant":"zh","wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"zh", "pageLanguageDir":"ltr","pageVariantFallbacks":["zh-hans","zh-hant","zh-cn","zh-tw","zh-hk","zh-sg","zh-mo","zh-my"]},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":9000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.large-font":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user": "ready","user.options":"loading","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","mediawiki.ui.button":"ready","ext.charinsert.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.gadget.edit0","ext.gadget.Edittools-refToolbar","ext.gadget.WikiMiniAtlas","ext.gadget.UnihanTooltips","ext.gadget.Difflink","ext.gadget.pseudonamespace-UI","ext.gadget.SpecialWikitext","ext.gadget.switcher","ext.gadget.VariantAlly","ext.gadget.AdvancedSiteNotices","ext.gadget.hideConversionTab","ext.gadget.internalLinkHelper-altcolor","ext.gadget.noteTA","ext.gadget.NavFrame","ext.gadget.collapsibleTables","ext.gadget.scrollUpButton","ext.urlShortener.toolbar", "ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=ext.charinsert.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cmediawiki.ui.button%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=zh&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=ext.gadget.large-font&only=styles&skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="查看“︁二元关系”︁的源代码 - 维基百科,自由的百科全书"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//zh.m.wikipedia.org/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" type="application/x-wiki" title="编辑本页" href="/w/index.php?title=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (zh)"> <link rel="EditURI" type="application/rsd+xml" href="//zh.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://zh.wikipedia.org/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh" href="https://zh.wikipedia.org/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hans" href="https://zh.wikipedia.org/zh-hans/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hans-CN" href="https://zh.wikipedia.org/zh-cn/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hans-MY" href="https://zh.wikipedia.org/zh-my/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hans-SG" href="https://zh.wikipedia.org/zh-sg/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hant" href="https://zh.wikipedia.org/zh-hant/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hant-HK" href="https://zh.wikipedia.org/zh-hk/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hant-MO" href="https://zh.wikipedia.org/zh-mo/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="zh-Hant-TW" href="https://zh.wikipedia.org/zh-tw/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="alternate" hreflang="x-default" href="https://zh.wikipedia.org/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh"> <link rel="alternate" type="application/atom+xml" title="Wikipedia的Atom feed" href="/w/index.php?title=Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-二元关系 rootpage-二元关系 skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">跳转到内容</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="主菜单" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">主菜单</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">主菜单</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">隐藏</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> 导航 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" title="访问首页[z]" accesskey="z"><span>首页</span></a></li><li id="n-indexpage" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%88%86%E7%B1%BB%E7%B4%A2%E5%BC%95" title="以分类索引搜寻中文维基百科"><span>分类索引</span></a></li><li id="n-Featured_content" class="mw-list-item"><a href="/wiki/Portal:%E7%89%B9%E8%89%B2%E5%85%A7%E5%AE%B9" title="查看中文维基百科的特色内容"><span>特色内容</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:%E6%96%B0%E8%81%9E%E5%8B%95%E6%85%8B" title="提供当前新闻事件的背景资料"><span>新闻动态</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="列出维基百科中的最近修改[r]" accesskey="r"><span>最近更改</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="随机载入一个页面[x]" accesskey="x"><span>随机条目</span></a></li> </ul> </div> </div> <div id="p-help" class="vector-menu mw-portlet mw-portlet-help" > <div class="vector-menu-heading"> 帮助 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="寻求帮助"><span>帮助</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%A4%BE%E7%BE%A4%E9%A6%96%E9%A1%B5" title="关于本计划、你可以做什么、应该如何做"><span>维基社群</span></a></li><li id="n-policy" class="mw-list-item"><a href="/wiki/Wikipedia:%E6%96%B9%E9%87%9D%E8%88%87%E6%8C%87%E5%BC%95" title="查看维基百科的方针和指引"><span>方针与指引</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88" title="参与维基百科社群的讨论"><span>互助客栈</span></a></li><li id="n-Information_desk" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%9F%A5%E8%AF%86%E9%97%AE%E7%AD%94" title="解答任何与维基百科无关的问题的地方"><span>知识问答</span></a></li><li id="n-conversion" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2" title="提出字词转换请求"><span>字词转换</span></a></li><li id="n-IRC" class="mw-list-item"><a href="/wiki/Wikipedia:IRC%E8%81%8A%E5%A4%A9%E9%A2%91%E9%81%93"><span>IRC即时聊天</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikipedia:%E8%81%94%E7%BB%9C%E6%88%91%E4%BB%AC" title="如何联络维基百科"><span>联络我们</span></a></li><li id="n-about" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E" title="查看维基百科的简介"><span>关于维基百科</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="维基百科" src="/static/images/mobile/copyright/wikipedia-wordmark-zh.svg" style="width: 6.5625em; height: 1.375em;"> <img class="mw-logo-tagline" alt="自由的百科全书" src="/static/images/mobile/copyright/wikipedia-tagline-zh.svg" width="103" height="14" style="width: 6.4375em; height: 0.875em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:%E6%90%9C%E7%B4%A2" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="搜索维基百科[f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>搜索</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="搜索维基百科" aria-label="搜索维基百科" autocapitalize="sentences" title="搜索维基百科[f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:搜索"> </div> <button class="cdx-button cdx-search-input__end-button">搜索</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="个人工具"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="更改页面字体大小、宽度和颜色的外观" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="外观" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">外观</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=zh-hans" class=""><span>资助维基百科</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&returnto=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&returntoquery=action%3Dedit" title="我们推荐您创建账号并登录,但这不是强制性的" class=""><span>创建账号</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&returntoquery=action%3Dedit" title="建议你登录,尽管并非必须。[o]" accesskey="o" class=""><span>登录</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="更多选项" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="个人工具" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">个人工具</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="用户菜单" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=zh-hans"><span>资助维基百科</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&returnto=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&returntoquery=action%3Dedit" title="我们推荐您创建账号并登录,但这不是强制性的"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>创建账号</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&returntoquery=action%3Dedit" title="建议你登录,尽管并非必须。[o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>登录</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> 未登录编辑者的页面 <a href="/wiki/Help:%E6%96%B0%E6%89%8B%E5%85%A5%E9%97%A8" aria-label="了解有关编辑的更多信息"><span>了解详情</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%B4%A1%E7%8C%AE" title="来自此IP地址的编辑列表[y]" accesskey="y"><span>贡献</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%AE%A8%E8%AE%BA%E9%A1%B5" title="对于来自此IP地址编辑的讨论[n]" accesskey="n"><span>讨论</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">查看“︁二元关系”︁的源代码</h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="这篇条目只存在于此语言中。添加其他语言的条目" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">添加语言</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="命名空间"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" title="浏览条目正文[c]" accesskey="c"><span>条目</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" rel="discussion" title="关于此页面的讨论[t]" accesskey="t"><span>讨论</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown " > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="更改语言变体" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">不转换</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-varlang-0" class="selected ca-variants-zh mw-list-item"><a href="/zh/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh" hreflang="zh"><span>不转换</span></a></li><li id="ca-varlang-1" class="ca-variants-zh-Hans mw-list-item"><a href="/zh-hans/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hans" hreflang="zh-Hans"><span>简体</span></a></li><li id="ca-varlang-2" class="ca-variants-zh-Hant mw-list-item"><a href="/zh-hant/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hant" hreflang="zh-Hant"><span>繁體</span></a></li><li id="ca-varlang-3" class="ca-variants-zh-Hans-CN mw-list-item"><a href="/zh-cn/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hans-CN" hreflang="zh-Hans-CN"><span>大陆简体</span></a></li><li id="ca-varlang-4" class="ca-variants-zh-Hant-HK mw-list-item"><a href="/zh-hk/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hant-HK" hreflang="zh-Hant-HK"><span>香港繁體</span></a></li><li id="ca-varlang-5" class="ca-variants-zh-Hant-MO mw-list-item"><a href="/zh-mo/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hant-MO" hreflang="zh-Hant-MO"><span>澳門繁體</span></a></li><li id="ca-varlang-6" class="ca-variants-zh-Hans-MY mw-list-item"><a href="/zh-my/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hans-MY" hreflang="zh-Hans-MY"><span>大马简体</span></a></li><li id="ca-varlang-7" class="ca-variants-zh-Hans-SG mw-list-item"><a href="/zh-sg/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hans-SG" hreflang="zh-Hans-SG"><span>新加坡简体</span></a></li><li id="ca-varlang-8" class="ca-variants-zh-Hant-TW mw-list-item"><a href="/zh-tw/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" lang="zh-Hant-TW" hreflang="zh-Hant-TW"><span>臺灣正體</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="查看"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="vector-tab-noicon mw-list-item"><a href="/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"><span>阅读</span></a></li><li id="ca-edit" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&action=edit" title="编辑该页面"><span>编辑</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&action=history" title="本页面的早前版本。[h]" accesskey="h"><span>查看历史</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="工具" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">工具</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">工具</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">隐藏</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="更多选项" > <div class="vector-menu-heading"> 操作 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB"><span>阅读</span></a></li><li id="ca-more-edit" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&action=history"><span>查看历史</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> 常规 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" title="列出所有与本页相链的页面[j]" accesskey="j"><span>链入页面</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" rel="nofollow" title="页面链出所有页面的更改[k]" accesskey="k"><span>相关更改</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Project:%E4%B8%8A%E4%BC%A0" title="上传图像或多媒体文件[u]" accesskey="u"><span>上传文件</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="全部特殊页面的列表[q]" accesskey="q"><span>特殊页面</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&action=info" title="关于此页面的更多信息"><span>页面信息</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:URL%E7%BC%A9%E7%9F%AD%E7%A8%8B%E5%BA%8F&url=https%3A%2F%2Fzh.wikipedia.org%2Fw%2Findex.php%3Ftitle%3D%25E4%25BA%258C%25E5%2585%2583%25E5%2585%25B3%25E7%25B3%25BB%26action%3Dedit"><span>获取短链接</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fzh.wikipedia.org%2Fw%2Findex.php%3Ftitle%3D%25E4%25BA%258C%25E5%2585%2583%25E5%2585%25B3%25E7%25B3%25BB%26action%3Dedit"><span>下载二维码</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> 在其他项目中 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q130901" title="链接到连接的数据仓库项目[g]" accesskey="g"><span>维基数据项目</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">外观</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">隐藏</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> </div> <div id="contentSub"><div id="mw-content-subtitle">←<a href="/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" title="二元关系">二元关系</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>根据以下的原因,您并无权限去编辑该页面: </p> <ul class="permissions-errors"><li class="mw-permissionerror-blockedtext"> <table id="mw-blocked-text" style="border:1px solid var(--border-color-notice,rgba(0,0,0,0.4)); border-radius: 3px; width:100%; margin:0 auto 6px auto; padding: 0;"> <tbody><tr> <td> <div style="width:100%; text-align:center; margin: 1.3em 0 1.3em 0;"><div style="font-size:1.6em; color:var(--color-error,rgba(221,51,51,1));"><b>您現在使用的IP地址目前不能編輯維基百科</b></div> <div style="text-align: center;"><div style="display: inline-block; padding: 0 2em; border-radius: 3px;"><b>您可以瀏覽頁面</b>,但不能編輯或建立頁面</div></div> </div> <div style="margin:auto; width:70%;"> <div style="text-align:justify;"> <p>目前,IP地址區段「<u>8.222.0.0/16</u>」已被Jimmy-abot<b><a href="/wiki/Wikipedia:BLOCK" class="mw-redirect" title="Wikipedia:BLOCK">封禁</a></b>,而您所使用的IP地址正位於被封禁的範圍內。該IP地址區段被封禁的 </p> <div style="margin:1em; background: var(--background-color-neutral,#eaecf0); padding:0.6em 2em; border:0px var(--border-color-notice,#666) solid; border-radius: 3px;" id="mw-blocked-text-reason"> <div style="color: var(--color-progressive--active,rgba(42,75,141,1))">封禁理由:</div> <div style="color: var(--color-error,rgba(221,51,51,1)); margin:0.5em 1em"> <table class="user-block" style="border: 1px solid var(--border-color-base,#AAA); padding: 0.5em; width: 100%;"> <tbody><tr> <td> <figure class="mw-halign-left" typeof="mw:File"><a href="/wiki/File:Banned_proxys.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/f/f0/Banned_proxys.svg/50px-Banned_proxys.svg.png" decoding="async" width="50" height="50" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/f0/Banned_proxys.svg/75px-Banned_proxys.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/f0/Banned_proxys.svg/100px-Banned_proxys.svg.png 2x" data-file-width="480" data-file-height="480" /></a><figcaption></figcaption></figure>您正在使用的<a href="/wiki/IP%E4%BD%8D%E5%9D%80" class="mw-redirect" title="IP位址">IP地址</a>被判定用于代理工具,因此这一IP已经被封禁。 <p>为防止破坏,<b><a href="https://meta.wikimedia.org/wiki/No_open_proxies/zh" class="extiw" title="m:No open proxies/zh">维基媒体基金会禁止使用部分代理工具来编辑维基百科</a></b>。 </p> </td></tr> <tr> <td style="border-top: 1px solid #AAA; padding-top: 0.5em;"> <p><b>为什么?</b> </p><p>您当前访问维基百科使用的IP被我们判定为代理(包括<a href="/wiki/%E7%AA%81%E7%A0%B4%E7%BD%91%E7%BB%9C%E5%AE%A1%E6%9F%A5" title="突破网络审查">突破网络审查</a>)工具所使用的IP。因代理工具可以隐藏用户的真实IP,使破坏者可以以人工或程序对维基百科进行破坏,故禁止使用公共代理工具进行编辑。 </p><p><b>怎么办?</b> </p> <ul><li>直接访问维基百科,不经过代理服务。</li> <li>如果您在中国大陆而必须使用代理服务器,或是有特殊需要,请您 <span class="plainlinks"><a href="/wiki/Wikipedia:Unblock-zh/Blocked_proxy" class="mw-redirect" title="Wikipedia:Unblock-zh/Blocked proxy"><span class="mw-ui-button mw-ui-progressive" role="button">使用网站</span></a></span> 或者 <span class="plainlinks"><a href="/wiki/Wikipedia:IPBEMAIL" class="mw-redirect" title="Wikipedia:IPBEMAIL"><span class="mw-ui-button mw-ui-progressive" role="button">使用电邮</span></a></span> 申请IP封禁豁免。带有此权限的用户可以使用被封禁的代理编辑维基百科。</li> <li>如果您相信自己并未运行或使用代理,那很可能是因为上一个从<a href="/wiki/%E4%BA%92%E8%81%94%E7%BD%91%E6%9C%8D%E5%8A%A1%E4%BE%9B%E5%BA%94%E5%95%86" title="互联网服务供应商">互联网服务供应商</a>分配到此IP地址的用户运行了代理。那么请在您的<a href="/wiki/Help:%E8%AE%A8%E8%AE%BA%E9%A1%B5" class="mw-redirect" title="Help:讨论页">讨论页</a>使用{{<a href="/wiki/Template:Unblock" title="Template:Unblock">unblock</a>}}模板申请解除封禁。极少数情况下,您的网络设备或服务提供商可能未进行正确配置,或已被恶意软件(如病毒)入侵。</li> <li>您如果无法自行解决问题,可至<a href="/wiki/Wikipedia:IRC%E8%81%8A%E5%A4%A9%E9%A2%91%E9%81%93" title="Wikipedia:IRC聊天频道">IRC聊天频道</a>寻求其他编者的帮助。</li></ul> </td></tr></tbody></table> </div> <div style="color: var(--color-progressive--active,rgba(42,75,141,1))">這次封禁的結束時間是:<b>2025年7月23日 (三) 10:52 (<a href="/wiki/UTC" class="mw-redirect" title="UTC">UTC</a>)</b></div> </div> <p>如您对此封禁有疑问或异议,您可以: </p> <div style="margin:1em; background: var(--background-color-neutral,#eaecf0); color: var(--color-progressive--active,rgba(42,75,141,1)); padding:0.6em 2em; border:0px var(--border-color-notice,#666 solid); border-radius: 3px;"> <div style="margin-bottom: 0.4em;"><b>网站申诉</b>:前往<a rel="nofollow" class="external text" href="https://unblock-zh.org/new/zhwp">-{R|https://unblock-zh.org/new/zhwp}-</a>,如果您没有账户,请选择“无法创建账户”。如果您有账户,请选择“已有账户,但无法编辑”。在页面下方的“IP地址和IPBE”一节,请您选择“检测并提供我的IP地址信息,同时申请IPBE权限”。如果您使用代理/翻墙工具,请确保您开启全局模式,以保证我们获得您的准确IP信息。管理员将手工处理您的请求。</div> <div style="margin-bottom: 0.4em;"><b>邮件申诉</b>:将您的用户名和申诉理由写入电子邮件,发送至 <b><samp>unblock-zh<span class="skin-invert" typeof="mw:File"><span title="@"><img alt="@" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Nospam_at.svg/12px-Nospam_at.svg.png" decoding="async" width="12" height="12" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Nospam_at.svg/18px-Nospam_at.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Nospam_at.svg/24px-Nospam_at.svg.png 2x" data-file-width="16" data-file-height="16" /></span></span>lists.wikimedia.org</samp></b>。管理员将在收到邮件后考虑您的请求。请注意邮件发送可能会有延时,请勿重复多次发送。</div> <div class="user-show"><b>联络管理员</b>:聯絡<a href="/wiki/Special:%E7%94%B5%E9%82%AE%E8%81%94%E7%B3%BB/Jimmy-abot" title="Special:电邮联系/Jimmy-abot">执行封禁的管理员Jimmy-abot</a>或者其他的<a href="/wiki/Wikipedia:%E7%AE%A1%E7%90%86%E5%91%98%E5%90%8D%E5%8D%95#在任管理员" title="Wikipedia:管理员名单">管理員</a>,討論這次封禁。如果您希望使用「電郵用戶」功能聯絡管理員,請注意您必须已于您的<a href="/wiki/Special:%E5%8F%82%E6%95%B0%E8%AE%BE%E7%BD%AE" title="Special:参数设置">参数设置</a>中設定了一個有效的電子郵件地址,并且在管理员执行封禁时没有被禁止发送电子邮件。</div></div> <p>您目前的IP地址是8.222.208.146,而該封鎖ID是#566341。請您在所有申訴中註明此IP地址及封鎖ID。 </p><p><br /> </p> <div style="height: 2em;"></div> </div></div> </td></tr></tbody></table></li><li class="mw-permissionerror-globalblocking-blockedtext-range"><b>您的IP地址属于已<a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">在所有维基媒体基金会维基受到封禁</a>的地址段。</b> <p>封禁执行者是<a href="/wiki/User:Jon_Kolbert" title="User:Jon Kolbert">Jon Kolbert</a>。封禁原因是<i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>。 </p> <ul><li>封禁开始时间:2023年8月27日 (日) 15:12</li> <li>封禁期满时间:2028年8月27日 (日) 15:12</li></ul> <p>您当前的IP地址是8.222.208.146。封禁的地址段是8.222.128.0/17。 </p> 请在进行咨询时提供上面所有详情。如果您认为您受到错误封禁,您可以在<a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">禁止公开代理</a>全域方针里找到更多信息和说明。您也可以<a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">到元维基发布复查申请</a>讨论该封禁。您还可以给<a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">监管员</a><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a>队列(<kbd>stewards@wikimedia.org</kbd>)发送提供上面所有详情的电子邮件。</li></ul><hr /> <p>您可以查看和复制此页面的源代码。 </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="zh" dir="ltr" name="wpTextbox1">[[数学]]上,'''二元关系'''({{lang-en|Binary relation}},或简称'''关系''')用於讨论两种物件的连系。诸如[[算术]]中的「大於」及「等於」、[[几何学]]中的「相似」或[[集合论]]中的「为……之元素」、「为……之子集」。 == 定义 == 设<math>A,B</math>为集合,<math>A\times B</math>的任何子集称作<math>A</math>到<math>B</math>的二元关系,特别是当<math>A=B</math>时,称作<math>A</math>上的二元关系,一般记作<math>R</math>。若<math>R \subseteq A \times B</math>, <math>R</math>是从<math>A</math>到<math>B</math>的二元关系;若<math>R \subseteq A \times A</math>,那么<math>R</math>是<math> A</math>上的二元关系 或是以[[一阶逻辑#量詞的簡寫|正式的邏輯符號]]表述為 :<math>(\forall r \in R)(\exists x)(\exists y)[\,r = (x,\,y)\,]</math> 例一:有四件物件 {''球'',''糖'',''车'',''枪''} 及四个人 {''甲'',''乙'',''丙,丁''} 。若甲擁有球、乙擁有糖、丙一無所有但丁擁有车,则「擁有」的二元关系可以寫為 :<math>R</math> = {(''球'',''甲''), (''糖'',''乙''), (''车'',''丁'')} 其中二元[[有序对]]的第一项是被擁有的物件,第二项是擁有者。 例二:[[实数系|實數系]] <math>\mathbb{R}</math> 上的「大於關係」可定義為 :<math>> \,:= \{\, (a,\, b) \in {\mathbb{R}}^2 \,|\, (\exists r \in \mathbb{R})[\,(a = b + r) \wedge (r \neq 0)\,] \} </math> 由於習慣上 <math>(a,\,b) \in\, ></math> 通常都是寫為 <math>a > b</math> ,更一般來說,不引起混淆的話會把 <math>(x,\,y)\in R</math> 簡寫成 <math>xRy</math> 。 == 集合的關係 == [[集合 (数学)|集合]]<math>X</math>与集合<math>Y</math>上的二元关系則定義為 <math>R=(X, Y, G(R)) </math> ,当中 <math>G(R)\subseteq X \times Y</math> ( 請參見[[笛卡儿积]] ) ,称为 <math>R</math> 的'''图'''。若 <math>(x, y) \in G(R)</math> 则称 <math>x</math> 与 <math>y</math> 有关系 <math>R</math> ,并记作 <math>xRy</math> 或 <math>R(x, y)</math> 。 但经常地我们把关系与其图等价起来,即若 <math>R \subseteq X \times Y</math> 则 <math>R</math> 是一个关系。 话虽如此,我们很多時候索性把集合間的關係 <math>R</math> 定义为 <math>G(R)</math> 而 “有序对 <math> (x,y) \in G(R) </math> ” 即是 “ <math>(x,y) \in R</math> ”。 == 特殊的二元关系 == 设<math>A</math>是一个集合,则 # 空集<math>\varnothing</math>称作<math>A</math>上的'''空关系''' # <math>E_{A} = A \times A</math>称作<math>A</math>上的'''全域关系'''('''完全關係''') # <math>I_{A} = \{(x, x)|x \in A\}</math>称作<math>A</math>上的'''恒等关系''' == 关系矩阵 == 设<math>X = \{x_1, x_2, \ldots, x_n\}</math>及<math>Y = \{y_1, y_2, \ldots, y_m\}</math>,<math>R</math>是<math>X</math> 和<math> Y</math>上的关系,令 :<math> r_{ij} = \begin{cases} 1 & (x_i, y_j) \in R \\ 0 & (x_i, y_j) \notin R \end{cases} </math> 则[[0,1矩阵]] :<math> (r_{ij}) = \begin{bmatrix} r_{11} & r_{12} & \cdots & r_{1m} \\ r_{21} & r_{22} & \cdots & r_{2m} \\ \vdots & \vdots & \vdots & \vdots \\ r_{n1} & r_{n2} & \cdots & r_{nm} \end{bmatrix} </math> 称为<math>R</math>的'''关系矩阵''',记作<math>M_{R}</math>。 == 关系图 == 设<math>A = \{x_1, x_2, \ldots, x_n\}</math>,<math>R</math>是<math>A</math>上的关系,令[[图 (数学)|图]]<math>G=(V, E)</math>,其中[[顶点 (图论)|顶点]]集合<math>V = A</math>,边集合为<math>E</math>,且对于任意的<math>x_i, x_j \in V</math>,满足<math>(x_i, x_j) \in E</math>当且仅当<math>(x_i, x_j) \in R</math>。则称图<math>G</math>是关系<math>R</math>的'''关系图''',记作<math>G_R</math>。 == 运算 == 关系的基本运算有以下几种: * 设<math>R</math>为二元关系,<math>R</math>中所有[[有序对]]的第一元素构成的集合称为<math>R</math>的'''定义域''',记作<math>\mbox{dom}(R)</math>。形式化表示为 :<math> \mbox{dom}(R) = \{\, x\,|\,(\exists y)[\, (x, y) \in R\,]\, \} </math> * 设<math>R</math>为二元关系,<math>R</math>中所有[[有序对]]的第二元素构成的集合称为<math>R</math>的'''值域''',记作<math>\mbox{ran}(R)</math>。形式化表示为 :<math> \mbox{ran}(R) = \{\,y\,|\,(\exists x)[\,(x, y) \in R \,]\, \} </math> * 设<math>R</math>为二元关系,<math>R</math>的[[定义域]]和[[值域]]的并集称作<math>R</math>的'''域''',记作<math>\mbox{fld}(R)</math>,形式化表示为 :<math> \mbox{fld}(R) = \mbox{dom}(R)\cup\mbox{ran}(R) </math> * 设<math>R</math>为二元关系,<math>R</math>的'''逆关系''',简称<math>R</math>的'''逆''',记作<math>R^{-1}</math>,其中 :<math> R^{-1} = \{\,p\,|\,(\exists x)(\exists y)[\,(x, y) \in R \wedge p = (y, x)\,]\,\} </math> * 设<math>F, G</math>为二元关系,<math>G</math>與<math>F</math>的'''[[合成關係]]'''记作<math>F \circ G</math>,其中 :<math> F \circ G = \{ (x, y) | \exists t,~(x, t) \in F \wedge (t, y) \in G \} </math> * 设<math>R</math>为二元关系,<math>A</math>是一个集合。<math>R</math>在<math>A</math>上的'''限制'''记作<math>R \upharpoonright A</math>,其中 :<math> R \upharpoonright A = \{ (x, y) | (x, y) \in R \wedge x \in A\} </math> * 设<math>R</math>为二元关系,<math>A</math>是一个集合。<math>A</math>在<math>R</math>下的'''像'''记作<math>R[A]</math>,其中 :<math> R[A] = \mbox{ran}(R \upharpoonright A) </math> * 设<math>R</math>为<math>A</math>上的二元关系,在右复合的基础上可以定义关系的'''幂运算''': :<math>R^0 = I_A \ </math> <br><math>R^{n+1} = R^n \circ R \ </math> == 性质 == 关系的性质主要有以下五种: * [[自反关系|自反性]]:<math>\forall x \in A,~(x, x) \in R</math> :在集合X上的关系R,如对任意<math>x \in X </math>,有<math>(x,x) \in R </math>,则称R是自反的。 * 非自反性(自反性的否定的強型式):<math>\forall x \in A,~~(x, x) \notin R</math> :在集合X上的关系R,如对任意<math>x \in X</math>,有<math>(x,x) \notin R</math>,则称R是非自反的。 * [[对称关系|对称性]]:<math>\forall x, y \in A,~(x, y) \in R \implies (y, x) \in R</math> :在集合X上的关系R,如果有<math>(x,y) \in R</math>且<math>x \neq y</math>必有<math>(y,x) \in R</math>,则称R是对称的。 * [[反对称关系|反对称性]](不是對稱性的否定):<math>\forall x, y \in A,~((x, y) \in R \wedge (y, x) \in R) \implies x = y</math> * [[非对称关系|非對稱性]](對稱性的否定的強型式):<math>\forall x, y \in A,~(x, y) \in R \implies (y, x) \notin R</math> :非對稱性是 滿足非自反性的反對稱性。 * [[传递关系|传递性]]:<math>\forall x, y, z \in A, ~((x, y) \in R \wedge (y, z) \in R) \implies (x, z) \in R</math> 设<math>R</math>为集合<math>A</math>上的关系,下面给出<math>R</math>的五种性质成立的充要条件: # <math>R</math>在<math>A</math>上自反,当且仅当<math>I_A \subseteq R</math> # <math>R</math>在<math>A</math>上非自反,当且仅当<math>R \cap I_{A} = \emptyset</math> # <math>R</math>在<math>A</math>上对称,当且仅当<math>R = R^{-1} \ </math> # <math>R</math>在<math>A</math>上反对称,当且仅当<math>R \cap R^{-1} \subseteq I_{A}</math> # <math>R</math>在<math>A</math>上非對稱,当且仅当<math>R \cap R^{-1} = \emptyset</math> # <math>R</math>在<math>A</math>上传递,当且仅当<math>R \circ R \subseteq R</math> == 闭包 == 设<math>R</math>是非空集合<math>A</math>上的关系,<math>R</math>的自反(对称或传递)'''闭包'''是<math>A</math>上的关系<math>R'</math>,满足 # <math>R'</math>是自反的(对称的或传递的) # <math>R \subseteq R'</math> # 对<math>A</math>上任何包含<math>R</math>的自反(对称或传递)关系<math>R''</math>有<math>R' \subseteq R''</math> 一般将<math>R</math>的自反闭包记作<math>r(R)</math>,对称闭包记作<math>s(R)</math>,[[传递闭包]]记作<math>t(R)</math>。 下列三个定理给出了构造闭包的方法: # <math>r(R) = R \cup R^0</math> # <math>s(R) = R \cup R^{-1}</math> # <math>t(R) = R \cup R^2 \cup R^3 \cup \cdots</math> 对于有限集合<math>A</math>上的关系<math>R</math>,存在一个正整数<math>r</math>,使得 :<math>t(R) = R \cup R^2 \cup \cdots \cup R^r</math> 求传递闭包是图论中一个非常重要的问题,例如给定了一个城市的交通地图,可利用求传递闭包的方法获知任意两个地点之间是否有路相连通。可以直接利用关系矩阵相乘来求传递闭包,但那样做复杂度比较高;好一点的办法是在计算矩阵相乘的时候用[[分治法]]降低时间复杂度;但最好的方法是利用基于[[动态规划]]的[[Floyd-Warshall算法]]来求传递闭包。 == 参见 == * [[有序对]] * [[二元集合]] * [[笛卡儿积]] * [[偏序关系]] * [[等价关系]] * [[相容关系]] [[Category:数学关系]] </textarea><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>本页<a href="/wiki/Wikipedia:%E5%B5%8C%E5%85%A5%E5%8C%85%E5%90%AB" title="Wikipedia:嵌入包含">嵌入包含</a>了12个页面: </p></div><ul> <li><a href="/wiki/Template:Lang-en" title="Template:Lang-en">Template:Lang-en</a>(<a href="/w/index.php?title=Template:Lang-en&action=edit" title="Template:Lang-en">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Arguments" title="Module:Arguments">Module:Arguments</a>(<a href="/w/index.php?title=Module:Arguments&action=edit" title="Module:Arguments">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Lang" title="Module:Lang">Module:Lang</a>(<a href="/w/index.php?title=Module:Lang&action=edit" title="Module:Lang">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Lang/ISO_639_synonyms" title="Module:Lang/ISO 639 synonyms">Module:Lang/ISO 639 synonyms</a>(<a href="/w/index.php?title=Module:Lang/ISO_639_synonyms&action=edit" title="Module:Lang/ISO 639 synonyms">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Lang/data" title="Module:Lang/data">Module:Lang/data</a>(<a href="/w/index.php?title=Module:Lang/data&action=edit" title="Module:Lang/data">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Language/data/iana_languages" title="Module:Language/data/iana languages">Module:Language/data/iana languages</a>(<a href="/w/index.php?title=Module:Language/data/iana_languages&action=edit" title="Module:Language/data/iana languages">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Language/data/iana_regions" title="Module:Language/data/iana regions">Module:Language/data/iana regions</a>(<a href="/w/index.php?title=Module:Language/data/iana_regions&action=edit" title="Module:Language/data/iana regions">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Language/data/iana_scripts" title="Module:Language/data/iana scripts">Module:Language/data/iana scripts</a>(<a href="/w/index.php?title=Module:Language/data/iana_scripts&action=edit" title="Module:Language/data/iana scripts">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Language/data/iana_suppressed_scripts" title="Module:Language/data/iana suppressed scripts">Module:Language/data/iana suppressed scripts</a>(<a href="/w/index.php?title=Module:Language/data/iana_suppressed_scripts&action=edit" title="Module:Language/data/iana suppressed scripts">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Language/data/iana_variants" title="Module:Language/data/iana variants">Module:Language/data/iana variants</a>(<a href="/w/index.php?title=Module:Language/data/iana_variants&action=edit" title="Module:Language/data/iana variants">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Unicode_data" title="Module:Unicode data">Module:Unicode data</a>(<a href="/w/index.php?title=Module:Unicode_data&action=edit" title="Module:Unicode data">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li><li><a href="/wiki/Module:Yesno" title="Module:Yesno">Module:Yesno</a>(<a href="/w/index.php?title=Module:Yesno&action=edit" title="Module:Yesno">查看源代码</a>)(<a href="/wiki/Wikipedia:%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D" title="Wikipedia:保護方針">全保护</a>)</li></ul></div><p id="mw-returnto">返回<a href="/wiki/%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB" title="二元关系">二元关系</a>。</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">检索自“<a dir="ltr" href="https://zh.wikipedia.org/wiki/二元关系">https://zh.wikipedia.org/wiki/二元关系</a>”</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">隐藏分类:<ul><li><a href="/wiki/Category:%E5%B8%A6%E7%94%B5%E9%82%AE%E5%9C%B0%E5%9D%80%E7%9A%84%E9%A1%B5%E9%9D%A2" title="Category:带电邮地址的页面">带电邮地址的页面</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">隐私政策</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E">关于维基百科</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E">免责声明</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">行为准则</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">开发者</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/zh.wikipedia.org">统计</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie声明</a></li> <li id="footer-places-mobileview"><a href="//zh.m.wikipedia.org/w/index.php?title=%E4%BA%8C%E5%85%83%E5%85%B3%E7%B3%BB&action=edit&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">手机版视图</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"mediawiki.ui.button\".\n[1.41] Please use Codex. See migration guidelines: https://www.mediawiki.org/wiki/Codex/Migrating_from_MediaWiki_UI");mw.config.set({"wgHostname":"mw-web.codfw.canary-84779d6bf6-nb2j4","wgBackendResponseTime":291,"wgPageParseReport":{"limitreport":{"cputime":"0.048","walltime":"0.073","ppvisitednodes":{"value":439,"limit":1000000},"postexpandincludesize":{"value":6737,"limit":2097152},"templateargumentsize":{"value":1132,"limit":2097152},"expansiondepth":{"value":9,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 48.951 1 -total"," 80.69% 39.499 1 Template:Blocked_proxy"," 39.07% 19.124 2 Template:Clickable_button_2"," 11.54% 5.649 9 Template:Blockedtext/ifIP"," 4.78% 2.338 18 Template:Str_left"," 4.44% 2.176 1 Template:Tl"," 3.47% 1.698 1 Template:Nospam"," 2.07% 1.012 1 Template:Transclude"]},"scribunto":{"limitreport-timeusage":{"value":"0.006","limit":"10.000"},"limitreport-memusage":{"value":678672,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.canary-84779d6bf6-nb2j4","timestamp":"20241125054342","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>