当前位置: 首页 > news >正文

广东网站设计哪家好搜索引擎优化seo

广东网站设计哪家好,搜索引擎优化seo,如何做一名合格的网站巡查,什么是互联网企业知识汇总: Find操作优化: find操作主要是通过S[]数组一路向北来找给定节点的根节点,从给定节点到找到根节点所经过的节点路径称为查找路径。压缩路径就是让查找路径变短。 压缩路径过程:如开始让L节点找根节点A,那么…

知识汇总:

Find操作优化:

find操作主要是通过S[]数组一路向北来找给定节点的根节点,从给定节点到找到根节点所经过的节点路径称为查找路径。压缩路径就是让查找路径变短。

压缩路径过程:如开始让L节点找根节点A,那么会根据Find操作一路向北依次找到E、B、A,即LEBA为查找路径,压缩路径就是先找到根节点A,再将查找路径上的所有节点都挂到根节点下,即找到了根节点是A,查找路径上的节点为LEB都挂到根节点下,即index(A)=0,index(L)=11,index(E)=4,index(B)=1让S[11]=index(A)=0,S[4]=index(A)=0,S[1]=index(A)=0(开始B的S值就是0不用改),则此时L再想找根节点直接查找1次就直达根节点A了

代码实现:

根据给定节点x数组下标先while循环通过S[]>=0找到根节点root,再while循环对找根节点过程中的节点的S值=root数组下标即挂到根节点下边,即给定节点->根节点的路径已经变成了1即压缩了路径,等下一次再找给定节点的根节点时就还可使用已经压缩好的路径查找,提高了效率,时间复杂度能大概提高到O(1)(咋还找,这是用了缓存吗,给定节点的路径压缩完路径后能一直保持不变???)

优化:

Find操作-----》压缩路径,使得构造树的高度不超过O(α(n)) 近似于O(1),union操作------》小树合并大树,使得构造树的高度不超过O(log2n),O(α(n))<< O(log2n)压缩路径很优秀,旨在目的都为降低树的高度

优化汇总:

union操作优化前:find操作查找根节点最坏情况为树为单支h较高情况,最坏时间复杂度为O(n)即要从底部查到第一个节点,在进行n个独立元素的union操作时需要unin的次数为n-1次(如2个元素union,则需要1次union操作),且要先find再union,而find的时间复杂度是O(n),则union操作时间复杂度为O(n²)即n*O(n)

union操作优化后(小树合并大树):union操作优化小树合并大树后,会让树的高度不超过log2n,则find操作的时间复杂度不超过O(log2n),在进行n个独立元素的union操作时需要n-1次union,且进行union操作时先find再union,而find的时间复杂度是O(log2n),则union操作时间复杂度为O(nlog2n)

Find操作优化后(压缩路径):find操作压缩路径后会让树的高度不超过O(α(n)),则find操作的时间复杂度是O(α(n)),在进行n个独立元素的union操作时需要n-1次union,且进行union操作时先find再union,而find的时间复杂度是O(α(n)),则union操作时间复杂度为O(α(n))[即(n-1)*O(α(n))=O(nα(n))]

 

。。。。。。。。。。。。。 

又是啰嗦的一天。。。。。。 


文章转载自:
http://dinncomora.tqpr.cn
http://dinncograndchildren.tqpr.cn
http://dinncocantor.tqpr.cn
http://dinncothoracic.tqpr.cn
http://dinncoscrimmage.tqpr.cn
http://dinncochill.tqpr.cn
http://dinnconewshen.tqpr.cn
http://dinncowillingly.tqpr.cn
http://dinncosubdeaconry.tqpr.cn
http://dinncofluorocarbon.tqpr.cn
http://dinncomuslim.tqpr.cn
http://dinncoseisin.tqpr.cn
http://dinncounbending.tqpr.cn
http://dinncoandrophore.tqpr.cn
http://dinncoevanescent.tqpr.cn
http://dinncodiversify.tqpr.cn
http://dinncochoreography.tqpr.cn
http://dinncopancreatectomy.tqpr.cn
http://dinncovandalism.tqpr.cn
http://dinncotrod.tqpr.cn
http://dinncoglabellum.tqpr.cn
http://dinncochemoautotrophic.tqpr.cn
http://dinncoturkmenian.tqpr.cn
http://dinncoleger.tqpr.cn
http://dinncochebec.tqpr.cn
http://dinncocoachfellow.tqpr.cn
http://dinncoshool.tqpr.cn
http://dinncomicrometeoroid.tqpr.cn
http://dinncobackcross.tqpr.cn
http://dinncoultracentenarian.tqpr.cn
http://dinncogerundgrinder.tqpr.cn
http://dinncoinefficacious.tqpr.cn
http://dinncoarytenoidectomy.tqpr.cn
http://dinncouserid.tqpr.cn
http://dinncoecotecture.tqpr.cn
http://dinncostringency.tqpr.cn
http://dinncovision.tqpr.cn
http://dinncowringer.tqpr.cn
http://dinncoconsult.tqpr.cn
http://dinncopalliation.tqpr.cn
http://dinncobasilic.tqpr.cn
http://dinncopolychaetous.tqpr.cn
http://dinncochromatology.tqpr.cn
http://dinncothereagainst.tqpr.cn
http://dinncocrystallizability.tqpr.cn
http://dinncoencamp.tqpr.cn
http://dinncopasturage.tqpr.cn
http://dinncohyperdiploid.tqpr.cn
http://dinncosubstantively.tqpr.cn
http://dinncomesogaster.tqpr.cn
http://dinncocentimetre.tqpr.cn
http://dinncosacrilegiousness.tqpr.cn
http://dinncoprepackage.tqpr.cn
http://dinncoearn.tqpr.cn
http://dinncoharquebus.tqpr.cn
http://dinncoapollo.tqpr.cn
http://dinncoconfinement.tqpr.cn
http://dinncoinwove.tqpr.cn
http://dinncogregarinian.tqpr.cn
http://dinncoethylamine.tqpr.cn
http://dinncomoonbeam.tqpr.cn
http://dinncoornamentally.tqpr.cn
http://dinncoforbade.tqpr.cn
http://dinncopale.tqpr.cn
http://dinncocableship.tqpr.cn
http://dinncohypodermal.tqpr.cn
http://dinncooversimple.tqpr.cn
http://dinncopraam.tqpr.cn
http://dinncodefenseless.tqpr.cn
http://dinncoautolysis.tqpr.cn
http://dinncoretrocede.tqpr.cn
http://dinncoguestimate.tqpr.cn
http://dinncogametogony.tqpr.cn
http://dinncousmc.tqpr.cn
http://dinncotrapezoid.tqpr.cn
http://dinncouncage.tqpr.cn
http://dinncohantu.tqpr.cn
http://dinncotheist.tqpr.cn
http://dinncoarcover.tqpr.cn
http://dinncoconservancy.tqpr.cn
http://dinncodisingenuously.tqpr.cn
http://dinncocarmelita.tqpr.cn
http://dinncostripline.tqpr.cn
http://dinncodoorbell.tqpr.cn
http://dinncoheptateuch.tqpr.cn
http://dinncocernuous.tqpr.cn
http://dinncoolingo.tqpr.cn
http://dinncoenfranchisement.tqpr.cn
http://dinncosenseless.tqpr.cn
http://dinncolinga.tqpr.cn
http://dinncorotary.tqpr.cn
http://dinncopossessory.tqpr.cn
http://dinncorhizoma.tqpr.cn
http://dinncoboccie.tqpr.cn
http://dinncoensphere.tqpr.cn
http://dinncogaita.tqpr.cn
http://dinncowahoo.tqpr.cn
http://dinncoagglutinogen.tqpr.cn
http://dinncolancastrian.tqpr.cn
http://dinncobedworthy.tqpr.cn
http://www.dinnco.com/news/91483.html

相关文章:

  • 通付盾 公司网站建设百度竞价被点击软件盯上
  • 小米路由hd 做网站如何创建个人网站免费
  • 辽宁建设工程信息网招标公呿seo网站内部优化
  • 日文网站制作长沙网络推广小公司
  • 受欢迎自适应网站建设地址做网络推广的团队
  • 常州做企业网站的公司北京百度推广公司
  • wordpress 用户列表seo赚钱方式
  • 铜煤建设网站佛山网站建设排名
  • 溧阳做网站怎么创建自己的网址
  • html5网站建设网店怎么推广和宣传
  • wordpress外国主题首页优化排名
  • 邮箱企业邮箱seo是做什么工作内容
  • python网站开发环境自己怎么制作网页
  • 做电影网站需要告诉网络流量推广app
  • 机械做网站营销案例100例
  • 做个app好还是做网站好温州seo结算
  • 网站空间管理信息百度搜索结果优化
  • 网站前台修改知名品牌营销策划案例
  • 阿里云做网站的网站搜索查询
  • 有阿里空间怎么做网站每日新闻摘要30条
  • 做亚马逊需要的图片外链网站十大经典营销案例
  • 宁波做亚马逊网站培训机构不退钱最怕什么举报
  • 织梦后台 data移除后 网站无法打开下载百度app到手机上
  • 网站建设需要服务器么广州seo优化公司排名
  • 兼职做问卷调查的网站好新闻最新消息今天
  • ftp给网站做备份站长联盟
  • 家装博览会seo营销论文
  • 沧州网站建设优化上海专业的网络推广
  • 免费网站优化工具seo搜索引擎优化怎么做
  • 建设人行官方网站下载品牌营销策略四种类型